diff --git a/api/openapi.json b/api/openapi.json index 855127d..168e728 100644 --- a/api/openapi.json +++ b/api/openapi.json @@ -365,6 +365,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -432,6 +470,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -499,6 +575,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -728,6 +842,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -997,6 +1149,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -1181,6 +1371,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -1290,6 +1518,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -2037,6 +2303,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -2196,22 +2500,60 @@ } } } - } - } - } - }, - "/api/admin/comments": { - "get": { - "operationId": "listAdminComments", - "summary": "List moderation comments", - "tags": [ - "Admin" - ], - "security": [ - { - "sessionCookie": [] - } - ], + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + } + } + } + }, + "/api/admin/comments": { + "get": { + "operationId": "listAdminComments", + "summary": "List moderation comments", + "tags": [ + "Admin" + ], + "security": [ + { + "sessionCookie": [] + } + ], "x-auth-role": "admin", "parameters": [ { @@ -2622,6 +2964,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -2929,6 +3309,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -3078,6 +3496,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -3186,6 +3642,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -3395,6 +3889,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -3463,6 +3995,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -3532,6 +4102,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -3655,6 +4263,25 @@ } } }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, "500": { "description": "Error response", "content": { @@ -3664,6 +4291,25 @@ } } } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -3817,6 +4463,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -3885,6 +4569,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -3944,6 +4666,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -4353,6 +5113,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -4421,6 +5219,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -4480,6 +5316,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -4537,6 +5411,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -4627,6 +5539,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -4696,6 +5646,25 @@ } } }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, "502": { "description": "Error response", "content": { @@ -4705,6 +5674,25 @@ } } } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -4774,6 +5762,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -4865,6 +5891,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -5155,18 +6219,56 @@ } } }, - "403": { + "403": { + "description": "Error response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "404": { + "description": "Error response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { "description": "Error response", - "content": { - "application/json": { + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", "schema": { - "$ref": "#/components/schemas/openApiErrorSchema" + "type": "integer", + "minimum": 0 } } - } - }, - "404": { - "description": "Error response", + }, "content": { "application/json": { "schema": { @@ -5262,6 +6364,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -5330,6 +6470,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -5398,6 +6576,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -5486,6 +6702,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -5725,6 +6979,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } }, @@ -5811,6 +7103,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -5871,6 +7201,25 @@ } } }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, "500": { "description": "Error response", "content": { @@ -5880,6 +7229,25 @@ } } } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -5960,6 +7328,44 @@ } } } + }, + "429": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } + }, + "503": { + "description": "Error response", + "headers": { + "Retry-After": { + "description": "Seconds before retrying the mutation", + "schema": { + "type": "integer", + "minimum": 0 + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/openApiErrorSchema" + } + } + } } } } @@ -7372,6 +8778,7 @@ "type": "object", "properties": { "sectionIds": { + "maxItems": 500, "type": "array", "items": { "type": "integer", @@ -8073,6 +9480,7 @@ "type": "object", "properties": { "sectionIds": { + "maxItems": 500, "type": "array", "items": { "type": "integer", @@ -8789,6 +10197,7 @@ "type": "object", "properties": { "sectionIds": { + "maxItems": 500, "type": "array", "items": { "type": "integer", diff --git a/internal/openapi/client.gen.go b/internal/openapi/client.gen.go index c059c8a..3cbc394 100644 --- a/internal/openapi/client.gen.go +++ b/internal/openapi/client.gen.go @@ -16859,6 +16859,8 @@ type ModerateAdminCommentResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -16909,6 +16911,8 @@ type UpdateAdminDescriptionResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -16958,6 +16962,8 @@ type DeleteAdminHomeworkResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17007,6 +17013,8 @@ type CreateAdminSuspensionResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17032,6 +17040,8 @@ type UpdateAdminSuspensionResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17082,6 +17092,8 @@ type UpdateAdminUserResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17176,6 +17188,8 @@ type SetBusPreferencesResponse struct { JSON200 *BusPreferenceResponseSchema JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17225,6 +17239,8 @@ type DeleteApiCalendarSubscriptionsResponse struct { JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17250,6 +17266,8 @@ type AppendCalendarSubscriptionSectionsResponse struct { JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17274,6 +17292,8 @@ type SetCalendarSubscriptionResponse struct { JSON200 *CalendarSubscriptionCreateResponseSchema JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17299,6 +17319,8 @@ type BatchUpdateCalendarSubscriptionResponse struct { JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17347,6 +17369,8 @@ type PostApiCalendarSubscriptionsImportCodesResponse struct { JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17422,6 +17446,8 @@ type CreateCommentResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17447,6 +17473,8 @@ type DeleteApiCommentsBatchResponse struct { JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17472,6 +17500,8 @@ type DeleteCommentResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17522,6 +17552,8 @@ type UpdateCommentResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17547,6 +17579,8 @@ type RemoveCommentReactionResponse struct { JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17573,6 +17607,8 @@ type AddCommentReactionResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17644,7 +17680,9 @@ type PinDashboardLinkResponse struct { JSON200 *DashboardLinkPinResponseSchema JSON400 *DashboardLinkPinResponseSchema JSON401 *DashboardLinkPinResponseSchema + JSON429 *OpenApiErrorSchema JSON500 *DashboardLinkPinResponseSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17669,7 +17707,9 @@ type PostApiDashboardLinksPinBatchResponse struct { JSON200 *DashboardLinkPinResponseSchema JSON400 *DashboardLinkPinResponseSchema JSON401 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema JSON500 *DashboardLinkPinResponseSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17762,6 +17802,8 @@ type UpsertDescriptionResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17812,6 +17854,8 @@ type CreateHomeworkResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17836,6 +17880,8 @@ type PutApiHomeworksCompletionsResponse struct { JSON200 *HomeworkCompletionBatchResponseSchema JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17861,6 +17907,8 @@ type DeleteHomeworkResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17887,6 +17935,8 @@ type UpdateHomeworkResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -17912,6 +17962,8 @@ type SetHomeworkCompletionResponse struct { JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18399,6 +18451,8 @@ type CreateTodoResponse struct { JSON201 *IdResponseSchema JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18423,6 +18477,8 @@ type DeleteApiTodosBatchResponse struct { JSON200 *TodoBatchDeleteResponseSchema JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18447,6 +18503,8 @@ type PatchApiTodosBatchResponse struct { JSON200 *TodoCompletionBatchResponseSchema JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18472,6 +18530,8 @@ type DeleteTodoResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18498,6 +18558,8 @@ type UpdateTodoResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18548,6 +18610,8 @@ type CreateUploadResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON413 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18573,6 +18637,8 @@ type CompleteUploadResponse struct { JSON400 *OpenApiErrorSchema JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18599,6 +18665,8 @@ type PutApiUploadsObjectResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON413 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18624,7 +18692,9 @@ type DeleteUploadResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema JSON502 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -18651,6 +18721,8 @@ type UpdateUploadResponse struct { JSON401 *OpenApiErrorSchema JSON403 *OpenApiErrorSchema JSON404 *OpenApiErrorSchema + JSON429 *OpenApiErrorSchema + JSON503 *OpenApiErrorSchema } // Status returns HTTPResponse.Status @@ -19763,6 +19835,20 @@ func ParseModerateAdminCommentResponse(rsp *http.Response) (*ModerateAdminCommen } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -19857,6 +19943,20 @@ func ParseUpdateAdminDescriptionResponse(rsp *http.Response) (*UpdateAdminDescri } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -19944,6 +20044,20 @@ func ParseDeleteAdminHomeworkResponse(rsp *http.Response) (*DeleteAdminHomeworkR } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20031,6 +20145,20 @@ func ParseCreateAdminSuspensionResponse(rsp *http.Response) (*CreateAdminSuspens } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20078,6 +20206,20 @@ func ParseUpdateAdminSuspensionResponse(rsp *http.Response) (*UpdateAdminSuspens } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20172,6 +20314,20 @@ func ParseUpdateAdminUserResponse(rsp *http.Response) (*UpdateAdminUserResponse, } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20318,6 +20474,20 @@ func ParseSetBusPreferencesResponse(rsp *http.Response) (*SetBusPreferencesRespo } response.JSON401 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20405,6 +20575,20 @@ func ParseDeleteApiCalendarSubscriptionsResponse(rsp *http.Response) (*DeleteApi } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20452,6 +20636,20 @@ func ParseAppendCalendarSubscriptionSectionsResponse(rsp *http.Response) (*Appen } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20492,6 +20690,20 @@ func ParseSetCalendarSubscriptionResponse(rsp *http.Response) (*SetCalendarSubsc } response.JSON401 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20539,6 +20751,20 @@ func ParseBatchUpdateCalendarSubscriptionResponse(rsp *http.Response) (*BatchUpd } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20619,6 +20845,20 @@ func ParsePostApiCalendarSubscriptionsImportCodesResponse(rsp *http.Response) (* } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20760,6 +21000,20 @@ func ParseCreateCommentResponse(rsp *http.Response) (*CreateCommentResponse, err } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20807,6 +21061,20 @@ func ParseDeleteApiCommentsBatchResponse(rsp *http.Response) (*DeleteApiComments } response.JSON403 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20854,6 +21122,20 @@ func ParseDeleteCommentResponse(rsp *http.Response) (*DeleteCommentResponse, err } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20948,6 +21230,20 @@ func ParseUpdateCommentResponse(rsp *http.Response) (*UpdateCommentResponse, err } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -20995,6 +21291,20 @@ func ParseRemoveCommentReactionResponse(rsp *http.Response) (*RemoveCommentReact } response.JSON403 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21049,6 +21359,20 @@ func ParseAddCommentReactionResponse(rsp *http.Response) (*AddCommentReactionRes } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21162,6 +21486,13 @@ func ParsePinDashboardLinkResponse(rsp *http.Response) (*PinDashboardLinkRespons } response.JSON401 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: var dest DashboardLinkPinResponseSchema if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -21169,6 +21500,13 @@ func ParsePinDashboardLinkResponse(rsp *http.Response) (*PinDashboardLinkRespons } response.JSON500 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21209,6 +21547,13 @@ func ParsePostApiDashboardLinksPinBatchResponse(rsp *http.Response) (*PostApiDas } response.JSON401 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: var dest DashboardLinkPinResponseSchema if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -21216,6 +21561,13 @@ func ParsePostApiDashboardLinksPinBatchResponse(rsp *http.Response) (*PostApiDas } response.JSON500 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21342,6 +21694,20 @@ func ParseUpsertDescriptionResponse(rsp *http.Response) (*UpsertDescriptionRespo } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21436,6 +21802,20 @@ func ParseCreateHomeworkResponse(rsp *http.Response) (*CreateHomeworkResponse, e } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21476,6 +21856,20 @@ func ParsePutApiHomeworksCompletionsResponse(rsp *http.Response) (*PutApiHomewor } response.JSON401 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21523,6 +21917,20 @@ func ParseDeleteHomeworkResponse(rsp *http.Response) (*DeleteHomeworkResponse, e } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21577,6 +21985,20 @@ func ParseUpdateHomeworkResponse(rsp *http.Response) (*UpdateHomeworkResponse, e } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -21624,6 +22046,20 @@ func ParseSetHomeworkCompletionResponse(rsp *http.Response) (*SetHomeworkComplet } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22345,6 +22781,20 @@ func ParseCreateTodoResponse(rsp *http.Response) (*CreateTodoResponse, error) { } response.JSON401 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22385,6 +22835,20 @@ func ParseDeleteApiTodosBatchResponse(rsp *http.Response) (*DeleteApiTodosBatchR } response.JSON401 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22425,6 +22889,20 @@ func ParsePatchApiTodosBatchResponse(rsp *http.Response) (*PatchApiTodosBatchRes } response.JSON401 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22472,6 +22950,20 @@ func ParseDeleteTodoResponse(rsp *http.Response) (*DeleteTodoResponse, error) { } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22526,6 +23018,20 @@ func ParseUpdateTodoResponse(rsp *http.Response) (*UpdateTodoResponse, error) { } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22620,6 +23126,20 @@ func ParseCreateUploadResponse(rsp *http.Response) (*CreateUploadResponse, error } response.JSON413 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22667,6 +23187,20 @@ func ParseCompleteUploadResponse(rsp *http.Response) (*CompleteUploadResponse, e } response.JSON403 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22721,6 +23255,20 @@ func ParsePutApiUploadsObjectResponse(rsp *http.Response) (*PutApiUploadsObjectR } response.JSON413 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22768,6 +23316,13 @@ func ParseDeleteUploadResponse(rsp *http.Response) (*DeleteUploadResponse, error } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 502: var dest OpenApiErrorSchema if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -22775,6 +23330,13 @@ func ParseDeleteUploadResponse(rsp *http.Response) (*DeleteUploadResponse, error } response.JSON502 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil @@ -22829,6 +23391,20 @@ func ParseUpdateUploadResponse(rsp *http.Response) (*UpdateUploadResponse, error } response.JSON404 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 429: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON429 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 503: + var dest OpenApiErrorSchema + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON503 = &dest + } return response, nil