loopbackio / loopbackio/loopback-next

Customize openapi.json at root level

Open
#2,062 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Docs good first issue help wanted
Dominant language
TypeScript
Stars
5.1k
Forks
1.1k
Avg merge
2d 21h
Merged PRs (30d)
27

Description

How can I customize the openapi.json file at the root level. I want to add the following config . . .

```yaml
components:
securitySchemes:
basicAuth:
type: http
scheme: basic
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue only identifies the root-level openapi.json output and the desired components.securitySchemes.basicAuth configuration. Start by tracing how the repository produces openapi.json, then determine whether this customization is supported and where it should be documented. Done means a clear, verified way to apply the configuration, or documentation stating the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, typescript
Domain
api
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.