I use apiDoc for documenting Java and would like to use @apiParam to show that an input parameter can be of different types. For example:the type may be Map,Collection,Set,List and the like.How should I do?
Asked
Active
Viewed 263 times
1 Answers
0
Try below
@apiParam(allowableValues = "projects,issueTypes,projects;;;issueTypes", required = false, value = "You can specify one or more keys as comma separated list")

Async Code
- 51
- 9
-
Thank you for your answer very much!Maybe I don't clarify my question clearly enough.I'm sorry for that.My question is that suppose the specific type of parameter is Collection – bingoo Oct 07 '19 at 03:21