github.com/ryanbennettvoid/go-swagger@v0.18.1-0.20190104015444-3854bbbe2392/hack/convert-json-fixtures.sh (about)

     1  #!/bin/sh
     2  
     3  json2yaml fixtures/json -s -r
     4  cp -a fixtures/json/* fixtures/yaml
     5  find fixtures/yaml -name '*.json' -exec rm -rf {} \;
     6  find fixtures/json -name '*.yaml' -exec rm -rf {} \;