You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Activity
wing328 commentedon Dec 4, 2021
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.
hkawa608 commentedon Dec 8, 2021
I found a fundamental solution and made a PR.
Would you review the PR?
#31