]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-11457 Fix invalid json in api response example
authorBenoit <43733395+benoit-sns@users.noreply.github.com>
Wed, 5 Dec 2018 08:14:47 +0000 (09:14 +0100)
committerSonarTech <sonartech@sonarsource.com>
Wed, 5 Dec 2018 19:20:58 +0000 (20:20 +0100)
server/sonar-server/src/main/resources/org/sonar/server/issue/ws/component-tags-example.json
server/sonar-server/src/main/resources/org/sonar/server/projectanalysis/ws/create_event-example.json
server/sonar-server/src/main/resources/org/sonar/server/projectanalysis/ws/update_event-example.json
server/sonar-server/src/main/resources/org/sonar/server/source/ws/lines-example.json

index 3e00535cb055131fb2ee387a5288ce3b4b603b24..f2c89f9c7090d9d771c59c793450fe9016a1906f 100644 (file)
@@ -1,7 +1,7 @@
 {
   "tags": [
-    { key: "convention", value: 42 },
-    { key: "cwe", value: 12 },
-    { key: "security", value: 5 }
+    { "key": "convention", "value": 42 },
+    { "key": "cwe", "value": 12 },
+    { "key": "security", "value": 5 }
   ]
-}
\ No newline at end of file
+}
index 2c4917e3e5866bf2c90bb3590d6da54b270eb2e7..f728e0a09bd55e8b630f9ad185242f649206522b 100644 (file)
@@ -3,6 +3,6 @@
     "analysis": "A2",
     "key": "E1",
     "category": "OTHER",
-    "name": "My Custom Event",
+    "name": "My Custom Event"
   }
 }
index 2c4917e3e5866bf2c90bb3590d6da54b270eb2e7..f728e0a09bd55e8b630f9ad185242f649206522b 100644 (file)
@@ -3,6 +3,6 @@
     "analysis": "A2",
     "key": "E1",
     "category": "OTHER",
-    "name": "My Custom Event",
+    "name": "My Custom Event"
   }
 }
index 32c2b3ab91b30143f97c328e98c2f1311aae80bb..3ecb866a8cd3df616664075393ad7f7b1e6208d5 100644 (file)
@@ -1,10 +1,10 @@
 {
   "sources": [
-    {"line": 20, "code": "<span class=\"k\">package </span>org.sonar.check;", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":false],
-    {"line": 21, "code":"", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5"],
-    {"line": 22, "code":"<span class=\"k\">public </span><span class=\"k\">enum </span><span class=\"sym-922 sym\">Priority</span> {", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":true],
-    {"line": 23, "code":"  <span class=\"cppd\">/**</span>", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":false],
-    {"line": 24, "code":"<span class=\"cppd\">   * WARNING : DO NOT CHANGE THE ENUMERATION ORDER</span>", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":false],
-    {"line": 25, "code":"<span class=\"cppd\">   * the enum ordinal is used for db persistence</span>", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":false]
+    {"line": 20, "code": "<span class=\"k\">package </span>org.sonar.check;", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":false},
+    {"line": 21, "code":"", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5"},
+    {"line": 22, "code":"<span class=\"k\">public </span><span class=\"k\">enum </span><span class=\"sym-922 sym\">Priority</span> {", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":true},
+    {"line": 23, "code":"  <span class=\"cppd\">/**</span>", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":false},
+    {"line": 24, "code":"<span class=\"cppd\">   * WARNING : DO NOT CHANGE THE ENUMERATION ORDER</span>", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":false},
+    {"line": 25, "code":"<span class=\"cppd\">   * the enum ordinal is used for db persistence</span>", "scmAuthor": "simon.brandhof@sonarsource.com", "scmDate": "2011-01-02T12:34:56+0100", "scmRevision":"a1e2b3e5d6f5", "isNew":false}
   ]
 }