Add auto publish to tool management api

This commit is contained in:
2024-02-04 01:58:55 +08:00
parent 9692550198
commit c751b0984c
5 changed files with 46 additions and 15 deletions

View File

@@ -0,0 +1,22 @@
package top.fatweb.oxygen.api.param.tool
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank
/**
* Pass tool in management parameters
*
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
*/
data class ToolManagementPassParam(
/**
* Dist
*
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
*/
@Schema(description = "产物")
@field:NotBlank(message = "Dist can not be blank")
val dist: String?
)