Skip to content
Closed
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
@@ -1,4 +1,4 @@
openapi: 3.0.3

Check failure on line 1 in code/API_definitions/device-swap.yaml

View workflow job for this annotation

GitHub Actions / validation / Validate

info.version must be wip on main or maintenance

[P-003] info.version must be 'wip' on main branch, found '1.1.0'
info:
title: Device Swap
description: |
Expand Down Expand Up @@ -75,15 +75,15 @@
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:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/DeviceSwap

servers:
- url: '{apiRoot}/device-swap/vwip'
- url: '{apiRoot}/device-swap/v1'
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, vwip - Operation checkDeviceSwap
Feature: CAMARA Device Swap API, v1.1.0 - Operation checkDeviceSwap

Check warning on line 1 in code/Test_definitions/device-swap-checkDeviceSwap.feature

View workflow job for this annotation

GitHub Actions / validation / Validate

Test file: feature-line version mismatch

[P-007] Test file 'device-swap-checkDeviceSwap.feature' has version 'v1.1.0' in Feature line but expected 'vwip' (on main branch)

# Input to be provided by the implementation to the tester
#
Expand All @@ -8,7 +8,7 @@
# 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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: CAMARA Device Swap API, vwip - Operation retrieveDeviceSwapDate
Feature: CAMARA Device Swap API, v1.1.0 - Operation retrieveDeviceSwapDate

Check warning on line 1 in code/Test_definitions/device-swap-retrieveDeviceSwapDate.feature

View workflow job for this annotation

GitHub Actions / validation / Validate

Test file: feature-line version mismatch

[P-007] Test file 'device-swap-retrieveDeviceSwapDate.feature' has version 'v1.1.0' in Feature line but expected 'vwip' (on main branch)

# Input to be provided by the implementation to the tester
#
Expand All @@ -8,7 +8,7 @@
# 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"
Expand Down
Loading