Skip to content

Commit

Permalink
Update version in openapi doc
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaGeo committed Mar 21, 2024
1 parent 80ec964 commit 3744f95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.3",
version="5.0",
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"),
Expand Down
3 changes: 0 additions & 3 deletions app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ 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 @@ -369,7 +368,6 @@ 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 @@ -418,7 +416,6 @@ 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 3744f95

Please sign in to comment.