jensoleg / swagger-ui

Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
http://swagger.io
Other
1.14k stars 310 forks source link

Try out form does not work when POST with application/x-www-form-urlencoded #81

Open fieder opened 7 years ago

fieder commented 7 years ago

I have no problems when I specify 'application/json' but the client does not like it when type is changed. I'm submitting a form and this is my swagger definition.

Is it supported?

/tickets/checkout: {
post: {
tags: [
"Tickets"
],
summary: "Checkout",
description: "Initiates payment checkout",
operationId: "jqueryPostCheckoutFormHandlerMercadoPagoUsingPOST",
consumes: [
"application/x-www-form-urlencoded"
],
produces: [
"application/json"
],