What problem does it solve?
Scalar provides a modern, interactive API documentation UI for .NET 10 that reduces friction for developers testing and understanding OpenAPI endpoints.
Core Features & Use Cases
- Scalar replaces Swagger UI: Generates fast, modern API docs with dark mode, code samples, and full OpenAPI 3.1 support, improving how teams present and consume APIs.
- Development-first exposure: Recommends guarding API reference endpoints with IsDevelopment and adding authorization for production to reduce information leakage.
- Secure and configurable “Try It”: Lets you disable the external proxy for sensitive APIs and align Scalar behavior with OpenAPI-defined security schemes, including auth prefill for development.
- Multiple documents and routing: Supports multiple OpenAPI docs and configurable route prefixes so teams can publish versioned or separate API references cleanly.
Quick Start
Use the Scalar skill by mapping the OpenAPI endpoints and enabling Scalar only when app.Environment.IsDevelopment() so the API docs UI is available at /scalar/v1 during local development.