Преглед изворни кода

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: