Coder Social home page Coder Social logo

Comments (9)

fehguy avatar fehguy commented on May 22, 2024

I don't believe DELETE was ever supported in the UI, but it should be easy to add.

from swagger-ui.

pietervogelaar avatar pietervogelaar commented on May 22, 2024

Yeah, I would like the DELETE operation too in Swagger UI!

from swagger-ui.

JeroenMinnaert avatar JeroenMinnaert commented on May 22, 2024

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

from swagger-ui.

pietervogelaar avatar pietervogelaar commented on May 22, 2024

O you're right, ofcourse I should have seen that..

from swagger-ui.

bobjackman avatar bobjackman commented on May 22, 2024

@JeroenMinnaert ++ for a solution 👍

from swagger-ui.

dharmi avatar dharmi commented on May 22, 2024

was hunting for a solution for missing DELETE functionality....thx

from swagger-ui.

tarpanpathak avatar tarpanpathak commented on May 22, 2024

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?

from swagger-ui.

webron avatar webron commented on May 22, 2024

@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.

from swagger-ui.

tarpanpathak avatar tarpanpathak commented on May 22, 2024

@webron - you are right. Let me troubleshoot and perhaps upgrade.

from swagger-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.