Adds Client generator related note

This commit is contained in:
Nemo 2021-05-21 01:00:25 +05:30
parent 5e7af47f57
commit 3945039497
3 changed files with 20 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
src/

View File

@ -5,3 +5,11 @@ 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.
## 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.

View File

@ -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}