Class SchemaParser
java.lang.Object
express.mvp.myra.codec.schema.SchemaParser
Parses .myra.yml schema files into
SchemaDefinition instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParse the schema file at the given path.
-
Constructor Details
-
SchemaParser
public SchemaParser()
-
-
Method Details
-
parse
Parse the schema file at the given path.- Parameters:
schemaPath- the path to the .myra.yml file- Returns:
- the parsed schema definition
- Throws:
IOException- if the file cannot be read or parsed
-