Remove spatial parameter from OAS for single location (#1747)
This commit is contained in:
@@ -305,7 +305,6 @@ def get_oas_30(cfg: dict, locale: str) -> tuple[list[dict[str, str]], dict[str,
|
||||
'tags': [k],
|
||||
'operationId': f'queryLOCATIONSBYID{k.capitalize()}',
|
||||
'parameters': [
|
||||
{'$ref': f"{OPENAPI_YAML['oaedr']}/parameters/{spatial_parameter}.yaml"}, # noqa
|
||||
{'$ref': f"{OPENAPI_YAML['oaedr']}/parameters/locationId.yaml"}, # noqa
|
||||
{'$ref': f"{OPENAPI_YAML['oapif-1']}#/components/parameters/datetime"}, # noqa
|
||||
{'$ref': f"{OPENAPI_YAML['oaedr']}/parameters/parameter-name.yaml"}, # noqa
|
||||
|
||||
Reference in New Issue
Block a user