-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I'm trying to return an image as one of the paths in my Swagger API and so following the specs have used a response along the lines of:
responses:
200:
description: Successfully retrieved image
schema:
type: file
However, the Swagger parser raises an exception:
com.fasterxml.jackson.core.JsonParseException: None.get (through reference chain: de.zalando.swagger.Schema["type"]) through reference chain: paths → /rps/{id}/image → get → responses → 200 → schema
Is there any other way to return binary data with a given mime-type?
Metadata
Metadata
Assignees
Labels
No labels