-
Notifications
You must be signed in to change notification settings - Fork 12
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
JSON schema for query parameters? #509
Comments
So in the case of partial, the value to enable it should be the string Same question applies to other query parameters used in other places, like |
Good question, something that I also recently found weird in OGC APIs. But it's a more general question that should be answered by OpenAPI, I guess? |
Ah good to know this is an upstream issue. There is a bit of documentation at https://swagger.io/docs/specification/serialization/ but it does not explicitly mention how basic types like boolean, int and floats are to be encoded and decoded. I know it's quite trivial, but still there are details that could get in the way in practice: e.g. naively serializing boolean "true in Python gives |
Did you find a corresponding issue in the OpenAPI issue tracker? If not, could you open one? Would be interesting to know in general and I'm pretty much flying to NY in a couple of minutes ;-) |
no, I haven't found any further leads about this. If I find some time today I'll try to create an issue |
I'm a bit confused by the specification of the
partial
parameter for https://openeo.org/documentation/1.0/developers/api/reference.html#tag/Data-Processing/operation/list-resultsopeneo-api/openapi.yaml
Lines 3238 to 3250 in c5a45b4
How does JSON schema applies to query parameters like this? As far as I know query parameters are just strings and the openEO API spec does not mention something about additional or assumed encoding there.
The text was updated successfully, but these errors were encountered: