A .NET Core Web API project demonstrating versioning a Web API and generating interactive documentation with Swagger.
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
VersionedWebApi.IntegrationTests
VersionedWebApi
.gitignore
README.md
VersionedWebApi.sln

README.md

AspNetCoreVersionedWebApi

Build status

A demonstration how to create a versioned and documented Web API project with .NET Core using.

The guide to this project can be found on my website:

https://tomhofman.nl/lets-create-versioned-documented-asp-net-core-web-api

dotnet restore
dotnet run --project VersionedWebApi\\VersionedWebApi.csproj

Visit http://localhost:5000/api/v1/hello and http://localhost:5000/api/v2/hello for the demonstration.

NuGet: www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Versioning

GitHub: github.com/domaindrivendev/Swashbuckle.AspNetCore

GitHub: github.com/rh072005/SwashbuckleAspNetVersioningShim