File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
aspnetcore/fundamentals/openapi Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,16 @@ To automatically launch the app at the Swagger UI URL using the `https` profile
3131
3232[ !code-csharp[ ] ( ~/fundamentals/openapi/samples/9.x/WebMinOpenApi/Program.cs?name=snippet_openapiwithscalar )]
3333
34- Launch the app and navigate to ` https://localhost:<port>/scalar/v1 ` to view the Scalar UI.
34+ Launch the app and navigate to ` https://localhost:<port>/scalar ` to view the Scalar UI.
3535
3636To automatically launch the app at the Scalar UI URL using the ` https ` profile of ` Properties/launchSettings.json ` :
3737
3838* Confirm that ` launchBrowser ` is enabled (` true ` ).
39- * Set the ` launchUrl ` to ` scalar/v1 ` .
39+ * Set the ` launchUrl ` to ` scalar ` .
4040
4141``` json
4242"launchBrowser" : true ,
43- "launchUrl" : " scalar/v1 " ,
43+ "launchUrl" : " scalar" ,
4444```
4545
4646## Lint generated OpenAPI documents with Spectral
Original file line number Diff line number Diff line change @@ -43,16 +43,16 @@ To automatically launch the app at the Swagger UI URL using the `https` profile
4343
4444[ !code-csharp[ ] ( ~/fundamentals/openapi/samples/9.x/WebMinOpenApi/Program.cs?name=snippet_openapiwithscalar )]
4545
46- Launch the app and navigate to ` https://localhost:<port>/scalar/v1 ` to view the Scalar UI.
46+ Launch the app and navigate to ` https://localhost:<port>/scalar ` to view the Scalar UI.
4747
4848To automatically launch the app at the Scalar UI URL using the ` https ` profile of ` Properties/launchSettings.json ` :
4949
5050* Confirm that ` launchBrowser ` is enabled (` true ` ).
51- * Set the ` launchUrl ` to ` scalar/v1 ` .
51+ * Set the ` launchUrl ` to ` scalar ` .
5252
5353``` json
5454"launchBrowser" : true ,
55- "launchUrl" : " scalar/v1 " ,
55+ "launchUrl" : " scalar" ,
5656```
5757
5858## Lint generated OpenAPI documents with Spectral
You can’t perform that action at this time.
0 commit comments