diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-24 22:14:00 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-24 22:14:00 -0700 |
commit | 14efdf829f0a8deca7b2814090f9a1c1a243e59a (patch) | |
tree | f1550f2f1d706723a7a0274a130a6f810c2a8ef1 /rust | |
parent | be2e85911195a484c6e203752e00fddebd9047cc (diff) | |
download | fatcat-14efdf829f0a8deca7b2814090f9a1c1a243e59a.tar.gz fatcat-14efdf829f0a8deca7b2814090f9a1c1a243e59a.zip |
API codegen helper script
Diffstat (limited to 'rust')
-rwxr-xr-x | rust/codegen_openapi2.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/codegen_openapi2.sh b/rust/codegen_openapi2.sh new file mode 100755 index 00000000..e003ff39 --- /dev/null +++ b/rust/codegen_openapi2.sh @@ -0,0 +1,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 |