Generate OpenAPI of API bindings for OpenStack services
24de073958
python docstrings are assumed to be RST, while for OpenAPI we need MD. Convert controller description from rst->html->md using docutils. Change-Id: I04acab45f5cf9d05b5d7158e484a14c4343bdb24 |
||
---|---|---|
codegenerator | ||
doc | ||
playbooks/openapi | ||
releasenotes | ||
tools | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
.pre-commit-config.yaml | ||
.stestr.conf | ||
bindep.txt | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
OpenStack CodeGenerator
Primary goal of the project is to simplify maintainers life by generating complete or at least parts of the code.
OpenApi Schema
CodeGenerator is able to generate OpenAPI specs for certain services by inspecting their code. This requires service package being installed in the environment where the generator is running. It then tries to initialize service application and for supported runtimes scans for the exposed operations. At the moment following services are covered:
- Nova
- Neutron
- Cinder
- Glance
- Keystone
- Octavia