Open mdulisch opened 6 years ago
@mdulisch: Thank you for your message. I have updated your message to format your spec. This goes like this on GitHub (without the spaces at the beginning of each line):
##### OpenAPI declaration file content
```json
<your json spec here>
Description
In line 58 ind the modelGeneric.mustache there is a problem with the read Only vars. The constructor of the parent does not have the read only Variables defined. But the base call does.
So if you have a read only property which inherited (allOf) by another class, the build will fail.
openapi-generator version
3.0.2
OpenAPI declaration file content or url
Command line used for generation
java -jar .\openapi-generator-cli-3.0.2.jar generate --generator-name csharp -i .\swagger.json -o ./out
Steps to reproduce
try to build the result :-)
Related issues/PRs
Suggest a fix/enhancement
rename parentVars in parentReadWriteVars in the file mentioned above.