Further I have found this FAQ at bottom of this page: http://swagger.io/docs/specification/describing-responses/
Can I have different responses based on a request parameter? Such as: GET /something -> {200, schema_1} GET /something?foo=bar -> {200, schema_2} No, this is not supported. I am still wondering how others have overcome this? Maybe some workaround exists (regardless of how elegant or unnatural it is) ? -- 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 swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.