"launchBrowser": true,
"launchUrl": "scalar",
- Step - 3
Add Code in
Program.csfile
if (app.Environment.IsDevelopment())
{
app.MapOpenApi();
app.MapScalarApiReference();
}
- Step - 4
Run the project





























Posted on
"launchBrowser": true,
"launchUrl": "scalar",
Program.cs fileif (app.Environment.IsDevelopment())
{
app.MapOpenApi();
app.MapScalarApiReference();
}
For further actions, you may consider blocking this person and/or reporting abuse
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Top comments (1)
Subscribe
Sharad Aade
Content writer @DryRun
Email
aadesharad@gmail.com
Location
India
Education
BCA & MCA
Work
AutumnHQ
Joined
• • Edited on • Edited
Simple way to setup scalar for ASP.NET Core Web API😃