Documentation
¶
Index ¶
Constants ¶
View Source
const LanguageRef = "jsonschema"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Definition ¶
type Definition = *orderedmap.Map[string, any]
type Language ¶
type Language struct {
// contains filtered or unexported fields
}
func (*Language) CompilerPasses ¶
type Schema ¶
type Schema struct {
Config Config
ReferenceFormatter func(ref ast.RefType) string
// OpenAPI3Compatible dictates whether the generated JSONSchema will be compatible with OpenAPI 3.0,
// rather than JSONSchema (OpenAPI 3.1 is fully compatible with JSON Schema)
OpenAPI3Compatible bool
// contains filtered or unexported fields
}
func (Schema) GenerateSchema ¶
Click to show internal directories.
Click to hide internal directories.