This repository contains client libraries for the ChRIS backend created using the OpenAPI generator.
Package | Language | Description |
---|---|---|
aiochris-oag | Python | Python client based on asyncio and aiohttp. |
chris-oag | Python | Python client based on urllib3. |
It would be nice for this to be fully automated, but currently it is not. FNNDSC/ChRIS_ultron_backEnd#587
When a breaking release is made in https://github.com/FNNDSC/ChRIS_ultron_backEnd...
git clone git@github.com:FNNDSC/openapi-clients.git
cd openapi-clients
echo "1.2.3" > version.txt # increase the value of version.txt as appropriate
just # regenerate all client code
git add -A
git commit -m "Version $(< version.txt)"
git push origin main
Many other generators are available. See the list here: https://openapi-generator.tech/docs/generators
To add a generator, create a YAML configuration file for it in configs
.