我想在描述中加一个换行符。但是我找不到合适的语法。
我想要实现的是所有这些3 @apiError将组合在同一个组件下。
@apiError [(group)] [{type}] field [description]
@apiError {String} 400 1 or more parameters is empty.
@apiError {String} 400 Your account is suspended.
@apiError {String} 400 Your account not found.参考:http://apidocjs.com/#param-api-error
也许像这样的技巧可以做到,但我还没有测试它。
@apiError {String} 400 1 or more parameters is empty. <br> Your account is suspended. <br> Your account not found.谢谢。
发布于 2019-09-03 15:27:56
更新..此语法有效。
@apiError {String} 400 1 or more parameters is empty <br> Your account is suspended <br> Your account not found.https://stackoverflow.com/questions/57765220
复制相似问题