Fix UUID wiki url
This commit is contained in:
parent
f7aa8cc7ce
commit
3e39791ed0
@ -18,7 +18,7 @@ package org.thingsboard.server.controller;
|
||||
public class ControllerConstants {
|
||||
|
||||
protected static final String NEW_LINE = "\n\n";
|
||||
protected static final String UUID_WIKI_LINK = "[time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address%29) ";
|
||||
protected static final String UUID_WIKI_LINK = "[time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). ";
|
||||
protected static final int DEFAULT_PAGE_SIZE = 1000;
|
||||
protected static final String ENTITY_TYPE = "entityType";
|
||||
protected static final String CUSTOMER_ID = "customerId";
|
||||
|
||||
@ -60,6 +60,7 @@ import static org.thingsboard.server.controller.ControllerConstants.SORT_ORDER_D
|
||||
import static org.thingsboard.server.controller.ControllerConstants.SORT_PROPERTY_DESCRIPTION;
|
||||
import static org.thingsboard.server.controller.ControllerConstants.TENANT_AUTHORITY_PARAGRAPH;
|
||||
import static org.thingsboard.server.controller.ControllerConstants.TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH;
|
||||
import static org.thingsboard.server.controller.ControllerConstants.UUID_WIKI_LINK;
|
||||
|
||||
@RestController
|
||||
@TbCoreComponent
|
||||
@ -136,7 +137,7 @@ public class CustomerController extends BaseController {
|
||||
}
|
||||
|
||||
@ApiOperation(value = "Create or update Customer (saveCustomer)",
|
||||
notes = "Creates or Updates the Customer. When creating customer, platform generates Customer Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address) " +
|
||||
notes = "Creates or Updates the Customer. When creating customer, platform generates Customer Id as " + UUID_WIKI_LINK +
|
||||
"The newly created Customer Id will be present in the response. " +
|
||||
"Specify existing Customer Id to update the Customer. " +
|
||||
"Referencing non-existing Customer Id will cause 'Not Found' error." + TENANT_AUTHORITY_PARAGRAPH)
|
||||
|
||||
@ -86,6 +86,7 @@ import static org.thingsboard.server.controller.ControllerConstants.TENANT_AUTHO
|
||||
import static org.thingsboard.server.controller.ControllerConstants.TENANT_ID;
|
||||
import static org.thingsboard.server.controller.ControllerConstants.TENANT_ID_PARAM_DESCRIPTION;
|
||||
import static org.thingsboard.server.controller.ControllerConstants.TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH;
|
||||
import static org.thingsboard.server.controller.ControllerConstants.UUID_WIKI_LINK;
|
||||
|
||||
@RestController
|
||||
@TbCoreComponent
|
||||
@ -166,7 +167,7 @@ public class DashboardController extends BaseController {
|
||||
}
|
||||
|
||||
@ApiOperation(value = "Create Or Update Dashboard (saveDashboard)",
|
||||
notes = "Create or update the Dashboard. When creating dashboard, platform generates Dashboard Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)." +
|
||||
notes = "Create or update the Dashboard. When creating dashboard, platform generates Dashboard Id as " + UUID_WIKI_LINK +
|
||||
"The newly created Dashboard id will be present in the response. " +
|
||||
"Specify existing Dashboard id to update the dashboard. " +
|
||||
"Referencing non-existing dashboard Id will cause 'Not Found' error. " +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user