I have build a small service with flask
and already wrote a swagger yaml file to describe it's API. How can I expose the swagger file through the flask app?
I didn't mean to expose the file itself (send_from_directory
) but to create new endpoint that will show it as swagger-ui (interactive, if possible)