Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Benjamin Marwell
    Hi! :)
    It seems an earlier spec had an annotation @JsonbValue (https://github.com/json-binding/spec/blob/master/api/src/main/java/javax/json/bind/annotation/JsonbValue.java). Are there any alternatives besides custom type adapters?
    My concern is: I would like to create a wrapper for each type (e.g. Version.java which only contains String getValue()). But I want mpOpenAPI to render this as a string, not as an object.
    Is this possible?