Skip to content

fix: add auth schemes for open api spec#1059

Merged
itslenny merged 4 commits into
masterfrom
lenny/add-open-api-auth-schemes
Apr 27, 2026
Merged

fix: add auth schemes for open api spec#1059
itslenny merged 4 commits into
masterfrom
lenny/add-open-api-auth-schemes

Conversation

@itslenny
Copy link
Copy Markdown
Contributor

@itslenny itslenny commented Apr 27, 2026

What kind of change does this PR introduce?

fix to open api specs

What is the current behavior?

Open API spec does not include auth schemes. This makes the swagger UI unusable as you cannot authenticate

What is the new behavior?

Add auth schemes to all authenticated endpoints (api and admin api). This makes the open api json more accurate and also enables authentication in the swagger UI when developing which allows executing endpoints directly in the swagger UI (http://localhost:5000/documentation)

@itslenny itslenny requested a review from a team as a code owner April 27, 2026 14:51
@coveralls
Copy link
Copy Markdown

coveralls commented Apr 27, 2026

Coverage Report for CI Build 25004573566

Coverage increased (+0.05%) to 71.601%

Details

  • Coverage increased (+0.05%) from the base build.
  • Patch coverage: 26 of 26 lines across 18 files are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 9776
Covered Lines: 7401
Line Coverage: 75.71%
Relevant Branches: 5471
Covered Branches: 3516
Branch Coverage: 64.27%
Branches in Coverage %: Yes
Coverage Strength: 383.04 hits per line

💛 - Coveralls

@itslenny itslenny force-pushed the lenny/add-open-api-auth-schemes branch from ecfbab4 to 912eacb Compare April 27, 2026 14:58
Comment thread package.json Outdated
"test:integration:watch": "vitest --config vitest.integration.config.ts",
"test:integration:coverage": "vitest run --coverage --config vitest.integration.config.ts",
"test": "npm run infra:restart && npm run test:dummy-data && npm run test:integration",
"test": "npm run infra:restart && npm run test:dummy-data && npm run test:integration && npm run test:unit",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe change order to get faster feedback

@itslenny itslenny merged commit 83fd4b2 into master Apr 27, 2026
7 checks passed
@itslenny itslenny deleted the lenny/add-open-api-auth-schemes branch April 27, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants