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
But it crashes the app raising the error gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> (If I remove setup_swagger it works normally).
I have tried:
swagger_from_file="/../docs/swagger.yaml"
swagger_from_file="../docs/swagger.yaml"
swagger_from_file="docs/swagger.yaml"
And they all have failed. So I came to ask for help on that. Is there a way to load the swagger file when that file is located the parent dir?
The text was updated successfully, but these errors were encountered:
I have the following structure in my project:
My
core.factory.py
loads the swagger.yaml in thebuild_app
function with:But it crashes the app raising the error
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
(If I remove setup_swagger it works normally).I have tried:
swagger_from_file="/../docs/swagger.yaml"
swagger_from_file="../docs/swagger.yaml"
swagger_from_file="docs/swagger.yaml"
And they all have failed. So I came to ask for help on that. Is there a way to load the swagger file when that file is located the parent dir?
The text was updated successfully, but these errors were encountered: