Hi,
Thanks for the link! I found a lot examples like that and I know the swagger-ui only supports a limited set of upload functionality.
If I read the spec correctly, it should actually support a broader that of upload functionality. Also the one spec'ed below should be fine from a spec perspective.
paths:
/upload:
put:
summary: Upload
parameters:
- name: file
in: body
description: the attachment content
required: true
schema:
type: file
consumes:
- application/octet-stream
responses:
200:
description: the upload was successful
Thus, I believe that I hit a limitation within swagger-editor. That's what I need to confirm. Is there a way to validate that technically by "verifying" the json swagger definition on the command line, i.e. outside of swagger-editor?
-Gunnar