-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.1, 10.2
-
Component/s: Rest API
-
Tags:
-
Backlog priority:500
-
Browser:
The definition in 'paramtypes/username.ftl' defines 'userName'. 'oauth2.ftl' path references are broken, they should be changed from 'username' to 'userName'. Other endpoints use this paramtype - oauth2.ftl is the only template that incorrectly uses this parameter.
'username' path reference:
https://github.com/nuxeo/nuxeo/blob/10.3-SNAPSHOT/nuxeo-features/rest-api/nuxeo-rest-api-server/src/main/resources/skin/views/doc/paramtypes/username.ftl