def path_helper(self, path, view, **kwargs):
super(FlaskRestyPlugin, self).path_helper(<EOL>path=path,<EOL>view=view,<EOL>**kwargs<EOL>)<EOL>resource = self.get_state().views[view]<EOL>rule = self._rules[resource.rule]<EOL>operations = defaultdict(Operation)<EOL>view_instance = view()<EOL>view_instance.spec_declaration(view, operations, self)<EOL>parameters = []<EOL>for arg in rule.arguments:<EOL><INDENT>parameters.append({<EOL>'<STR_LIT:name>': arg,<EOL>'<STR_LIT>': '<STR_LIT:path>',<EOL>'<STR_LIT>': True,<EOL>'<STR_LIT:type>': '<STR_LIT:string>',<EOL>})<EOL><DEDENT>if parameters:<EOL><INDENT>operations['<STR_LIT>'] = parameters<EOL><DEDENT>path.path = FlaskPlugin.flaskpath2openapi(resource.rule)<EOL>path.operations = dict(**operations)<EOL>
Path helper for Flask-RESTy views.

        :param view: An `ApiView` object.