Skip to content

Commit

Permalink
fix: annotate payload for swagger (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Nov 9, 2021
1 parent 911ffbe commit 374249c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ const versionFormat = `{
// Version represents application information that
// follows semantic version guidelines from
// https://semver.org/.
//
// swagger:model Version
type Version struct {
// Canonical represents a canonical semantic version for the application.
Canonical string `json:"canonical"`
Expand Down

0 comments on commit 374249c

Please sign in to comment.