Skip to content

Commit f99bcdc

Browse files
Remove validate and verify email, phone endpoints
Signed-off-by: George J Padayatti <george.padayatti@igrant.io>
1 parent 30cc649 commit f99bcdc

2 files changed

Lines changed: 0 additions & 161 deletions

File tree

openapi/v2023.11.1/bundled.yaml

Lines changed: 0 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -2967,155 +2967,6 @@ paths:
29672967
security: []
29682968
tags:
29692969
- onboard
2970-
/onboard/validate/email:
2971-
post:
2972-
operationId: validateEmail
2973-
tags:
2974-
- onboard
2975-
description: Validate email
2976-
parameters: []
2977-
requestBody:
2978-
content:
2979-
application/json:
2980-
schema:
2981-
required:
2982-
- email
2983-
type: object
2984-
properties:
2985-
email:
2986-
type: string
2987-
required: true
2988-
responses:
2989-
'200':
2990-
description: OK
2991-
content:
2992-
application/json:
2993-
schema:
2994-
required:
2995-
- result
2996-
- message
2997-
type: object
2998-
properties:
2999-
result:
3000-
type: boolean
3001-
message:
3002-
type: string
3003-
example:
3004-
result: true
3005-
message: Email address is valid and not in use in our system
3006-
deprecated: false
3007-
security:
3008-
- BearerAuth: []
3009-
/onboard/validate/phone:
3010-
post:
3011-
operationId: validatePhone
3012-
tags:
3013-
- onboard
3014-
description: Validate phone
3015-
parameters: []
3016-
requestBody:
3017-
content:
3018-
application/json:
3019-
schema:
3020-
required:
3021-
- phone
3022-
type: object
3023-
properties:
3024-
phone:
3025-
type: string
3026-
required: true
3027-
responses:
3028-
'200':
3029-
description: OK
3030-
content:
3031-
application/json:
3032-
schema:
3033-
required:
3034-
- result
3035-
- message
3036-
type: object
3037-
properties:
3038-
result:
3039-
type: boolean
3040-
message:
3041-
type: string
3042-
example:
3043-
result: false
3044-
message: Phone number is in use
3045-
deprecated: false
3046-
security:
3047-
- BearerAuth: []
3048-
/onboard/verify/otp:
3049-
post:
3050-
operationId: verifyOtp
3051-
tags:
3052-
- onboard
3053-
description: Verify OTP
3054-
parameters: []
3055-
requestBody:
3056-
content:
3057-
application/json:
3058-
schema:
3059-
required:
3060-
- phone
3061-
- otp
3062-
type: object
3063-
properties:
3064-
phone:
3065-
type: string
3066-
otp:
3067-
type: string
3068-
required: true
3069-
responses:
3070-
'200':
3071-
description: OK
3072-
content:
3073-
application/json:
3074-
schema:
3075-
required:
3076-
- result
3077-
- message
3078-
type: object
3079-
properties:
3080-
result:
3081-
type: boolean
3082-
message:
3083-
type: string
3084-
example:
3085-
result: true
3086-
message: Otp validatiation Succeeded
3087-
deprecated: false
3088-
security:
3089-
- BearerAuth: []
3090-
/onboard/verify/phone:
3091-
post:
3092-
operationId: verifyPhone
3093-
tags:
3094-
- onboard
3095-
description: For OTP verification of the given phone number
3096-
summary: Verify phone
3097-
parameters: []
3098-
requestBody:
3099-
content:
3100-
application/json:
3101-
schema:
3102-
required:
3103-
- email
3104-
- phone
3105-
type: object
3106-
properties:
3107-
email:
3108-
type: string
3109-
phone:
3110-
type: string
3111-
required: true
3112-
responses:
3113-
'204':
3114-
description: No Content
3115-
content: {}
3116-
deprecated: false
3117-
security:
3118-
- BearerAuth: []
31192970
/onboard/status:
31202971
get:
31212972
deprecated: false

openapi/v2023.11.1/index.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -224,18 +224,6 @@ paths:
224224
/onboard/token/exchange:
225225
post:
226226
$ref: ./paths/exchangeCodeForToken.yaml
227-
/onboard/validate/email:
228-
post:
229-
$ref: ./paths/validateEmail.yaml
230-
/onboard/validate/phone:
231-
post:
232-
$ref: ./paths/validatePhone.yaml
233-
/onboard/verify/otp:
234-
post:
235-
$ref: ./paths/verifyOtp.yaml
236-
/onboard/verify/phone:
237-
post:
238-
$ref: ./paths/verifyPhone.yaml
239227
/onboard/status:
240228
get:
241229
$ref: ./paths/onboardReadStatus.yaml

0 commit comments

Comments
 (0)