From b660510a403812943de5610dee944013b122a4f5 Mon Sep 17 00:00:00 2001 From: nadavsteindler Date: Wed, 18 Dec 2024 10:19:09 +0200 Subject: [PATCH] yaml fmt --- api/swagger.yml | 62 ++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/api/swagger.yml b/api/swagger.yml index 77f183eafdf..01cc2f46177 100644 --- a/api/swagger.yml +++ b/api/swagger.yml @@ -749,7 +749,7 @@ components: error: type: string refs: - $ref: "#/components/schemas/RefsDump" + $ref: "#/components/schemas/RefsDump" RepositoryRestoreStatus: type: object @@ -1479,7 +1479,7 @@ components: properties: type: type: string - enum: [ common_prefix, object ] + enum: [common_prefix, object] description: Path type, can either be 'common_prefix' or 'object' path: type: string @@ -1759,7 +1759,7 @@ components: properties: status: type: string - enum: [ open, closed, merged ] + enum: [open, closed, merged] title: type: string description: @@ -1767,36 +1767,36 @@ components: PullRequest: allOf: - - $ref: '#/components/schemas/PullRequestBasic' - - required: + - $ref: '#/components/schemas/PullRequestBasic' + - required: - status - title - description - - type: object - required: - - id - - creation_date - - author - - source_branch - - destination_branch - properties: - id: - type: string - creation_date: - type: string - format: date-time - author: - type: string - source_branch: - type: string - destination_branch: - type: string - merged_commit_id: - type: string - description: the commit id of merged PRs - closed_date: - type: string - format: date-time + - type: object + required: + - id + - creation_date + - author + - source_branch + - destination_branch + properties: + id: + type: string + creation_date: + type: string + format: date-time + author: + type: string + source_branch: + type: string + destination_branch: + type: string + merged_commit_id: + type: string + description: the commit id of merged PRs + closed_date: + type: string + format: date-time PullRequestsList: type: object @@ -5763,7 +5763,7 @@ paths: name: status schema: type: string - enum: [ open, closed, all ] + enum: [open, closed, all] default: all description: filter pull requests by status responses: