@@ -71,6 +71,10 @@ paths:
7171 $ref : ' #/components/schemas/statusOK'
7272 factors :
7373 type : object
74+ required :
75+ - alreadySetup
76+ - allowedToSetup
77+ - next
7478 properties :
7579 alreadySetup :
7680 type : array
@@ -147,6 +151,11 @@ paths:
147151 type : array
148152 items :
149153 type : object
154+ required :
155+ - name
156+ - period
157+ - skew
158+ - verified
150159 properties :
151160 name :
152161 type : string
@@ -334,9 +343,13 @@ paths:
334343 schema :
335344 oneOf :
336345 - type : object
346+ required :
347+ - wasAlreadyVerified
337348 properties :
338349 status :
339350 $ref : ' #/components/schemas/statusOK'
351+ wasAlreadyVerified :
352+ type : boolean
340353 - type : object
341354 properties :
342355 status :
@@ -797,7 +810,7 @@ paths:
797810 ' 500 ' :
798811 $ref : ' #/components/responses/500'
799812
800- /{apiBasePath}/<tenantId>/passwordless/phoneNumber /exists :
813+ /{apiBasePath}/<tenantId>/passwordless/phonenumber /exists :
801814 get :
802815 tags :
803816 - Passwordless Recipe
@@ -1402,59 +1415,55 @@ paths:
14021415 - type : object
14031416 required :
14041417 - status
1405- - recipes
1418+ - emailPassword
1419+ - thirdParty
1420+ - passwordless
1421+ - firstFactors
14061422 properties :
14071423 status :
14081424 $ref : ' #/components/schemas/statusOK'
1409- recipes :
1425+ emailPassword :
14101426 type : object
14111427 required :
1412- - emailPassword
1413- - thirdParty
1414- - passwordless
1415- - firstFactors
1428+ - enabled
14161429 properties :
1417- emailPassword :
1418- type : object
1419- required :
1420- - enabled
1421- properties :
1422- enabled :
1423- type : boolean
1424- example : true
1425- thirdParty :
1426- type : object
1427- required :
1428- - enabled
1429- - providers
1430- properties :
1431- enabled :
1432- type : boolean
1433- example : true
1434- providers :
1435- type : array
1436- items :
1437- type : object
1438- required :
1439- - id
1440- properties :
1441- id :
1442- $ref : ' #/components/schemas/thirdPartyId'
1443- name :
1444- type : string
1445- example : Google
1446- passwordless :
1447- type : object
1448- required :
1449- - enabled
1450- properties :
1451- enabled :
1452- type : boolean
1453- example : true
1454- firstFactors :
1430+ enabled :
1431+ type : boolean
1432+ example : true
1433+ thirdParty :
1434+ type : object
1435+ required :
1436+ - enabled
1437+ - providers
1438+ properties :
1439+ enabled :
1440+ type : boolean
1441+ example : true
1442+ providers :
14551443 type : array
14561444 items :
1457- type : string
1445+ type : object
1446+ required :
1447+ - id
1448+ - name
1449+ properties :
1450+ id :
1451+ $ref : ' #/components/schemas/thirdPartyId'
1452+ name :
1453+ type : string
1454+ example : Google
1455+ passwordless :
1456+ type : object
1457+ required :
1458+ - enabled
1459+ properties :
1460+ enabled :
1461+ type : boolean
1462+ example : true
1463+ firstFactors :
1464+ type : array
1465+ items :
1466+ type : string
14581467 - $ref : ' #/components/schemas/generalErrorResponse'
14591468 ' 404 ' :
14601469 $ref : ' #/components/responses/404'
@@ -1492,7 +1501,7 @@ paths:
14921501 ' 500 ' :
14931502 $ref : ' #/components/responses/500'
14941503
1495- /{apiBasePath}/<tenantId>/ user/email/verify/token :
1504+ /{apiBasePath}/user/email/verify/token :
14961505 post :
14971506 tags :
14981507 - EmailVerification Recipe
@@ -2236,7 +2245,7 @@ paths:
22362245 ' 500 ' :
22372246 $ref : ' #/components/responses/500'
22382247
2239- /{apiBasePath}/oauth/logininfo :
2248+ /{apiBasePath}/oauth/login/info :
22402249 get :
22412250 tags :
22422251 - OAuth2Provider Recipe
@@ -2269,6 +2278,7 @@ paths:
22692278 description : Information about the current login flow
22702279 required :
22712280 - clientId
2281+ - clientName
22722282 properties :
22732283 clientId :
22742284 type : string
@@ -2609,6 +2619,15 @@ components:
26092619
26102620 user :
26112621 type : object
2622+ required :
2623+ - id
2624+ - timeJoined
2625+ - isPrimaryUser
2626+ - tenantIds
2627+ - emails
2628+ - phoneNumbers
2629+ - thirdParty
2630+ - loginMethods
26122631 properties :
26132632 id :
26142633 $ref : ' #/components/schemas/userId'
@@ -2637,6 +2656,9 @@ components:
26372656 type : array
26382657 items :
26392658 type : object
2659+ required :
2660+ - id
2661+ - userId
26402662 properties :
26412663 id :
26422664 type : string
@@ -2648,6 +2670,11 @@ components:
26482670 type : array
26492671 items :
26502672 type : object
2673+ required :
2674+ - recipeId
2675+ - recipeUserId
2676+ - tenantIds
2677+ - timeJoined
26512678 properties :
26522679 recipeId :
26532680 type : string
@@ -2673,6 +2700,9 @@ components:
26732700 example : +36201234123
26742701 thirdParty :
26752702 type : object
2703+ required :
2704+ - id
2705+ - userId
26762706 properties :
26772707 id :
26782708 type : string
@@ -2833,6 +2863,8 @@ components:
28332863
28342864 fieldErrorResponse :
28352865 type : object
2866+ required :
2867+ - formFields
28362868 properties :
28372869 status :
28382870 type : string
@@ -2841,6 +2873,9 @@ components:
28412873 type : array
28422874 items :
28432875 type : object
2876+ required :
2877+ - id
2878+ - error
28442879 properties :
28452880 id :
28462881 type : string
0 commit comments