File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 44rules :
55 operation-summary : off
66 operation-operationId : off
7+ no-unused-components : off
8+ no-server-example.com : off
Original file line number Diff line number Diff line change 3131# Up convert Swagger file back to OpenAPI 3.1 again, and output as JSON
3232echo ' Converting 3.1 to Swagger spec back to 3.1 again'
3333docker run --rm -i openapi-spec-converter:latest -t 3.1 -f json \
34- < output/31-spec-with-differences-from-30.back-to-31 .yaml \
35- > output/31-spec-with-differences-from-30.converted-swagger.yaml
34+ < output/31-spec-with-differences-from-30.converted-swagger .yaml \
35+ > output/31-spec-with-differences-from-30.back-to-31.json
3636
3737echo ' Validating 3.1 spec converted back from Swagger'
38- if ! node_modules/.bin/redocly lint output/31-spec-with-differences-from-30.converted-swagger.yaml 2>&1 ; then
38+ if ! node_modules/.bin/redocly lint output/31-spec-with-differences-from-30.back-to-31.json 2>&1 ; then
3939 exit_code=1
4040fi
4141
You can’t perform that action at this time.
0 commit comments