'Try it out' button disappeared for 'Delete'
For a DELETE operation, the 'Try it out' button fails to show. Path fields don't show up either for a DELETE.
I don't believe DELETE was ever supported in the UI, but it should be easy to add.
Yeah, I would like the DELETE operation too in Swagger UI!
I found out you can activate the delete button by adding 'delete' to the supportedSubmitMethods property in the SwaggerUI constructor. You can find this constructor in index.html. I didn't see it the first time round. You can also very easily add other methods (like HEAD) I discovered, given that you update screen.css
O you're right, ofcourse I should have seen that..
@JeroenMinnaert ++ for a solution :+1:
was hunting for a solution for missing DELETE functionality....thx
I am still having this issue, GET/POST/PUT show up fine after modifying the swagger config file but DELETE does not. The sample api-docs.html file already has supportedSubmitMethods, 'delete' in it. Does anyone know where and how DELETE needs to be specified?
@ptarpan - commenting on an issue that was closed in 2012 (!) is probably not the best approach for help. It also sounds like you're using an old version of the UI. Try upgrading and see what's next.
@webron - you are right. Let me troubleshoot and perhaps upgrade.