Class GeneratorMain
java.lang.Object
io.micronaut.jsonschema.generator.GeneratorMain
An entry point to be used in tests, to simulate
what the Source Generation from Json Schema plugin would do.
- Author:
- Elif Kurtay
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GeneratorMain
public GeneratorMain()
-
-
Method Details
-
main
The main executable.- Parameters:
args
- The argument array, consisting of:- URL of input jsonfile.
- Input jsonfile location.
- Input Path to folder of json schema.
- The generation language.
- The output path and package name.
- An optional file name in case there is only one output file desired.
- An optional List of String that has allowed URL patterns that are accepted for the references inside the schema
- Throws:
IOException
- In case definition file path is incorrect.
-