Merge pull request #8595 from Mr-Mime/master
[3.5.1] Fix api documentation
This commit is contained in:
commit
001d55fa0d
@ -406,7 +406,7 @@ public class UserController extends BaseController {
|
|||||||
public void setUserCredentialsEnabled(
|
public void setUserCredentialsEnabled(
|
||||||
@ApiParam(value = USER_ID_PARAM_DESCRIPTION)
|
@ApiParam(value = USER_ID_PARAM_DESCRIPTION)
|
||||||
@PathVariable(USER_ID) String strUserId,
|
@PathVariable(USER_ID) String strUserId,
|
||||||
@ApiParam(value = "Disable (\"true\") or enable (\"false\") the credentials.", defaultValue = "true")
|
@ApiParam(value = "Enable (\"true\") or disable (\"false\") the credentials.", defaultValue = "true")
|
||||||
@RequestParam(required = false, defaultValue = "true") boolean userCredentialsEnabled) throws ThingsboardException {
|
@RequestParam(required = false, defaultValue = "true") boolean userCredentialsEnabled) throws ThingsboardException {
|
||||||
checkParameter(USER_ID, strUserId);
|
checkParameter(USER_ID, strUserId);
|
||||||
UserId userId = new UserId(toUUID(strUserId));
|
UserId userId = new UserId(toUUID(strUserId));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user