diff --git a/docs/api/v1.40.yaml b/docs/api/v1.40.yaml index 660e67d739..cb059b022e 100644 --- a/docs/api/v1.40.yaml +++ b/docs/api/v1.40.yaml @@ -2159,6 +2159,24 @@ definitions: type: "string" x-nullable: false + PluginPrivilegeItem: + description: | + Describes a permission the user has to accept upon installing + the plugin. + type: "object" + properties: + Name: + type: "string" + example: "network" + Description: + type: "string" + Value: + type: "array" + items: + type: "string" + example: + - "host" + Plugin: description: "A plugin for the Engine API" type: "object" @@ -2941,19 +2959,7 @@ definitions: PluginPrivilege: type: "array" items: - description: | - Describes a permission accepted by the user upon installing the - plugin. - type: "object" - properties: - Name: - type: "string" - Description: - type: "string" - Value: - type: "array" - items: - type: "string" + $ref: "#/definitions/PluginPrivilegeItem" ContainerSpec: type: "object" description: | @@ -9213,20 +9219,7 @@ paths: schema: type: "array" items: - description: | - Describes a permission the user has to accept upon installing - the plugin. - type: "object" - title: "PluginPrivilegeItem" - properties: - Name: - type: "string" - Description: - type: "string" - Value: - type: "array" - items: - type: "string" + $ref: "#/definitions/PluginPrivilegeItem" example: - Name: "network" Description: "" @@ -9302,19 +9295,7 @@ paths: schema: type: "array" items: - description: | - Describes a permission accepted by the user upon installing the - plugin. - type: "object" - properties: - Name: - type: "string" - Description: - type: "string" - Value: - type: "array" - items: - type: "string" + $ref: "#/definitions/PluginPrivilegeItem" example: - Name: "network" Description: "" @@ -9486,19 +9467,7 @@ paths: schema: type: "array" items: - description: | - Describes a permission accepted by the user upon installing the - plugin. - type: "object" - properties: - Name: - type: "string" - Description: - type: "string" - Value: - type: "array" - items: - type: "string" + $ref: "#/definitions/PluginPrivilegeItem" example: - Name: "network" Description: ""