Draft: OpenAPI schema -> REST routes -> GraphQL queries
What does this MR do and why?
See: #363795
This is an alternative implementation of !88605 in Workhorse instead of Rails. It has an additional benefit of backing the REST endpoint definitions with an OpenAPI specification.
This "schema first" approach can be extended to define all the existing endpoints Workhorse handles, replacing all the hardcoded routes in upstream/routes.go
with automatic code generation.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.