-
Notifications
You must be signed in to change notification settings - Fork 91
Parser adding extra routes? #28
Comments
Weird, could you provide me with a test case. Eg. zip of a barebones flask app where this behaviour is displayed? |
@atlithorn Here is a working example. It happens when you want one resource to handle multiple routes. Note that if you try to
|
Running into this same issue in my app where we have one resource handling multiple routes. It's adding an operation per route rather than per resource. I'm not sure if there's a good solution though. How would you determine what route tied to what method? |
Finally had a look at it and @dmertl is right there is no easy solution without refactoring how flask_swagger discovers resources. It's probably doable but unfortunately not something I need or have time for at the moment. More than willing to review suggestions as always. |
I have a class as follows:
However, using your flask-swagger, TWO paths show up in resources:
The second path does not exist. What is happening?
The text was updated successfully, but these errors were encountered: