Skip to content

Commit

Permalink
Update checkSimSwap.camara.swagger.yaml
Browse files Browse the repository at this point in the history
Added UTC Precision (#43) + Error Message (#44 (comment))
  • Loading branch information
bigludo7 authored Jun 13, 2023
1 parent ef9770f commit 40e3bf0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion code/API_definitions/CAMARA/checkSimSwap.camara.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ paths:
$ref: "#/components/responses/Generic401"
"403":
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
"409":
$ref: "#/components/responses/Generic409"
"500":
Expand Down Expand Up @@ -102,6 +104,8 @@ paths:
$ref: "#/components/responses/Generic401"
"403":
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
"409":
$ref: "#/components/responses/Generic409"
"500":
Expand Down Expand Up @@ -134,7 +138,7 @@ components:
latestSimChange:
type: string
format: date-time
description: Timestamp of latest SIM swap performed
description: Timestamp of latest SIM swap performed (using UTC)
CheckSimSwapInfo:
type: object
properties:
Expand Down Expand Up @@ -217,6 +221,16 @@ components:
status: 403
code: PERMISSION_DENIED
message: Client does not have sufficient permissions to perform this action
Generic404:
description: Resource Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
example:
status: 404
code: SIMSWAP.PHONE_NUMBER_NOT_IN_OPERATOR_SCOPE
message: SI Swap can't be checked because this number is not managed by operator.
Generic409:
description: Conflict
content:
Expand Down

0 comments on commit 40e3bf0

Please sign in to comment.