如何通过web访问扩展规则描述API?
How to access extended rule description through web API?
我正在使用 SonarQube 6.7.6。我尝试通过网络访问扩展规则描述 API.
我通过 api/rules/show
资源访问具有 an extended description 的规则,然后我查看 htmlDesc
响应字段,但该字段不包含我的扩展描述。
有人知道怎么做吗?
我在这里引用来自 SQ 社区论坛的 G Ann Campbell 的回答:
This is working for me in the latest version.
Speaking of which, 6.7.6 has some age on it at this point. The current version is 8.0 (8.1 to drop any day now) and the current LTS is 7.9.1. You should upgrade at your earliest convenience.
https://community.sonarsource.com/t/how-to-access-extended-rule-description-through-web-api/17500/2
我正在使用 SonarQube 6.7.6。我尝试通过网络访问扩展规则描述 API.
我通过 api/rules/show
资源访问具有 an extended description 的规则,然后我查看 htmlDesc
响应字段,但该字段不包含我的扩展描述。
有人知道怎么做吗?
我在这里引用来自 SQ 社区论坛的 G Ann Campbell 的回答:
This is working for me in the latest version. Speaking of which, 6.7.6 has some age on it at this point. The current version is 8.0 (8.1 to drop any day now) and the current LTS is 7.9.1. You should upgrade at your earliest convenience.
https://community.sonarsource.com/t/how-to-access-extended-rule-description-through-web-api/17500/2