diff --git a/app/main.py b/app/main.py index f84b771f..a5fa547b 100644 --- a/app/main.py +++ b/app/main.py @@ -83,7 +83,7 @@ def custom_openapi(): return app.openapi_schema openapi_schema = get_openapi( title="pyagsapi - AGS File Utilities Tools and API", - version="4.5.1", + version="4.5.2", description=("The API performs schema validation, data validation and conversion of your AGS files. " "It also exports a graphical log from AGS data held by NGDC. " "Schema validation and conversion uses https://gitlab.com/ags-data-format-wg/ags-python-library"), diff --git a/app/routes.py b/app/routes.py index ee0af132..24eeaa6c 100644 --- a/app/routes.py +++ b/app/routes.py @@ -220,11 +220,12 @@ def prepare_validation_response(request, data): @router.get("/ags_log/", - tags=["ags_log"], + # tags=["ags_log"], + # summary="Generate Graphical Log", + # description="Generate a graphical log (.pdf) from AGS data held by the National Geoscience Data Centre.", + include_in_schema=False, response_class=Response, - responses=pdf_responses, - summary="Generate Graphical Log", - description="Generate a graphical log (.pdf) from AGS data held by the National Geoscience Data Centre.") + responses=pdf_responses) def get_ags_log(bgs_loca_id: int = ags_log_query, response_type: ResponseType = response_type_query): url = BOREHOLE_VIEWER_URL.format(bgs_loca_id=bgs_loca_id) diff --git a/app/templates/_base.html b/app/templates/_base.html index fc691e23..3a9c5ca2 100644 --- a/app/templates/_base.html +++ b/app/templates/_base.html @@ -404,7 +404,7 @@