From f04d3cf7358212913802e524d4cb179e0da754e1 Mon Sep 17 00:00:00 2001 From: Edinei Cavalcanti Date: Fri, 6 Dec 2024 19:05:57 -0300 Subject: [PATCH 1/3] add url of Scalar --- aspnetcore/fundamentals/openapi/using-openapi-documents.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aspnetcore/fundamentals/openapi/using-openapi-documents.md b/aspnetcore/fundamentals/openapi/using-openapi-documents.md index da6b30c509cf..40f7be3b073a 100644 --- a/aspnetcore/fundamentals/openapi/using-openapi-documents.md +++ b/aspnetcore/fundamentals/openapi/using-openapi-documents.md @@ -30,6 +30,8 @@ The `Swashbuckle.AspNetCore.SwaggerUi` package provides a bundle of Swagger UI's [!code-csharp[](~/fundamentals/openapi/samples/9.x/WebMinOpenApi/Program.cs?name=snippet_openapiwithscalar)] +Launch the app and navigate to `https://localhost:scalar/v1` to view the generated Scalar API Reference. + ## Lint generated OpenAPI documents with Spectral [Spectral](https://stoplight.io/open-source/spectral) is an open-source OpenAPI document linter. Spectral can be incorporated into an app build to verify the quality of generated OpenAPI documents. Install Spectral according to the [package installation directions](https://github.com/stoplightio/spectral#-installation). From 3aef4abc21729d43861e8e5e64a5a2219b1229ee Mon Sep 17 00:00:00 2001 From: Edinei Cavalcanti Date: Fri, 6 Dec 2024 19:17:44 -0300 Subject: [PATCH 2/3] ajusts url --- aspnetcore/fundamentals/openapi/using-openapi-documents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/fundamentals/openapi/using-openapi-documents.md b/aspnetcore/fundamentals/openapi/using-openapi-documents.md index 40f7be3b073a..ca96170fed0f 100644 --- a/aspnetcore/fundamentals/openapi/using-openapi-documents.md +++ b/aspnetcore/fundamentals/openapi/using-openapi-documents.md @@ -30,7 +30,7 @@ The `Swashbuckle.AspNetCore.SwaggerUi` package provides a bundle of Swagger UI's [!code-csharp[](~/fundamentals/openapi/samples/9.x/WebMinOpenApi/Program.cs?name=snippet_openapiwithscalar)] -Launch the app and navigate to `https://localhost:scalar/v1` to view the generated Scalar API Reference. +Launch the app and navigate to `https://localhost:/scalar/v1` to view the generated Scalar API Reference. ## Lint generated OpenAPI documents with Spectral From 2599057c15baa1b4aeac0910b0337ac56584a582 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:04:58 -1000 Subject: [PATCH 3/3] Update aspnetcore/fundamentals/openapi/using-openapi-documents.md Co-authored-by: Safia Abdalla --- aspnetcore/fundamentals/openapi/using-openapi-documents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/fundamentals/openapi/using-openapi-documents.md b/aspnetcore/fundamentals/openapi/using-openapi-documents.md index ca96170fed0f..d087b758cd13 100644 --- a/aspnetcore/fundamentals/openapi/using-openapi-documents.md +++ b/aspnetcore/fundamentals/openapi/using-openapi-documents.md @@ -30,7 +30,7 @@ The `Swashbuckle.AspNetCore.SwaggerUi` package provides a bundle of Swagger UI's [!code-csharp[](~/fundamentals/openapi/samples/9.x/WebMinOpenApi/Program.cs?name=snippet_openapiwithscalar)] -Launch the app and navigate to `https://localhost:/scalar/v1` to view the generated Scalar API Reference. +Launch the app and navigate to `https://localhost:/scalar/v1` to view the Scalar UI. ## Lint generated OpenAPI documents with Spectral