Is there a standard way to document map properties in Groovy?
For the following function the config contains multiple optional properties like:
ignore
dir
tags
def publish(Map config) {
config.ignore ?= true
// ...
}
I looked at What is the standard way to use JavaDoc to document a Map? ; however, this doesn't work with dynamic Maps. Ideally I'm looking for something like JSDoc's @typedef
or @property
.