Skip to content

Commit

Permalink
add new responses to API spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Nov 28, 2023
1 parent fc45798 commit d508a22
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/scm/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ import (
// description: Successfully synchronized repo
// schema:
// "$ref": "#/definitions/Repo"
// '204':
// description: Successful request resulting in no change
// '301':
// description: Repo has moved permanently
// schema:
// "$ref": "#/definitions/Error"
// '403':
// description: User has been forbidden access to repository
// schema:
// "$ref": "#/definitions/Error"
// '500':
// description: Unable to synchronize repo
// schema:
Expand Down
10 changes: 10 additions & 0 deletions api/scm/sync_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ import (
// type: array
// items:
// "$ref": "#/definitions/Repo"
// '204':
// description: Successful request resulting in no change
// '301':
// description: One repo in the org has moved permanently
// schema:
// "$ref": "#/definitions/Error"
// '403':
// description: User has been forbidden access to at least one repository in org
// schema:
// "$ref": "#/definitions/Error"
// '500':
// description: Unable to synchronize org repositories
// schema:
Expand Down

0 comments on commit d508a22

Please sign in to comment.