Fix:3; Refactor:2; Feat3; Docs:1 #23
@@ -38,7 +38,7 @@ data class ToolCreateParam(
|
|||||||
@field: NotBlank(message = "ToolId can not be blank")
|
@field: NotBlank(message = "ToolId can not be blank")
|
||||||
@field: Pattern(
|
@field: Pattern(
|
||||||
regexp = "^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$",
|
regexp = "^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$",
|
||||||
message = "Ver can only match '^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$'"
|
message = "ToolId can only match '^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$'"
|
||||||
)
|
)
|
||||||
var toolId: String?,
|
var toolId: String?,
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ data class ToolUpgradeParam(
|
|||||||
@field: NotBlank(message = "ToolId can not be blank")
|
@field: NotBlank(message = "ToolId can not be blank")
|
||||||
@field: Pattern(
|
@field: Pattern(
|
||||||
regexp = "^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$",
|
regexp = "^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$",
|
||||||
message = "Ver can only match '^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$'"
|
message = "ToolId can only match '^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$'"
|
||||||
)
|
)
|
||||||
var toolId: String?,
|
var toolId: String?,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user