Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/SPEC_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4f78103bdc8fb2e24f46194c32c1b33725f85610
8c863e37a24879b49a403d4b219e77ee00e53c31
34 changes: 34 additions & 0 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ paths:
type: string
"401":
$ref: "#/components/responses/Unauthorized"
"413":
$ref: "#/components/responses/PayloadTooLarge"

/api/repos:
get:
Expand Down Expand Up @@ -170,6 +172,8 @@ paths:
$ref: "#/components/responses/Unauthorized"
"409":
$ref: "#/components/responses/Conflict"
"413":
$ref: "#/components/responses/PayloadTooLarge"

/api/repos/identifiers:
get:
Expand Down Expand Up @@ -241,6 +245,8 @@ paths:
$ref: "#/components/responses/BadRequest"
"401":
$ref: "#/components/responses/Unauthorized"
"413":
$ref: "#/components/responses/PayloadTooLarge"
"502":
$ref: "#/components/responses/BadGateway"

Expand Down Expand Up @@ -587,6 +593,8 @@ paths:
$ref: "#/components/responses/BadRequest"
"401":
$ref: "#/components/responses/Unauthorized"
"413":
$ref: "#/components/responses/PayloadTooLarge"

/api/auth/register/options:
post:
Expand Down Expand Up @@ -643,6 +651,8 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Error"
"413":
$ref: "#/components/responses/PayloadTooLarge"

/api/auth/login/options:
post:
Expand Down Expand Up @@ -697,6 +707,8 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Error"
"413":
$ref: "#/components/responses/PayloadTooLarge"

/api/auth/logout:
post:
Expand Down Expand Up @@ -833,6 +845,8 @@ paths:
$ref: "#/components/responses/BadRequest"
"401":
$ref: "#/components/responses/Unauthorized"
"413":
$ref: "#/components/responses/PayloadTooLarge"

/api/auth/credentials/{credentialId}:
delete:
Expand Down Expand Up @@ -902,6 +916,8 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Error"
"413":
$ref: "#/components/responses/PayloadTooLarge"

/webhooks/forgejo:
post:
Expand Down Expand Up @@ -937,6 +953,8 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Error"
"413":
$ref: "#/components/responses/PayloadTooLarge"

components:
securitySchemes:
Expand Down Expand Up @@ -1062,6 +1080,15 @@ components:
default: all

responses:
PayloadTooLarge:
description: >
The request body is larger than the limit: 64 KiB for the API and
the MCP endpoint, 2 MiB for the forge webhook receivers. The body is
not read past the limit.
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
BadRequest:
description: The request body failed validation
content:
Expand Down Expand Up @@ -1134,6 +1161,7 @@ components:
enum: [all, healthy, unhealthy]
pipelinesRepoSelector:
type: string
maxLength: 128
description: >
A tracked repo's id, or "all" for every repo -- not
validated against an enum, since the set of valid values
Expand Down Expand Up @@ -1164,6 +1192,7 @@ components:
enum: [all, healthy, unhealthy, null]
pipelinesRepoSelector:
type: [string, "null"]
maxLength: 128
pipelinesSortOrder:
type: [string, "null"]
enum: [name, lastRun, null]
Expand Down Expand Up @@ -1271,11 +1300,14 @@ components:
$ref: "#/components/schemas/Forge"
identifier:
type: string
maxLength: 200
forgejoInstanceUrl:
type: string
format: uri
maxLength: 2048
token:
type: string
maxLength: 1024
description: Repo-scoped personal access token. Never echoed back.

RepoDiscoveryRequest:
Expand All @@ -1287,8 +1319,10 @@ components:
forgejoInstanceUrl:
type: string
format: uri
maxLength: 2048
token:
type: string
maxLength: 1024
description: Never stored -- used for this one lookup only.

HealthStatus:
Expand Down
7 changes: 7 additions & 0 deletions src/pipeline_analytics/_generated/api/auth/add_credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_401

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if client.raise_on_unexpected_status:
raise errors.UnexpectedStatus(response.status_code, response.content)
else:
Expand Down
7 changes: 7 additions & 0 deletions src/pipeline_analytics/_generated/api/auth/webauthn_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_401

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if client.raise_on_unexpected_status:
raise errors.UnexpectedStatus(response.status_code, response.content)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_409

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if client.raise_on_unexpected_status:
raise errors.UnexpectedStatus(response.status_code, response.content)
else:
Expand Down
7 changes: 7 additions & 0 deletions src/pipeline_analytics/_generated/api/mcp/mcp_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_401

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if client.raise_on_unexpected_status:
raise errors.UnexpectedStatus(response.status_code, response.content)
else:
Expand Down
7 changes: 7 additions & 0 deletions src/pipeline_analytics/_generated/api/repos/discover_repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_401

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if response.status_code == 502:
response_502 = Error.from_dict(response.json())

Expand Down
7 changes: 7 additions & 0 deletions src/pipeline_analytics/_generated/api/repos/register_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_409

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if client.raise_on_unexpected_status:
raise errors.UnexpectedStatus(response.status_code, response.content)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_401

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if client.raise_on_unexpected_status:
raise errors.UnexpectedStatus(response.status_code, response.content)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_401

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if client.raise_on_unexpected_status:
raise errors.UnexpectedStatus(response.status_code, response.content)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res

return response_401

if response.status_code == 413:
response_413 = Error.from_dict(response.json())



return response_413

if client.raise_on_unexpected_status:
raise errors.UnexpectedStatus(response.status_code, response.content)
else:
Expand Down
Loading