gitea-rs/scripts/generate_gitea_client.sh
kjuulh 657e1a095e
feat: add gitea rust client
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-08-21 21:58:00 +02:00

10 lines
237 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-rs \
-o /local/crates/gitea-rs