1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2025-09-17 08:56:42 +02:00

src/dspace_statistics_api/app.py: OpenAPI json path

This commit is contained in:
2025-09-16 19:44:49 +03:00
parent 4defc5b926
commit 86c034d2bc

View File

@@ -45,7 +45,7 @@ class OpenAPIJSONResource:
def on_get(self, req, resp):
resp.status = falcon.HTTP_200
resp.content_type = "text/html"
with open("dspace_statistics_api/docs/openapi.json", "r") as f:
with open("src/dspace_statistics_api/docs/openapi.json", "r") as f:
# Load the openapi.json schema
data = json.load(f)