Skip to content

Commit

Permalink
chore(release): v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot authored Jun 16, 2021
1 parent 9296f51 commit aebdb2b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 6 deletions.
42 changes: 38 additions & 4 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
<dt><a href="#interpretConst">interpretConst(schema, model)</a></dt>
<dd><p>Interpreter function for JSON Schema draft 7 const keyword.</p>
</dd>
<dt><a href="#interpretDependencies">interpretDependencies(schema, model)</a></dt>
<dd><p>Interpreter function for JSON Schema draft 7 dependencies keyword.</p>
</dd>
<dt><a href="#interpretEnum">interpretEnum(schema, model)</a></dt>
<dd><p>Interpreter function for JSON Schema draft 7 enum keyword</p>
</dd>
Expand Down Expand Up @@ -83,8 +86,11 @@
<dt><a href="#ensureModelsAreSplit">ensureModelsAreSplit(model, iteratedModels)</a></dt>
<dd><p>Split up all models which should and use ref instead.</p>
</dd>
<dt><a href="#isModelObject">isModelObject()</a></dt>
<dd><p>check if CommonModel is a separate model or a simple model.</p>
<dt><a href="#isEnum">isEnum(model)</a></dt>
<dd><p>Check if CommonModel is an enum</p>
</dd>
<dt><a href="#isModelObject">isModelObject(model)</a></dt>
<dd><p>Check if CommonModel is a separate model or a simple model.</p>
</dd>
<dt><a href="#inferTypeFromValue">inferTypeFromValue(value)</a></dt>
<dd><p>Infers the JSON Schema type from value</p>
Expand Down Expand Up @@ -737,6 +743,18 @@ Interpreter function for JSON Schema draft 7 const keyword.
| schema |
| model |

<a name="interpretDependencies"></a>

## interpretDependencies(schema, model)
Interpreter function for JSON Schema draft 7 dependencies keyword.

**Kind**: global function

| Param |
| --- |
| schema |
| model |

<a name="interpretEnum"></a>

## interpretEnum(schema, model)
Expand Down Expand Up @@ -856,12 +874,28 @@ Split up all models which should and use ref instead.
| model | to ensure are split |
| iteratedModels | which are already split |

<a name="isEnum"></a>

## isEnum(model)
Check if CommonModel is an enum

**Kind**: global function

| Param |
| --- |
| model |

<a name="isModelObject"></a>

## isModelObject()
check if CommonModel is a separate model or a simple model.
## isModelObject(model)
Check if CommonModel is a separate model or a simple model.

**Kind**: global function

| Param |
| --- |
| model |

<a name="inferTypeFromValue"></a>

## inferTypeFromValue(value)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/modelina",
"version": "0.9.0",
"version": "0.10.0",
"description": "The Model SDK for generating data models",
"license": "Apache-2.0",
"homepage": "https://github.com/asyncapi/modelina",
Expand Down

0 comments on commit aebdb2b

Please sign in to comment.