Browse code

Remove unused filter params from Swagger

Commit 745795ef2e0089c5001e5a2fc7ba8c1ab0234857 added
a `filter` query-parameter to all "prune" endpoints,
however the parameter was only used when pruning
images.

This patch removes the filter parameter from the other
endpoints, given that it is not used for those, so
there is no reason documenting it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2017/05/05 06:25:01
Showing 1 changed files
... ...
@@ -4261,14 +4261,6 @@ paths:
4261 4261
       produces:
4262 4262
         - "application/json"
4263 4263
       operationId: "ContainerPrune"
4264
-      parameters:
4265
-        - name: "filters"
4266
-          in: "query"
4267
-          description: |
4268
-            Filters to process on the prune list, encoded as JSON (a `map[string][]string`).
4269
-
4270
-            Available filters:
4271
-          type: "string"
4272 4264
       responses:
4273 4265
         200:
4274 4266
           description: "No error"
... ...
@@ -6036,14 +6028,6 @@ paths:
6036 6036
       produces:
6037 6037
         - "application/json"
6038 6038
       operationId: "VolumePrune"
6039
-      parameters:
6040
-        - name: "filters"
6041
-          in: "query"
6042
-          description: |
6043
-            Filters to process on the prune list, encoded as JSON (a `map[string][]string`).
6044
-
6045
-            Available filters:
6046
-          type: "string"
6047 6039
       responses:
6048 6040
         200:
6049 6041
           description: "No error"
... ...
@@ -6392,14 +6376,6 @@ paths:
6392 6392
       produces:
6393 6393
         - "application/json"
6394 6394
       operationId: "NetworkPrune"
6395
-      parameters:
6396
-        - name: "filters"
6397
-          in: "query"
6398
-          description: |
6399
-            Filters to process on the prune list, encoded as JSON (a `map[string][]string`).
6400
-
6401
-            Available filters:
6402
-          type: "string"
6403 6395
       responses:
6404 6396
         200:
6405 6397
           description: "No error"