Skip to content

Commit

Permalink
Update sim-swap.yaml
Browse files Browse the repository at this point in the history
Make Mega Linter happy
  • Loading branch information
bigludo7 authored Sep 18, 2024
1 parent 7acbc2c commit 2c2ee5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/API_definitions/sim-swap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ info:
- POST retrieve-date : Provides timestamp of latest SIM swap, if any, for a given phone number.
- If no swap has been performed, the API will return the SIM activation date (the timestamp of the first time that the SIM connected to the network).
- If no swap has been performed, the API will return the SIM activation date (the timestamp of the first time that the SIM connected to the network).

Check failure on line 34 in code/API_definitions/sim-swap.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

34:1 [trailing-spaces] trailing spaces
- If the latest SIM swap date (or the activation date if no SIM swap) cannot be communicated due to local regulations preventing the safekeeping of the information for longer than the stated period, a `null` value will be returned. Optionally, a `monitoredPeriod` could be provided to indicate that no SIM swap has occurred during this timeframe (in days).
- POST check: Checks if SIM swap has been performed during a past period (defined in the request with 'maxAge' attribute) for a given phone number.
Expand Down Expand Up @@ -126,7 +126,7 @@ paths:
RETRIEVE_MONITORED_PERIOD:
$ref: "#/components/examples/RETRIEVE_MONITORED_PERIOD"
RETRIEVE_MONITORED_NULL:
$ref: "#/components/examples/RETRIEVE_MONITORED_NULL"
$ref: "#/components/examples/RETRIEVE_MONITORED_NULL"
"400":
$ref: "#/components/responses/Generic400"
"401":
Expand Down

0 comments on commit 2c2ee5d

Please sign in to comment.