Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5287

Improve "/api/sources/show"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.4
    • Component/s: Web API
    • Labels:
      None

      Description

      The response format of this WS should be :

      {
        "sources": [
          [20, "<span class=\"k\">package </span>org.sonar.check;"],
          [21, ""],
          [22, "<span class=\"k\">public </span><span class=\"k\">enum </span><span class=\"sym-922 sym\">Priority</span> {"],
          [23, "  <span class=\"cppd\">/**</span>"],
          [24, "<span class=\"cppd\">   * WARNING : DO NOT CHANGE THE ENUMERATION ORDER</span>"],
          [25, "<span class=\"cppd\">   * the enum ordinal is used for db persistence</span>"]
        ]
      }
      

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            julien.lancelot Julien Lancelot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: