Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONSchema ¶
type JSONSchemaList ¶
type JSONSchemaList []JSONSchema
func (JSONSchemaList) ToString ¶
func (l JSONSchemaList) ToString() (string, error)
type JSONSchemaResolver ¶
type JSONSchemaResolver struct {
// contains filtered or unexported fields
}
func NewJSONSchemaResolver ¶
func NewJSONSchemaResolver(loaderConfig *lsjsonschema.LoaderConfig, maxRefDepth int) *JSONSchemaResolver
func (*JSONSchemaResolver) Resolve ¶
func (r *JSONSchemaResolver) Resolve(schema *lsv1alpha1.JSONSchemaDefinition) (JSONSchemaList, error)
returns a list of jsonschemas. the first element in the list is the initial jsonschema itself. all subsequent schemas in the list are the resolved schemas that are referenced via "$ref".
Click to show internal directories.
Click to hide internal directories.