Skip to content

Commit

Permalink
Merge pull request #198 from bigludo7/main
Browse files Browse the repository at this point in the history
Remove 405 code in the yaml
  • Loading branch information
akoshunyadi authored Aug 28, 2024
2 parents d60c209 + ac0d8bc commit 1532de9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 38 deletions.
20 changes: 1 addition & 19 deletions code/API_definitions/device-reachability-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.6.0-rc.1
version: wip
x-camara-commonalities: 0.4.0
externalDocs:
description: Product documentation at CAMARA
Expand Down Expand Up @@ -110,8 +110,6 @@ paths:
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
"405":
$ref: "#/components/responses/Generic405"
"406":
$ref: "#/components/responses/Generic406"
"415":
Expand Down Expand Up @@ -361,22 +359,6 @@ components:
status: 404
code: DEVICE_NOT_FOUND
message: Some identifier cannot be matched to a device
Generic405:
description: Method Not Allowed
headers:
x-correlator:
$ref: "#/components/headers/x-correlator"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorInfo"
examples:
GENERIC_405_METHOD_NOT_ALLOWED:
description: Invalid HTTP verb used with a given endpoint
value:
status: 405
code: METHOD_NOT_ALLOWED
message: The requested method is not allowed/supported on the target resource.
Generic406:
description: Not Acceptable
headers:
Expand Down
20 changes: 1 addition & 19 deletions code/API_definitions/device-roaming-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.6.0-rc.1
version: wip
x-camara-commonalities: 0.4.0
externalDocs:
description: Product documentation at CAMARA
Expand Down Expand Up @@ -125,8 +125,6 @@ paths:
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
"405":
$ref: "#/components/responses/Generic405"
"406":
$ref: "#/components/responses/Generic406"
"415":
Expand Down Expand Up @@ -385,22 +383,6 @@ components:
status: 404
code: DEVICE_NOT_FOUND
message: Some identifier cannot be matched to a device
Generic405:
description: Method Not Allowed
headers:
x-correlator:
$ref: "#/components/headers/x-correlator"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorInfo"
examples:
GENERIC_405_METHOD_NOT_ALLOWED:
description: Invalid HTTP verb used with a given endpoint
value:
status: 405
code: METHOD_NOT_ALLOWED
message: The requested method is not allowed/supported on the target resource.
Generic406:
description: Not Acceptable
headers:
Expand Down

0 comments on commit 1532de9

Please sign in to comment.