Add icon and publish time to tool

This commit is contained in:
2024-01-26 17:31:26 +08:00
parent a66c5caa60
commit 3dc935a98a
7 changed files with 121 additions and 63 deletions

View File

@@ -38,6 +38,16 @@ data class ToolCreateParam(
)
val toolId: String?,
/**
* Icon
*
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
*/
@Schema(description = "图标", required = true)
@field: NotBlank(message = "Icon can not be blank")
val icon: String?,
/**
* Description
*