From 70cd4a2221006f5bf5e4ba89cddc635f0110e8d8 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Tue, 22 Jun 2021 23:44:14 +0000 Subject: [PATCH] autogen(openapi): Regenerate swagger spec and internal client --- internal/httpclient/models/plugin_config_interface.go | 3 --- internal/httpclient/models/volume.go | 3 +-- spec/api.json | 6 +----- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/internal/httpclient/models/plugin_config_interface.go b/internal/httpclient/models/plugin_config_interface.go index 3e77cc86694..73a75d00a44 100644 --- a/internal/httpclient/models/plugin_config_interface.go +++ b/internal/httpclient/models/plugin_config_interface.go @@ -20,9 +20,6 @@ import ( // swagger:model PluginConfigInterface type PluginConfigInterface struct { - // Protocol to use for clients connecting to the plugin. - ProtocolScheme string `json:"ProtocolScheme,omitempty"` - // socket // Required: true Socket *string `json:"Socket"` diff --git a/internal/httpclient/models/volume.go b/internal/httpclient/models/volume.go index a27d9734b32..a8a725e2cf8 100644 --- a/internal/httpclient/models/volume.go +++ b/internal/httpclient/models/volume.go @@ -42,8 +42,7 @@ type Volume struct { // Required: true Options map[string]string `json:"Options"` - // The level at which the volume exists. Either `global` for cluster-wide, - // or `local` for machine level. + // The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level. // Required: true Scope *string `json:"Scope"` diff --git a/spec/api.json b/spec/api.json index 554ae003c60..f4def8fd911 100755 --- a/spec/api.json +++ b/spec/api.json @@ -2154,10 +2154,6 @@ "Types" ], "properties": { - "ProtocolScheme": { - "description": "Protocol to use for clients connecting to the plugin.", - "type": "string" - }, "Socket": { "description": "socket", "type": "string" @@ -2500,7 +2496,7 @@ } }, "Scope": { - "description": "The level at which the volume exists. Either `global` for cluster-wide,\nor `local` for machine level.", + "description": "The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level.", "type": "string" }, "Status": {