Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: 3.24.0
-
Fix Version/s: 3.24.0
-
Component/s: Repository, REST
-
Labels:
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
Issue Links
- relates
-
NEXUS-25475 Repositories REST API has inconsistent field handling for write policy
-
- New
-