-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add OAS 3 URL with file extension #76
Comments
Thank you for opening that feature request. We see that this feature request has two separated topics. One part is the renaming of /api to /openapi. And the other is the handling of the encoding [1]. For this separate topic which we would prefer to be handled in a uniform way for all resources (e.g. collections). It is also important to make sure that the overriding of the HTTP Accept header is handled consistently. In general it would be nice to have a fixed order to describe the priority of encoding. For example: [1] https://docs.ogc.org/is/17-069r3/17-069r3.html#encodings |
I split the described functionality into three PRs:
|
Part of the related requirement in the Dutch API design rules is also that for the API definitions themselves "the CORS policy for this URI must allow external domains to read the documentation from a browser environment". Would anything speak against it from your side to for the YAML and JSON representations include an This could be made configurable if it should be enabled, if that's desired. For that it would be helpful if you can comment on the question on your preferences related to introducing global configuration options for deegree OAF. Thanks! |
An example service with two datasets that includes these changes (and a few others related to the issues we raised) is available here for testing. |
I did a small update to the PRs:
From my side I don't have any pending changes left. Please let me know if you have any feedback on the PRs: |
Feature Description:
The OAS 3 root document is available at
openapi.json
oropenapi.yaml
, with file extension.Currently, deegree ogcapi makes it available at
XX/api
.Definition of done:
OAS 3 document is available at
openapi.json
oropenapi.yaml
as specified in the Dutch API requirements and the Dutch validator.The functionality is optional.
The text was updated successfully, but these errors were encountered: