Open API Diff
Table of Contents
Requirements
-
Docker
-
Two Open API files
Intro
Simple repo to test open api diff provided by OpenAPI Tools
Running
Check the API compatibility
Run on root folder
docker run --rm -t -v $(pwd)/apis:/apis openapitools/openapi-diff:latest /apis/players-v1.yaml /apis/players-v2.yaml
Check the API compatibility and produce result
using tag --fail-on-incompatible
docker run --rm -t -v $(pwd)/apis:/apis openapitools/openapi-diff:latest /apis/players-v1.yaml /apis/players-v2.yaml --fail-on-incompatible
Create configmap from file
kubectl create configmap oas --from-file=/home/claudioed/development/open-api-diff/apis/players-v1.yaml -n argo