This commit is contained in:
Tom Kralidis
2019-05-14 16:00:45 -04:00
parent cf83fd95a6
commit 967dc180be
+5 -1
View File
@@ -36,6 +36,10 @@ from pygeoapi.plugin import load_plugin
LOGGER = logging.getLogger(__name__)
SCHEMAS = {
'wps': 'https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas' # noqa
}
def get_oas_30(cfg):
"""
@@ -334,7 +338,7 @@ def get_oas_30(cfg):
'content': {
'application/json': {
'schema': {
'$ref': 'execute.yaml'
'$ref': '{}/{}'.format(SCHEMAS['wps'], 'execute.yaml') # noqa
}
}
}