hapi-swaggered icon indicating copy to clipboard operation
hapi-swaggered copied to clipboard

Inclusion of Joi schema notes

Open jonesdhtx opened this issue 8 years ago • 0 comments

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?

jonesdhtx avatar Mar 15 '16 15:03 jonesdhtx