|
7 | 7 | {{#and enumInfo enumInfo.typeToValues.null}}
|
8 | 8 | | Nothing? | validate(arg: [Null{{enumInfo.jsonPathPiece.pascalCase}}](#null{{enumInfo.jsonPathPiece.kebabCase}}), configuration: SchemaConfiguration) |
|
9 | 9 | {{/and}}
|
10 |
| -| int | validate(arg: int, configuration: SchemaConfiguration) | |
11 |
| -| long | validate(arg: long, configuration: SchemaConfiguration) | |
12 |
| -| float | validate(arg: float, configuration: SchemaConfiguration) | |
13 |
| -| double | validate(arg: double, configuration: SchemaConfiguration) | |
| 10 | +| Int | validate(arg: Int, configuration: SchemaConfiguration) | |
| 11 | +| Long | validate(arg: Long, configuration: SchemaConfiguration) | |
| 12 | +| Float | validate(arg: Float, configuration: SchemaConfiguration) | |
| 13 | +| Double | validate(arg: Double, configuration: SchemaConfiguration) | |
14 | 14 | | Number | validate(arg: Number, configuration: SchemaConfiguration) |
|
15 |
| -| boolean | validate(arg: boolean, configuration: SchemaConfiguration) | |
| 15 | +| Boolean | validate(arg: Boolean, configuration: SchemaConfiguration) | |
16 | 16 | {{#and enumInfo enumInfo.typeToValues.boolean}}
|
17 |
| -| boolean | validate(arg: [Boolean{{enumInfo.jsonPathPiece.pascalCase}}](#boolean{{enumInfo.jsonPathPiece.kebabCase}}), configuration: SchemaConfiguration) | |
| 17 | +| Boolean | validate(arg: [Boolean{{enumInfo.jsonPathPiece.pascalCase}}](#boolean{{enumInfo.jsonPathPiece.kebabCase}}), configuration: SchemaConfiguration) | |
18 | 18 | {{/and}}
|
19 | 19 | {{#if mapOutputJsonPathPiece }}
|
20 |
| -| [{{mapOutputJsonPathPiece.pascalCase}}](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces mapOutputJsonPathPiece) }}) | validate(arg: [Map<?, ?>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces mapInputJsonPathPiece) }}), configuration: SchemaConfiguration) | |
| 20 | +| [{{mapOutputJsonPathPiece.pascalCase}}](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces mapOutputJsonPathPiece) }}) | validate(arg: [Map<*, *>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces mapInputJsonPathPiece) }}), configuration: SchemaConfiguration) | |
21 | 21 | {{else}}
|
22 |
| -| FrozenMap<Any?> | validate(arg: Map<?, ?>, configuration: SchemaConfiguration) | |
| 22 | +| FrozenMap<Any?> | validate(arg: Map<*, *>, configuration: SchemaConfiguration) | |
23 | 23 | {{/if}}
|
24 | 24 | {{#if arrayOutputJsonPathPiece}}
|
25 | 25 | | [{{arrayOutputJsonPathPiece.pascalCase}}](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces arrayOutputJsonPathPiece) }}) | validate(arg: [List<*>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces arrayInputJsonPathPiece) }}), configuration: SchemaConfiguration) |
|
|
29 | 29 | | [{{jsonPathPiece.pascalCase}}BoxedString](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedstring" ""))}}) | validateAndBox(String, configuration: SchemaConfiguration) |
|
30 | 30 | | [{{jsonPathPiece.pascalCase}}BoxedVoid](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedvoid" ""))}}) | validateAndBox(Nothing?, configuration: SchemaConfiguration) |
|
31 | 31 | | [{{jsonPathPiece.pascalCase}}BoxedNumber](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxednumber" ""))}}) | validateAndBox(Number, configuration: SchemaConfiguration) |
|
32 |
| -| [{{jsonPathPiece.pascalCase}}BoxedBoolean](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedboolean" ""))}}) | validateAndBox(boolean, configuration: SchemaConfiguration) | |
33 |
| -| [{{jsonPathPiece.pascalCase}}BoxedMap](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedmap" ""))}}) | validateAndBox({{#if mapInputJsonPathPiece}}[Map<?, ?>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces mapInputJsonPathPiece) }}){{else}}Map<?, ?>{{/if}}, configuration: SchemaConfiguration) | |
| 32 | +| [{{jsonPathPiece.pascalCase}}BoxedBoolean](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedboolean" ""))}}) | validateAndBox(Boolean, configuration: SchemaConfiguration) | |
| 33 | +| [{{jsonPathPiece.pascalCase}}BoxedMap](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedmap" ""))}}) | validateAndBox({{#if mapInputJsonPathPiece}}[Map<*, *>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces mapInputJsonPathPiece) }}){{else}}Map<*, *>{{/if}}, configuration: SchemaConfiguration) | |
34 | 34 | | [{{jsonPathPiece.pascalCase}}BoxedList](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedlist" ""))}}) | validateAndBox({{#if arrayInputJsonPathPiece}}[List<*>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces arrayInputJsonPathPiece) }}){{else}}List<*>{{/if}}, configuration: SchemaConfiguration) |
|
35 | 35 | {{else}}
|
36 | 36 | {{#each types}}
|
37 | 37 | {{#eq this "boolean"}}
|
38 |
| -| boolean | validate(arg: boolean, configuration: SchemaConfiguration) | |
| 38 | +| Boolean | validate(arg: Boolean, configuration: SchemaConfiguration) | |
39 | 39 | {{#and ../enumInfo enumInfo.typeToValues.boolean}}
|
40 |
| -| boolean | validate(arg: [Boolean{{../enumInfo.jsonPathPiece.pascalCase}}](#boolean{{../enumInfo.jsonPathPiece.kebabCase}}), configuration: SchemaConfiguration) | |
| 40 | +| Boolean | validate(arg: [Boolean{{../enumInfo.jsonPathPiece.pascalCase}}](#boolean{{../enumInfo.jsonPathPiece.kebabCase}}), configuration: SchemaConfiguration) | |
41 | 41 | {{/and}}
|
42 |
| -| [{{jsonPathPiece.pascalCase}}BoxedBoolean](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedboolean" ""))}}) | validateAndBox(boolean, configuration: SchemaConfiguration) | |
| 42 | +| [{{jsonPathPiece.pascalCase}}BoxedBoolean](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedboolean" ""))}}) | validateAndBox(Boolean, configuration: SchemaConfiguration) | |
43 | 43 | {{else}}
|
44 | 44 | {{#eq this "null"}}
|
45 | 45 | | Nothing? | validate(arg: Nothing?, configuration: SchemaConfiguration) |
|
|
65 | 65 | | Number | validate(arg: Number, configuration: SchemaConfiguration) |
|
66 | 66 | {{else}}
|
67 | 67 | {{#eq ../format "float"}}
|
68 |
| -| float | validate(arg: float, configuration: SchemaConfiguration) | |
| 68 | +| Float | validate(arg: Float, configuration: SchemaConfiguration) | |
69 | 69 | {{else}}
|
70 | 70 | {{#eq ../format "double"}}
|
71 |
| -| double | validate(arg: double, configuration: SchemaConfiguration) | |
| 71 | +| Double | validate(arg: Double, configuration: SchemaConfiguration) | |
72 | 72 | {{else}}
|
73 | 73 | {{#eq ../format "int32"}}
|
74 |
| -| int | validate(arg: int, configuration: SchemaConfiguration) | |
| 74 | +| Int | validate(arg: Int, configuration: SchemaConfiguration) | |
75 | 75 | {{else}}
|
76 | 76 | {{#eq ../format "int64"}}
|
77 |
| -| long | validate(arg: long, configuration: SchemaConfiguration) | |
| 77 | +| Long | validate(arg: Long, configuration: SchemaConfiguration) | |
78 | 78 | {{/eq}}
|
79 | 79 | {{/eq}}
|
80 | 80 | {{/eq}}
|
|
84 | 84 | {{else}}
|
85 | 85 | {{#eq this "integer"}}
|
86 | 86 | {{#eq ../format null}}
|
87 |
| -| long | validate(arg: long, configuration: SchemaConfiguration) | |
| 87 | +| Long | validate(arg: Long, configuration: SchemaConfiguration) | |
88 | 88 | {{else}}
|
89 | 89 | {{#eq ../format "int32"}}
|
90 |
| -| int | validate(arg: int, configuration: SchemaConfiguration) | |
| 90 | +| Int | validate(arg: Int, configuration: SchemaConfiguration) | |
91 | 91 | {{else}}
|
92 |
| -| long | validate(arg: long, configuration: SchemaConfiguration) | |
| 92 | +| Long | validate(arg: Long, configuration: SchemaConfiguration) | |
93 | 93 | {{/eq}}
|
94 | 94 | {{/eq}}
|
95 | 95 | | [{{jsonPathPiece.pascalCase}}BoxedNumber](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxednumber" ""))}}) | validateAndBox(Number, configuration: SchemaConfiguration) |
|
|
104 | 104 | {{else}}
|
105 | 105 | {{#eq this "object"}}
|
106 | 106 | {{#if ../mapOutputJsonPathPiece}}
|
107 |
| -| [{{../mapOutputJsonPathPiece.pascalCase}}](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces ../mapOutputJsonPathPiece) }}) | validate(arg: [Map<?, ?>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces ../mapInputJsonPathPiece) }}), configuration: SchemaConfiguration) | |
| 107 | +| [{{../mapOutputJsonPathPiece.pascalCase}}](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces ../mapOutputJsonPathPiece) }}) | validate(arg: [Map<*, *>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces ../mapInputJsonPathPiece) }}), configuration: SchemaConfiguration) | |
108 | 108 | {{else}}
|
109 |
| -| FrozenMap<String, Any?> | validate(arg: Map<?, ?>, configuration: SchemaConfiguration) | |
| 109 | +| FrozenMap<String, Any?> | validate(arg: Map<*, *>, configuration: SchemaConfiguration) | |
110 | 110 | {{/if}}
|
111 |
| -| [{{jsonPathPiece.pascalCase}}BoxedMap](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedmap" ""))}}) | validateAndBox({{#if mapInputJsonPathPiece}}[Map<?, ?>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces mapInputJsonPathPiece) }}){{else}}Map<?, ?>{{/if}}, configuration: SchemaConfiguration) | |
| 111 | +| [{{jsonPathPiece.pascalCase}}BoxedMap](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces (join jsonPathPiece.kebabCase "boxedmap" ""))}}) | validateAndBox({{#if mapInputJsonPathPiece}}[Map<*, *>](#{{> src/main/kotlin/packagename/components/_helper_anchor_id identifierPieces=(append identifierPieces mapInputJsonPathPiece) }}){{else}}Map<*, *>{{/if}}, configuration: SchemaConfiguration) | |
112 | 112 | {{/eq}}
|
113 | 113 | {{/eq}}
|
114 | 114 | {{/eq}}
|
|
0 commit comments