From 374249ce89c9cae060c7b41f773c78751d4b89dc Mon Sep 17 00:00:00 2001 From: David May <1301201+wass3r@users.noreply.github.com> Date: Tue, 9 Nov 2021 20:36:37 +0000 Subject: [PATCH] fix: annotate payload for swagger (#208) --- version/version.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/version/version.go b/version/version.go index c0b734b3..35d8905c 100644 --- a/version/version.go +++ b/version/version.go @@ -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"`