Skip to content

Commit 848aca2

Browse files
authored
chore(release): v0.6.0
1 parent 7f0198a commit 848aca2

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

API.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
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)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)