Skip to content

Commit

Permalink
Merge pull request #155 from mkusaka/update-20240316T000227
Browse files Browse the repository at this point in the history
update 20240316T000227
  • Loading branch information
mkusaka authored Mar 16, 2024
2 parents 8dd1747 + 7dc890e commit e4bb98a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 63 deletions.
1 change: 0 additions & 1 deletion client/services/ProjectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ export class ProjectService {
401: `Credentials provided are invalid.`,
403: `None or insufficient credentials provided.`,
404: `Insufficient credentials for a private project, OR the organization, project, or repository does not exist.`,
422: `One or more settings provided do not exist.`,
429: `API rate limits exceeded.`,
500: `Internal server error.`,
},
Expand Down
84 changes: 22 additions & 62 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -378,29 +378,6 @@
},
"description": "A conflict has occurred while attempting to create the resource.\n"
},
"422_unsupported_org": {
"content": {
"application/json": {
"examples": {
"group_not_supported": {
"summary": "Organization does not support groups",
"value": {
"message": "Groups are not supported by this organization."
}
}
},
"schema": {
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
}
}
}
}
},
"description": "The following organization does not support this feature.\n"
},
"429_rate_limit_exceeded": {
"content": {
"application/json": {
Expand Down Expand Up @@ -9261,44 +9238,6 @@
"description": "Successful response. Always includes the full advanced settings object. Returned even when the provided updates match the existing settings, but can also be returned when `oss: true` fails to set."
},
"400": {
"content": {
"application/json": {
"examples": {
"invalid_json": {
"summary": "Invalid JSON body",
"value": {
"message": "Invalid JSON body."
}
},
"too_many_branch_overrides": {
"summary": "More than 100 branches sent for `pr_only_branch_overrides`",
"value": {
"message": "Field 'pr_only_branch_overrides' only supports up to 100 branches."
}
}
},
"schema": {
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
}
}
}
}
},
"description": "Request is malformed, e.g. with improperly encoded JSON"
},
"401": {
"$ref": "#/components/responses/401_invalid_token"
},
"403": {
"$ref": "#/components/responses/403_permission_denied"
},
"404": {
"$ref": "#/components/responses/404_project_not_found"
},
"422": {
"content": {
"application/json": {
"examples": {
Expand All @@ -9308,6 +9247,12 @@
"message": "Setting 'autocancel_builds' must be boolean."
}
},
"invalid_json": {
"summary": "Invalid JSON body",
"value": {
"message": "Invalid JSON body."
}
},
"no_json": {
"summary": "Empty JSON request body",
"value": {
Expand All @@ -9320,6 +9265,12 @@
"message": "Feature flag 'oss' is not settable for this project."
}
},
"too_many_branch_overrides": {
"summary": "More than 100 branches sent for `pr_only_branch_overrides`",
"value": {
"message": "Field 'pr_only_branch_overrides' only supports up to 100 branches."
}
},
"unexpected_field": {
"summary": "Incorrect root field name",
"value": {
Expand All @@ -9343,7 +9294,16 @@
}
}
},
"description": "One or more settings provided do not exist."
"description": "Request is malformed, e.g. with improperly encoded JSON"
},
"401": {
"$ref": "#/components/responses/401_invalid_token"
},
"403": {
"$ref": "#/components/responses/403_permission_denied"
},
"404": {
"$ref": "#/components/responses/404_project_not_found"
},
"429": {
"$ref": "#/components/responses/429_rate_limit_exceeded"
Expand Down

0 comments on commit e4bb98a

Please sign in to comment.