Documentation ¶
Overview ¶
gen-schema generates OpenAPI v3 schema portions from code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OperationIDRE = regexp.MustCompile("^[a-zA-Z0-9]*$")
)
View Source
var PublicStructs = map[string]any{}/* 139 elements not displayed */
Functions ¶
This section is empty.
Types ¶
type CodeGen ¶
type CodeGen struct {
// contains filtered or unexported fields
}
func (*CodeGen) EnsureCorrectMethodsPerTag ¶
func (*CodeGen) GenerateSpecSchemas ¶
GenerateSpecSchemas creates OpenAPI schemas from code.
func (*CodeGen) ValidateProjectSpec ¶
Click to show internal directories.
Click to hide internal directories.