documented bulk creator

This commit is contained in:
Jan Friedli 2020-07-13 08:34:18 +02:00
parent 77269a82e6
commit b148e03cb5
No known key found for this signature in database
GPG key ID: F945FA2FCA30549D
3 changed files with 51 additions and 2 deletions

View file

@ -64,7 +64,7 @@ class APIUpload(Resource):
filename=output_filename,
_external=True
)
)
), 201
class APIDownload(Resource):
@ -110,6 +110,7 @@ class APIBulkDownloadCreator(Resource):
}
v = Validator(schema)
@swag_from('./oas/bulk.yml')
def post(self):
utils.check_upload_folder(self.upload_folder)
data = request.json