Skip to content

Commit e14631e

Browse files
authored
docs: update Scalar section to point to new route (#36011)
1 parent d72564a commit e14631e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

aspnetcore/fundamentals/openapi/includes/using-openapi-documents-9.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

3636
To 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

aspnetcore/fundamentals/openapi/using-openapi-documents.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

4848
To 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

0 commit comments

Comments
 (0)