Class TypeDefinitionYamlDocument
java.lang.Object
com.xebialabs.xlplatform.synthetic.yaml.TypeDefinitionYamlDocument
Loads type definitions in Yaml and exposes them in the same format as
SyntheticXmlDocument
to be picked up by the TypeSystemBootstrapper.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetTypes()static TypeDefinitionYamlDocumentstatic TypeDefinitionYamlDocumentstatic List<com.networknt.schema.Error> validateYaml(String file) static List<com.networknt.schema.Error> validateYaml(URL yaml)
-
Field Details
-
YAML_PARSER
public static final tools.jackson.databind.ObjectMapper YAML_PARSER
-
-
Method Details
-
getTypes
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
validateYaml
- Throws:
IOException
-
validateYaml
- Throws:
IOException
-