kubekey/config/file.go
liujian 9c87926929
feat: add web api (#2591)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-26 09:36:13 +00:00

10 lines
263 B
Go

package config
import "embed"
// Swagger embeds the swagger-ui directory containing the OpenAPI/Swagger documentation UI
// This allows serving the Swagger UI directly from the binary without needing external files
//
//go:embed swagger-ui
var Swagger embed.FS