Skip to content

Commit

Permalink
fix: swagger ui prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
vladDotH committed Feb 7, 2024
1 parent ddfebcc commit 143e393
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/app/routes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from flask_restx import Api
from flask_restx.apidoc import apidoc

from .images import api as images_api
from .user import api as user_api
Expand All @@ -14,6 +15,8 @@
doc='/api/docs'
)

apidoc.static_url_path = "/api/docs/swaggerui"

api.add_namespace(user_api)
api.add_namespace(auth_api)
api.add_namespace(images_api)
Expand Down

0 comments on commit 143e393

Please sign in to comment.