Skip to content

Commit

Permalink
Editorial correction for error codes in YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
yamamoto0104 authored Dec 2, 2024
1 parent 7d2ef75 commit e8f3747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/API_definitions/number-recycling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ info:
## Error handling:
- If the subject cannot be identified from the access token and the optional `phoneNumber` field is not included in the request, then the server will return an error with the `422 MISSING_PHONE_NUMBER` error code.
- If the subject can be identified from the access token and the optional `phoneNumber` field is also included in the request, then the server will return an error with the `422 UNNECESSARY_PHONE_NUMBER` error code. This will the case even if the same phone number is identified by these two methods, as the server is unable to make this comparison.
- If the subject cannot be identified from the access token and the optional `phoneNumber` field is not included in the request, then the server will return an error with the `422 MISSING_IDENTIFIER` error code.
- If the subject can be identified from the access token and the optional `phoneNumber` field is also included in the request, then the server will return an error with the `422 UNNECESSARY_IDENTIFIER` error code. This will the case even if the same phone number is identified by these two methods, as the server is unable to make this comparison.
version: wip
Expand Down

0 comments on commit e8f3747

Please sign in to comment.