diff --git a/api/jobs/models/job.go b/api/jobs/models/job.go index 073dc802..93558ea5 100644 --- a/api/jobs/models/job.go +++ b/api/jobs/models/job.go @@ -77,7 +77,7 @@ type Job struct { // Name of the pipeline // // required: false - // Enum: build-deploy + // Enum: build,build-deploy,promote,deploy // example: build-deploy Pipeline string `json:"pipeline"` diff --git a/api/jobs/models/job_summary.go b/api/jobs/models/job_summary.go index 788f1866..bb4d67f0 100644 --- a/api/jobs/models/job_summary.go +++ b/api/jobs/models/job_summary.go @@ -72,7 +72,7 @@ type JobSummary struct { // Name of the pipeline // // required: false - // Enum: build-deploy, build + // Enum: build,build-deploy,promote,deploy // example: build-deploy Pipeline string `json:"pipeline"` diff --git a/swaggerui_src/swagger.json b/swaggerui_src/swagger.json index f509fa49..2a899c91 100644 --- a/swaggerui_src/swagger.json +++ b/swaggerui_src/swagger.json @@ -6109,7 +6109,10 @@ "description": "Name of the pipeline", "type": "string", "enum": [ - "build-deploy" + "build", + "build-deploy", + "promote", + "deploy" ], "x-go-name": "Pipeline", "example": "build-deploy" @@ -6246,8 +6249,10 @@ "description": "Name of the pipeline", "type": "string", "enum": [ + "build", "build-deploy", - " build" + "promote", + "deploy" ], "x-go-name": "Pipeline", "example": "build-deploy"