diff --git a/code/API_definitions/device-swap.yaml b/code/API_definitions/device-swap.yaml index 999cdde..f86a606 100644 --- a/code/API_definitions/device-swap.yaml +++ b/code/API_definitions/device-swap.yaml @@ -75,7 +75,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: wip + version: 1.1.0 x-camara-commonalities: 0.9.0 externalDocs: @@ -83,7 +83,7 @@ externalDocs: url: https://github.com/camaraproject/DeviceSwap servers: - - url: '{apiRoot}/device-swap/vwip' + - url: '{apiRoot}/device-swap/v1' variables: apiRoot: default: http://localhost:9091 diff --git a/code/Test_definitions/device-swap-checkDeviceSwap.feature b/code/Test_definitions/device-swap-checkDeviceSwap.feature index 6496e0b..f4adbf9 100644 --- a/code/Test_definitions/device-swap-checkDeviceSwap.feature +++ b/code/Test_definitions/device-swap-checkDeviceSwap.feature @@ -1,4 +1,4 @@ -Feature: CAMARA Device Swap API, vwip - Operation checkDeviceSwap +Feature: CAMARA Device Swap API, v1.1.0 - Operation checkDeviceSwap # Input to be provided by the implementation to the tester # @@ -8,7 +8,7 @@ Feature: CAMARA Device Swap API, vwip - Operation checkDeviceSwap # References to OAS spec schemas refer to schemas specified in device-swap.yaml Background: Common checkDeviceSwap setup - Given the resource "device-swap/vwip/check" + Given the resource "device-swap/v1/check" And the header "Content-Type" is set to "application/json" And the header "Authorization" is set to a valid access token And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator" diff --git a/code/Test_definitions/device-swap-retrieveDeviceSwapDate.feature b/code/Test_definitions/device-swap-retrieveDeviceSwapDate.feature index df2c695..075e3e8 100644 --- a/code/Test_definitions/device-swap-retrieveDeviceSwapDate.feature +++ b/code/Test_definitions/device-swap-retrieveDeviceSwapDate.feature @@ -1,4 +1,4 @@ -Feature: CAMARA Device Swap API, vwip - Operation retrieveDeviceSwapDate +Feature: CAMARA Device Swap API, v1.1.0 - Operation retrieveDeviceSwapDate # Input to be provided by the implementation to the tester # @@ -8,7 +8,7 @@ Feature: CAMARA Device Swap API, vwip - Operation retrieveDeviceSwapDate # References to OAS spec schemas refer to schemas specified in device-swap.yaml. Background: Common retrieveDeviceSwapDate setup - Given the resource "device-swap/vwip/retrieve-date" + Given the resource "device-swap/v1/retrieve-date" And the header "Content-Type" is set to "application/json" And the header "Authorization" is set to a valid access token And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"