William Cheng
William Cheng
https://github.com/swagger-api/swagger-parser (We filed some PRs to https://github.com/swagger-api/swagger-parser before and since it took some time to review, we were using https://github.com/OpenAPITools/swagger-parser before those PRs got merged)
What about the other way around by using .openapi-generator-ignore to skip files you don't want to generate? Ref: https://github.com/OpenAPITools/openapi-generator/blob/master/docs/customization.md#ignore-file-format
openapi-geneator-ignore was implemented by @jimschubert . You can support his work directly via https://www.patreon.com/jimschubert
@zipper2110 may I know if you can contribute a PR to start with?
@janslow thanks for reporting the issue. May I know if you've time to contribute the fix?
We do have test cases to cover this. Can you please try the latest master to see if the issue still occurs? Snapshot version available at https://github.com/swagger-api/swagger-codegen#compatibility
@ydgiannp do you mind sharing the spec (e.g. via gist.github.com) so that we can more easily reproduce the issue?
@ydgiannp @prsnca if you guys have time to contribute the fix, let me know and I can show you some good starting points.
@prsnca thanks for sharing the workaround.
My apologies for late reply on this. I would vote for (1) adding `build_from_hash`