initial commit

This commit is contained in:
ycc
2023-03-03 14:43:11 +01:00
parent 7229007847
commit 88c21d1828
142 changed files with 13975 additions and 22 deletions

15
scripts/generate_selfapi.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/env bash
set -xe # Don't continue if first command fail
docker run \
--rm \
--user=$UID \
--network=host \
-v ${PWD}:/local \
swaggerapi/swagger-codegen-cli:2.4.18 \
generate -i /local/swagger/swagger.json -l go -o /local/selfapi_bak
if [ -d selfapi_bak ]; then
rm -fr selfapi
mv selfapi_bak selfapi
fi