Skip to content

Commit

Permalink
hide ags log from swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaGeo committed Apr 26, 2023
1 parent 86fda20 commit ffb44f3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ffb44f3

Please sign in to comment.