That link is talking about OAS3. If you’re getting that error, you’re most likely defining a Swagger 2.0 definition which doesn’t support that construct.
From: <[email protected]> on behalf of Lavin Motwani <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Monday, October 2, 2017 at 00:25 To: Swagger <[email protected]> Subject: In Response Media Type I found the below part of swaager code on "https://swagger.io/docs/specification/describing-responses/" link, but when implementing on the editor it shows error: "should NOT have additional properties additionalProperty: content, description". (The request body part of the code is implemented properly without any errors.) Can any one help me how to use it and fix this issue? swagger code: responses: '200': description: A User object content: application/json: schema: $ref: '#/components/schemas/User' Thank you in advance. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
