File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 3535 for file in *.yaml ; do
3636 target=`basename -s .yaml $file`.json
3737 echo "converting $file to $target ..."
38- if [ "$file" != "api-with-examples.yaml" ] ; then
39- vendor/bin/php-openapi convert --read-yaml $file --write-json $target
40- vendor/bin/indent --tabs --tabstop=4 $target
41- vendor/bin/indent --spaces --tabstop=2 $target
42- fi
38+ vendor/bin/php-openapi convert --read-yaml $file --write-json $target
39+ vendor/bin/indent --tabs --tabstop=4 $target
40+ vendor/bin/indent --spaces --tabstop=2 $target
4341 done
4442
4543 - name : cleanup
5149 run : |
5250 cd examples/v3.0
5351 git add *.json
54- git diff --staged
52+ git --no-pager -c color.diff=always diff --staged
5553
5654 - name : Create Pull Request
5755 uses : peter-evans/create-pull-request@v1
You can’t perform that action at this time.
0 commit comments