Commit b3534942a5447e1e7f4419803e3ee2dd1796c68b

Authored by Andrii Shvaika
1 parent a26d4675

Entity Id and Swagger description

@@ -849,7 +849,7 @@ swagger: @@ -849,7 +849,7 @@ swagger:
849 security_path_regex: "${SWAGGER_SECURITY_PATH_REGEX:/api/.*}" 849 security_path_regex: "${SWAGGER_SECURITY_PATH_REGEX:/api/.*}"
850 non_security_path_regex: "${SWAGGER_NON_SECURITY_PATH_REGEX:/api/(?:noauth|v1)/.*}" 850 non_security_path_regex: "${SWAGGER_NON_SECURITY_PATH_REGEX:/api/(?:noauth|v1)/.*}"
851 title: "${SWAGGER_TITLE:ThingsBoard REST API}" 851 title: "${SWAGGER_TITLE:ThingsBoard REST API}"
852 - description: "${SWAGGER_DESCRIPTION:For instructions how to authorize requests please visit <a href='http://thingsboard.io/docs/reference/rest-api/'>REST API documentation page</a>.}" 852 + description: "${SWAGGER_DESCRIPTION: ThingsBoard open-source IoT platform REST API documentation.}"
853 contact: 853 contact:
854 name: "${SWAGGER_CONTACT_NAME:Thingsboard team}" 854 name: "${SWAGGER_CONTACT_NAME:Thingsboard team}"
855 url: "${SWAGGER_CONTACT_URL:http://thingsboard.io}" 855 url: "${SWAGGER_CONTACT_URL:http://thingsboard.io}"
@@ -36,10 +36,10 @@ public interface EntityId extends HasUUID, Serializable { //NOSONAR, the constan @@ -36,10 +36,10 @@ public interface EntityId extends HasUUID, Serializable { //NOSONAR, the constan
36 36
37 UUID NULL_UUID = UUID.fromString("13814000-1dd2-11b2-8080-808080808080"); 37 UUID NULL_UUID = UUID.fromString("13814000-1dd2-11b2-8080-808080808080");
38 38
39 - @ApiModelProperty(position = 1, required = true, value = "string", example = "784f394c-42b6-435a-983c-b7beff2784f9") 39 + @ApiModelProperty(position = 1, required = true, value = "ID of the entity, time-based UUID v1", example = "784f394c-42b6-435a-983c-b7beff2784f9")
40 UUID getId(); 40 UUID getId();
41 41
42 - @ApiModelProperty(position = 2, required = true, value = "string", example = "DEVICE") 42 + @ApiModelProperty(position = 2, required = true, example = "DEVICE")
43 EntityType getEntityType(); 43 EntityType getEntityType();
44 44
45 @JsonIgnore 45 @JsonIgnore