Skip to content

alkondrashov/swagger

Repository files navigation

Swagger

Commands

dotnet add swagger.csproj package NSwag.AspNetCore
dotnet build
dotnet run

https://localhost:5001/Prime

https://localhost:5001/swagger

https://localhost:5001/swagger/v1/swagger.json

services.AddSwaggerDocument();
app.UseOpenApi();
app.UseSwaggerUi3();
dotnet build
dotnet run
curl -X 'GET' 'https://localhost:5001/Prime' -H 'accept: text/plain'

Additional

_logger.LogInformation("Example log message2");
dotnet new gitignore

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages