Skip to content

Commit

Permalink
Remove validate and verify email, phone endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Nov 15, 2023
1 parent 30cc649 commit f99bcdc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 161 deletions.
149 changes: 0 additions & 149 deletions openapi/v2023.11.1/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2967,155 +2967,6 @@ paths:
security: []
tags:
- onboard
/onboard/validate/email:
post:
operationId: validateEmail
tags:
- onboard
description: Validate email
parameters: []
requestBody:
content:
application/json:
schema:
required:
- email
type: object
properties:
email:
type: string
required: true
responses:
'200':
description: OK
content:
application/json:
schema:
required:
- result
- message
type: object
properties:
result:
type: boolean
message:
type: string
example:
result: true
message: Email address is valid and not in use in our system
deprecated: false
security:
- BearerAuth: []
/onboard/validate/phone:
post:
operationId: validatePhone
tags:
- onboard
description: Validate phone
parameters: []
requestBody:
content:
application/json:
schema:
required:
- phone
type: object
properties:
phone:
type: string
required: true
responses:
'200':
description: OK
content:
application/json:
schema:
required:
- result
- message
type: object
properties:
result:
type: boolean
message:
type: string
example:
result: false
message: Phone number is in use
deprecated: false
security:
- BearerAuth: []
/onboard/verify/otp:
post:
operationId: verifyOtp
tags:
- onboard
description: Verify OTP
parameters: []
requestBody:
content:
application/json:
schema:
required:
- phone
- otp
type: object
properties:
phone:
type: string
otp:
type: string
required: true
responses:
'200':
description: OK
content:
application/json:
schema:
required:
- result
- message
type: object
properties:
result:
type: boolean
message:
type: string
example:
result: true
message: Otp validatiation Succeeded
deprecated: false
security:
- BearerAuth: []
/onboard/verify/phone:
post:
operationId: verifyPhone
tags:
- onboard
description: For OTP verification of the given phone number
summary: Verify phone
parameters: []
requestBody:
content:
application/json:
schema:
required:
- email
- phone
type: object
properties:
email:
type: string
phone:
type: string
required: true
responses:
'204':
description: No Content
content: {}
deprecated: false
security:
- BearerAuth: []
/onboard/status:
get:
deprecated: false
Expand Down
12 changes: 0 additions & 12 deletions openapi/v2023.11.1/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,18 +224,6 @@ paths:
/onboard/token/exchange:
post:
$ref: ./paths/exchangeCodeForToken.yaml
/onboard/validate/email:
post:
$ref: ./paths/validateEmail.yaml
/onboard/validate/phone:
post:
$ref: ./paths/validatePhone.yaml
/onboard/verify/otp:
post:
$ref: ./paths/verifyOtp.yaml
/onboard/verify/phone:
post:
$ref: ./paths/verifyPhone.yaml
/onboard/status:
get:
$ref: ./paths/onboardReadStatus.yaml
Expand Down

0 comments on commit f99bcdc

Please sign in to comment.