swagger-api / swagger-api/swagger-ui
Execute button not working due to Schema Valication
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
If a JSON request body does not validate against its schema (e.g. a required property is missing, or some property value does not match minLength or pattern), the "Execute" button does not work, it does nothing.
Do we have an option to disable this validation while configuring the SwaggerUI client.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Swagger UI with a JSON request body that fails a required-property, minLength, or pattern check, then trace what happens when Execute is pressed. Review the SwaggerUI client configuration mentioned in the issue and define done as providing a way to disable this validation while configuring the client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100