Просмотр исходного кода

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 лет назад
Родитель
Сommit
eb0edeafdd
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      api/swagger.yaml

+ 6 - 0
api/swagger.yaml

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