-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Specifying dynamic resources enumerating valid values for a given path element #1693
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
Comments
I am assuming that the list of possible values for An You cannot use OAS parameter names as templated variables in |
@MikeRalphson , the list of possible tilingSchemeID could potentially vary depending on the value of collectionID, yes. |
OK - then OAS currently does not have a mechanism for pointing at a dynamic resource which provides the allowable values for a parameter (potentially based on other parameters). |
Thanks for confirming this. So this is a feature request. |
This is really a JSON Schema question, and the JSON Schema issue is json-schema-org/json-schema-spec#855 I'm going to close this as OAS 3.1 and later now fully reference JSON Schema, so the appropriate place to discuss this is in the JSON Schema issue. |
Say we wanted to list all possible tiling schemes for a given collectionID in:
Could we somehow describe something like this in a generic API specification?
The text was updated successfully, but these errors were encountered: