Commit 7ffd5110 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fix for missing security in swagger model.

parent 56e041c3
Pipeline #62149 passed with stage
in 35 seconds
...@@ -224,6 +224,7 @@ class UploadListResource(Resource): ...@@ -224,6 +224,7 @@ class UploadListResource(Resource):
pagination=dict(total=total, page=page, per_page=per_page), pagination=dict(total=total, page=page, per_page=per_page),
results=results), 200 results=results), 200
@api.doc(security=list(api.authorizations.keys())) # weird bug, this should not be necessary
@api.doc('upload') @api.doc('upload')
@api.expect(upload_metadata_parser) @api.expect(upload_metadata_parser)
@api.response(400, 'To many uploads') @api.response(400, 'To many uploads')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment