api: rename volumes.CreateOptions to volumes.CreateRequest

Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
Austin Vazquez
2025-10-20 08:07:56 -05:00
parent a2fd724453
commit 42ba5466c7
16 changed files with 33 additions and 33 deletions

View File

@@ -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}:

View File

@@ -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}:

View File

@@ -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"`