Ensure cleaning up

This commit is contained in:
breel
2020-07-25 20:55:22 -06:00
parent 09b2a94dd8
commit f90ccaae38
4 changed files with 18 additions and 13 deletions

View File

@@ -5,6 +5,7 @@ paths:
summary: "Fetch a file"
parameters:
- $ref: "#/components/parameters/path"
- $ref: "#/components/parameters/namespace"
responses:
200:
content:
@@ -18,6 +19,7 @@ paths:
summary: "Provide or direct link to a file"
parameters:
- $ref: "#/components/parameters/path"
- $ref: "#/components/parameters/namespace"
- $ref: "#/components/parameters/direct"
requestBody:
description: "If ?direct=true, then a direct link to the file, else a multi-part form"
@@ -39,6 +41,9 @@ components:
path:
$ref: "./swagger.yaml#/components/parameters/path"
namespace:
$ref: "./swagger.yaml#/components/parameters/namespace"
direct:
name: direct
in: query