hapi-swaggered
hapi-swaggered copied to clipboard
Inclusion of Joi schema notes
Joi schema provides the ability to annotate a Joi schema key with a note: https://github.com/hapijs/joi/blob/v8.0.4/API.md#anynotesnotes
What do you think about the feasibility of incorporating this information (when provided) in the generated swagger model spec somehow?
If it's not too unorthodox or surprising, perhaps notes could be prepended or appended to the description? Any other ideas?