Skip to content

Commit 0a5a6eb

Browse files
committed
sync
1 parent 1845ac7 commit 0a5a6eb

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

routers/api/v1/org/action.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,13 @@ func (Action) ListWorkflowJobs(ctx *context.APIContext) {
582582
// description: name of the organization
583583
// type: string
584584
// required: true
585+
// responses:
586+
// "200":
587+
// "$ref": "#/responses/WorkflowJobsList"
588+
// "400":
589+
// "$ref": "#/responses/error"
590+
// "404":
591+
// "$ref": "#/responses/notFound"
585592
shared.ListJobs(ctx, ctx.Org.Organization.ID, 0, 0)
586593
}
587594

@@ -597,6 +604,13 @@ func (Action) ListWorkflowRuns(ctx *context.APIContext) {
597604
// description: name of the organization
598605
// type: string
599606
// required: true
607+
// responses:
608+
// "200":
609+
// "$ref": "#/responses/WorkflowRunsList"
610+
// "400":
611+
// "$ref": "#/responses/error"
612+
// "404":
613+
// "$ref": "#/responses/notFound"
600614
shared.ListRuns(ctx, ctx.Org.Organization.ID, 0)
601615
}
602616

templates/swagger/v1_json.tmpl

Lines changed: 24 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)