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
mkrussel
05/11/2023, 4:36 PM
I've done something like `[List]<[io.bkbn.sourdough.clients.models.ApiKeysListResponseItem]>`Not if the