diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa8e45f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +src/ \ No newline at end of file diff --git a/README.md b/README.md index 2765169..c6a0d29 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,12 @@ Please see https://captnemo.stoplight.io/docs/kuvera/ ## Terms of Service -I'm not responsible. Use at your own risk. This is a read only API, so you can't use this to manage your funds. \ No newline at end of file +I'm not responsible. Use at your own risk. This is a read only API, so you can't use this to manage your funds. + +## Clients + +Generate the Python client by running: + + docker run --rm -v "$PWD":/local openapitools/openapi-generator-cli generate -c /local/openapi-generator-config.yml -i /local/reference/Kuvera.yaml -o /local/src/python -g python + +The generated client is currently broken due to bugs in openapi-generator which misses a few imports. \ No newline at end of file diff --git a/openapi-generator-config.yml b/openapi-generator-config.yml new file mode 100644 index 0000000..836ee34 --- /dev/null +++ b/openapi-generator-config.yml @@ -0,0 +1,10 @@ +# Hides the generation timestamp when files are generated. +hideGenerationTimestamp: true +packageName: kuvera +packageVersion: 0.0.1 +projectName: kuvera-api +# when accessing unset attribute, return `None` instead of raising `ApiAttributeError` (Default: false) +pythonAttrNoneIfUnset: true +gitRepoId: kuvera-py +gitUserId: captn3m0 +httpUserAgent: Kuvera-Py/{packageVersion} \ No newline at end of file