Adds Client generator related note

main
Nemo 1 year ago
parent 5e7af47f57
commit 3945039497
  1. 1
      .gitignore
  2. 10
      README.md
  3. 10
      openapi-generator-config.yml

1
.gitignore vendored

@ -0,0 +1 @@
src/

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

@ -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}
Loading…
Cancel
Save