OasDelta 1.0.2
dotnet tool install --global OasDelta --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local OasDelta --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=OasDelta&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package OasDelta --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OasDelta
OpenAPI diff and breaking-change detection. OasDelta is a C# port of oasdiff, compiled to a native executable with .NET NativeAOT. Install it as a .NET tool and no .NET runtime is needed to run it.
- Drop-in for oasdiff. Same commands, flags, config files and exit codes:
alias oasdiff=oasdelta. - Byte-for-byte output. Checked against the Go binary over the upstream test corpus (1,253 comparisons) on every platform it ships for.
- Fast. Benchmarked in CI against the official oasdiff release: latest results.
Install
dotnet tool install --global OasDelta # then: oasdelta --help
dnx OasDelta breaking base.yaml revision.yaml # or run once without installing (.NET 10 SDK)
Native builds ship for Linux, Windows and macOS on x64 and Arm64. Standalone binaries are also on GitHub Releases.
Usage
oasdelta breaking base.yaml revision.yaml # breaking changes, as text
oasdelta changelog base.yaml revision.yaml -f json # every change, as JSON
oasdelta diff base.yaml revision.yaml # structural diff
oasdelta breaking main:openapi.yaml openapi.yaml --fail-on ERR # base from git; non-zero exit on breaking changes
Specs can be files, URLs, - for stdin, or git revisions (ref:path).
Links
Apache License 2.0. OasDelta is a derivative work of oasdiff and is not affiliated with or endorsed by the oasdiff project.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.