Skip to content

Commit

Permalink
Merge pull request #34308 from neiesc/openapi/scalar-endpoint-local
Browse files Browse the repository at this point in the history
openapi scalar endpoint local
  • Loading branch information
Rick-Anderson authored Dec 10, 2024
2 parents 6ae701a + 2599057 commit 4aa7c14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aspnetcore/fundamentals/openapi/using-openapi-documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:<port>/scalar/v1` to view the Scalar UI.

## 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).
Expand Down

0 comments on commit 4aa7c14

Please sign in to comment.