mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
api: regenerate with go-swagger v0.33.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
and validation code, and contains a fix for CamelCase (IPv6 <--> IPV6).
|
||||
|
||||
The orignal template can be found at:
|
||||
https://github.com/go-swagger/go-swagger/blob/v0.32.3/generator/templates/schema.gotmpl
|
||||
https://github.com/go-swagger/go-swagger/blob/v0.33.1/generator/templates/schema.gotmpl
|
||||
*/}}
|
||||
{{- if and .IsBaseType .IsExported (not .IsSuperAlias) }}
|
||||
{{- template "schemaPolymorphic" . }}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
and only produces the API structs.
|
||||
|
||||
The orignal template can be found at:
|
||||
https://github.com/go-swagger/go-swagger/blob/v0.32.3/generator/templates/server/operation.gotmpl
|
||||
https://github.com/go-swagger/go-swagger/blob/v0.33.1/generator/templates/server/operation.gotmpl
|
||||
*/}}
|
||||
// Code generated by go-swagger; DO NOT EDIT.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
CamelCase (IPv6 <--> IPV6) fields.
|
||||
|
||||
The orignal template can be found at:
|
||||
https://github.com/go-swagger/go-swagger/blob/v0.32.3/generator/templates/structfield.gotmpl
|
||||
https://github.com/go-swagger/go-swagger/blob/v0.33.1/generator/templates/structfield.gotmpl
|
||||
*/}}
|
||||
{{ define "structfield" }}
|
||||
{{- if not $.IsBaseType -}}
|
||||
|
||||
@@ -59,7 +59,7 @@ type Volume struct {
|
||||
// does not support this feature.
|
||||
//
|
||||
// Example: {"hello":"world"}
|
||||
Status map[string]interface{} `json:"Status,omitempty"`
|
||||
Status map[string]any `json:"Status,omitempty"`
|
||||
|
||||
// usage data
|
||||
UsageData *UsageData `json:"UsageData,omitempty"`
|
||||
|
||||
2
vendor/github.com/moby/moby/api/types/volume/volume.go
generated
vendored
2
vendor/github.com/moby/moby/api/types/volume/volume.go
generated
vendored
@@ -59,7 +59,7 @@ type Volume struct {
|
||||
// does not support this feature.
|
||||
//
|
||||
// Example: {"hello":"world"}
|
||||
Status map[string]interface{} `json:"Status,omitempty"`
|
||||
Status map[string]any `json:"Status,omitempty"`
|
||||
|
||||
// usage data
|
||||
UsageData *UsageData `json:"UsageData,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user