diff --git a/README.md b/README.md index 6e5a2fa..84b12b0 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ docker run --rm jeanberu/swagger-cli Validate schema from URL or a file. ```shell script docker run --rm jeanberu/swagger-cli swagger-cli validate YOUR_URL -docker run --rm jeanberu/swagger-cli swagger-cli validate YOUR_FILE +docker run --rm -v $PWD/YOUR_FILE.yaml:/swagger.yaml jeanberu/swagger-cli swagger-cli validate swagger.yaml ``` ## More help ? diff --git a/test.yaml b/test.yaml new file mode 100644 index 0000000..843fc9e --- /dev/null +++ b/test.yaml @@ -0,0 +1,2 @@ +a: + b: test