I'm getting 406 Not Acceptable responses when I'm trying to use the externalValue
property in an example object on the swaggerhub mocked server.
Am I doing something wrong or this feature is not implemented on the swaggerhub mocking server?
API snippet
paths:
/test:
get:
responses:
"200":
description: OK!
content:
application/json:
schema:
type: string
format: binary
examples:
example:
externalValue: "https://jsonplaceholder.typicode.com/todos/1"
application/pdf:
schema:
type: string
format: binary
examples:
sampleFile:
externalValue: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"