♻️(back) use same base route path for swagger

Swaggers urls where not using the same base route path /api/v1.0, we
prepend it to have the same path everywhere. Moreover, a double slash
was used for swagger and redoc dashboard.
This commit is contained in:
Manuel Raynaud
2025-03-14 14:22:57 +01:00
parent 0c49019490
commit eb23aefd55
2 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ def test_openapi_client_schema():
)
assert output.getvalue() == ""
response = Client().get("/v1.0/swagger.json")
response = Client().get("/api/v1.0/swagger.json")
assert response.status_code == 200
with open(