Skip to content

Commit

Permalink
passwordless user creation api spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Chakravarthy7102 committed Dec 7, 2023
1 parent 68ed887 commit 92fdcfa
Showing 1 changed file with 34 additions and 13 deletions.
47 changes: 34 additions & 13 deletions api_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1773,24 +1773,45 @@ paths:
content:
application/json:
schema:
type: object
properties:
email:
type: string
password:
type: string
oneOf:
- type: object
properties:
email:
$ref: "#/components/schemas/email"
example:
email: "[email protected]"
required:
- email
- type: object
properties:
phoneNumber:
$ref: "#/components/schemas/phoneNumber"
required:
- phoneNumber
responses:
200:
description: Success
description: signup response
content:
application/json:
schema:
type: object
properties:
tags:
type: array
items:
type: string
oneOf:
- type: object
properties:
status:
type: string
default: "OK"
createdNewRecipeUser:
type: boolean
default: true
user:
$ref: "#/components/schemas/authRecipeUser"
recipeUserId:
$ref: "#/components/schemas/userId"
- type: object
properties:
status:
type: string
default: "FEATURE_NOT_ENABLED_ERROR"

components:
schemas:
Expand Down

0 comments on commit 92fdcfa

Please sign in to comment.