swagger-codegen-generators
swagger-codegen-generators copied to clipboard
Fix: replace wrong template variable readOnly with isReadOnly
In few templates, the template variable readOnly is used, which is not defined.
Instead, isReadOnly is the defined template variable.
This PR fixes that by replacing occurrences of the undefined template variable readOnly with the defined isReadOnly.
Fix https://github.com/swagger-api/swagger-codegen-generators/issues/1017