From 74f9464c18a9d9cd7aa8e3e9380e5b5af3615e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 13 Mar 2025 15:39:41 +0100 Subject: [PATCH] Fix site specs for vcs deployment --- app/config/specs/open-api3-latest-console.json | 14 ++++++++------ app/config/specs/open-api3-latest-server.json | 14 ++++++++------ app/config/specs/swagger2-latest-console.json | 14 ++++++++------ app/config/specs/swagger2-latest-server.json | 14 ++++++++------ 4 files changed, 32 insertions(+), 24 deletions(-) diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 1e196e89ac..76dd01367e 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -10510,17 +10510,18 @@ "properties": { "type": { "type": "string", - "description": "Type of reference passed. Allowed values are: branch", + "description": "Type of reference passed. Allowed values are: branch, commit", "x-example": "branch", "enum": [ - "branch" + "branch", + "commit" ], "x-enum-name": "VCSDeploymentType", "x-enum-keys": [] }, "reference": { "type": "string", - "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name, commit hash", "x-example": "" }, "activate": { @@ -26068,18 +26069,19 @@ "properties": { "type": { "type": "string", - "description": "Type of reference passed. Allowed values are: branch", + "description": "Type of reference passed. Allowed values are: branch, commit", "x-example": "branch", "enum": [ "branch", - "commit" + "commit", + "tag" ], "x-enum-name": "VCSDeploymentType", "x-enum-keys": [] }, "reference": { "type": "string", - "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name, commit hash", "x-example": "" }, "activate": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 1503034862..c7704fd6a8 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -9379,17 +9379,18 @@ "properties": { "type": { "type": "string", - "description": "Type of reference passed. Allowed values are: branch", + "description": "Type of reference passed. Allowed values are: branch, commit", "x-example": "branch", "enum": [ - "branch" + "branch", + "commit" ], "x-enum-name": "VCSDeploymentType", "x-enum-keys": [] }, "reference": { "type": "string", - "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name, commit hash", "x-example": "" }, "activate": { @@ -17947,18 +17948,19 @@ "properties": { "type": { "type": "string", - "description": "Type of reference passed. Allowed values are: branch", + "description": "Type of reference passed. Allowed values are: branch, commit", "x-example": "branch", "enum": [ "branch", - "commit" + "commit", + "tag" ], "x-enum-name": "VCSDeploymentType", "x-enum-keys": [] }, "reference": { "type": "string", - "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name, commit hash", "x-example": "" }, "activate": { diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 96685b9646..4bfad91074 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -10687,18 +10687,19 @@ "properties": { "type": { "type": "string", - "description": "Type of reference passed. Allowed values are: branch", + "description": "Type of reference passed. Allowed values are: branch, commit", "default": null, "x-example": "branch", "enum": [ - "branch" + "branch", + "commit" ], "x-enum-name": "VCSDeploymentType", "x-enum-keys": [] }, "reference": { "type": "string", - "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name, commit hash", "default": null, "x-example": "" }, @@ -26596,19 +26597,20 @@ "properties": { "type": { "type": "string", - "description": "Type of reference passed. Allowed values are: branch", + "description": "Type of reference passed. Allowed values are: branch, commit", "default": null, "x-example": "branch", "enum": [ "branch", - "commit" + "commit", + "tag" ], "x-enum-name": "VCSDeploymentType", "x-enum-keys": [] }, "reference": { "type": "string", - "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name, commit hash", "default": null, "x-example": "" }, diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 3a3289aa1e..c86f605f23 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -9557,18 +9557,19 @@ "properties": { "type": { "type": "string", - "description": "Type of reference passed. Allowed values are: branch", + "description": "Type of reference passed. Allowed values are: branch, commit", "default": null, "x-example": "branch", "enum": [ - "branch" + "branch", + "commit" ], "x-enum-name": "VCSDeploymentType", "x-enum-keys": [] }, "reference": { "type": "string", - "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name, commit hash", "default": null, "x-example": "" }, @@ -18445,19 +18446,20 @@ "properties": { "type": { "type": "string", - "description": "Type of reference passed. Allowed values are: branch", + "description": "Type of reference passed. Allowed values are: branch, commit", "default": null, "x-example": "branch", "enum": [ "branch", - "commit" + "commit", + "tag" ], "x-enum-name": "VCSDeploymentType", "x-enum-keys": [] }, "reference": { "type": "string", - "description": "VCS reference to create deployment from. Depending on type this can be: branch name", + "description": "VCS reference to create deployment from. Depending on type this can be: branch name, commit hash", "default": null, "x-example": "" },