Skip to content

Support optional API version segment in path#91

Open
stempler wants to merge 5 commits into
deegree:mainfrom
wetransform-os:pr/api-version-path
Open

Support optional API version segment in path#91
stempler wants to merge 5 commits into
deegree:mainfrom
wetransform-os:pr/api-version-path

Conversation

@stempler

@stempler stempler commented Mar 31, 2023

Copy link
Copy Markdown
Member

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
@stempler stempler force-pushed the pr/api-version-path branch from 5a360ad to 2abbb9e Compare April 12, 2023 07:36
@stempler stempler force-pushed the pr/api-version-path branch from 038fc90 to 4e4597c Compare May 12, 2023 08:12
@tfr42 tfr42 added the needs rebase PR is not up to date and needs rebase label May 12, 2023
@stempler stempler force-pushed the pr/api-version-path branch from 4e4597c to aef07a7 Compare May 12, 2023 10:15
@tfr42 tfr42 removed the needs rebase PR is not up to date and needs rebase label May 12, 2023
@tfr42 tfr42 added the needs rebase PR is not up to date and needs rebase label Apr 16, 2025
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 needs rebase PR is not up to date and needs rebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants