Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-24261

Have Swagger/REST tell why execute isn't accepted

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: REST, UI
    • Labels:
      None

      Description

      I noticed if I create a malformed REST entry (for example, below when creating a tag, see comma on end of line 2), you can click execute but nothing will happen. There's no entry in the nexus.log nor in the UI. I feel like this could be better somehow giving some clue why other than making it look potentially like REST is broken.

      {
      "name": "restcreated",
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jtom Joe Tom
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                tigCommentSecurity.panel-title