-
Notifications
You must be signed in to change notification settings - Fork 51.3k
chore: NODE-3837 - Generate Schema Files (no-changelog) #21455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
e7067e6
80579ad
e468868
31fe0a4
3fab21b
5c06e8c
0581663
47941fb
3c0173b
5b44bdb
0877875
bf1a885
94f50b0
297c692
b424b6c
1ae2bda
1b21623
927cdc8
b2b5f47
cd699c5
132be3e
fa69d26
5398746
5a9e559
93b146e
6a60e24
40ce367
2925af2
f1fc47e
dba934a
817f109
df2239a
b55cbaa
98de08d
cff0c5f
d50aa20
ba77583
b71260f
567fbbe
98ab2f2
2b2a916
4ef6993
eaf05be
0023fa4
a1d0cf4
8db99c7
3c374a1
44b2d9f
333d1f0
2416657
420a231
db63a1c
6c506b0
0b78e66
4c503cd
2c46c09
3de01c6
1202b61
96b20c1
49cc8f2
7e5521a
3203851
c896cc6
e1e289d
e242f21
5a817c7
47ef18d
1585d06
d3973da
4c3a95b
b394b52
b8a7a61
2683457
e54e665
0cafbb4
3de6ac5
7bc605c
5719b81
273ebaf
2f72d94
5cd0a98
a29fdea
5eff0f7
6bb0e8c
e6cc472
b9e6fa4
87e2421
199497e
4c1cbf7
8c2261c
78c6864
4cb6f92
5e9fdd6
a74a5d5
f0e5774
957bc01
c0dd12b
67ce0a3
65d899e
b197b91
729e8bb
00a3fcb
e0f32da
5f6ea83
e03735e
713c236
f35fc2f
3d8c7e0
f3acc1b
b1f4a6f
aebc970
77a7362
e712e6f
e7bb77a
031a05c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| { | ||
| "type": "object", | ||
| "properties": { | ||
| "data": { | ||
| "type": "object", | ||
| "properties": { | ||
| "modelResponse": { | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "meta": { | ||
| "type": "object", | ||
| "properties": { | ||
| "requestId": { | ||
| "type": "string" | ||
| }, | ||
| "status": { | ||
| "type": "string" | ||
| }, | ||
| "usage": { | ||
| "type": "object", | ||
| "properties": { | ||
| "credits": { | ||
| "type": "integer" | ||
| }, | ||
| "id": { | ||
| "type": "string" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "sessionId": { | ||
| "type": "string" | ||
| }, | ||
| "warnings": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "message": { | ||
| "type": "string" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "windowId": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "version": 1 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,16 +5,16 @@ | |
| "type": "string" | ||
| }, | ||
| "CreateDate": { | ||
| "type": "string" | ||
| "type": "integer" | ||
| }, | ||
| "Path": { | ||
| "type": "string" | ||
| }, | ||
| "PermissionsBoundary": { | ||
| "type": ["array", "null"] | ||
| "type": "null" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IAM user Tags are returned as arrays of tag objects, not just null, so this schema change rejects valid responses. Prompt for AI agents
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PermissionsBoundary can contain an AttachedPermissionsBoundary object in real IAM responses; limiting the schema to null will invalidate those results. Prompt for AI agents |
||
| }, | ||
| "Tags": { | ||
| "type": ["array", "null"] | ||
| "type": "null" | ||
| }, | ||
| "UserId": { | ||
| "type": "string" | ||
|
|
@@ -23,5 +23,5 @@ | |
| "type": "string" | ||
| } | ||
| }, | ||
| "version": 1 | ||
| "version": 2 | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,10 +3,7 @@ | |
| "properties": { | ||
| "created_at": { | ||
| "type": "string" | ||
| }, | ||
| "id": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "version": 4 | ||
| "version": 5 | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,6 @@ | ||
| { | ||
| "type": "object", | ||
| "properties": { | ||
| "attributes": { | ||
| "type": "object", | ||
| "properties": { | ||
| "FIRSTNAME": { | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "createdAt": { | ||
| "type": "string" | ||
| }, | ||
|
|
@@ -37,5 +29,5 @@ | |
| "type": "boolean" | ||
| } | ||
| }, | ||
| "version": 3 | ||
| "version": 4 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bumping the schema to version 4 without the attributes object makes this response definition inaccurate—the Brevo contacts API still returns Prompt for AI agents |
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "type": "object", | ||
| "properties": { | ||
| "createdAt": { | ||
| "type": "string" | ||
| }, | ||
| "id": { | ||
| "type": "integer" | ||
| }, | ||
| "updatedAt": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "version": 1 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "type": "object", | ||
| "properties": { | ||
| "createdAt": { | ||
| "type": "string" | ||
| }, | ||
| "id": { | ||
| "type": "integer" | ||
| }, | ||
| "updatedAt": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "version": 1 | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CreateDate is returned as an ISO-8601 string in AWS IAM responses, so requiring an integer here will break validation against real data.
Prompt for AI agents