Not sure this is the right place to ask this, but ...
# dokka
r
Not sure this is the right place to ask this, but how do you document a collection of a type in KDoc? For example, I have a kdoc snippet with the following
Copy code
* Body can be one of the following types:
 * 	- [List<io.bkbn.sourdough.clients.models.ApiKeysListResponseItem>]
 * 	- [io.bkbn.sourdough.clients.models.GeneralError]
 */
The former does not seem to be recognized as a type hint, while the latter is (by intellij at least). What is the expected format in Kdoc for
List[MyType]
?
m
I've done something like `[List]<[io.bkbn.sourdough.clients.models.ApiKeysListResponseItem]>`Not if the
<
and
>
need to be escaped.
r
yep looks like that works, thanks!