local-server/gen-api-js.sh

2 lines
166 B
Bash
Raw Normal View History

2023-02-07 20:29:19 +00:00
docker run --rm --net=host --user $(id -u) -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i http://[::1]:7606/swagger.json -l javascript -o /local/js/api/