10 lines
245 B
Bash
Executable File
10 lines
245 B
Bash
Executable File
#!/bin/bash
|
|
|
|
docker run --rm \
|
|
-v ${PWD}:/local openapitools/openapi-generator-cli generate \
|
|
-i https://git.front.kjuulh.io/swagger.v1.json \
|
|
-g rust \
|
|
--additional-properties=packageName=gitea-client \
|
|
-o /local/crates/gitea-client
|
|
|