Skip to content

Commit aebdb2b

Browse files
authored
chore(release): v0.10.0
1 parent 9296f51 commit aebdb2b

File tree

3 files changed

+40
-6
lines changed

3 files changed

+40
-6
lines changed

API.md

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
<dt><a href="#interpretConst">interpretConst(schema, model)</a></dt>
5454
<dd><p>Interpreter function for JSON Schema draft 7 const keyword.</p>
5555
</dd>
56+
<dt><a href="#interpretDependencies">interpretDependencies(schema, model)</a></dt>
57+
<dd><p>Interpreter function for JSON Schema draft 7 dependencies keyword.</p>
58+
</dd>
5659
<dt><a href="#interpretEnum">interpretEnum(schema, model)</a></dt>
5760
<dd><p>Interpreter function for JSON Schema draft 7 enum keyword</p>
5861
</dd>
@@ -83,8 +86,11 @@
8386
<dt><a href="#ensureModelsAreSplit">ensureModelsAreSplit(model, iteratedModels)</a></dt>
8487
<dd><p>Split up all models which should and use ref instead.</p>
8588
</dd>
86-
<dt><a href="#isModelObject">isModelObject()</a></dt>
87-
<dd><p>check if CommonModel is a separate model or a simple model.</p>
89+
<dt><a href="#isEnum">isEnum(model)</a></dt>
90+
<dd><p>Check if CommonModel is an enum</p>
91+
</dd>
92+
<dt><a href="#isModelObject">isModelObject(model)</a></dt>
93+
<dd><p>Check if CommonModel is a separate model or a simple model.</p>
8894
</dd>
8995
<dt><a href="#inferTypeFromValue">inferTypeFromValue(value)</a></dt>
9096
<dd><p>Infers the JSON Schema type from value</p>
@@ -737,6 +743,18 @@ Interpreter function for JSON Schema draft 7 const keyword.
737743
| schema |
738744
| model |
739745

746+
<a name="interpretDependencies"></a>
747+
748+
## interpretDependencies(schema, model)
749+
Interpreter function for JSON Schema draft 7 dependencies keyword.
750+
751+
**Kind**: global function
752+
753+
| Param |
754+
| --- |
755+
| schema |
756+
| model |
757+
740758
<a name="interpretEnum"></a>
741759

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

877+
<a name="isEnum"></a>
878+
879+
## isEnum(model)
880+
Check if CommonModel is an enum
881+
882+
**Kind**: global function
883+
884+
| Param |
885+
| --- |
886+
| model |
887+
859888
<a name="isModelObject"></a>
860889

861-
## isModelObject()
862-
check if CommonModel is a separate model or a simple model.
890+
## isModelObject(model)
891+
Check if CommonModel is a separate model or a simple model.
863892

864893
**Kind**: global function
894+
895+
| Param |
896+
| --- |
897+
| model |
898+
865899
<a name="inferTypeFromValue"></a>
866900

867901
## inferTypeFromValue(value)

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/modelina",
3-
"version": "0.9.0",
3+
"version": "0.10.0",
44
"description": "The Model SDK for generating data models",
55
"license": "Apache-2.0",
66
"homepage": "https://github.com/asyncapi/modelina",

0 commit comments

Comments
 (0)