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
Currently, Swagger spec is generated using Flasgger. But to use Flasgger, each REST resource must have its unique class, leading to the hackish code at resourcefactory.py.
Find a better way to generate Swagger specs (maybe made an script available to compile the spec based on the models registered on the API).
The text was updated successfully, but these errors were encountered:
One way would be to generate the docs base on the serializer class that is being used within the endpoint or resource (instead of the resource itself). I think FastAPI does something like that.
Currently, Swagger spec is generated using Flasgger. But to use Flasgger, each REST resource must have its unique class, leading to the hackish code at
resourcefactory.py
.Find a better way to generate Swagger specs (maybe made an script available to compile the spec based on the models registered on the API).
The text was updated successfully, but these errors were encountered: