mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
use swagger support for « title » as generated types names for inline schema
align naming convention with x-go-name Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
||||
|
||||
|
||||
{{ range .ExtraSchemas }}
|
||||
// {{ .Name }} {{ template "docstring" . }}
|
||||
// {{ .Name }} {{ comment .Description }}
|
||||
// swagger:model {{ .Name }}
|
||||
{{ template "schema" . }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user