Skip to content

Commit

Permalink
fix: swagger error and golangci-lint config
Browse files Browse the repository at this point in the history
one overlooked swagger annotation issue
fix for golangci-lint config (format is not a valid property) - which
also fixes error reporting locally in certain editors
  • Loading branch information
wass3r committed Jun 10, 2024
1 parent 1b68ff6 commit 359c8ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
# outputs it results from the linters it executes.
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
format: colored-line-number
formats:
- format: json
path: stderr
- format: colored-line-number

# print lines of code with issue, default is true
print-issued-lines: true
Expand Down
2 changes: 1 addition & 1 deletion api/auth/validate_oauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
// '200':
// description: Successfully validated
// schema:
// "$ref": "#/definitions/Token"
// type: string
// '401':
// description: Unauthorized
// schema:
Expand Down

0 comments on commit 359c8ec

Please sign in to comment.