aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main/protobuf')
-rw-r--r--sonar-ws/src/main/protobuf/ws-commons.proto8
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto6
2 files changed, 7 insertions, 7 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-commons.proto b/sonar-ws/src/main/protobuf/ws-commons.proto
index 6a0aa87bfe0..fee84a0680c 100644
--- a/sonar-ws/src/main/protobuf/ws-commons.proto
+++ b/sonar-ws/src/main/protobuf/ws-commons.proto
@@ -75,14 +75,14 @@ message User {
// Lines start at 1 and line offsets start at 0
message TextRange {
// Start line. Should never be absent
- optional int32 start_line = 1;
+ optional int32 startLine = 1;
// End line (inclusive). Absent means it is same as start line
- optional int32 end_line = 2;
+ optional int32 endLine = 2;
// If absent it means range starts at the first offset of start line
- optional int32 start_offset = 3;
+ optional int32 startOffset = 3;
// If absent it means range ends at the last offset of end line
- optional int32 end_offset = 4;
+ optional int32 endOffset = 4;
}
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index e7a385c7d52..fbe07c8ad06 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -69,7 +69,7 @@ message Issue {
optional string project = 6;
optional string subProject = 7;
optional int32 line = 8;
- optional Location location = 9;
+ optional sonarqube.ws.commons.TextRange textRange = 9;
repeated Location secondaryLocations = 10;
repeated ExecutionFlow executionFlows = 11;
optional string resolution = 12;
@@ -107,9 +107,9 @@ message ExecutionFlow {
}
message Location {
- optional string component_id = 1;
+ optional string componentId = 1;
// Only when component is a file. Can be empty for a file if this is an issue global to the file.
- optional sonarqube.ws.commons.TextRange text_range = 2;
+ optional sonarqube.ws.commons.TextRange textRange = 2;
optional string msg = 3;
}