Shawn Gong

Results comments of Shawn Gong

Try application on different port, you can change the port the server is run on within app.js. There is a port variable. Just choose another port, say 8080 or 8000.

Hey I wrote a hack to show curl in swagger-ui if anyone is interested! The script is on my github page, and I am going to submit it as a...

Submitted the request, there didn't seem to be any easy way to generate the curl so I just wrote my own function. Only can handle simple GET, POST, and DELETE...

Is there any documentation available for the asCurl function parameters(s)?

I rewrote the curl generation function using `asCurl`, [here](https://github.com/swagger-api/swagger-ui/pull/1315)

Update, if you want to add curl output using swaggerUi's source files it's really simple. Follow these steps: Go to `src/main/template/operation.handlebars` and add ``` Curl ``` in the `div class='response'`...

You can disable the validator by using: `validatorUrl: null` Put this in the area where you render the SwaggerUi object