32a9d008a4391cd159f1a9697e5db7d0cef6aeb2
Decouple Scalar from Swagger so each can be enabled/disabled separately via the UseScalar config flag. When Scalar is enabled without Swagger, the bare OpenAPI JSON endpoint is still registered so Scalar has a spec to load from. - Add UseScalar flag to appsettings.json (default: true) - Resolve useScalar from config in Program.cs - Map Scalar only when useScalar is true - Ensure UseSwagger() is called if Scalar needs it but Swagger UI is off
Description
No description provided
Languages
JavaScript
84.1%
C#
7.6%
HTML
3.6%
Visual Basic .NET
2.7%
CSS
1.5%
Other
0.4%