-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Try it out' button disappeared for 'Delete' #57
Comments
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 👍 |
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. |
For a DELETE operation, the 'Try it out' button fails to show. Path fields don't show up either for a DELETE.
The text was updated successfully, but these errors were encountered: