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>
(cherry picked from commit eb0edeafdd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Milas Bowman 2022-08-01 16:06:08 -04:00 committed by Sebastiaan van Stijn
parent 4a1747d2e4
commit 32bcbdfe65
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -10363,6 +10363,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: