Skip to content

Commit 4b3098d

Browse files
chore: Update OpenAPI Specs (#30)
Co-authored-by: Clerk Bot <cookie@clerk.dev>
1 parent b7f4d7d commit 4b3098d

File tree

4 files changed

+1782
-412
lines changed

4 files changed

+1782
-412
lines changed

bapi/2021-02-05.yml

Lines changed: 277 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5830,32 +5830,288 @@ components:
58305830
description: Secret key, obtained under "API Keys" in the Clerk Dashboard.
58315831
bearerFormat: sk_<environment>_<secret value>
58325832
schemas:
5833+
JWKS.ed25519.PublicKey:
5834+
type: object
5835+
properties:
5836+
kid:
5837+
type: string
5838+
alg:
5839+
type: string
5840+
use:
5841+
type: string
5842+
kty:
5843+
type: string
5844+
enum:
5845+
- OKP
5846+
crv:
5847+
type: string
5848+
enum:
5849+
- Ed25519
5850+
x:
5851+
type: string
5852+
x5c:
5853+
type: array
5854+
items:
5855+
type: string
5856+
x5t:
5857+
type: string
5858+
x5t#S256:
5859+
type: string
5860+
x5u:
5861+
type: string
5862+
required:
5863+
- kid
5864+
- alg
5865+
- use
5866+
- kty
5867+
- crv
5868+
- x
5869+
JWKS.ecdsa.PublicKey:
5870+
type: object
5871+
properties:
5872+
kid:
5873+
type: string
5874+
alg:
5875+
type: string
5876+
use:
5877+
type: string
5878+
kty:
5879+
type: string
5880+
enum:
5881+
- EC
5882+
crv:
5883+
type: string
5884+
x:
5885+
type: string
5886+
'y':
5887+
type: string
5888+
x5c:
5889+
type: array
5890+
items:
5891+
type: string
5892+
x5t:
5893+
type: string
5894+
x5t#S256:
5895+
type: string
5896+
x5u:
5897+
type: string
5898+
required:
5899+
- kid
5900+
- alg
5901+
- use
5902+
- kty
5903+
- crv
5904+
- x
5905+
- 'y'
5906+
JWKS.rsa.PublicKey:
5907+
type: object
5908+
properties:
5909+
kid:
5910+
type: string
5911+
alg:
5912+
type: string
5913+
use:
5914+
type: string
5915+
kty:
5916+
type: string
5917+
enum:
5918+
- RSA
5919+
'n':
5920+
type: string
5921+
e:
5922+
type: string
5923+
x5c:
5924+
type: array
5925+
items:
5926+
type: string
5927+
x5t:
5928+
type: string
5929+
x5t#S256:
5930+
type: string
5931+
x5u:
5932+
type: string
5933+
required:
5934+
- kid
5935+
- alg
5936+
- use
5937+
- kty
5938+
- 'n'
5939+
- e
5940+
JWKS.ed25519.PrivateKey:
5941+
type: object
5942+
properties:
5943+
kid:
5944+
type: string
5945+
alg:
5946+
type: string
5947+
use:
5948+
type: string
5949+
kty:
5950+
type: string
5951+
enum:
5952+
- OKP
5953+
crv:
5954+
type: string
5955+
enum:
5956+
- Ed25519
5957+
x:
5958+
type: string
5959+
d:
5960+
type: string
5961+
x5c:
5962+
type: array
5963+
items:
5964+
type: string
5965+
x5t:
5966+
type: string
5967+
x5t#S256:
5968+
type: string
5969+
x5u:
5970+
type: string
5971+
required:
5972+
- kid
5973+
- alg
5974+
- use
5975+
- kty
5976+
- crv
5977+
- x
5978+
- d
5979+
JWKS.ecdsa.PrivateKey:
5980+
type: object
5981+
properties:
5982+
kid:
5983+
type: string
5984+
alg:
5985+
type: string
5986+
use:
5987+
type: string
5988+
kty:
5989+
type: string
5990+
enum:
5991+
- EC
5992+
crv:
5993+
type: string
5994+
x:
5995+
type: string
5996+
'y':
5997+
type: string
5998+
d:
5999+
type: string
6000+
x5c:
6001+
type: array
6002+
items:
6003+
type: string
6004+
x5t:
6005+
type: string
6006+
x5t#S256:
6007+
type: string
6008+
x5u:
6009+
type: string
6010+
required:
6011+
- kid
6012+
- alg
6013+
- use
6014+
- kty
6015+
- crv
6016+
- x
6017+
- 'y'
6018+
- d
6019+
JWKS.rsa.PrivateKey:
6020+
type: object
6021+
properties:
6022+
kid:
6023+
type: string
6024+
alg:
6025+
type: string
6026+
use:
6027+
type: string
6028+
kty:
6029+
type: string
6030+
enum:
6031+
- RSA
6032+
'n':
6033+
type: string
6034+
e:
6035+
type: string
6036+
d:
6037+
type: string
6038+
p:
6039+
type: string
6040+
q:
6041+
type: string
6042+
dp:
6043+
type: string
6044+
dq:
6045+
type: string
6046+
qi:
6047+
type: string
6048+
x5c:
6049+
type: array
6050+
items:
6051+
type: string
6052+
x5t:
6053+
type: string
6054+
x5t#S256:
6055+
type: string
6056+
x5u:
6057+
type: string
6058+
required:
6059+
- kid
6060+
- alg
6061+
- use
6062+
- kty
6063+
- crv
6064+
- 'n'
6065+
- e
6066+
- d
6067+
- p
6068+
- q
6069+
JWKS.symmetric.Key:
6070+
type: object
6071+
properties:
6072+
kid:
6073+
type: string
6074+
alg:
6075+
type: string
6076+
use:
6077+
type: string
6078+
kty:
6079+
type: string
6080+
enum:
6081+
- oct
6082+
k:
6083+
type: string
6084+
x5c:
6085+
type: array
6086+
items:
6087+
type: string
6088+
x5t:
6089+
type: string
6090+
x5t#S256:
6091+
type: string
6092+
x5u:
6093+
type: string
6094+
required:
6095+
- kid
6096+
- alg
6097+
- use
6098+
- kty
6099+
- k
58336100
JWKS:
58346101
type: object
58356102
additionalProperties: false
58366103
properties:
58376104
keys:
58386105
type: array
58396106
items:
5840-
type: object
5841-
additionalProperties: false
5842-
properties:
5843-
use:
5844-
type: string
5845-
kty:
5846-
type: string
5847-
kid:
5848-
type: string
5849-
alg:
5850-
type: string
5851-
'n':
5852-
type: string
5853-
e:
5854-
type: string
5855-
x:
5856-
type: string
5857-
crv:
5858-
type: string
6107+
oneOf:
6108+
- $ref: '#/components/schemas/JWKS.ed25519.PublicKey'
6109+
- $ref: '#/components/schemas/JWKS.ecdsa.PublicKey'
6110+
- $ref: '#/components/schemas/JWKS.rsa.PublicKey'
6111+
- $ref: '#/components/schemas/JWKS.ed25519.PrivateKey'
6112+
- $ref: '#/components/schemas/JWKS.ecdsa.PrivateKey'
6113+
- $ref: '#/components/schemas/JWKS.rsa.PrivateKey'
6114+
- $ref: '#/components/schemas/JWKS.symmetric.Key'
58596115
SessionActivityResponse:
58606116
type: object
58616117
nullable: true
@@ -6028,6 +6284,8 @@ components:
60286284
$ref: '#/components/schemas/ClerkError'
60296285
meta:
60306286
type: object
6287+
clerk_trace_id:
6288+
type: string
60316289
required:
60326290
- errors
60336291
OTP:

0 commit comments

Comments
 (0)