Skip to content

Commit ef45f0e

Browse files
authored
Create global Speakeasy fixes overlay (#31)
1 parent 4b3098d commit ef45f0e

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.speakeasy/bapi/fixes.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
overlay: 1.0.0
2+
x-speakeasy-jsonpath: rfc9535
3+
info:
4+
title: JWKS Reversal Overlay
5+
version: 0.0.0
6+
actions:
7+
- target: $["components"]["schemas"]["JWKS"]["properties"]["keys"]["items"]
8+
update:
9+
type: object
10+
- target: $["components"]["schemas"]["JWKS"]["properties"]["keys"]["items"]
11+
update:
12+
additionalProperties: false
13+
- target: $["components"]["schemas"]["JWKS"]["properties"]["keys"]["items"]
14+
update:
15+
properties:
16+
use:
17+
type: string
18+
kty:
19+
type: string
20+
kid:
21+
type: string
22+
alg:
23+
type: string
24+
'n':
25+
type: string
26+
e:
27+
type: string
28+
x:
29+
type: string
30+
crv:
31+
type: string
32+
- target: $["components"]["schemas"]["JWKS"]["properties"]["keys"]["items"]["oneOf"]
33+
remove: true
34+
- target: $["components"]["schemas"]["ClerkErrors"]["properties"]["clerk_trace_id"]
35+
remove: true
36+
- target: $["components"]["schemas"]["JWKS.ed25519.PublicKey"]
37+
remove: true
38+
- target: $["components"]["schemas"]["JWKS.ecdsa.PublicKey"]
39+
remove: true
40+
- target: $["components"]["schemas"]["JWKS.rsa.PublicKey"]
41+
remove: true
42+
- target: $["components"]["schemas"]["JWKS.ed25519.PrivateKey"]
43+
remove: true
44+
- target: $["components"]["schemas"]["JWKS.ecdsa.PrivateKey"]
45+
remove: true
46+
- target: $["components"]["schemas"]["JWKS.rsa.PrivateKey"]
47+
remove: true
48+
- target: $["components"]["schemas"]["JWKS.symmetric.Key"]
49+
remove: true

0 commit comments

Comments
 (0)