chore(api): regenerate client for F1's new 400 responses

npm run gen:api after WP-68 F1 — draft-sync and submit now document their
document-ownership 400 ProblemDetails response.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
eho
2026-08-05 15:33:50 +02:00
co-authored by Claude Opus 5
parent a394950a1d
commit fd04221d2f
2 changed files with 32 additions and 0 deletions
+20
View File
@@ -643,6 +643,16 @@
"204": { "204": {
"description": "No Content" "description": "No Content"
}, },
"400": {
"description": "Bad Request",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"404": { "404": {
"description": "Not Found" "description": "Not Found"
} }
@@ -718,6 +728,16 @@
} }
} }
}, },
"400": {
"description": "Bad Request",
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"409": { "409": {
"description": "Conflict", "description": "Conflict",
"content": { "content": {
@@ -921,6 +921,12 @@ export class ApiClient {
return response.text().then((_responseText) => { return response.text().then((_responseText) => {
return; return;
}); });
} else if (status === 400) {
return response.text().then((_responseText) => {
let result400: any = null;
result400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
return throwException("Bad Request", status, _responseText, _headers, result400);
});
} else if (status === 404) { } else if (status === 404) {
return response.text().then((_responseText) => { return response.text().then((_responseText) => {
return throwException("Not Found", status, _responseText, _headers); return throwException("Not Found", status, _responseText, _headers);
@@ -1014,6 +1020,12 @@ export class ApiClient {
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SubmitApplicationResponse; result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SubmitApplicationResponse;
return result200; return result200;
}); });
} else if (status === 400) {
return response.text().then((_responseText) => {
let result400: any = null;
result400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
return throwException("Bad Request", status, _responseText, _headers, result400);
});
} else if (status === 404) { } else if (status === 404) {
return response.text().then((_responseText) => { return response.text().then((_responseText) => {
return throwException("Not Found", status, _responseText, _headers); return throwException("Not Found", status, _responseText, _headers);