diff options
author | Aurelien Poscia <aurelien.poscia@sonarsource.com> | 2022-06-08 11:01:18 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-06-09 20:03:15 +0000 |
commit | ce2bdbc131e978ee12a8e526f1beec05273c34d7 (patch) | |
tree | 0e987271429eec2c548ba77f8c57cc2035e4b90e /sonar-ws | |
parent | cb8b5693d2b7c64f6ef69fc50040b9e2f81cdb33 (diff) | |
download | sonarqube-ce2bdbc131e978ee12a8e526f1beec05273c34d7.tar.gz sonarqube-ce2bdbc131e978ee12a8e526f1beec05273c34d7.zip |
SONAR-16364 Do not return rule descriptions in case the field is not requested
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-rules.proto | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto index 76ee26ae340..072031faddd 100644 --- a/sonar-ws/src/main/protobuf/ws-rules.proto +++ b/sonar-ws/src/main/protobuf/ws-rules.proto @@ -122,7 +122,11 @@ message Rule { optional sonarqube.ws.commons.RuleScope scope = 46; optional bool isExternal = 47; optional DeprecatedKeys deprecatedKeys = 48; - repeated DescriptionSection descriptionSections = 49; + optional DescriptionSections descriptionSections = 49; + + message DescriptionSections { + repeated DescriptionSection descriptionSections = 1; + } message DescriptionSection { required string key = 1; |