Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/API_definitions/device-swap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 1.0.0
version: wip
x-camara-commonalities: 0.6

externalDocs:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/DeviceSwap

servers:
- url: '{apiRoot}/device-swap/v1'
- url: '{apiRoot}/device-swap/vwip'
variables:
apiRoot:
default: http://localhost:9091
Expand Down
4 changes: 2 additions & 2 deletions code/Test_definitions/device-swap-checkDeviceSwap.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: CAMARA Device Swap API, v1.0.0 - Operation checkDeviceSwap
Feature: CAMARA Device Swap API, vwip - Operation checkDeviceSwap

# Input to be provided by the implementation to the tester
#
Expand All @@ -8,7 +8,7 @@ Feature: CAMARA Device Swap API, v1.0.0 - Operation checkDeviceSwap
# References to OAS spec schemas refer to schemas specifies in device-swap.yaml

Background: Common checkDeviceSwap setup
Given the resource "device-swap/v1/check"
Given the resource "device-swap/vwip/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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: CAMARA Device Swap API, v1.0.0 - Operation retrieveDeviceSwapDate
Feature: CAMARA Device Swap API, vwip - Operation retrieveDeviceSwapDate

# Input to be provided by the implementation to the tester
#
Expand All @@ -8,7 +8,7 @@ Feature: CAMARA Device Swap API, v1.0.0 - Operation retrieveDeviceSwapDate
# References to OAS spec schemas refer to schemas specifies in device-swap.yaml.

Background: Common retrieveDeviceSwapDate setup
Given the resource "device-swap/v1/retrieve-date"
Given the resource "device-swap/vwip/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"
Expand Down