vmcg105
8 years agoNew Contributor
Cannot add "content" to the "responses"
When I try to the "content" under "responses" I get the error:
responses['200'] should NOT have additional properties additionalProperty: content, description
Even though I copied the code straight out of the Swagger example:
responses:
200:
description: "Got form"
content:
application/json:
schema:
type: object
properties:
id:
type: integer
description: The user ID.
It doesn't like the content field, what am I doing wrong?