-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clarify bbox parameter requirement for cube/items queries #561
Comments
@tomkralidis As the |
@tomkralidis @chris-little I there will need to be two different bbox definitions, the items query can still use the current bbox parameter definition, but there needs to be a new definition for the cube query which has a required attribute of true |
@m-burgoyne looks like the items query has bbox as required as well? |
@tomkralidis That is an error in the document, the Items query bbox should be optional, so that document will need to be updated |
@tomkralidis @m-burgoyne Is this an error only in V1.1, to be addressed in V1.2, or do we need a V1.0.2 and/or a V1.1.1? |
@chris-little V1.0.2, V1.1.1 and v1.2 |
The
bbox
query is required for the following query types:However, the bbox parameter definition shows
required: false
.This yielded errors on EDR CITE against my pygeoapi instance (CITE is testing that the OpenAPI
.../cube
endpoint has a required bbox parameter).If the bbox parameter is required for all of the queries it applies to, then the bbox parameter definition needs to be updated (
required: true
).Happy to PR if this is the intended behaviour.
The text was updated successfully, but these errors were encountered: