From ffb44f347982053ea47f87ae0afbc514c90e25ca Mon Sep 17 00:00:00 2001 From: KoalaGeo Date: Wed, 26 Apr 2023 15:24:55 +0100 Subject: [PATCH] hide ags log from swagger --- app/routes.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/routes.py b/app/routes.py index ee0af132..9d572d16 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)