From 7abebed4d19cf1a4c0d703c0b937e4ec57476546 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 22 Nov 2024 17:06:54 +0000 Subject: [PATCH] chore: update API specs and client --- server/application-server/openapi.yaml | 41 +++----------------------- 1 file changed, 4 insertions(+), 37 deletions(-) diff --git a/server/application-server/openapi.yaml b/server/application-server/openapi.yaml index ea7b5c34..74163c3b 100644 --- a/server/application-server/openapi.yaml +++ b/server/application-server/openapi.yaml @@ -460,43 +460,6 @@ components: type: array items: $ref: "#/components/schemas/PullRequestInfo" - PullRequestReviewInfo: - required: - - codeComments - - htmlUrl - - id - - isDismissed - - score - - state - type: object - properties: - id: - type: integer - format: int64 - isDismissed: - type: boolean - state: - type: string - enum: - - COMMENTED - - APPROVED - - CHANGES_REQUESTED - - UNKNOWN - codeComments: - type: integer - format: int32 - author: - $ref: "#/components/schemas/UserInfo" - pullRequest: - $ref: "#/components/schemas/PullRequestBaseInfo" - htmlUrl: - type: string - score: - type: integer - format: int32 - submittedAt: - type: string - format: date-time RepositoryInfo: required: - htmlUrl @@ -648,6 +611,7 @@ components: - htmlUrl - id - isDismissed + - score - state type: object properties: @@ -672,6 +636,9 @@ components: $ref: "#/components/schemas/PullRequestBaseInfo" htmlUrl: type: string + score: + type: integer + format: int32 submittedAt: type: string format: date-time