Skip to content

Commit

Permalink
Update routes.py
Browse files Browse the repository at this point in the history
include_in_schema=False,
  • Loading branch information
KoalaGeo authored Aug 30, 2023
1 parent ef669b6 commit 398abd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ async def convert(background_tasks: BackgroundTasks,
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)
def get_ags_log(bgs_loca_id: str = ags_log_query,
Expand Down Expand Up @@ -340,6 +341,7 @@ def get_ags_log(bgs_loca_id: str = ags_log_query,
summary="Export one or more boreholes in .ags format",
description=("Export one or more borehole in .ags format from AGS data "
"held by the National Geoscience Data Centre."),
include_in_schema=False,
response_class=Response,
responses=ags_export_responses)
def ags_export(bgs_loca_id: str = ags_export_query):
Expand Down Expand Up @@ -388,6 +390,7 @@ def ags_export(bgs_loca_id: str = ags_export_query):
description=("Export a number of boreholes in .ags format from AGS data "
"held by the National Geoscience Data Centre, using a"
" polygon using Well-Known-Text."),
include_in_schema=False,
response_model=BoreholeCountResponse,
responses=ags_export_responses)
def ags_export_by_polygon(polygon: str = polygon_query,
Expand Down

0 comments on commit 398abd6

Please sign in to comment.