Skip to content

Add Scalar and Swagger UI Endpoints for OpenAPI Docs #1294

@jaypatrick

Description

@jaypatrick

Expose API docs at both /api/docs (Scalar) and /api/swagger (Swagger UI):

  • Add Scalar (@scalar/hono-api-reference) for modern OpenAPI UI
  • Add Swagger UI (@hono/swagger-ui) for compatibility
  • Both to consume /api/openapi.json
  • Document both in API overview

Reference:

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions