[英]How do you document the mandatory presence of a header?
I know, there is jsdoc documentation, but I could not find my answer there, so I apologize if my question seems stupid.我知道,有 jsdoc 文档,但我在那里找不到我的答案,所以如果我的问题看起来很愚蠢,我深表歉意。 I need the API documentation to indicate the need for the x-auth-token header with the value of the previously obtained token.
我需要 API 文档来表明需要x-auth-token header 和先前获得的令牌的值。 How to do it?
怎么做?
In the end, I chose a simpler and more understandable library for API documentation - apidocjs.最后,我为API文档选择了一个更简单易懂的库——apidocjs。 Another library that I also liked is OpenAPI
我也喜欢的另一个库是 OpenAPI
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.