Class FileLoader
java.lang.Object
io.micronaut.jsonschema.generator.loaders.FileLoader
- All Implemented Interfaces:
SchemaLoader
Loads a JSON schema from a file.
This class implements the
SchemaLoader interface and provides the functionality
to load a JSON schema from a local file.- Author:
- Elif Kurtay
-
Field Summary
Fields inherited from interface io.micronaut.jsonschema.generator.loaders.SchemaLoader
JSON_MAPPER -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileLoader
-
-
Method Details
-
load
Description copied from interface:SchemaLoaderLoads a JSON schema.- Specified by:
loadin interfaceSchemaLoader- Returns:
- a
Schemaobject representing the loaded JSON schema
-