mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
api/swagger: rename PluginPrivilegeItem to PluginPrivilege
To match the name in Go Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0b5a2e3c87
commit
ebd709f80c
1 changed files with 6 additions and 5 deletions
|
@ -2159,11 +2159,12 @@ definitions:
|
|||
type: "string"
|
||||
x-nullable: false
|
||||
|
||||
PluginPrivilegeItem:
|
||||
PluginPrivilege:
|
||||
description: |
|
||||
Describes a permission the user has to accept upon installing
|
||||
the plugin.
|
||||
type: "object"
|
||||
x-go-name: "PluginPrivilege"
|
||||
properties:
|
||||
Name:
|
||||
type: "string"
|
||||
|
@ -2959,7 +2960,7 @@ definitions:
|
|||
PluginPrivilege:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
ContainerSpec:
|
||||
type: "object"
|
||||
description: |
|
||||
|
@ -9237,7 +9238,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
@ -9313,7 +9314,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
@ -9485,7 +9486,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
|
Loading…
Reference in a new issue