Webapi-Swagger : Apply Global consumes
and produces
MIME types and support for overriding them
#25
Labels
Webapi-Swagger
All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)
For the global
consumes
andproduces
present in_swaggerConsumes
and_swaggerProduces
respectively, we need to consider these types and set the types in theContract
correctly.consumes
->RequestBody
(in Contract)produces
->ContentTypes
(in Contract)Also, in case any MIME Types are specified in the "local" definitions for
Operation
s, we need to disregard the global values and only consider these locally defined MIME Types for that particularOperation
.The text was updated successfully, but these errors were encountered: