Skip to content
Open
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
2 changes: 2 additions & 0 deletions .stainless/stainless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ resources:
oauth_credential_create_request_fields: '#/components/schemas/OauthCredentialCreateRequestFields'
oauth_credential_verify_request: '#/components/schemas/OauthCredentialVerifyRequest'
oauth_credential_verify_request_fields: '#/components/schemas/OauthCredentialVerifyRequestFields'
oauth_credential_additional_challenge: '#/components/schemas/OauthCredentialAdditionalChallenge'
oauth_credential_additional_challenge_fields: '#/components/schemas/OauthCredentialAdditionalChallengeFields'
exchange_rates:
methods:
list:
Expand Down
24 changes: 24 additions & 0 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
oneOf:
- $ref: ./EmailOtpCredentialAdditionalChallenge.yaml
- $ref: ./OauthCredentialAdditionalChallenge.yaml
discriminator:
propertyName: type
mapping:
EMAIL_OTP: ./EmailOtpCredentialAdditionalChallenge.yaml
OAUTH: ./OauthCredentialAdditionalChallenge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: OAuth Credential Additional Challenge
allOf:
- $ref: ./AuthCredentialAdditionalChallenge.yaml
- $ref: ./OauthCredentialAdditionalChallengeFields.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
type: object
required:
- type
properties:
type:
type: string
enum:
- OAUTH
description: >-
Discriminator value identifying this as an additional-credential
challenge for an OAuth credential.
7 changes: 7 additions & 0 deletions openapi/paths/auth/auth_credentials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ post:
payloadToSign: '{"requestId":"7c4a8d09-ca37-4e3e-9e0d-8c2b3e9a1f21","type":"EMAIL_OTP","accountId":"InternalAccount:01HF3Z4QWERTY","expiresAt":"2026-04-08T15:35:00Z"}'
requestId: 7c4a8d09-ca37-4e3e-9e0d-8c2b3e9a1f21
expiresAt: '2026-04-08T15:35:00Z'
oauth:
summary: Additional OAuth credential challenge
value:
type: OAUTH
payloadToSign: Y2hhbGxlbmdlLXBheWxvYWQtdG8tc2lnbg==
requestId: 7c4a8d09-ca37-4e3e-9e0d-8c2b3e9a1f21
expiresAt: '2026-04-08T15:35:00Z'
'400':
description: >-
Bad request. Returned with `EMAIL_OTP_CREDENTIAL_ALREADY_EXISTS` when
Expand Down
Loading