1
0
Fork 0
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:
Sebastiaan van Stijn 2021-08-21 23:38:30 +02:00
parent 0b5a2e3c87
commit ebd709f80c
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

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