-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from BritishGeologicalSurvey/GWBV-endpoint
Add ags_log endpoint
- Loading branch information
Showing
11 changed files
with
239 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,9 +83,20 @@ def custom_openapi(): | |
return app.openapi_schema | ||
openapi_schema = get_openapi( | ||
title="pyagsapi - AGS File Utilities Tools and API", | ||
version="4.0.0", | ||
version="4.5.1", | ||
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"), | ||
terms_of_service="https://www.bgs.ac.uk/legal-and-policy/terms-of-use/", | ||
contact={ | ||
"name": "BGS Enquiries", | ||
"url": "https://www.bgs.ac.uk/about-bgs/contact-us/", | ||
"email": "[email protected]", | ||
}, | ||
license_info={ | ||
"name": "Open Government Licence v3", | ||
"url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", | ||
}, | ||
routes=app.routes, | ||
) | ||
openapi_schema["info"]["x-logo"] = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.