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 ebd709f80c
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
7f9760e10c
commit
13cb9d9723
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: |
|
||||
|
@ -9229,7 +9230,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
@ -9305,7 +9306,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
@ -9477,7 +9478,7 @@ paths:
|
|||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/definitions/PluginPrivilegeItem"
|
||||
$ref: "#/definitions/PluginPrivilege"
|
||||
example:
|
||||
- Name: "network"
|
||||
Description: ""
|
||||
|
|
Loading…
Add table
Reference in a new issue