summaryrefslogtreecommitdiffstats
path: root/rust/codegen_openapi2.sh
blob: e003ff397b16cea3d6cd58898c069ddd6423a663 (plain)
1
2
3
4
5
6
#!/bin/sh

cargo swagger fatcat-openapi2.yml fatcat-api --docker-tag=v2.3.1
sudo chown `whoami`:`whoami` -R fatcat-api
git checkout fatcat-api/Cargo.toml
cargo fmt