dinchandNew Contributor5 years agoSolved2 exact paths that produce different Media Types in the Specification We have a current 2 GET endpoints with same path but produces different media type. How can I add them to the openAPI specification yaml ? HKosova to dinchand5 years agoThat is supported in OpenAPI 3.0 only.
dinchandNew Contributor5 years agoHKosova Thanks for the reply. I forgot to mention that both responses also have different schemas. I see that we have the possibility in 3.0 but not in 2.0. Or do I miss something ?
Recent DiscussionsUse anyOf/oneOf with codegen?Hiding one of multiple routes for an endpoint - Swagger c# .net 4.8How to customize the swagger-editor to include other definitions besides the PetStore
Related Contentcontext.expand produces different results between JSON and XMLRecorder not producing scriptsScript Produces Varying Results