You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a url that is "/v1/users"
When I use flask-restful-swagger, i got following error:
File "/Library/Python/2.7/site-packages/flask/app.py", line 64, in wrapper_func
return f(self, *args, **kwargs)
File "/Library/Python/2.7/site-packages/flask/app.py", line 951, in register_blueprint
blueprint.register(self, options, first_registration)
File "/Library/Python/2.7/site-packages/flask/blueprints.py", line 154, in register
deferred(state)
File "/Library/Python/2.7/site-packages/flask/blueprints.py", line 173, in
s.add_url_rule(rule, endpoint, view_func, **options))
File "/Library/Python/2.7/site-packages/flask_restful/init.py", line 165, in _blueprint_setup_add_url_rule_patch
view_func, defaults=defaults, **options)
File "/Library/Python/2.7/site-packages/flask/app.py", line 64, in wrapper_func
return f(self, *args, **kwargs)
File "/Library/Python/2.7/site-packages/flask/app.py", line 1051, in add_url_rule
'existing endpoint function: %s' % endpoint)
AssertionError: View function mapping is overwriting an existing endpoint function: users./v1/users/help
The text was updated successfully, but these errors were encountered:
I have a url that is "/v1/users"
When I use flask-restful-swagger, i got following error:
File "/Library/Python/2.7/site-packages/flask/app.py", line 64, in wrapper_func
return f(self, *args, **kwargs)
File "/Library/Python/2.7/site-packages/flask/app.py", line 951, in register_blueprint
blueprint.register(self, options, first_registration)
File "/Library/Python/2.7/site-packages/flask/blueprints.py", line 154, in register
deferred(state)
File "/Library/Python/2.7/site-packages/flask/blueprints.py", line 173, in
s.add_url_rule(rule, endpoint, view_func, **options))
File "/Library/Python/2.7/site-packages/flask_restful/init.py", line 165, in _blueprint_setup_add_url_rule_patch
view_func, defaults=defaults, **options)
File "/Library/Python/2.7/site-packages/flask/app.py", line 64, in wrapper_func
return f(self, *args, **kwargs)
File "/Library/Python/2.7/site-packages/flask/app.py", line 1051, in add_url_rule
'existing endpoint function: %s' % endpoint)
AssertionError: View function mapping is overwriting an existing endpoint function: users./v1/users/help
The text was updated successfully, but these errors were encountered: