Skip to content

Commit

Permalink
fix coords for non-cube query
Browse files Browse the repository at this point in the history
  • Loading branch information
sjordan29 committed Dec 15, 2023
1 parent 4e19b77 commit 126e6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ def get_oas_30(cfg):
if eqe['qt'] == 'cube':
spatial_parameter = 'bbox'
else:
spatial_parameter = f"{eqe['qt']}Coords.yaml"
spatial_parameter = f"{eqe['qt']}Coords"
paths[eqe['path']] = {
'get': {
'summary': f"query {v['description']} by {eqe['qt']}", # noqa
Expand Down

0 comments on commit 126e6b3

Please sign in to comment.