Open hkawa608 opened 2 years ago
I've seen others using https://www.npmjs.com/package/openapi-merge to merge multiple specs into a single one as a workaround. You may also want to give it a try.
I found a fundamental solution and made a PR. Would you review the PR? https://github.com/OpenAPITools/openapi-generator-bazel/pull/31
My openapi.yaml refers other files such as
components/schemas/definitions.yaml
. However,openapi-generator-bazel
seems to support only all-in-one yaml. Because only openapi.yaml is copied under bazel sandbox folder, code generation fails due to failure of loading RELATIVE ref: ./components/schemas/definitions.yaml.How can I generate codes from openapi.yaml which consists of multiple yaml files?