From 06f3e12a8779b6b48751c86e34f44d77e16bd37d Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Fri, 21 Jun 2024 19:36:53 +0200 Subject: [PATCH] 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 --- zuul.d/project.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index d8f56d94e4..00350a5c05 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -32,6 +32,9 @@ voting: false - manila-tox-bandit: voting: false + # Test OpenAPI spec generation. + - codegenerator-openapi-shared-file-system-tips-with-api-ref: + voting: false gate: jobs: - manila-tempest-plugin-dummy-no-dhss