Skip to content

Commit daa7479

Browse files
committed
feat: add oasdiff
1 parent 009bedd commit daa7479

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
######################################################################
2+
3+
oasdiff diff openapi-v0.yaml openapi-v1.yaml --strip-prefix-base /api --prefix-base /api/v1 --exclude-elements summary,description,endpoints --match-path notices/{id} -c
4+
oasdiff diff openapi-v0.yaml openapi-v1.yaml --strip-prefix-base /api --prefix-base /api/v1 --exclude-elements summary,description,endpoints --match-path notices/{id} -c
5+
6+
oasdiff diff https://swagger.example.com/api/openapi.json https://swagger.example.com/api/openapi.json --strip-prefix-base /api --prefix-base /api/v1 --exclude-elements summary,description,endpoints,examples --composed --match-path notices
7+
8+
openapi-generator-cli generate -i https://swagger.example.com/api/openapi.json -g openapi -o ./output --skip-validate-spec
9+
oasdiff diff output/openapi.json https://swagger.example.com/api/openapi.yaml --exclude-elements summary,description,endpoints,examples --strip-prefix-base /api --prefix-base /api/v1 --match-path notices | yq .paths

0 commit comments

Comments
 (0)