From 7dc890e09c32956d72f83c3e4e6b3e61de866783 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 16 Mar 2024 00:02:27 +0000 Subject: [PATCH] daily update 20240316T000227 --- client/services/ProjectService.ts | 1 - swagger.json | 84 ++++++++----------------------- 2 files changed, 22 insertions(+), 63 deletions(-) diff --git a/client/services/ProjectService.ts b/client/services/ProjectService.ts index f6aee32..0842952 100644 --- a/client/services/ProjectService.ts +++ b/client/services/ProjectService.ts @@ -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.`, }, diff --git a/swagger.json b/swagger.json index 1ec610e..3688058 100644 --- a/swagger.json +++ b/swagger.json @@ -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": { @@ -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": { @@ -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": { @@ -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": { @@ -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"