Skip to content
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

Support optional API version segment in path #91

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

stempler
Copy link
Member

@stempler stempler commented Mar 31, 2023

The system property deegree.oaf.openapi.version_path_segment can be used to enable the behavior that:

  • a path segment representing the major API version can be inserted in dataset related paths after the dataset ID (e.g. v1 for major version 1, example path /datasets/streets/v1/collections), paths that don't include this version segment still work as before
  • the OpenAPI definition for each dataset includes this version segment in the server URL

The version segment was added at this place in the path, because for each dataset a separate API with its own API definition is provided by deegree OAF.

Solves #73

@tfr42 tfr42 added the enhancement Improvement of existing feature or function label Apr 5, 2023
@tfr42 tfr42 added the needs rebase PR is not up to date and needs rebase label May 12, 2023
@tfr42 tfr42 removed the needs rebase PR is not up to date and needs rebase label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature or function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants