diff --git a/swagger.json b/swagger.json index 39e1b30..8e94d13 100644 --- a/swagger.json +++ b/swagger.json @@ -387,6 +387,16 @@ } } }, + "400": { + "description": "Invalid input parameters.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProjectSettingsError" + } + } + } + }, "401" : { "description" : "The currently authenticated user does not have PROJECT_ADMIN credentials" }, @@ -461,6 +471,17 @@ } } }, + "ProjectSettingsError": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "ProjectTemplate" : { "type" : "object", "properties" : { @@ -729,10 +750,21 @@ }, "webhooks" : { "type" : "boolean" + }, + "defaultReviewers": { + "type": "boolean", + "description": "Requires Repository Permissions to be enabled" + }, + "pullRequestTemplate": { + "type": "boolean" + }, + "reviewerGroups": { + "type": "boolean", + "description": "Requires Repository Permissions to be enabled" } }, "description" : "choose all settings which should be copied (when creating a new repository with a template) or reset (when you have the periodic settings reset enabled below) from templates to their associated repositories" } } } - } \ No newline at end of file + }