getappmap / getappmap/appmap-js
OpenAPI: Security requirements must match a security definition
Open
Nobody has claimed this yet.
bug
openapi
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 18
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
In the below example, bearer must match a security scheme defined within components.securitySchemes. https://swagger.io/docs/specification/authentication/bearer-authentication/
/api/api_keys:
delete:
responses:
'204':
content:
application/json: {}
description: No Content
security:
- bearer: []
Contributor guide
No contributing guide indexed for this repository
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 source file or test is named. Start by locating the OpenAPI security requirement validation or parsing entry point and compare the example's bearer requirement with components.securitySchemes; done means an undefined security scheme is rejected or reported as invalid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100