From e4ce2500323ed802181d9a85d504e75f4b57e132 Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Fri, 5 Jan 2024 14:58:44 +0100 Subject: [PATCH 1/2] feat: move "basePath" /qod/v0 to "url"-property --- code/API_definitions/qod-api.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/API_definitions/qod-api.yaml b/code/API_definitions/qod-api.yaml index 9038269ca5..d8820248cd 100644 --- a/code/API_definitions/qod-api.yaml +++ b/code/API_definitions/qod-api.yaml @@ -73,14 +73,11 @@ externalDocs: security: - oAuth2ClientCredentials: [] servers: - - url: "{apiRoot}/{basePath}" + - url: "{apiRoot}/qod/v0" variables: apiRoot: default: http://localhost:9091 description: API root - basePath: - default: qod/v0 - description: Base path for the QoD API tags: - name: QoS Sessions description: Manage QoS sessions From b44da2a85fb2ec6223a3a057b704cbfa897c8d41 Mon Sep 17 00:00:00 2001 From: Maximilian Laue <112983658+maxl2287@users.noreply.github.com> Date: Tue, 23 Jan 2024 22:04:56 +0100 Subject: [PATCH 2/2] feat: extend description for apiRoot Co-authored-by: Herbert Damker <52109189+hdamker@users.noreply.github.com> --- code/API_definitions/qod-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/qod-api.yaml b/code/API_definitions/qod-api.yaml index d8820248cd..689f656371 100644 --- a/code/API_definitions/qod-api.yaml +++ b/code/API_definitions/qod-api.yaml @@ -77,7 +77,7 @@ servers: variables: apiRoot: default: http://localhost:9091 - description: API root + description: API root, defined by the service provider, e.g. `api.example.com` or `api.example.com/somepath` tags: - name: QoS Sessions description: Manage QoS sessions