Skip to content
Merged
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
12 changes: 6 additions & 6 deletions code/API_definitions/qos-booking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"404":
$ref: "#/components/responses/Generic404"
"409":
$ref: "#/components/responses/BookingConflict409"
$ref: "#/components/responses/BookingAlreadyExists409"
"422":
$ref: "#/components/responses/BookingUnprocessableEntity422"
"429":
Expand Down Expand Up @@ -683,7 +683,7 @@
required:
- areaName
properties:
areaName:

Check notice on line 686 in code/API_definitions/qos-booking.yaml

View workflow job for this annotation

GitHub Actions / validation / Validate

String has no format/pattern/enum

[S-313] Schema of type string should specify a format, pattern, enum, or const. | Suggestion: Acceptable if free-form field or implementation-dependent — no fix needed.
type: string
maxLength: 256

Expand All @@ -693,10 +693,10 @@
Point:
$ref: '../common/CAMARA_common.yaml#/components/schemas/Point'

Latitude:

Check warning on line 696 in code/API_definitions/qos-booking.yaml

View workflow job for this annotation

GitHub Actions / validation / Validate

Component may be unused

[S-211] Potentially unused component has been detected. | Suggestion: Remove the component if it is obsolete, or reference it from the API definition.
$ref: '../common/CAMARA_common.yaml#/components/schemas/Latitude'

Longitude:

Check warning on line 699 in code/API_definitions/qos-booking.yaml

View workflow job for this annotation

GitHub Actions / validation / Validate

Component may be unused

[S-211] Potentially unused component has been detected. | Suggestion: Remove the component if it is obsolete, or reference it from the API definition.
$ref: '../common/CAMARA_common.yaml#/components/schemas/Longitude'

Device:
Expand All @@ -718,7 +718,7 @@
$ref: "#/components/schemas/ApplicationServerIpv6Address"
minProperties: 1

ApplicationServerIpv4Address:

Check notice on line 721 in code/API_definitions/qos-booking.yaml

View workflow job for this annotation

GitHub Actions / validation / Validate

String has no format/pattern/enum

[S-313] Schema of type string should specify a format, pattern, enum, or const. | Suggestion: Acceptable if free-form field or implementation-dependent — no fix needed.
type: string
maxLength: 15
example: "198.51.100.0/24"
Expand All @@ -728,7 +728,7 @@
- address/mask - an IP number as above with a mask width of the form 1.2.3.4/24.
In this case, all IP numbers from 1.2.3.0 to 1.2.3.255 will match. The bit width MUST be valid for the IP version.

ApplicationServerIpv6Address:

Check notice on line 731 in code/API_definitions/qos-booking.yaml

View workflow job for this annotation

GitHub Actions / validation / Validate

String has no format/pattern/enum

[S-313] Schema of type string should specify a format, pattern, enum, or const. | Suggestion: Acceptable if free-form field or implementation-dependent — no fix needed.
type: string
maxLength: 45
example: "2001:db8:85a3:8d3:1319:8a2e:370:7344"
Expand Down Expand Up @@ -864,8 +864,8 @@
code: NOT_FOUND
message: The specified resource is not found.

BookingConflict409:
description: Conflict
BookingAlreadyExists409:
description: Trying to create a booking which already exists for this device
headers:
x-correlator:
$ref: '#/components/headers/x-correlator'
Expand All @@ -881,11 +881,11 @@
- 409
code:
enum:
- CONFLICT
- ALREADY_EXISTS
example:
status: 409
code: CONFLICT
message: Conflict with an existing booking for the same device.
code: ALREADY_EXISTS
message: The booking that a client tried to create already exists for this device.

Generic410:
$ref: '../common/CAMARA_common.yaml#/components/responses/Generic410'
Expand Down
Loading