Skip to content

Commit

Permalink
Fix swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Feb 3, 2025
1 parent 7e8fa1e commit 4d3a964
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions routers/api/v1/packages/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ func LinkPackage(ctx *context.APIContext) {
// type: string
// required: true
// - name: repo_name
// in: query
// description: Name of the repository to link.
// in: path
// description: name of the repository to link.
// type: string
// required: false
// required: true
// responses:
// "201":
// "$ref": "#/responses/empty"
Expand Down
5 changes: 3 additions & 2 deletions templates/swagger/v1_json.tmpl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d3a964

Please sign in to comment.