Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.22 KB

File metadata and controls

52 lines (33 loc) · 1.22 KB

PxWeb API 2.0 Specification

This is the home of the PxWeb API 2.0 OpenAPI Specification. You can look at the current state of the specification in Swagger UI.

Updating PxApi-2.yml

When creating a PR for updatedating PxAPI-2.yml please use the following command to also include changes in generated server code.

docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli:v7.11.0  generate -i /local/PxAPI-2.yml -g aspnetcore -c /local/aspnetcore-generator-config.yml -o /local

Replace ${PWD} with $(pwd) when running on Linux

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