Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## [4.0.1] - 2025-05-14

### Changes

- Fixed various type mismatches between endpoints during auto type inference setup

## [4.0.0] - 2024-10-18

### Changes
Expand Down
131 changes: 83 additions & 48 deletions api_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ paths:
$ref: '#/components/schemas/statusOK'
factors:
type: object
required:
- alreadySetup
- allowedToSetup
- next
properties:
alreadySetup:
type: array
Expand Down Expand Up @@ -147,6 +151,11 @@ paths:
type: array
items:
type: object
required:
- name
- period
- skew
- verified
properties:
name:
type: string
Expand Down Expand Up @@ -334,9 +343,13 @@ paths:
schema:
oneOf:
- type: object
required:
- wasAlreadyVerified
properties:
status:
$ref: '#/components/schemas/statusOK'
wasAlreadyVerified:
type: boolean
- type: object
properties:
status:
Expand Down Expand Up @@ -797,7 +810,7 @@ paths:
'500':
$ref: '#/components/responses/500'

/{apiBasePath}/<tenantId>/passwordless/phoneNumber/exists:
/{apiBasePath}/<tenantId>/passwordless/phonenumber/exists:
get:
tags:
- Passwordless Recipe
Expand Down Expand Up @@ -1402,59 +1415,55 @@ paths:
- type: object
required:
- status
- recipes
- emailPassword
- thirdParty
- passwordless
- firstFactors
properties:
status:
$ref: '#/components/schemas/statusOK'
recipes:
emailPassword:
type: object
required:
- emailPassword
- thirdParty
- passwordless
- firstFactors
- enabled
properties:
emailPassword:
type: object
required:
- enabled
properties:
enabled:
type: boolean
example: true
thirdParty:
type: object
required:
- enabled
- providers
properties:
enabled:
type: boolean
example: true
providers:
type: array
items:
type: object
required:
- id
properties:
id:
$ref: '#/components/schemas/thirdPartyId'
name:
type: string
example: Google
passwordless:
type: object
required:
- enabled
properties:
enabled:
type: boolean
example: true
firstFactors:
enabled:
type: boolean
example: true
thirdParty:
type: object
required:
- enabled
- providers
properties:
enabled:
type: boolean
example: true
providers:
type: array
items:
type: string
type: object
required:
- id
- name
properties:
id:
$ref: '#/components/schemas/thirdPartyId'
name:
type: string
example: Google
passwordless:
type: object
required:
- enabled
properties:
enabled:
type: boolean
example: true
firstFactors:
type: array
items:
type: string
- $ref: '#/components/schemas/generalErrorResponse'
'404':
$ref: '#/components/responses/404'
Expand Down Expand Up @@ -1492,7 +1501,7 @@ paths:
'500':
$ref: '#/components/responses/500'

/{apiBasePath}/<tenantId>/user/email/verify/token:
/{apiBasePath}/user/email/verify/token:
post:
tags:
- EmailVerification Recipe
Expand Down Expand Up @@ -2236,7 +2245,7 @@ paths:
'500':
$ref: '#/components/responses/500'

/{apiBasePath}/oauth/logininfo:
/{apiBasePath}/oauth/login/info:
get:
tags:
- OAuth2Provider Recipe
Expand Down Expand Up @@ -2269,6 +2278,7 @@ paths:
description: Information about the current login flow
required:
- clientId
- clientName
properties:
clientId:
type: string
Expand Down Expand Up @@ -2609,6 +2619,15 @@ components:

user:
type: object
required:
- id
- timeJoined
- isPrimaryUser
- tenantIds
- emails
- phoneNumbers
- thirdParty
- loginMethods
properties:
id:
$ref: '#/components/schemas/userId'
Expand Down Expand Up @@ -2637,6 +2656,9 @@ components:
type: array
items:
type: object
required:
- id
- userId
properties:
id:
type: string
Expand All @@ -2648,6 +2670,11 @@ components:
type: array
items:
type: object
required:
- recipeId
- recipeUserId
- tenantIds
- timeJoined
properties:
recipeId:
type: string
Expand All @@ -2673,6 +2700,9 @@ components:
example: +36201234123
thirdParty:
type: object
required:
- id
- userId
properties:
id:
type: string
Expand Down Expand Up @@ -2833,6 +2863,8 @@ components:

fieldErrorResponse:
type: object
required:
- formFields
properties:
status:
type: string
Expand All @@ -2841,6 +2873,9 @@ components:
type: array
items:
type: object
required:
- id
- error
properties:
id:
type: string
Expand Down