From 38a49a924674223bac245b3e5b3de4c89460ee39 Mon Sep 17 00:00:00 2001 From: Jakub Novak Date: Fri, 15 Sep 2023 14:46:35 +0200 Subject: [PATCH] Fix response codes and descriptions --- spec/openapi.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/openapi.yml b/spec/openapi.yml index 6b38ed2fa..fc54925ff 100644 --- a/spec/openapi.yml +++ b/spec/openapi.yml @@ -147,8 +147,8 @@ paths: schema: $ref: "#/components/schemas/NewInstance" responses: - 202: - description: The build has started + 201: + description: The instance was created successfully content: application/json: schema: @@ -230,8 +230,8 @@ paths: contentType: application/octet-stream responses: - 200: - description: Successfully returned all environments + 202: + description: The build has started content: application/json: schema: