-
|
I need to produce a schema with properties that has description. I was not able to locate a configuration in maven-plugin that allows me to achieve this. For example, something like this will be very useful: I tried to create a custom ModelReader to populate the description fields from some code parts like JavaDoc, but couldn't find any relevant example. The closest I was able to get is the AirLine example under TCK project. I think I can see where I can add the description. However, trying to produce a whole So my question is two folds:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
@malakeel I think what you're looking for is the Note that there isn't currently any way to get the JavaDoc text, however. |
Beta Was this translation helpful? Give feedback.
-
|
@MikeEdgar |
Beta Was this translation helpful? Give feedback.
You could also use the
@Schemaannotation, which has adescriptionproperty. You would set that annotation directly on the fields/methods that correspond to the schema properties.