deegree / deegree-ogcapi

OGC API implementations based on deegree
GNU Lesser General Public License v2.1
5 stars 5 forks source link

Add OpenAPI description also in YAML format #82

Closed stempler closed 1 year ago

stempler commented 1 year ago

Support serving the OpenAPI description as YAML in addition to the already supported JSON format. Also add a configuration option to allow CORS access for all origins. By default this is disabled.

See #76

Please note: Includes changes from PR #81 due to dependency on YAML media type defined there, thus #81 should be merged first.

stempler commented 1 year ago

Updated this PR to also include the changes related to adding the CORS header if enabled. Used the TunableParameter class as suggested.

copierrj commented 1 year ago

This PR introduces a new dependency with an incompatible license.

Please update the PR to avoid this dependency. See for reference how to test a TunableParameter: https://github.com/deegree/deegree3/blob/14422c86d81efd9467f3f76eb7a32224d9188596/deegree-core/deegree-core-coverage/src/test/java/org/deegree/coverage/raster/cache/TestRasterCache.java