root: revert to upstream api generator

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-29 13:54:29 +01:00
parent e3a5ef1907
commit 1193b9fd22
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ gen-web:
docker run \ docker run \
--rm -v ${PWD}:/local \ --rm -v ${PWD}:/local \
--user ${UID}:${GID} \ --user ${UID}:${GID} \
ghcr.io/beryju/openapi-generator generate \ openapitools/openapi-generator-cli generate \
-i /local/schema.yml \ -i /local/schema.yml \
-g typescript-fetch \ -g typescript-fetch \
-o /local/web-api \ -o /local/web-api \
@ -74,6 +74,7 @@ gen-outpost:
-o /local/api \ -o /local/api \
-c /local/config.yaml -c /local/config.yaml
go mod edit -replace goauthentik.io/api=./api go mod edit -replace goauthentik.io/api=./api
rm -rf config.yaml ./templates/
gen: gen-build gen-clean gen-web gen: gen-build gen-clean gen-web