Skip to content

Add OpenAPI/Swagger security scheme definitions for all auth methods #885

Description

@nanaf6203-bit

Problem

Swagger UI missing Authorize button for JWT and API Key authentication.

Expected Outcome

Swagger UI with Authorize button supporting both auth methods.

Acceptance Criteria

  • JWT Bearer auth via DocumentBuilder.addBearerAuth()
  • API Key auth via DocumentBuilder.addApiKey()
  • @ApiBearerAuth() on all protected controllers

Files Affected

src/config/swagger.config.ts, all controllers

Difficulty

Easy

Estimated Effort

Small (1-2 hours)

Labels

documentation, api

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programapiAPI relateddocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions