diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index 018597520f..ed589aa493 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -6614,6 +6614,10 @@ paths: responses: 200: description: "no error" + 404: + description: "plugin is not installed" + schema: + $ref: "#/definitions/ErrorResponse" 500: description: "server error" schema: @@ -6637,6 +6641,10 @@ paths: responses: 200: description: "no error" + 404: + description: "plugin is not installed" + schema: + $ref: "#/definitions/ErrorResponse" 500: description: "server error" schema: diff --git a/components/engine/docs/api/v1.24.md b/components/engine/docs/api/v1.24.md index 7514d05564..60f3260d28 100644 --- a/components/engine/docs/api/v1.24.md +++ b/components/engine/docs/api/v1.24.md @@ -3800,6 +3800,7 @@ Content-Type: text/plain; charset=utf-8 **Status codes**: - **200** - no error +- **404** - plugin not installed - **500** - plugin is already enabled #### Disable a plugin @@ -3828,6 +3829,7 @@ Content-Type: text/plain; charset=utf-8 **Status codes**: - **200** - no error +- **404** - plugin not installed - **500** - plugin is already disabled #### Remove a plugin