mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
api: rename volumes.CreateOptions to volumes.CreateRequest
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
@@ -2184,11 +2184,11 @@ definitions:
|
||||
is set to `-1` if the reference-count is not available.
|
||||
x-nullable: false
|
||||
|
||||
VolumeCreateOptions:
|
||||
VolumeCreateRequest:
|
||||
description: "Volume configuration"
|
||||
type: "object"
|
||||
title: "VolumeConfig"
|
||||
x-go-name: "CreateOptions"
|
||||
x-go-name: "CreateRequest"
|
||||
properties:
|
||||
Name:
|
||||
description: |
|
||||
@@ -10855,7 +10855,7 @@ paths:
|
||||
required: true
|
||||
description: "Volume configuration"
|
||||
schema:
|
||||
$ref: "#/definitions/VolumeCreateOptions"
|
||||
$ref: "#/definitions/VolumeCreateRequest"
|
||||
tags: ["Volume"]
|
||||
|
||||
/volumes/{name}:
|
||||
|
||||
@@ -2184,11 +2184,11 @@ definitions:
|
||||
is set to `-1` if the reference-count is not available.
|
||||
x-nullable: false
|
||||
|
||||
VolumeCreateOptions:
|
||||
VolumeCreateRequest:
|
||||
description: "Volume configuration"
|
||||
type: "object"
|
||||
title: "VolumeConfig"
|
||||
x-go-name: "CreateOptions"
|
||||
x-go-name: "CreateRequest"
|
||||
properties:
|
||||
Name:
|
||||
description: |
|
||||
@@ -10855,7 +10855,7 @@ paths:
|
||||
required: true
|
||||
description: "Volume configuration"
|
||||
schema:
|
||||
$ref: "#/definitions/VolumeCreateOptions"
|
||||
$ref: "#/definitions/VolumeCreateRequest"
|
||||
tags: ["Volume"]
|
||||
|
||||
/volumes/{name}:
|
||||
|
||||
@@ -5,12 +5,12 @@ package volume
|
||||
// This file was generated by the swagger tool.
|
||||
// Editing this file might prove futile when you re-run the swagger generate command
|
||||
|
||||
// CreateOptions VolumeConfig
|
||||
// CreateRequest VolumeConfig
|
||||
//
|
||||
// # Volume configuration
|
||||
//
|
||||
// swagger:model CreateOptions
|
||||
type CreateOptions struct {
|
||||
// swagger:model CreateRequest
|
||||
type CreateRequest struct {
|
||||
|
||||
// cluster volume spec
|
||||
ClusterVolumeSpec *ClusterVolumeSpec `json:"ClusterVolumeSpec,omitempty"`
|
||||
Reference in New Issue
Block a user