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

beta/repositories/{format}/hosted/{repositoryName} has invalid parameters in example

    XMLWordPrintable

    Details

      Description

      The documentation for the api uses the example:
      "writePolicy": "allow_once"
      But when using this option and value it produces the following error:

      String "allow_once": value not one of declared Enum instance names: [ALLOW, DENY, ALLOW_ONCE]

      Lowercase versions of parameters should still be valid unless they are proper names for repository names. But since this is an enum, allow_once should equal ALLOW_ONCE. Both should be converted to lowercase and then compared.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jackemuk Gary Jackemuk
            Last Updated By:
            Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title