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
8 changes: 4 additions & 4 deletions code/API_definitions/most-frequent-location.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.2.0-rc.1
version: wip
x-camara-commonalities: 0.6
externalDocs:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/MostFrequentLocation
servers:
- url: "{apiRoot}/most-frequent-location/v0.2rc1"
- url: "{apiRoot}/most-frequent-location/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down Expand Up @@ -367,13 +367,13 @@ components:
properties:
message:
type: string
description: A human readable description of what the event represent
description: A human-readable description of what the event represent
status:
type: integer
description: HTTP response status code
code:
type: string
description: Friendly Code to describe the error
description: A human-readable code to describe the error
XCorrelator:
type: string
pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$
Expand Down
6 changes: 3 additions & 3 deletions code/Test_definitions/most-frequent-location.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: CAMARA Most Frequent Location API, v0.2.0-rc.1
Feature: CAMARA Most Frequent Location API, vwip
# Input to be provided by the implementation to the tester
#
# Implementation indications:
Expand All @@ -11,11 +11,11 @@ Feature: CAMARA Most Frequent Location API, v0.2.0-rc.1
# * A device object identifying a device commercialized by the implementation for which the service is not applicable, if any.


# References to OAS spec schemas refer to schemas specifies in most-frequent-location.yaml, version 0.2.0-rc.1
# References to OAS spec schemas refer to schemas specifies in most-frequent-location.yaml, version wip

Background: Common verifyFrequentLocation setup
Given an environment at "apiRoot"
And the resource "/most-frequent-location/v0.2rc1/verify"
And the resource "/most-frequent-location/vwip/verify"
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