api/swagger: rename PluginPrivilegeItem to PluginPrivilege
To match the name in Go
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 24a43d934c
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
5e38ae84b2
commit
d445d24804
1 changed files with 6 additions and 5 deletions
|
@ -2190,11 +2190,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"
|
||||
|
@ -2990,7 +2991,7 @@ definitions:
|
|||
PluginPrivilege:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
ContainerSpec:
|
||||
type: "object"
|
||||
description: |
|
||||
|
@ -9399,7 +9400,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
@ -9475,7 +9476,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
@ -9647,7 +9648,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
|
Loading…
Reference in a new issue