openapi-generator/samples/server/petstore/aspnetcore-8.0-use-centralized-package-version-management

Org.OpenAPITools - ASP.NET Core 8.0 Server

This is a sample server Petstore server. For this sample, you can use the api key special-key to test the authorization filters.

Upgrade NuGet Packages

NuGet packages get frequently updated.

To upgrade this solution to the latest version of all NuGet packages, use the dotnet-outdated tool.

Install dotnet-outdated tool:

dotnet tool install --global dotnet-outdated-tool

Upgrade only to new minor versions of packages

dotnet outdated --upgrade --version-lock Major

Upgrade to all new versions of packages (more likely to include breaking API changes)

dotnet outdated --upgrade

Run

Linux/OS X:

sh build.sh

Windows:

build.bat

Run in Docker

cd src/Org.OpenAPITools
docker build -t org.openapitools .
docker run -p 5000:8080 org.openapitools