mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-12 19:22:21 -04:00
documented bulk creator
This commit is contained in:
parent
77269a82e6
commit
b148e03cb5
3 changed files with 51 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue