From 7f8c36ad53acc94d334ade49d636fa4e34f7aa5d Mon Sep 17 00:00:00 2001 From: Nidhi Soni <33543834+Nidhi251289@users.noreply.github.com> Date: Wed, 4 Nov 2026 14:00:55 +0100 Subject: [PATCH] Added 409 error response for resource conflict Added error response for conflict status 409 in OpenAPI spec. --- static/openapi-spec/openapi-build-v1.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/static/openapi-spec/openapi-build-v1.yaml b/static/openapi-spec/openapi-build-v1.yaml index eb83a254818..02077939b2c 100644 --- a/static/openapi-spec/openapi-build-v1.yaml +++ b/static/openapi-spec/openapi-build-v1.yaml @@ -44,6 +44,8 @@ paths: $ref: '#/components/responses/error-403' '404': $ref: '#/components/responses/error-404' + '409': + $ref: '#/components/responses/error-409' get: tags: @@ -481,6 +483,18 @@ components: status: 404 title: Not Found detail: App package not found + error-409: + description: Resource already exist + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 409 - App package already exist + value: + status: 404 + title: Not Found + detail: Package file exists for this revision. package: description: App build package