瀏覽代碼

api: swagger: add missing "force" query arg on plugin disable

This has been around for a long time - since v17.04 (API v1.28)
but was never documented.

It allows removing a plugin even if it's still in use.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
Milas Bowman 2 年之前
父節點
當前提交
eb0edeafdd
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      api/swagger.yaml

+ 6 - 0
api/swagger.yaml

@@ -9737,6 +9737,12 @@ paths:
             default if omitted.
           required: true
           type: "string"
+        - name: "force"
+          in: "query"
+          description: |
+            Force disable a plugin even if still in use.
+          required: false
+          type: "boolean"
       tags: ["Plugin"]
   /plugins/{name}/upgrade:
     post: