Forum Discussion

jshowalter's avatar
jshowalter
Occasional Contributor
5 years ago

Are readonly and writeonly implemented for Java code generation?

Last year, we added readOnly in api.json for a service, invoked the CLI via io.swagger.codegen.SwaggerCodegen, and it didn't work. We wound up having to fork the code and make changes to OpenAPIDese...
  • jshowalter's avatar
    5 years ago

    It's natively supported. We were using an old version. It turns out we don't need to fork anything.