joelittlejohn / jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc

Home Page:http://www.jsonschema2pojo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to disable the set method for one field?

zjffdu opened this issue · comments

I have one field in my POJO with fixed value, and I don't want to expose the set method. Is there anyway to do that? Thanks