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:SchemaLoader
Loads a JSON schema.- Specified by:
load
in interfaceSchemaLoader
- Returns:
- a
Schema
object representing the loaded JSON schema
-