Skip to content

Commit 4c6509f

Browse files
committed
fixup! [a] Fix: OpenAPI spec does not document 429 responses (#7469)
1 parent 940e23b commit 4c6509f

File tree

3 files changed

+84
-85
lines changed

3 files changed

+84
-85
lines changed

lambdas/indexer/openapi.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"description": "A redirect to the Swagger UI"
1818
},
1919
"429": {
20-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
20+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
2121
},
2222
"504": {
23-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
23+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
2424
}
2525
}
2626
}
@@ -36,10 +36,10 @@
3636
"description": "The response body is an HTML page containing the Swagger UI"
3737
},
3838
"429": {
39-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
39+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
4040
},
4141
"504": {
42-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
42+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
4343
}
4444
}
4545
}
@@ -55,10 +55,10 @@
5555
"description": "The response body is JavaScript used internally by the Swagger UI"
5656
},
5757
"429": {
58-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
58+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
5959
},
6060
"504": {
61-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
61+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
6262
}
6363
}
6464
}
@@ -88,10 +88,10 @@
8888
"description": "The requested file does not exist"
8989
},
9090
"429": {
91-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
91+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
9292
},
9393
"504": {
94-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
94+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
9595
}
9696
}
9797
}
@@ -151,10 +151,10 @@
151151
}
152152
},
153153
"429": {
154-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
154+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
155155
},
156156
"504": {
157-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
157+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
158158
}
159159
},
160160
"tags": [
@@ -202,10 +202,10 @@
202202
}
203203
},
204204
"429": {
205-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
205+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
206206
},
207207
"504": {
208-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
208+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
209209
}
210210
}
211211
}
@@ -221,10 +221,10 @@
221221
"description": "\nThe robots.txt resource according to\n[RFC9309](https://datatracker.ietf.org/doc/html/rfc9309)\n"
222222
},
223223
"429": {
224-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
224+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
225225
},
226226
"504": {
227-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
227+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
228228
}
229229
}
230230
}
@@ -323,10 +323,10 @@
323323
}
324324
},
325325
"429": {
326-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
326+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
327327
},
328328
"504": {
329-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
329+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
330330
}
331331
},
332332
"tags": [
@@ -418,10 +418,10 @@
418418
}
419419
},
420420
"429": {
421-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
421+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
422422
},
423423
"504": {
424-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
424+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
425425
}
426426
},
427427
"tags": [
@@ -519,10 +519,10 @@
519519
}
520520
},
521521
"429": {
522-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
522+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
523523
},
524524
"504": {
525-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
525+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
526526
}
527527
},
528528
"tags": [
@@ -620,10 +620,10 @@
620620
}
621621
},
622622
"429": {
623-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
623+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
624624
},
625625
"504": {
626-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
626+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
627627
}
628628
},
629629
"tags": [
@@ -746,10 +746,10 @@
746746
}
747747
},
748748
"429": {
749-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
749+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
750750
},
751751
"504": {
752-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
752+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
753753
}
754754
},
755755
"tags": [
@@ -861,10 +861,10 @@
861861
"description": "Request lacked a valid HMAC header"
862862
},
863863
"429": {
864-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
864+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
865865
},
866866
"504": {
867-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
867+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
868868
}
869869
}
870870
}
@@ -932,10 +932,10 @@
932932
}
933933
},
934934
"429": {
935-
"description": "Too many requests. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
935+
"description": "Too many requests. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
936936
},
937937
"504": {
938-
"description": "Request timed out. \nWhen handling this response, clients should wait the number of\nseconds specified in the `Retry-After` header and then retry the\nrequest.\n"
938+
"description": "Request timed out. \nWhen handling this response, clients should honor the `Retry-After`\nheader.\n"
939939
}
940940
}
941941
}

0 commit comments

Comments
 (0)