|
53 | 53 | <dt><a href="#interpretConst">interpretConst(schema, model)</a></dt> |
54 | 54 | <dd><p>Interpreter function for JSON Schema draft 7 const keyword.</p> |
55 | 55 | </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> |
56 | 59 | <dt><a href="#interpretEnum">interpretEnum(schema, model)</a></dt> |
57 | 60 | <dd><p>Interpreter function for JSON Schema draft 7 enum keyword</p> |
58 | 61 | </dd> |
|
83 | 86 | <dt><a href="#ensureModelsAreSplit">ensureModelsAreSplit(model, iteratedModels)</a></dt> |
84 | 87 | <dd><p>Split up all models which should and use ref instead.</p> |
85 | 88 | </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> |
88 | 94 | </dd> |
89 | 95 | <dt><a href="#inferTypeFromValue">inferTypeFromValue(value)</a></dt> |
90 | 96 | <dd><p>Infers the JSON Schema type from value</p> |
@@ -737,6 +743,18 @@ Interpreter function for JSON Schema draft 7 const keyword. |
737 | 743 | | schema | |
738 | 744 | | model | |
739 | 745 |
|
| 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 | + |
740 | 758 | <a name="interpretEnum"></a> |
741 | 759 |
|
742 | 760 | ## interpretEnum(schema, model) |
@@ -856,12 +874,28 @@ Split up all models which should and use ref instead. |
856 | 874 | | model | to ensure are split | |
857 | 875 | | iteratedModels | which are already split | |
858 | 876 |
|
| 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 | + |
859 | 888 | <a name="isModelObject"></a> |
860 | 889 |
|
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. |
863 | 892 |
|
864 | 893 | **Kind**: global function |
| 894 | + |
| 895 | +| Param | |
| 896 | +| --- | |
| 897 | +| model | |
| 898 | + |
865 | 899 | <a name="inferTypeFromValue"></a> |
866 | 900 |
|
867 | 901 | ## inferTypeFromValue(value) |
|
0 commit comments