Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicity of parameter in URL is not accepted in flask #125

Open
rvilalta opened this issue Jul 21, 2016 · 0 comments
Open

Duplicity of parameter in URL is not accepted in flask #125

rvilalta opened this issue Jul 21, 2016 · 0 comments
Assignees
Labels
bug OpenApiPythonTool Generates Python code stubs from OpenAPI Spec

Comments

@rvilalta
Copy link
Contributor

Example:
getattr(sys.modules[name], name).add_url_rule("/restconf/config/Context/_connection//_connectionPort//_connectionEndPoint/_layerProtocol//", view_func = globals()["Context_ConnectionUuid_ConnectionportLocalid_Connectionendpoint_LayerprotocolLocalidMethodView"].as_vie

Proposed solution:
Add a counter to the duplicated parameter
e.g.

@rvilalta rvilalta added bug OpenApiPythonTool Generates Python code stubs from OpenAPI Spec labels Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug OpenApiPythonTool Generates Python code stubs from OpenAPI Spec
Projects
None yet
Development

No branches or pull requests

2 participants