Add OpenAPI generation job

We want to start adding jsonschemas to the codebase of Manila in order
to be able to have a complete OpenAPI spec generated from the sources.
This is not always easy to judge whether the schema is looking good or
not (when corresponding validations are missing) therefore call a job
from codegenerator that generates OpenAPI. This gives possibility of
seeing how the spec is looking like and also visually compare result
with the expectation. Next step would be to add another job trying to
render API-Ref html docs from such an OpenAPI spec. Once all the
required information lands in the sources we could replace human written
API-Ref with the one generated from OpenAPI.

Change-Id: Ib7b99ed85541b9eb965f7a9941eadeffd8c7f3d9
This commit is contained in:
Artem Goncharov 2024-06-21 19:36:53 +02:00
parent 0999857c47
commit 06f3e12a87

View File

@ -32,6 +32,9 @@
voting: false voting: false
- manila-tox-bandit: - manila-tox-bandit:
voting: false voting: false
# Test OpenAPI spec generation.
- codegenerator-openapi-shared-file-system-tips-with-api-ref:
voting: false
gate: gate:
jobs: jobs:
- manila-tempest-plugin-dummy-no-dhss - manila-tempest-plugin-dummy-no-dhss