swagger-api / swagger-api/swagger-ui
First, you need to fix the syntax errors in the spec:
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
anyway there is an error:

using:
"darkaonline/l5-swagger": "^8.0", laravel package
doing:


First, you need to fix the syntax errors in the spec:
- Add
info.version. - Change
"security": {
"bearerAuth": []
},
to
"security": [
{
"bearerAuth": []
}
],
- Add a
descriptionfor the 200 response.
Then when you use Swagger UI, click the "Authorize" button and enter your bearer token. Now the request will be sent with the Authorization header.
Originally posted by @hkosova in https://github.com/swagger-api/swagger-ui/issues/3905#issuecomment-344263341
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
No Swagger UI file or test is identified; first determine whether the reported behavior is a product defect or an invalid OpenAPI document from the Laravel package. Review the linked issue context and reproduce the spec in Swagger UI if possible. Done means confirming a repository change is needed, or redirecting the report if the listed spec corrections resolve it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, laravel, openapi
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100