Comments (9)
I don't believe DELETE was ever supported in the UI, but it should be easy to add.
from swagger-ui.
Yeah, I would like the DELETE operation too in Swagger UI!
from 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
from swagger-ui.
O you're right, ofcourse I should have seen that..
from swagger-ui.
@JeroenMinnaert ++ for a solution 👍
from swagger-ui.
was hunting for a solution for missing DELETE functionality....thx
from swagger-ui.
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.
@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.
@webron - you are right. Let me troubleshoot and perhaps upgrade.
from swagger-ui.
Related Issues (20)
- "Maximum call stack size exceeded" in SwaggerEditor's "Generate Client > html2" and "File > Download Resolved YAML" functions. HOT 2
- OpenAPI 3.x: add support for getting example values in request body for schemas with anyOf and allOf keywords when there are other properties HOT 1
- Expose functions for merging schemas from JSON schema samples plugins HOT 1
- swagger-ui-react option to enable pkce
- Error message formatting for nested parameters HOT 1
- Unnecessary -d '' in CURL when no request body
- Errors displaying schemas with oneOf HOT 4
- Authorization header not send to the backend with angular 13 HOT 1
- OAuth ClientCredentials doesn't pass client_id and client_secret in request body.
- Make `parseSearch` and `serializeSearch` compliant with the WHATWG specification HOT 2
- Consolidate Swagger UI configuration logic into `config` HOT 1
- Handling query config options HOT 5
- Add type casting for Swagger UI configuration options HOT 3
- When the openapi version is changed to 3.1.0 from 3.0.3, integer values are assigned the maximum value.
- Required Path Parameters are missing the .star class given to required Schema properties
- URL Config option source HOT 1
- Address getting configUrl value from options in query HOT 5
- Create a new option for urls.primaryName HOT 1
- SwaggerUI not render with Angular 13, when the build optimizer is AOT
- Schemas' content from `discriminator.mapping` are not displayed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swagger-ui.