-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot generate codes from multiple yaml #27
Comments
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: