hapi-docs
hapi-docs copied to clipboard
add allowed values for attributes
This adds support for a list of valid or .allow() parameters for a path, query, or param attribute, which is essential when producing docs for third parties.
This covers two items from https://github.com/SurveyLegend/hapi-docs/issues/7
Thank you for this contribution, we decided to merge it locally instead to save time and hassle. We did end up using your code. Much appreciated.