Documentation
¶
Index ¶
- Constants
- func AllowsType(schema map[string]interface{}, want string) bool
- func IsJSONNumber(value interface{}) bool
- func SchemaTypes(raw interface{}) ([]string, error)
- func StringArray(raw interface{}) ([]string, error)
- func ValidateCapabilitySchema(schema map[string]interface{}, label string) error
- func ValidateInput(value interface{}, schema map[string]interface{}) error
- func ValidateInputSchema(schema map[string]interface{}) error
- func ValidateJSON(value interface{}, schema map[string]interface{}, label string) error
- func ValueMatchesJSONType(value interface{}, want string) bool
- type Violation
Constants ¶
View Source
const MaxDepth = 16
Variables ¶
This section is empty.
Functions ¶
func AllowsType ¶
func IsJSONNumber ¶
func IsJSONNumber(value interface{}) bool
func SchemaTypes ¶
func StringArray ¶
func ValidateInput ¶
func ValidateInputSchema ¶
func ValidateJSON ¶
func ValueMatchesJSONType ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.