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/one-time-password-sms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ info:

As a specific rule, error `501 - NOT_IMPLEMENTED` can be only a possible error response if it is explicitly documented in the API.

version: 1.1.1
version: wip
x-camara-commonalities: 0.6
license:
name: Apache 2.0
Expand All @@ -37,7 +37,7 @@ externalDocs:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/OTPValidation
servers:
- url: "{apiRoot}/one-time-password-sms/v1"
- url: "{apiRoot}/one-time-password-sms/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: one-time-password-sms, v1.1.1 - Operation sendCode
Feature: one-time-password-sms, vwip - Operation sendCode

# Environment variables:
# * api_root: API root of the server URL
Expand All @@ -9,7 +9,7 @@ Feature: one-time-password-sms, v1.1.1 - Operation sendCode

Background: Common OTPvalidation sendCode setup
Given an environment at "apiRoot"
And the resource "/one-time-password-sms/v1/send-code"
And the resource "/one-time-password-sms/vwip/send-code"
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: one-time-password-sms, v1.1.1 - operation validateCode
Feature: one-time-password-sms, vwip - operation validateCode

# Environment variables:
# * api_root: API root of the server URL
Expand All @@ -11,7 +11,7 @@ Feature: one-time-password-sms, v1.1.1 - operation validateCode

Background: Common OTPvalidation validateCode setup
Given an environment at "apiRoot"
And the resource "/one-time-password-sms/v1/validate-code"
And the resource "/one-time-password-sms/vwip/validate-code"
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