fix OpenAPI generation (#428)

* fix OpenAPI generation

* fix
This commit is contained in:
Tom Kralidis
2020-04-27 11:15:04 -04:00
committed by GitHub
parent fb90adb9fe
commit 1d576fd752
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: None
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: http://example.org
license:
name: CC-BY 4.0 license
+1 -1
View File
@@ -63,7 +63,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: null
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: https://github.com/geopython/pygeoapi
license:
name: CC-BY 4.0 license
@@ -60,7 +60,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: None
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: http://example.org
license:
name: CC-BY 4.0 license
+1 -1
View File
@@ -58,7 +58,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: None
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: http://example.org
license:
name: CC-BY 4.0 license
+1 -1
View File
@@ -81,7 +81,7 @@ The ``metadata`` section provides settings for overall service metadata and desc
- data
- api
keywords_type: theme # keyword type as per the ISO 19115 MD_KeywordTypeCode codelist). Accepted values are discipline, temporal, place, theme, stratum
terms_of_service: null # terms of service
terms_of_service: https://creativecommons.org/licenses/by/4.0/ # terms of service
url: http://example.org # informative URL about the service
license: # licensing details
name: CC-BY 4.0 license
+1 -1
View File
@@ -56,7 +56,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: null
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: http://example.org
license:
name: CC-BY 4.0 license
+1 -1
View File
@@ -398,7 +398,7 @@ def get_oas_30(cfg):
'explode': False
})
paths['{}/items/{{itemId}}'.format(collection_name_path)] = {
paths['{}/items/{{featureId}}'.format(collection_name_path)] = {
'get': {
'summary': 'Get {} item by id'.format(v['title']),
'description': v['description'],
+1 -1
View File
@@ -27,7 +27,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: null
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: https://pygeoapi.io
license:
name: CC-BY 4.0 license
+1 -1
View File
@@ -56,7 +56,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: None
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: http://example.org
license:
name: CC-BY 4.0 license
+1 -1
View File
@@ -56,7 +56,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: None
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: http://example.org
license:
name: CC-BY 4.0 license
+1 -1
View File
@@ -56,7 +56,7 @@ metadata:
- data
- api
keywords_type: theme
terms_of_service: None
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: http://example.org
license:
name: CC-BY 4.0 license