github.com/emreu/go-swagger@v0.22.1/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 {} \;