File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed
Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 3131<dt ><a href =" #JsonSchemaInputProcessor " >JsonSchemaInputProcessor</a ></dt >
3232<dd ><p >Class for processing JSON Schema</p >
3333</dd >
34+ <dt ><a href =" #LoggerClass " >LoggerClass</a ></dt >
35+ <dd ><p >Logger class for the model generation library</p >
36+ <p >This class acts as a forefront for any external loggers which is why it also implements the interface itself.</p >
37+ </dd >
3438</dl >
3539
3640## Functions
@@ -516,6 +520,25 @@ Simplifies a JSON Schema into a common models
516520| --- | --- |
517521| schema | to simplify to common model |
518522
523+ <a name =" LoggerClass " ></a >
524+
525+ ## LoggerClass
526+ Logger class for the model generation library
527+
528+ This class acts as a forefront for any external loggers which is why it also implements the interface itself.
529+
530+ ** Kind** : global class
531+ <a name =" LoggerClass+setLogger " ></a >
532+
533+ ### loggerClass.setLogger(logger)
534+ Sets the logger to use for the model generation library
535+
536+ ** Kind** : instance method of [ <code >LoggerClass</code >] ( #LoggerClass )
537+
538+ | Param | Description |
539+ | --- | --- |
540+ | logger | to add |
541+
519542<a name =" simplify " ></a >
520543
521544## simplify(schema)
Original file line number Diff line number Diff line change 11{
22 "name" : " @asyncapi/generator-model-sdk" ,
3- "version" : " 0.5.1 " ,
3+ "version" : " 0.6.0 " ,
44 "description" : " The Model SDK for generating data models" ,
55 "license" : " Apache-2.0" ,
66 "homepage" : " https://github.com/asyncapi/generator-model-sdk" ,
You can’t perform that action at this time.
0 commit comments