Open AniketK-Crest opened 1 year ago
have you tested with other generators such as java
, csharp-netcore
to see if the issue impacts other generators as well?
Hi @wing328,
I tried with java
, python
, ruby
, csharp-netcore
, and go-server
. it successfully generates the ruby client and go server but fails with others.
Some option to fix this problem in 6.6.0?
Bug Report Checklist
Description
I have provided a minimal version of the schema below with what I am facing the issue. In a way, it is similar to https://github.com/OpenAPITools/openapi-generator/issues/4904. It works fine if I remove one of the items from AllOf from any attribute or remove the discriminator. However, I do not own the schema so it would not be possible for me to modify it.
Below is the error that I am getting:
openapi-generator version
6.2.0
OpenAPI declaration file content
Generation Details
Steps to reproduce
Related issues/PRs
https://github.com/OpenAPITools/openapi-generator/issues/4904 https://github.com/OpenAPITools/openapi-generator/pull/4906 https://github.com/OpenAPITools/openapi-generator/issues/5229
Suggest a fix