diff --git a/samples/client/3_0_3_unit_test/java/.openapi-generator/FILES b/samples/client/3_0_3_unit_test/java/.openapi-generator/FILES
index 9fd90ce5565..b1b0a2946be 100644
--- a/samples/client/3_0_3_unit_test/java/.openapi-generator/FILES
+++ b/samples/client/3_0_3_unit_test/java/.openapi-generator/FILES
@@ -263,6 +263,7 @@ src/test/java/org/openapijsonschematools/client/configurations/JsonSchemaKeyword
src/test/java/org/openapijsonschematools/client/schemas/AnyTypeSchemaTest.java
src/test/java/org/openapijsonschematools/client/schemas/ArrayTypeSchemaTest.java
src/test/java/org/openapijsonschematools/client/schemas/BooleanSchemaTest.java
+src/test/java/org/openapijsonschematools/client/schemas/ListBuilderTest.java
src/test/java/org/openapijsonschematools/client/schemas/ListSchemaTest.java
src/test/java/org/openapijsonschematools/client/schemas/MapSchemaTest.java
src/test/java/org/openapijsonschematools/client/schemas/NullSchemaTest.java
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md
index d6570843a8d..abd020e625d 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsASchemaWhichShouldValidate1](#additionalpropertiesallowsaschemawhichshouldvalidate1)
schema class |
-| static class | [AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsASchemaWhichShouldValidateMapInput](#additionalpropertiesallowsaschemawhichshouldvalidatemapinput)
builder for Map payloads |
+| static class | [AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder)
builder for Map payloads |
| static class | [AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsASchemaWhichShouldValidateMap](#additionalpropertiesallowsaschemawhichshouldvalidatemap)
output class for Map payloads |
| static class | [AdditionalpropertiesAllowsASchemaWhichShouldValidate.Bar](#bar)
schema class |
| static class | [AdditionalpropertiesAllowsASchemaWhichShouldValidate.Foo](#foo)
schema class |
@@ -57,10 +57,10 @@ AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsA
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMap](#additionalpropertiesallowsaschemawhichshouldvalidatemap) | validate([Map, ?>](#additionalpropertiesallowsaschemawhichshouldvalidatemapinput) arg, SchemaConfiguration configuration) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMap](#additionalpropertiesallowsaschemawhichshouldvalidatemap) | validate([Map, ?>](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## AdditionalpropertiesAllowsASchemaWhichShouldValidateMapInput
-public class AdditionalpropertiesAllowsASchemaWhichShouldValidateMapInput
+## AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder
+public class AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -81,7 +81,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [AdditionalpropertiesAllowsASchemaWhichShouldValidateMap](#additionalpropertiesallowsaschemawhichshouldvalidatemap) | of([Map](#additionalpropertiesallowsaschemawhichshouldvalidatemapinput) arg, SchemaConfiguration configuration) |
+| static [AdditionalpropertiesAllowsASchemaWhichShouldValidateMap](#additionalpropertiesallowsaschemawhichshouldvalidatemap) | of([Map](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
[optional] |
| @Nullable Object | bar()
[optional] |
| boolean | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesAreAllowedByDefault.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesAreAllowedByDefault.md
index 35c061c6001..c33572f4aee 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesAreAllowedByDefault.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesAreAllowedByDefault.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [AdditionalpropertiesAreAllowedByDefault.AdditionalpropertiesAreAllowedByDefault1](#additionalpropertiesareallowedbydefault1)
schema class |
-| static class | [AdditionalpropertiesAreAllowedByDefault.AdditionalpropertiesAreAllowedByDefaultMapInput](#additionalpropertiesareallowedbydefaultmapinput)
builder for Map payloads |
+| static class | [AdditionalpropertiesAreAllowedByDefault.AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder)
builder for Map payloads |
| static class | [AdditionalpropertiesAreAllowedByDefault.AdditionalpropertiesAreAllowedByDefaultMap](#additionalpropertiesareallowedbydefaultmap)
output class for Map payloads |
| static class | [AdditionalpropertiesAreAllowedByDefault.Bar](#bar)
schema class |
| static class | [AdditionalpropertiesAreAllowedByDefault.Foo](#foo)
schema class |
@@ -37,11 +37,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [AdditionalpropertiesAreAllowedByDefaultMap](#additionalpropertiesareallowedbydefaultmap) | validate([Map, ?>](#additionalpropertiesareallowedbydefaultmapinput) arg, SchemaConfiguration configuration) |
+| [AdditionalpropertiesAreAllowedByDefaultMap](#additionalpropertiesareallowedbydefaultmap) | validate([Map, ?>](#additionalpropertiesareallowedbydefaultmapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## AdditionalpropertiesAreAllowedByDefaultMapInput
-public class AdditionalpropertiesAreAllowedByDefaultMapInput
+## AdditionalpropertiesAreAllowedByDefaultMapBuilder
+public class AdditionalpropertiesAreAllowedByDefaultMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -62,7 +62,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [AdditionalpropertiesAreAllowedByDefaultMap](#additionalpropertiesareallowedbydefaultmap) | of([Map](#additionalpropertiesareallowedbydefaultmapinput) arg, SchemaConfiguration configuration) |
+| static [AdditionalpropertiesAreAllowedByDefaultMap](#additionalpropertiesareallowedbydefaultmap) | of([Map](#additionalpropertiesareallowedbydefaultmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
[optional] |
| @Nullable Object | bar()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesCanExistByItself.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesCanExistByItself.md
index 89ad0788c82..f7d06ddb1d2 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesCanExistByItself.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesCanExistByItself.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItself1](#additionalpropertiescanexistbyitself1)
schema class |
-| static class | [AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItselfMapInput](#additionalpropertiescanexistbyitselfmapinput)
builder for Map payloads |
+| static class | [AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItselfMapBuilder](#additionalpropertiescanexistbyitselfmapbuilder)
builder for Map payloads |
| static class | [AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItselfMap](#additionalpropertiescanexistbyitselfmap)
output class for Map payloads |
| static class | [AdditionalpropertiesCanExistByItself.AdditionalProperties](#additionalproperties)
schema class |
@@ -54,10 +54,10 @@ AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItselfMap val
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [AdditionalpropertiesCanExistByItselfMap](#additionalpropertiescanexistbyitselfmap) | validate([Map, ?>](#additionalpropertiescanexistbyitselfmapinput) arg, SchemaConfiguration configuration) |
+| [AdditionalpropertiesCanExistByItselfMap](#additionalpropertiescanexistbyitselfmap) | validate([Map, ?>](#additionalpropertiescanexistbyitselfmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## AdditionalpropertiesCanExistByItselfMapInput
-public class AdditionalpropertiesCanExistByItselfMapInput
+## AdditionalpropertiesCanExistByItselfMapBuilder
+public class AdditionalpropertiesCanExistByItselfMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -76,7 +76,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [AdditionalpropertiesCanExistByItselfMap](#additionalpropertiescanexistbyitselfmap) | of([Map](#additionalpropertiescanexistbyitselfmapinput) arg, SchemaConfiguration configuration) |
+| static [AdditionalpropertiesCanExistByItselfMap](#additionalpropertiescanexistbyitselfmap) | of([Map](#additionalpropertiescanexistbyitselfmapbuilder) arg, SchemaConfiguration configuration) |
| boolean | getAdditionalProperty(String name)
provides type safety for additional properties |
## AdditionalProperties
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesShouldNotLookInApplicators.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesShouldNotLookInApplicators.md
index 7067eb8cb76..8c0dd6d3d6e 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesShouldNotLookInApplicators.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AdditionalpropertiesShouldNotLookInApplicators.md
@@ -11,10 +11,10 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [AdditionalpropertiesShouldNotLookInApplicators.AdditionalpropertiesShouldNotLookInApplicators1](#additionalpropertiesshouldnotlookinapplicators1)
schema class |
-| static class | [AdditionalpropertiesShouldNotLookInApplicators.AdditionalpropertiesShouldNotLookInApplicatorsMapInput](#additionalpropertiesshouldnotlookinapplicatorsmapinput)
builder for Map payloads |
+| static class | [AdditionalpropertiesShouldNotLookInApplicators.AdditionalpropertiesShouldNotLookInApplicatorsMapBuilder](#additionalpropertiesshouldnotlookinapplicatorsmapbuilder)
builder for Map payloads |
| static class | [AdditionalpropertiesShouldNotLookInApplicators.AdditionalpropertiesShouldNotLookInApplicatorsMap](#additionalpropertiesshouldnotlookinapplicatorsmap)
output class for Map payloads |
| static class | [AdditionalpropertiesShouldNotLookInApplicators.Schema0](#schema0)
schema class |
-| static class | [AdditionalpropertiesShouldNotLookInApplicators.Schema0MapInput](#schema0mapinput)
builder for Map payloads |
+| static class | [AdditionalpropertiesShouldNotLookInApplicators.Schema0MapBuilder](#schema0mapbuilder)
builder for Map payloads |
| static class | [AdditionalpropertiesShouldNotLookInApplicators.Schema0Map](#schema0map)
output class for Map payloads |
| static class | [AdditionalpropertiesShouldNotLookInApplicators.Foo](#foo)
schema class |
| static class | [AdditionalpropertiesShouldNotLookInApplicators.AdditionalProperties](#additionalproperties)
schema class |
@@ -41,11 +41,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [AdditionalpropertiesShouldNotLookInApplicatorsMap](#additionalpropertiesshouldnotlookinapplicatorsmap) | validate([Map, ?>](#additionalpropertiesshouldnotlookinapplicatorsmapinput) arg, SchemaConfiguration configuration) |
+| [AdditionalpropertiesShouldNotLookInApplicatorsMap](#additionalpropertiesshouldnotlookinapplicatorsmap) | validate([Map, ?>](#additionalpropertiesshouldnotlookinapplicatorsmapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## AdditionalpropertiesShouldNotLookInApplicatorsMapInput
-public class AdditionalpropertiesShouldNotLookInApplicatorsMapInput
+## AdditionalpropertiesShouldNotLookInApplicatorsMapBuilder
+public class AdditionalpropertiesShouldNotLookInApplicatorsMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -64,7 +64,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [AdditionalpropertiesShouldNotLookInApplicatorsMap](#additionalpropertiesshouldnotlookinapplicatorsmap) | of([Map](#additionalpropertiesshouldnotlookinapplicatorsmapinput) arg, SchemaConfiguration configuration) |
+| static [AdditionalpropertiesShouldNotLookInApplicatorsMap](#additionalpropertiesshouldnotlookinapplicatorsmap) | of([Map](#additionalpropertiesshouldnotlookinapplicatorsmapbuilder) arg, SchemaConfiguration configuration) |
| boolean | getAdditionalProperty(String name)
provides type safety for additional properties |
## Schema0
@@ -88,11 +88,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema0MapInput
-public class Schema0MapInput
+## Schema0MapBuilder
+public class Schema0MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -112,7 +112,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema0Map](#schema0map) | of([Map](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Allof.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Allof.md
index 6315f11cded..2987d9a5724 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Allof.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Allof.md
@@ -12,11 +12,11 @@ A class that contains necessary nested
| ----------------- | ---------------------- |
| static class | [Allof.Allof1](#allof1)
schema class |
| static class | [Allof.Schema1](#schema1)
schema class |
-| static class | [Allof.Schema1MapInput](#schema1mapinput)
builder for Map payloads |
+| static class | [Allof.Schema1MapBuilder](#schema1mapbuilder)
builder for Map payloads |
| static class | [Allof.Schema1Map](#schema1map)
output class for Map payloads |
| static class | [Allof.Foo](#foo)
schema class |
| static class | [Allof.Schema0](#schema0)
schema class |
-| static class | [Allof.Schema0MapInput](#schema0mapinput)
builder for Map payloads |
+| static class | [Allof.Schema0MapBuilder](#schema0mapbuilder)
builder for Map payloads |
| static class | [Allof.Schema0Map](#schema0map)
output class for Map payloads |
| static class | [Allof.Bar](#bar)
schema class |
@@ -66,11 +66,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema1MapInput
-public class Schema1MapInput
+## Schema1MapBuilder
+public class Schema1MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -90,7 +90,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema1Map](#schema1map) | of([Map](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
@@ -126,11 +126,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema0MapInput
-public class Schema0MapInput
+## Schema0MapBuilder
+public class Schema0MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -138,7 +138,7 @@ A class that builds the Map input type
## Input Map Keys
| Key | Type | Description | Notes |
| --- | ---- | ------------ | ----- |
-| **bar** | long | | |
+| **bar** | Number | | |
| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
## Schema0Map
@@ -150,8 +150,8 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema0Map](#schema0map) | of([Map](#schema0mapinput) arg, SchemaConfiguration configuration) |
-| long | bar()
|
+| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
+| Number | bar()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithBaseSchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithBaseSchema.md
index f9e7e877a86..357daee6420 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithBaseSchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithBaseSchema.md
@@ -11,15 +11,15 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [AllofWithBaseSchema.AllofWithBaseSchema1](#allofwithbaseschema1)
schema class |
-| static class | [AllofWithBaseSchema.AllofWithBaseSchemaMapInput](#allofwithbaseschemamapinput)
builder for Map payloads |
+| static class | [AllofWithBaseSchema.AllofWithBaseSchemaMapBuilder](#allofwithbaseschemamapbuilder)
builder for Map payloads |
| static class | [AllofWithBaseSchema.AllofWithBaseSchemaMap](#allofwithbaseschemamap)
output class for Map payloads |
| static class | [AllofWithBaseSchema.Bar](#bar)
schema class |
| static class | [AllofWithBaseSchema.Schema1](#schema1)
schema class |
-| static class | [AllofWithBaseSchema.Schema1MapInput](#schema1mapinput)
builder for Map payloads |
+| static class | [AllofWithBaseSchema.Schema1MapBuilder](#schema1mapbuilder)
builder for Map payloads |
| static class | [AllofWithBaseSchema.Schema1Map](#schema1map)
output class for Map payloads |
| static class | [AllofWithBaseSchema.Baz](#baz)
schema class |
| static class | [AllofWithBaseSchema.Schema0](#schema0)
schema class |
-| static class | [AllofWithBaseSchema.Schema0MapInput](#schema0mapinput)
builder for Map payloads |
+| static class | [AllofWithBaseSchema.Schema0MapBuilder](#schema0mapbuilder)
builder for Map payloads |
| static class | [AllofWithBaseSchema.Schema0Map](#schema0map)
output class for Map payloads |
| static class | [AllofWithBaseSchema.Foo](#foo)
schema class |
@@ -46,11 +46,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [AllofWithBaseSchemaMap](#allofwithbaseschemamap) | validate([Map, ?>](#allofwithbaseschemamapinput) arg, SchemaConfiguration configuration) |
+| [AllofWithBaseSchemaMap](#allofwithbaseschemamap) | validate([Map, ?>](#allofwithbaseschemamapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## AllofWithBaseSchemaMapInput
-public class AllofWithBaseSchemaMapInput
+## AllofWithBaseSchemaMapBuilder
+public class AllofWithBaseSchemaMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -58,7 +58,7 @@ A class that builds the Map input type
## Input Map Keys
| Key | Type | Description | Notes |
| --- | ---- | ------------ | ----- |
-| **bar** | long | | |
+| **bar** | Number | | |
| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
## AllofWithBaseSchemaMap
@@ -70,8 +70,8 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [AllofWithBaseSchemaMap](#allofwithbaseschemamap) | of([Map](#allofwithbaseschemamapinput) arg, SchemaConfiguration configuration) |
-| long | bar()
|
+| static [AllofWithBaseSchemaMap](#allofwithbaseschemamap) | of([Map](#allofwithbaseschemamapbuilder) arg, SchemaConfiguration configuration) |
+| Number | bar()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
@@ -106,11 +106,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema1MapInput
-public class Schema1MapInput
+## Schema1MapBuilder
+public class Schema1MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -130,7 +130,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema1Map](#schema1map) | of([Map](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| Void | baz()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
@@ -166,11 +166,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema0MapInput
-public class Schema0MapInput
+## Schema0MapBuilder
+public class Schema0MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -190,7 +190,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema0Map](#schema0map) | of([Map](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofComplexTypes.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofComplexTypes.md
index d7035691809..85c6d90d1ba 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofComplexTypes.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofComplexTypes.md
@@ -12,11 +12,11 @@ A class that contains necessary nested
| ----------------- | ---------------------- |
| static class | [AnyofComplexTypes.AnyofComplexTypes1](#anyofcomplextypes1)
schema class |
| static class | [AnyofComplexTypes.Schema1](#schema1)
schema class |
-| static class | [AnyofComplexTypes.Schema1MapInput](#schema1mapinput)
builder for Map payloads |
+| static class | [AnyofComplexTypes.Schema1MapBuilder](#schema1mapbuilder)
builder for Map payloads |
| static class | [AnyofComplexTypes.Schema1Map](#schema1map)
output class for Map payloads |
| static class | [AnyofComplexTypes.Foo](#foo)
schema class |
| static class | [AnyofComplexTypes.Schema0](#schema0)
schema class |
-| static class | [AnyofComplexTypes.Schema0MapInput](#schema0mapinput)
builder for Map payloads |
+| static class | [AnyofComplexTypes.Schema0MapBuilder](#schema0mapbuilder)
builder for Map payloads |
| static class | [AnyofComplexTypes.Schema0Map](#schema0map)
output class for Map payloads |
| static class | [AnyofComplexTypes.Bar](#bar)
schema class |
@@ -66,11 +66,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema1MapInput
-public class Schema1MapInput
+## Schema1MapBuilder
+public class Schema1MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -90,7 +90,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema1Map](#schema1map) | of([Map](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
@@ -126,11 +126,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema0MapInput
-public class Schema0MapInput
+## Schema0MapBuilder
+public class Schema0MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -138,7 +138,7 @@ A class that builds the Map input type
## Input Map Keys
| Key | Type | Description | Notes |
| --- | ---- | ------------ | ----- |
-| **bar** | long | | |
+| **bar** | Number | | |
| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
## Schema0Map
@@ -150,8 +150,8 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema0Map](#schema0map) | of([Map](#schema0mapinput) arg, SchemaConfiguration configuration) |
-| long | bar()
|
+| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
+| Number | bar()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ArrayTypeMatchesArrays.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ArrayTypeMatchesArrays.md
index a087da602aa..2fac2b1ae30 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ArrayTypeMatchesArrays.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ArrayTypeMatchesArrays.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [ArrayTypeMatchesArrays.ArrayTypeMatchesArrays1](#arraytypematchesarrays1)
schema class |
-| static class | [ArrayTypeMatchesArrays.ArrayTypeMatchesArraysListInput](#arraytypematchesarrayslistinput)
builder for List payloads |
+| static class | [ArrayTypeMatchesArrays.ArrayTypeMatchesArraysListBuilder](#arraytypematchesarrayslistbuilder)
builder for List payloads |
| static class | [ArrayTypeMatchesArrays.ArrayTypeMatchesArraysList](#arraytypematchesarrayslist)
output class for List payloads |
| static class | [ArrayTypeMatchesArrays.Items](#items)
schema class |
@@ -39,8 +39,10 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
ArrayTypeMatchesArrays.ArrayTypeMatchesArraysList validatedPayload =
ArrayTypeMatchesArrays.ArrayTypeMatchesArrays1.validate(
- Arrays.asList(
- ),
+ new ArrayTypeMatchesArrays.ArrayTypeMatchesArraysListBuilder(
+ Arrays.asList(
+ )
+ ).build(),
configuration
);
```
@@ -54,18 +56,33 @@ ArrayTypeMatchesArrays.ArrayTypeMatchesArraysList validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [ArrayTypeMatchesArraysList](#arraytypematchesarrayslist) | validate([List>](#arraytypematchesarrayslistinput) arg, SchemaConfiguration configuration) |
+| [ArrayTypeMatchesArraysList](#arraytypematchesarrayslist) | validate([List>](#arraytypematchesarrayslistbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## ArrayTypeMatchesArraysListInput
-public class ArrayTypeMatchesArraysListInput
-builder for `List extends @Nullable Object>`
+## ArrayTypeMatchesArraysListBuilder
+public class ArrayTypeMatchesArraysListBuilder
+builder for `List<@Nullable Object>`
A class that builds the List input type
-## Input List Items
-List Item Type | Description | Notes
--------------------- | ------------- | -------------
-? extends @Nullable Object | |
+## Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| ArrayTypeMatchesArraysListBuilder()
Creates an empty list |
+| ArrayTypeMatchesArraysListBuilder(List<@Nullable Object> items)
Stores the items in a list |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| ArrayTypeMatchesArraysListBuilder | add(Void item) |
+| ArrayTypeMatchesArraysListBuilder | add(boolean item) |
+| ArrayTypeMatchesArraysListBuilder | add(String item) |
+| ArrayTypeMatchesArraysListBuilder | add(int item) |
+| ArrayTypeMatchesArraysListBuilder | add(float item) |
+| ArrayTypeMatchesArraysListBuilder | add(long item) |
+| ArrayTypeMatchesArraysListBuilder | add(double item) |
+| ArrayTypeMatchesArraysListBuilder | add(List> item) |
+| ArrayTypeMatchesArraysListBuilder | add(Map item) |
+| List<@Nullable Object> | build()
Returns list input that should be used with Schema.validate |
## ArrayTypeMatchesArraysList
public class ArrayTypeMatchesArraysList
@@ -76,7 +93,7 @@ A class to store validated List payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [ArrayTypeMatchesArraysList](#arraytypematchesarrayslist) | of([List extends @Nullable Object>](#arraytypematchesarrayslistinput) arg, SchemaConfiguration configuration) |
+| static [ArrayTypeMatchesArraysList](#arraytypematchesarrayslist) | of([List extends @Nullable Object>](#arraytypematchesarrayslistbuilder) arg, SchemaConfiguration configuration) |
## Items
public static class Items
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumsInProperties.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumsInProperties.md
index 87351f1244f..471f9fa01da 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumsInProperties.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumsInProperties.md
@@ -12,7 +12,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [EnumsInProperties.EnumsInProperties1](#enumsinproperties1)
schema class |
-| static class | [EnumsInProperties.EnumsInPropertiesMapInput](#enumsinpropertiesmapinput)
builder for Map payloads |
+| static class | [EnumsInProperties.EnumsInPropertiesMapBuilder](#enumsinpropertiesmapbuilder)
builder for Map payloads |
| static class | [EnumsInProperties.EnumsInPropertiesMap](#enumsinpropertiesmap)
output class for Map payloads |
| static class | [EnumsInProperties.Bar](#bar)
schema class |
| enum | [EnumsInProperties.StringBarEnums](#stringbarenums)
String enum |
@@ -67,10 +67,10 @@ EnumsInProperties.EnumsInPropertiesMap validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [EnumsInPropertiesMap](#enumsinpropertiesmap) | validate([Map, ?>](#enumsinpropertiesmapinput) arg, SchemaConfiguration configuration) |
+| [EnumsInPropertiesMap](#enumsinpropertiesmap) | validate([Map, ?>](#enumsinpropertiesmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## EnumsInPropertiesMapInput
-public class EnumsInPropertiesMapInput
+## EnumsInPropertiesMapBuilder
+public class EnumsInPropertiesMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -91,7 +91,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [EnumsInPropertiesMap](#enumsinpropertiesmap) | of([Map](#enumsinpropertiesmapinput) arg, SchemaConfiguration configuration) |
+| static [EnumsInPropertiesMap](#enumsinpropertiesmap) | of([Map](#enumsinpropertiesmapbuilder) arg, SchemaConfiguration configuration) |
| String | bar()
must be one of ["bar"] |
| String | foo()
[optional] must be one of ["foo"] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ForbiddenProperty.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ForbiddenProperty.md
index 1d1e03f2e71..fe252d848d9 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ForbiddenProperty.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ForbiddenProperty.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [ForbiddenProperty.ForbiddenProperty1](#forbiddenproperty1)
schema class |
-| static class | [ForbiddenProperty.ForbiddenPropertyMapInput](#forbiddenpropertymapinput)
builder for Map payloads |
+| static class | [ForbiddenProperty.ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder)
builder for Map payloads |
| static class | [ForbiddenProperty.ForbiddenPropertyMap](#forbiddenpropertymap)
output class for Map payloads |
| static class | [ForbiddenProperty.Foo](#foo)
schema class |
@@ -36,11 +36,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [ForbiddenPropertyMap](#forbiddenpropertymap) | validate([Map, ?>](#forbiddenpropertymapinput) arg, SchemaConfiguration configuration) |
+| [ForbiddenPropertyMap](#forbiddenpropertymap) | validate([Map, ?>](#forbiddenpropertymapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## ForbiddenPropertyMapInput
-public class ForbiddenPropertyMapInput
+## ForbiddenPropertyMapBuilder
+public class ForbiddenPropertyMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -60,7 +60,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [ForbiddenPropertyMap](#forbiddenpropertymap) | of([Map](#forbiddenpropertymapinput) arg, SchemaConfiguration configuration) |
+| static [ForbiddenPropertyMap](#forbiddenpropertymap) | of([Map](#forbiddenpropertymapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/InvalidStringValueForDefault.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/InvalidStringValueForDefault.md
index c2af1bf313e..5f54831d44f 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/InvalidStringValueForDefault.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/InvalidStringValueForDefault.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [InvalidStringValueForDefault.InvalidStringValueForDefault1](#invalidstringvaluefordefault1)
schema class |
-| static class | [InvalidStringValueForDefault.InvalidStringValueForDefaultMapInput](#invalidstringvaluefordefaultmapinput)
builder for Map payloads |
+| static class | [InvalidStringValueForDefault.InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder)
builder for Map payloads |
| static class | [InvalidStringValueForDefault.InvalidStringValueForDefaultMap](#invalidstringvaluefordefaultmap)
output class for Map payloads |
| static class | [InvalidStringValueForDefault.Bar](#bar)
schema class |
@@ -36,11 +36,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [InvalidStringValueForDefaultMap](#invalidstringvaluefordefaultmap) | validate([Map, ?>](#invalidstringvaluefordefaultmapinput) arg, SchemaConfiguration configuration) |
+| [InvalidStringValueForDefaultMap](#invalidstringvaluefordefaultmap) | validate([Map, ?>](#invalidstringvaluefordefaultmapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## InvalidStringValueForDefaultMapInput
-public class InvalidStringValueForDefaultMapInput
+## InvalidStringValueForDefaultMapBuilder
+public class InvalidStringValueForDefaultMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -60,7 +60,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [InvalidStringValueForDefaultMap](#invalidstringvaluefordefaultmap) | of([Map](#invalidstringvaluefordefaultmapinput) arg, SchemaConfiguration configuration) |
+| static [InvalidStringValueForDefaultMap](#invalidstringvaluefordefaultmap) | of([Map](#invalidstringvaluefordefaultmapbuilder) arg, SchemaConfiguration configuration) |
| String | bar()
[optional] if omitted the server will use the default value of bad |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedItems.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedItems.md
index 58e4e761064..6d66667ae10 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedItems.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedItems.md
@@ -11,16 +11,16 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [NestedItems.NestedItems1](#nesteditems1)
schema class |
-| static class | [NestedItems.NestedItemsListInput](#nesteditemslistinput)
builder for List payloads |
+| static class | [NestedItems.NestedItemsListBuilder](#nesteditemslistbuilder)
builder for List payloads |
| static class | [NestedItems.NestedItemsList](#nesteditemslist)
output class for List payloads |
| static class | [NestedItems.Items](#items)
schema class |
-| static class | [NestedItems.ItemsListInput2](#itemslistinput2)
builder for List payloads |
+| static class | [NestedItems.ItemsListBuilder2](#itemslistbuilder2)
builder for List payloads |
| static class | [NestedItems.ItemsList2](#itemslist2)
output class for List payloads |
| static class | [NestedItems.Items1](#items1)
schema class |
-| static class | [NestedItems.ItemsListInput1](#itemslistinput1)
builder for List payloads |
+| static class | [NestedItems.ItemsListBuilder1](#itemslistbuilder1)
builder for List payloads |
| static class | [NestedItems.ItemsList1](#itemslist1)
output class for List payloads |
| static class | [NestedItems.Items2](#items2)
schema class |
-| static class | [NestedItems.ItemsListInput](#itemslistinput)
builder for List payloads |
+| static class | [NestedItems.ItemsListBuilder](#itemslistbuilder)
builder for List payloads |
| static class | [NestedItems.ItemsList](#itemslist)
output class for List payloads |
| static class | [NestedItems.Items3](#items3)
schema class |
@@ -48,15 +48,17 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
NestedItems.NestedItemsList validatedPayload =
NestedItems.NestedItems1.validate(
- Arrays.asList(
+ new NestedItems.NestedItemsListBuilder(
Arrays.asList(
Arrays.asList(
Arrays.asList(
- 1
+ Arrays.asList(
+ 1
+ )
)
)
)
- ),
+ ).build(),
configuration
);
```
@@ -70,18 +72,25 @@ NestedItems.NestedItemsList validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [NestedItemsList](#nesteditemslist) | validate([List>](#nesteditemslistinput) arg, SchemaConfiguration configuration) |
+| [NestedItemsList](#nesteditemslist) | validate([List>](#nesteditemslistbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## NestedItemsListInput
-public class NestedItemsListInput
+## NestedItemsListBuilder
+public class NestedItemsListBuilder
builder for `List>>>`
A class that builds the List input type
-## Input List Items
-List Item Type | Description | Notes
--------------------- | ------------- | -------------
-List>> | |
+## Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| NestedItemsListBuilder()
Creates an empty list |
+| NestedItemsListBuilder(List>>> items)
Stores the items in a list |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| NestedItemsListBuilder | add(List>> item) |
+| List>>> | build()
Returns list input that should be used with Schema.validate |
## NestedItemsList
public class NestedItemsList
@@ -92,7 +101,7 @@ A class to store validated List payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [NestedItemsList](#nesteditemslist) | of([List>>>](#nesteditemslistinput) arg, SchemaConfiguration configuration) |
+| static [NestedItemsList](#nesteditemslist) | of([List>>>](#nesteditemslistbuilder) arg, SchemaConfiguration configuration) |
## Items
public static class Items
@@ -118,13 +127,15 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
NestedItems.ItemsList2 validatedPayload =
NestedItems.Items.validate(
- Arrays.asList(
+ new .ItemsListBuilder2(
Arrays.asList(
Arrays.asList(
- 1
+ Arrays.asList(
+ 1
+ )
)
)
- ),
+ ).build(),
configuration
);
```
@@ -138,18 +149,25 @@ NestedItems.ItemsList2 validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [ItemsList2](#itemslist2) | validate([List>](#itemslistinput2) arg, SchemaConfiguration configuration) |
+| [ItemsList2](#itemslist2) | validate([List>](#itemslistbuilder2) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## ItemsListInput2
-public class ItemsListInput2
+## ItemsListBuilder2
+public class ItemsListBuilder2
builder for `List>>`
A class that builds the List input type
-## Input List Items
-List Item Type | Description | Notes
--------------------- | ------------- | -------------
-List> | |
+## Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| ItemsListBuilder2()
Creates an empty list |
+| ItemsListBuilder2(List>> items)
Stores the items in a list |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| ItemsListBuilder2 | add(List> item) |
+| List>> | build()
Returns list input that should be used with Schema.validate |
## ItemsList2
public class ItemsList2
@@ -160,7 +178,7 @@ A class to store validated List payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [ItemsList2](#itemslist2) | of([List>>](#itemslistinput2) arg, SchemaConfiguration configuration) |
+| static [ItemsList2](#itemslist2) | of([List>>](#itemslistbuilder2) arg, SchemaConfiguration configuration) |
## Items1
public static class Items1
@@ -186,11 +204,13 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
NestedItems.ItemsList1 validatedPayload =
NestedItems.Items1.validate(
- Arrays.asList(
+ new .ItemsListBuilder1(
Arrays.asList(
- 1
+ Arrays.asList(
+ 1
+ )
)
- ),
+ ).build(),
configuration
);
```
@@ -204,18 +224,25 @@ NestedItems.ItemsList1 validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [ItemsList1](#itemslist1) | validate([List>](#itemslistinput1) arg, SchemaConfiguration configuration) |
+| [ItemsList1](#itemslist1) | validate([List>](#itemslistbuilder1) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## ItemsListInput1
-public class ItemsListInput1
+## ItemsListBuilder1
+public class ItemsListBuilder1
builder for `List>`
A class that builds the List input type
-## Input List Items
-List Item Type | Description | Notes
--------------------- | ------------- | -------------
-List | |
+## Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| ItemsListBuilder1()
Creates an empty list |
+| ItemsListBuilder1(List> items)
Stores the items in a list |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| ItemsListBuilder1 | add(List item) |
+| List> | build()
Returns list input that should be used with Schema.validate |
## ItemsList1
public class ItemsList1
@@ -226,7 +253,7 @@ A class to store validated List payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [ItemsList1](#itemslist1) | of([List>](#itemslistinput1) arg, SchemaConfiguration configuration) |
+| static [ItemsList1](#itemslist1) | of([List>](#itemslistbuilder1) arg, SchemaConfiguration configuration) |
## Items2
public static class Items2
@@ -252,9 +279,11 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
NestedItems.ItemsList validatedPayload =
NestedItems.Items2.validate(
- Arrays.asList(
- 1
- ),
+ new .ItemsListBuilder(
+ Arrays.asList(
+ 1
+ )
+ ).build(),
configuration
);
```
@@ -268,18 +297,28 @@ NestedItems.ItemsList validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [ItemsList](#itemslist) | validate([List>](#itemslistinput) arg, SchemaConfiguration configuration) |
+| [ItemsList](#itemslist) | validate([List>](#itemslistbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## ItemsListInput
-public class ItemsListInput
+## ItemsListBuilder
+public class ItemsListBuilder
builder for `List`
A class that builds the List input type
-## Input List Items
-List Item Type | Description | Notes
--------------------- | ------------- | -------------
-Number | |
+## Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| ItemsListBuilder()
Creates an empty list |
+| ItemsListBuilder(List items)
Stores the items in a list |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| ItemsListBuilder | add(int item) |
+| ItemsListBuilder | add(float item) |
+| ItemsListBuilder | add(long item) |
+| ItemsListBuilder | add(double item) |
+| List | build()
Returns list input that should be used with Schema.validate |
## ItemsList
public class ItemsList
@@ -290,7 +329,7 @@ A class to store validated List payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [ItemsList](#itemslist) | of([List](#itemslistinput) arg, SchemaConfiguration configuration) |
+| static [ItemsList](#itemslist) | of([List](#itemslistbuilder) arg, SchemaConfiguration configuration) |
## Items3
public static class Items3
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NotMoreComplexSchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NotMoreComplexSchema.md
index e9d09eec050..76c297f8c5c 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NotMoreComplexSchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NotMoreComplexSchema.md
@@ -12,7 +12,7 @@ A class that contains necessary nested
| ----------------- | ---------------------- |
| static class | [NotMoreComplexSchema.NotMoreComplexSchema1](#notmorecomplexschema1)
schema class |
| static class | [NotMoreComplexSchema.Not](#not)
schema class |
-| static class | [NotMoreComplexSchema.NotMapInput](#notmapinput)
builder for Map payloads |
+| static class | [NotMoreComplexSchema.NotMapBuilder](#notmapbuilder)
builder for Map payloads |
| static class | [NotMoreComplexSchema.NotMap](#notmap)
output class for Map payloads |
| static class | [NotMoreComplexSchema.Foo](#foo)
schema class |
@@ -83,10 +83,10 @@ NotMoreComplexSchema.NotMap validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [NotMap](#notmap) | validate([Map, ?>](#notmapinput) arg, SchemaConfiguration configuration) |
+| [NotMap](#notmap) | validate([Map, ?>](#notmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## NotMapInput
-public class NotMapInput
+## NotMapBuilder
+public class NotMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -106,7 +106,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [NotMap](#notmap) | of([Map](#notmapinput) arg, SchemaConfiguration configuration) |
+| static [NotMap](#notmap) | of([Map](#notmapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ObjectPropertiesValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ObjectPropertiesValidation.md
index 368b45f8021..504f19d087a 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ObjectPropertiesValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ObjectPropertiesValidation.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [ObjectPropertiesValidation.ObjectPropertiesValidation1](#objectpropertiesvalidation1)
schema class |
-| static class | [ObjectPropertiesValidation.ObjectPropertiesValidationMapInput](#objectpropertiesvalidationmapinput)
builder for Map payloads |
+| static class | [ObjectPropertiesValidation.ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder)
builder for Map payloads |
| static class | [ObjectPropertiesValidation.ObjectPropertiesValidationMap](#objectpropertiesvalidationmap)
output class for Map payloads |
| static class | [ObjectPropertiesValidation.Bar](#bar)
schema class |
| static class | [ObjectPropertiesValidation.Foo](#foo)
schema class |
@@ -37,11 +37,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [ObjectPropertiesValidationMap](#objectpropertiesvalidationmap) | validate([Map, ?>](#objectpropertiesvalidationmapinput) arg, SchemaConfiguration configuration) |
+| [ObjectPropertiesValidationMap](#objectpropertiesvalidationmap) | validate([Map, ?>](#objectpropertiesvalidationmapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## ObjectPropertiesValidationMapInput
-public class ObjectPropertiesValidationMapInput
+## ObjectPropertiesValidationMapBuilder
+public class ObjectPropertiesValidationMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -49,7 +49,7 @@ A class that builds the Map input type
## Input Map Keys
| Key | Type | Description | Notes |
| --- | ---- | ------------ | ----- |
-| **foo** | long | | [optional] |
+| **foo** | Number | | [optional] |
| **bar** | String | | [optional] |
| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
@@ -62,8 +62,8 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [ObjectPropertiesValidationMap](#objectpropertiesvalidationmap) | of([Map](#objectpropertiesvalidationmapinput) arg, SchemaConfiguration configuration) |
-| long | foo()
[optional] |
+| static [ObjectPropertiesValidationMap](#objectpropertiesvalidationmap) | of([Map](#objectpropertiesvalidationmapbuilder) arg, SchemaConfiguration configuration) |
+| Number | foo()
[optional] |
| String | bar()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofComplexTypes.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofComplexTypes.md
index 8139296dd9d..60448c8420b 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofComplexTypes.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofComplexTypes.md
@@ -12,11 +12,11 @@ A class that contains necessary nested
| ----------------- | ---------------------- |
| static class | [OneofComplexTypes.OneofComplexTypes1](#oneofcomplextypes1)
schema class |
| static class | [OneofComplexTypes.Schema1](#schema1)
schema class |
-| static class | [OneofComplexTypes.Schema1MapInput](#schema1mapinput)
builder for Map payloads |
+| static class | [OneofComplexTypes.Schema1MapBuilder](#schema1mapbuilder)
builder for Map payloads |
| static class | [OneofComplexTypes.Schema1Map](#schema1map)
output class for Map payloads |
| static class | [OneofComplexTypes.Foo](#foo)
schema class |
| static class | [OneofComplexTypes.Schema0](#schema0)
schema class |
-| static class | [OneofComplexTypes.Schema0MapInput](#schema0mapinput)
builder for Map payloads |
+| static class | [OneofComplexTypes.Schema0MapBuilder](#schema0mapbuilder)
builder for Map payloads |
| static class | [OneofComplexTypes.Schema0Map](#schema0map)
output class for Map payloads |
| static class | [OneofComplexTypes.Bar](#bar)
schema class |
@@ -66,11 +66,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema1MapInput
-public class Schema1MapInput
+## Schema1MapBuilder
+public class Schema1MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -90,7 +90,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema1Map](#schema1map) | of([Map](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
@@ -126,11 +126,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema0MapInput
-public class Schema0MapInput
+## Schema0MapBuilder
+public class Schema0MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -138,7 +138,7 @@ A class that builds the Map input type
## Input Map Keys
| Key | Type | Description | Notes |
| --- | ---- | ------------ | ----- |
-| **bar** | long | | |
+| **bar** | Number | | |
| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
## Schema0Map
@@ -150,8 +150,8 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema0Map](#schema0map) | of([Map](#schema0mapinput) arg, SchemaConfiguration configuration) |
-| long | bar()
|
+| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
+| Number | bar()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithRequired.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithRequired.md
index 18404f57c19..6ce8d43dc48 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithRequired.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithRequired.md
@@ -12,10 +12,10 @@ A class that contains necessary nested
| ----------------- | ---------------------- |
| static class | [OneofWithRequired.OneofWithRequired1](#oneofwithrequired1)
schema class |
| static class | [OneofWithRequired.Schema1](#schema1)
schema class |
-| static class | [OneofWithRequired.Schema1MapInput](#schema1mapinput)
builder for Map payloads |
+| static class | [OneofWithRequired.Schema1MapBuilder](#schema1mapbuilder)
builder for Map payloads |
| static class | [OneofWithRequired.Schema1Map](#schema1map)
output class for Map payloads |
| static class | [OneofWithRequired.Schema0](#schema0)
schema class |
-| static class | [OneofWithRequired.Schema0MapInput](#schema0mapinput)
builder for Map payloads |
+| static class | [OneofWithRequired.Schema0MapBuilder](#schema0mapbuilder)
builder for Map payloads |
| static class | [OneofWithRequired.Schema0Map](#schema0map)
output class for Map payloads |
## OneofWithRequired1
@@ -56,11 +56,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| [Schema1Map](#schema1map) | validate([Map, ?>](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema1MapInput
-public class Schema1MapInput
+## Schema1MapBuilder
+public class Schema1MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -81,7 +81,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema1Map](#schema1map) | of([Map](#schema1mapinput) arg, SchemaConfiguration configuration) |
+| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | baz()
|
| @Nullable Object | foo()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
@@ -107,11 +107,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| [Schema0Map](#schema0map) | validate([Map, ?>](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## Schema0MapInput
-public class Schema0MapInput
+## Schema0MapBuilder
+public class Schema0MapBuilder
builder for `Map`
A class that builds the Map input type
@@ -132,7 +132,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [Schema0Map](#schema0map) | of([Map](#schema0mapinput) arg, SchemaConfiguration configuration) |
+| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | bar()
|
| @Nullable Object | foo()
|
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/PropertiesWithEscapedCharacters.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/PropertiesWithEscapedCharacters.md
index 6cceef26d40..0385143e458 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/PropertiesWithEscapedCharacters.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/PropertiesWithEscapedCharacters.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [PropertiesWithEscapedCharacters.PropertiesWithEscapedCharacters1](#propertieswithescapedcharacters1)
schema class |
-| static class | [PropertiesWithEscapedCharacters.PropertiesWithEscapedCharactersMapInput](#propertieswithescapedcharactersmapinput)
builder for Map payloads |
+| static class | [PropertiesWithEscapedCharacters.PropertiesWithEscapedCharactersMapBuilder](#propertieswithescapedcharactersmapbuilder)
builder for Map payloads |
| static class | [PropertiesWithEscapedCharacters.PropertiesWithEscapedCharactersMap](#propertieswithescapedcharactersmap)
output class for Map payloads |
| static class | [PropertiesWithEscapedCharacters.Foofbar](#foofbar)
schema class |
| static class | [PropertiesWithEscapedCharacters.Footbar](#footbar)
schema class |
@@ -41,11 +41,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [PropertiesWithEscapedCharactersMap](#propertieswithescapedcharactersmap) | validate([Map, ?>](#propertieswithescapedcharactersmapinput) arg, SchemaConfiguration configuration) |
+| [PropertiesWithEscapedCharactersMap](#propertieswithescapedcharactersmap) | validate([Map, ?>](#propertieswithescapedcharactersmapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## PropertiesWithEscapedCharactersMapInput
-public class PropertiesWithEscapedCharactersMapInput
+## PropertiesWithEscapedCharactersMapBuilder
+public class PropertiesWithEscapedCharactersMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -70,7 +70,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [PropertiesWithEscapedCharactersMap](#propertieswithescapedcharactersmap) | of([Map](#propertieswithescapedcharactersmapinput) arg, SchemaConfiguration configuration) |
+| static [PropertiesWithEscapedCharactersMap](#propertieswithescapedcharactersmap) | of([Map](#propertieswithescapedcharactersmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | get(String key)
This schema has invalid Java names so this method must be used when you access instance["foo\nbar"], instance["foo\"bar"], instance["foo\\bar"], instance["foo\rbar"], instance["foo\tbar"], instance["foo\fbar"], |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/PropertyNamedRefThatIsNotAReference.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/PropertyNamedRefThatIsNotAReference.md
index e9450391e28..3bbd0ec2d82 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/PropertyNamedRefThatIsNotAReference.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/PropertyNamedRefThatIsNotAReference.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [PropertyNamedRefThatIsNotAReference.PropertyNamedRefThatIsNotAReference1](#propertynamedrefthatisnotareference1)
schema class |
-| static class | [PropertyNamedRefThatIsNotAReference.PropertyNamedRefThatIsNotAReferenceMapInput](#propertynamedrefthatisnotareferencemapinput)
builder for Map payloads |
+| static class | [PropertyNamedRefThatIsNotAReference.PropertyNamedRefThatIsNotAReferenceMapBuilder](#propertynamedrefthatisnotareferencemapbuilder)
builder for Map payloads |
| static class | [PropertyNamedRefThatIsNotAReference.PropertyNamedRefThatIsNotAReferenceMap](#propertynamedrefthatisnotareferencemap)
output class for Map payloads |
| static class | [PropertyNamedRefThatIsNotAReference.Ref](#ref)
schema class |
@@ -36,11 +36,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [PropertyNamedRefThatIsNotAReferenceMap](#propertynamedrefthatisnotareferencemap) | validate([Map, ?>](#propertynamedrefthatisnotareferencemapinput) arg, SchemaConfiguration configuration) |
+| [PropertyNamedRefThatIsNotAReferenceMap](#propertynamedrefthatisnotareferencemap) | validate([Map, ?>](#propertynamedrefthatisnotareferencemapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## PropertyNamedRefThatIsNotAReferenceMapInput
-public class PropertyNamedRefThatIsNotAReferenceMapInput
+## PropertyNamedRefThatIsNotAReferenceMapBuilder
+public class PropertyNamedRefThatIsNotAReferenceMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -60,7 +60,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [PropertyNamedRefThatIsNotAReferenceMap](#propertynamedrefthatisnotareferencemap) | of([Map](#propertynamedrefthatisnotareferencemapinput) arg, SchemaConfiguration configuration) |
+| static [PropertyNamedRefThatIsNotAReferenceMap](#propertynamedrefthatisnotareferencemap) | of([Map](#propertynamedrefthatisnotareferencemapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | get(String key)
This schema has invalid Java names so this method must be used when you access instance["$ref"], |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInAdditionalproperties.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInAdditionalproperties.md
index b797ac81f5c..0b72f234a70 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInAdditionalproperties.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInAdditionalproperties.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [RefInAdditionalproperties.RefInAdditionalproperties1](#refinadditionalproperties1)
schema class |
-| static class | [RefInAdditionalproperties.RefInAdditionalpropertiesMapInput](#refinadditionalpropertiesmapinput)
builder for Map payloads |
+| static class | [RefInAdditionalproperties.RefInAdditionalpropertiesMapBuilder](#refinadditionalpropertiesmapbuilder)
builder for Map payloads |
| static class | [RefInAdditionalproperties.RefInAdditionalpropertiesMap](#refinadditionalpropertiesmap)
output class for Map payloads |
## RefInAdditionalproperties1
@@ -53,10 +53,10 @@ RefInAdditionalproperties.RefInAdditionalpropertiesMap validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [RefInAdditionalpropertiesMap](#refinadditionalpropertiesmap) | validate([Map, ?>](#refinadditionalpropertiesmapinput) arg, SchemaConfiguration configuration) |
+| [RefInAdditionalpropertiesMap](#refinadditionalpropertiesmap) | validate([Map, ?>](#refinadditionalpropertiesmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## RefInAdditionalpropertiesMapInput
-public class RefInAdditionalpropertiesMapInput
+## RefInAdditionalpropertiesMapBuilder
+public class RefInAdditionalpropertiesMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -75,7 +75,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [RefInAdditionalpropertiesMap](#refinadditionalpropertiesmap) | of([Map](#refinadditionalpropertiesmapinput) arg, SchemaConfiguration configuration) |
+| static [RefInAdditionalpropertiesMap](#refinadditionalpropertiesmap) | of([Map](#refinadditionalpropertiesmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
[[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md)
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInItems.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInItems.md
index eddee203eec..7f40cc783aa 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInItems.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInItems.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [RefInItems.RefInItems1](#refinitems1)
schema class |
-| static class | [RefInItems.RefInItemsListInput](#refinitemslistinput)
builder for List payloads |
+| static class | [RefInItems.RefInItemsListBuilder](#refinitemslistbuilder)
builder for List payloads |
| static class | [RefInItems.RefInItemsList](#refinitemslist)
output class for List payloads |
## RefInItems1
@@ -38,8 +38,10 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
RefInItems.RefInItemsList validatedPayload =
RefInItems.RefInItems1.validate(
- Arrays.asList(
- ),
+ new RefInItems.RefInItemsListBuilder(
+ Arrays.asList(
+ )
+ ).build(),
configuration
);
```
@@ -53,18 +55,33 @@ RefInItems.RefInItemsList validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [RefInItemsList](#refinitemslist) | validate([List>](#refinitemslistinput) arg, SchemaConfiguration configuration) |
+| [RefInItemsList](#refinitemslist) | validate([List>](#refinitemslistbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## RefInItemsListInput
-public class RefInItemsListInput
-builder for `List extends @Nullable Object>`
+## RefInItemsListBuilder
+public class RefInItemsListBuilder
+builder for `List<@Nullable Object>`
A class that builds the List input type
-## Input List Items
-List Item Type | Description | Notes
--------------------- | ------------- | -------------
-? extends @Nullable Object | |
+## Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| RefInItemsListBuilder()
Creates an empty list |
+| RefInItemsListBuilder(List<@Nullable Object> items)
Stores the items in a list |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| RefInItemsListBuilder | add(Void item) |
+| RefInItemsListBuilder | add(boolean item) |
+| RefInItemsListBuilder | add(String item) |
+| RefInItemsListBuilder | add(int item) |
+| RefInItemsListBuilder | add(float item) |
+| RefInItemsListBuilder | add(long item) |
+| RefInItemsListBuilder | add(double item) |
+| RefInItemsListBuilder | add(List> item) |
+| RefInItemsListBuilder | add(Map item) |
+| List<@Nullable Object> | build()
Returns list input that should be used with Schema.validate |
## RefInItemsList
public class RefInItemsList
@@ -75,6 +92,6 @@ A class to store validated List payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [RefInItemsList](#refinitemslist) | of([List extends @Nullable Object>](#refinitemslistinput) arg, SchemaConfiguration configuration) |
+| static [RefInItemsList](#refinitemslist) | of([List extends @Nullable Object>](#refinitemslistbuilder) arg, SchemaConfiguration configuration) |
[[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md)
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInProperty.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInProperty.md
index c30157d77fa..31f0febad2d 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInProperty.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RefInProperty.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [RefInProperty.RefInProperty1](#refinproperty1)
schema class |
-| static class | [RefInProperty.RefInPropertyMapInput](#refinpropertymapinput)
builder for Map payloads |
+| static class | [RefInProperty.RefInPropertyMapBuilder](#refinpropertymapbuilder)
builder for Map payloads |
| static class | [RefInProperty.RefInPropertyMap](#refinpropertymap)
output class for Map payloads |
## RefInProperty1
@@ -35,11 +35,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [RefInPropertyMap](#refinpropertymap) | validate([Map, ?>](#refinpropertymapinput) arg, SchemaConfiguration configuration) |
+| [RefInPropertyMap](#refinpropertymap) | validate([Map, ?>](#refinpropertymapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## RefInPropertyMapInput
-public class RefInPropertyMapInput
+## RefInPropertyMapBuilder
+public class RefInPropertyMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -59,7 +59,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [RefInPropertyMap](#refinpropertymap) | of([Map](#refinpropertymapinput) arg, SchemaConfiguration configuration) |
+| static [RefInPropertyMap](#refinpropertymap) | of([Map](#refinpropertymapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | a()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredDefaultValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredDefaultValidation.md
index f43f37a63e6..6b8337f11fd 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredDefaultValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredDefaultValidation.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [RequiredDefaultValidation.RequiredDefaultValidation1](#requireddefaultvalidation1)
schema class |
-| static class | [RequiredDefaultValidation.RequiredDefaultValidationMapInput](#requireddefaultvalidationmapinput)
builder for Map payloads |
+| static class | [RequiredDefaultValidation.RequiredDefaultValidationMapBuilder](#requireddefaultvalidationmapbuilder)
builder for Map payloads |
| static class | [RequiredDefaultValidation.RequiredDefaultValidationMap](#requireddefaultvalidationmap)
output class for Map payloads |
| static class | [RequiredDefaultValidation.Foo](#foo)
schema class |
@@ -36,11 +36,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [RequiredDefaultValidationMap](#requireddefaultvalidationmap) | validate([Map, ?>](#requireddefaultvalidationmapinput) arg, SchemaConfiguration configuration) |
+| [RequiredDefaultValidationMap](#requireddefaultvalidationmap) | validate([Map, ?>](#requireddefaultvalidationmapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## RequiredDefaultValidationMapInput
-public class RequiredDefaultValidationMapInput
+## RequiredDefaultValidationMapBuilder
+public class RequiredDefaultValidationMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -60,7 +60,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [RequiredDefaultValidationMap](#requireddefaultvalidationmap) | of([Map](#requireddefaultvalidationmapinput) arg, SchemaConfiguration configuration) |
+| static [RequiredDefaultValidationMap](#requireddefaultvalidationmap) | of([Map](#requireddefaultvalidationmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredValidation.md
index c6689d62fbe..6c73df5c891 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredValidation.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [RequiredValidation.RequiredValidation1](#requiredvalidation1)
schema class |
-| static class | [RequiredValidation.RequiredValidationMapInput](#requiredvalidationmapinput)
builder for Map payloads |
+| static class | [RequiredValidation.RequiredValidationMapBuilder](#requiredvalidationmapbuilder)
builder for Map payloads |
| static class | [RequiredValidation.RequiredValidationMap](#requiredvalidationmap)
output class for Map payloads |
| static class | [RequiredValidation.Bar](#bar)
schema class |
| static class | [RequiredValidation.Foo](#foo)
schema class |
@@ -38,11 +38,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [RequiredValidationMap](#requiredvalidationmap) | validate([Map, ?>](#requiredvalidationmapinput) arg, SchemaConfiguration configuration) |
+| [RequiredValidationMap](#requiredvalidationmap) | validate([Map, ?>](#requiredvalidationmapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## RequiredValidationMapInput
-public class RequiredValidationMapInput
+## RequiredValidationMapBuilder
+public class RequiredValidationMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -63,7 +63,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [RequiredValidationMap](#requiredvalidationmap) | of([Map](#requiredvalidationmapinput) arg, SchemaConfiguration configuration) |
+| static [RequiredValidationMap](#requiredvalidationmap) | of([Map](#requiredvalidationmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
|
| @Nullable Object | bar()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredWithEmptyArray.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredWithEmptyArray.md
index 13d764a0034..ae441e85cc4 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredWithEmptyArray.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredWithEmptyArray.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [RequiredWithEmptyArray.RequiredWithEmptyArray1](#requiredwithemptyarray1)
schema class |
-| static class | [RequiredWithEmptyArray.RequiredWithEmptyArrayMapInput](#requiredwithemptyarraymapinput)
builder for Map payloads |
+| static class | [RequiredWithEmptyArray.RequiredWithEmptyArrayMapBuilder](#requiredwithemptyarraymapbuilder)
builder for Map payloads |
| static class | [RequiredWithEmptyArray.RequiredWithEmptyArrayMap](#requiredwithemptyarraymap)
output class for Map payloads |
| static class | [RequiredWithEmptyArray.Foo](#foo)
schema class |
@@ -36,11 +36,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [RequiredWithEmptyArrayMap](#requiredwithemptyarraymap) | validate([Map, ?>](#requiredwithemptyarraymapinput) arg, SchemaConfiguration configuration) |
+| [RequiredWithEmptyArrayMap](#requiredwithemptyarraymap) | validate([Map, ?>](#requiredwithemptyarraymapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## RequiredWithEmptyArrayMapInput
-public class RequiredWithEmptyArrayMapInput
+## RequiredWithEmptyArrayMapBuilder
+public class RequiredWithEmptyArrayMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -60,7 +60,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [RequiredWithEmptyArrayMap](#requiredwithemptyarraymap) | of([Map](#requiredwithemptyarraymapinput) arg, SchemaConfiguration configuration) |
+| static [RequiredWithEmptyArrayMap](#requiredwithemptyarraymap) | of([Map](#requiredwithemptyarraymapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
[optional] |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredWithEscapedCharacters.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredWithEscapedCharacters.md
index df3f1d27ea2..1a60f6079ba 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredWithEscapedCharacters.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/RequiredWithEscapedCharacters.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [RequiredWithEscapedCharacters.RequiredWithEscapedCharacters1](#requiredwithescapedcharacters1)
schema class |
-| static class | [RequiredWithEscapedCharacters.RequiredWithEscapedCharactersMapInput](#requiredwithescapedcharactersmapinput)
builder for Map payloads |
+| static class | [RequiredWithEscapedCharacters.RequiredWithEscapedCharactersMapBuilder](#requiredwithescapedcharactersmapbuilder)
builder for Map payloads |
| static class | [RequiredWithEscapedCharacters.RequiredWithEscapedCharactersMap](#requiredwithescapedcharactersmap)
output class for Map payloads |
## RequiredWithEscapedCharacters1
@@ -35,11 +35,11 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| [RequiredWithEscapedCharactersMap](#requiredwithescapedcharactersmap) | validate([Map, ?>](#requiredwithescapedcharactersmapinput) arg, SchemaConfiguration configuration) |
+| [RequiredWithEscapedCharactersMap](#requiredwithescapedcharactersmap) | validate([Map, ?>](#requiredwithescapedcharactersmapbuilder) arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## RequiredWithEscapedCharactersMapInput
-public class RequiredWithEscapedCharactersMapInput
+## RequiredWithEscapedCharactersMapBuilder
+public class RequiredWithEscapedCharactersMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -64,7 +64,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [RequiredWithEscapedCharactersMap](#requiredwithescapedcharactersmap) | of([Map](#requiredwithescapedcharactersmapinput) arg, SchemaConfiguration configuration) |
+| static [RequiredWithEscapedCharactersMap](#requiredwithescapedcharactersmap) | of([Map](#requiredwithescapedcharactersmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | get(String key)
This schema has invalid Java names so this method must be used when you access instance["foo\tbar"], instance["foo\nbar"], instance["foo\fbar"], instance["foo\rbar"], instance["foo\"bar"], instance["foo\\bar"], |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md
index 4a0ae738ded..7540335bc23 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md
@@ -11,7 +11,7 @@ A class that contains necessary nested
| Modifier and Type | Class and Description |
| ----------------- | ---------------------- |
| static class | [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing1](#thedefaultkeyworddoesnotdoanythingifthepropertyismissing1)
schema class |
-| static class | [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMapInput](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmapinput)
builder for Map payloads |
+| static class | [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMapBuilder](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmapbuilder)
builder for Map payloads |
| static class | [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMap](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmap)
output class for Map payloads |
| static class | [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.Alpha](#alpha)
schema class |
@@ -58,10 +58,10 @@ TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.TheDefaultKeywordDoesNo
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMap](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmap) | validate([Map, ?>](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmapinput) arg, SchemaConfiguration configuration) |
+| [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMap](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmap) | validate([Map, ?>](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
-## TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMapInput
-public class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMapInput
+## TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMapBuilder
+public class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMapBuilder
builder for `Map`
A class that builds the Map input type
@@ -81,7 +81,7 @@ A class to store validated Map payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| static [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMap](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmap) | of([Map](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmapinput) arg, SchemaConfiguration configuration) |
+| static [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMap](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmap) | of([Map](#thedefaultkeyworddoesnotdoanythingifthepropertyismissingmapbuilder) arg, SchemaConfiguration configuration) |
| Number | alpha()
[optional] if omitted the server will use the default value of 5.0 |
| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidate.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidate.java
index bfbdee16c84..5ddc584fe78 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidate.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidate.java
@@ -91,7 +91,7 @@ public boolean getAdditionalProperty(String name) throws UnsetPropertyException,
return (boolean) value;
}
}
- public static class AdditionalpropertiesAllowsASchemaWhichShouldValidateMapInput {
+ public static class AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder {
// optionalProperties + additionalProperties
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAreAllowedByDefault.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAreAllowedByDefault.java
index 2d652d4d764..ae0edba19d3 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAreAllowedByDefault.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAreAllowedByDefault.java
@@ -85,7 +85,7 @@ public static AdditionalpropertiesAreAllowedByDefaultMap of(Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesCanExistByItself.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesCanExistByItself.java
index fe8a9e78286..1ca666c79c3 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesCanExistByItself.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesCanExistByItself.java
@@ -56,7 +56,7 @@ public boolean getAdditionalProperty(String name) throws UnsetPropertyException
return (boolean) value;
}
}
- public static class AdditionalpropertiesCanExistByItselfMapInput {
+ public static class AdditionalpropertiesCanExistByItselfMapBuilder {
// Map
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesShouldNotLookInApplicators.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesShouldNotLookInApplicators.java
index b0217658ede..4dd5370756c 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesShouldNotLookInApplicators.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesShouldNotLookInApplicators.java
@@ -81,7 +81,7 @@ public static Schema0Map of(Map arg, SchemaC
return get(name);
}
}
- public static class Schema0MapInput {
+ public static class Schema0MapBuilder {
// Map because addProps is unset
}
@@ -302,7 +302,7 @@ public boolean getAdditionalProperty(String name) throws UnsetPropertyException
return (boolean) value;
}
}
- public static class AdditionalpropertiesShouldNotLookInApplicatorsMapInput {
+ public static class AdditionalpropertiesShouldNotLookInApplicatorsMapBuilder {
// Map
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/Allof.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/Allof.java
index 28a505d59d3..44e8ed458bf 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/Allof.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/Allof.java
@@ -60,12 +60,12 @@ public static Schema0Map of(Map arg, SchemaC
return Schema0.getInstance().validate(arg, configuration);
}
- public long bar() {
+ public Number bar() {
@Nullable Object value = get("bar");
- if (!(value instanceof Long)) {
+ if (!(value instanceof Number)) {
throw new InvalidTypeException("Invalid value stored for bar");
}
- return (long) value;
+ return (Number) value;
}
public @Nullable Object getAdditionalProperty(String name) throws UnsetPropertyException, InvalidAdditionalPropertyException {
@@ -74,7 +74,7 @@ public long bar() {
return get(name);
}
}
- public static class Schema0MapInput {
+ public static class Schema0MapBuilder {
// Map because addProps is unset
}
@@ -316,7 +316,7 @@ public String foo() {
return get(name);
}
}
- public static class Schema1MapInput {
+ public static class Schema1MapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AllofWithBaseSchema.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AllofWithBaseSchema.java
index 35871d6a4b4..066fa270557 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AllofWithBaseSchema.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AllofWithBaseSchema.java
@@ -75,7 +75,7 @@ public String foo() {
return get(name);
}
}
- public static class Schema0MapInput {
+ public static class Schema0MapBuilder {
// Map because addProps is unset
}
@@ -317,7 +317,7 @@ public Void baz() {
return get(name);
}
}
- public static class Schema1MapInput {
+ public static class Schema1MapBuilder {
// Map because addProps is unset
}
@@ -545,12 +545,12 @@ public static AllofWithBaseSchemaMap of(Map
return AllofWithBaseSchema1.getInstance().validate(arg, configuration);
}
- public long bar() {
+ public Number bar() {
@Nullable Object value = get("bar");
- if (!(value instanceof Long)) {
+ if (!(value instanceof Number)) {
throw new InvalidTypeException("Invalid value stored for bar");
}
- return (long) value;
+ return (Number) value;
}
public @Nullable Object getAdditionalProperty(String name) throws UnsetPropertyException, InvalidAdditionalPropertyException {
@@ -559,7 +559,7 @@ public long bar() {
return get(name);
}
}
- public static class AllofWithBaseSchemaMapInput {
+ public static class AllofWithBaseSchemaMapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AnyofComplexTypes.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AnyofComplexTypes.java
index ebdc18e266c..07d21b55373 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AnyofComplexTypes.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/AnyofComplexTypes.java
@@ -60,12 +60,12 @@ public static Schema0Map of(Map arg, SchemaC
return Schema0.getInstance().validate(arg, configuration);
}
- public long bar() {
+ public Number bar() {
@Nullable Object value = get("bar");
- if (!(value instanceof Long)) {
+ if (!(value instanceof Number)) {
throw new InvalidTypeException("Invalid value stored for bar");
}
- return (long) value;
+ return (Number) value;
}
public @Nullable Object getAdditionalProperty(String name) throws UnsetPropertyException, InvalidAdditionalPropertyException {
@@ -74,7 +74,7 @@ public long bar() {
return get(name);
}
}
- public static class Schema0MapInput {
+ public static class Schema0MapBuilder {
// Map because addProps is unset
}
@@ -316,7 +316,7 @@ public String foo() {
return get(name);
}
}
- public static class Schema1MapInput {
+ public static class Schema1MapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ArrayTypeMatchesArrays.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ArrayTypeMatchesArrays.java
index 03d073714db..87e209e78a8 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ArrayTypeMatchesArrays.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ArrayTypeMatchesArrays.java
@@ -4,6 +4,7 @@
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
+import java.util.Map;
import java.util.Objects;
import java.util.Set;
import org.checkerframework.checker.nullness.qual.Nullable;
@@ -43,8 +44,66 @@ public static ArrayTypeMatchesArraysList of(List extends @Nullable Object> arg
}
}
- public static class ArrayTypeMatchesArraysListInput {
- // class to build List extends @Nullable Object>
+ public static class ArrayTypeMatchesArraysListBuilder {
+ // class to build List<@Nullable Object>
+ private final List<@Nullable Object> list;
+
+ public ArrayTypeMatchesArraysListBuilder() {
+ list = new ArrayList<>();
+ }
+
+ public ArrayTypeMatchesArraysListBuilder(List<@Nullable Object> list) {
+ this.list = list;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(Void item) {
+ list.add(null);
+ return this;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(boolean item) {
+ list.add(item);
+ return this;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(String item) {
+ list.add(item);
+ return this;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(int item) {
+ list.add(item);
+ return this;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(float item) {
+ list.add(item);
+ return this;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(long item) {
+ list.add(item);
+ return this;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(double item) {
+ list.add(item);
+ return this;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(List> item) {
+ list.add(item);
+ return this;
+ }
+
+ public ArrayTypeMatchesArraysListBuilder add(Map item) {
+ list.add(item);
+ return this;
+ }
+
+ public List<@Nullable Object> build() {
+ return list;
+ }
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/EnumsInProperties.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/EnumsInProperties.java
index 37def2ae71b..8f5df30b113 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/EnumsInProperties.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/EnumsInProperties.java
@@ -198,7 +198,7 @@ public String foo() throws UnsetPropertyException {
return get(name);
}
}
- public static class EnumsInPropertiesMapInput {
+ public static class EnumsInPropertiesMapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ForbiddenProperty.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ForbiddenProperty.java
index c16496988eb..68c2122d526 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ForbiddenProperty.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ForbiddenProperty.java
@@ -71,7 +71,7 @@ public static ForbiddenPropertyMap of(Map ar
return get(name);
}
}
- public static class ForbiddenPropertyMapInput {
+ public static class ForbiddenPropertyMapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/InvalidStringValueForDefault.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/InvalidStringValueForDefault.java
index 21b8d4ef7d9..fecbe9a4124 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/InvalidStringValueForDefault.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/InvalidStringValueForDefault.java
@@ -109,7 +109,7 @@ public String bar() throws UnsetPropertyException {
return get(name);
}
}
- public static class InvalidStringValueForDefaultMapInput {
+ public static class InvalidStringValueForDefaultMapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/NestedItems.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/NestedItems.java
index bc5b97558d6..770bb5b7aa4 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/NestedItems.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/NestedItems.java
@@ -43,8 +43,41 @@ public static ItemsList of(List arg, SchemaConfiguration configuration)
}
}
- public static class ItemsListInput {
+ public static class ItemsListBuilder {
// class to build List
+ private final List list;
+
+ public ItemsListBuilder() {
+ list = new ArrayList<>();
+ }
+
+ public ItemsListBuilder(List list) {
+ this.list = list;
+ }
+
+ public ItemsListBuilder add(int item) {
+ list.add(item);
+ return this;
+ }
+
+ public ItemsListBuilder add(float item) {
+ list.add(item);
+ return this;
+ }
+
+ public ItemsListBuilder add(long item) {
+ list.add(item);
+ return this;
+ }
+
+ public ItemsListBuilder add(double item) {
+ list.add(item);
+ return this;
+ }
+
+ public List build() {
+ return list;
+ }
}
@@ -123,8 +156,26 @@ public static ItemsList1 of(List> arg, SchemaConfiguration configur
}
}
- public static class ItemsListInput1 {
+ public static class ItemsListBuilder1 {
// class to build List>
+ private final List> list;
+
+ public ItemsListBuilder1() {
+ list = new ArrayList<>();
+ }
+
+ public ItemsListBuilder1(List> list) {
+ this.list = list;
+ }
+
+ public ItemsListBuilder1 add(List item) {
+ list.add(item);
+ return this;
+ }
+
+ public List> build() {
+ return list;
+ }
}
@@ -203,8 +254,26 @@ public static ItemsList2 of(List>> arg, SchemaConfiguration co
}
}
- public static class ItemsListInput2 {
+ public static class ItemsListBuilder2 {
// class to build List>>
+ private final List>> list;
+
+ public ItemsListBuilder2() {
+ list = new ArrayList<>();
+ }
+
+ public ItemsListBuilder2(List>> list) {
+ this.list = list;
+ }
+
+ public ItemsListBuilder2 add(List> item) {
+ list.add(item);
+ return this;
+ }
+
+ public List>> build() {
+ return list;
+ }
}
@@ -283,8 +352,26 @@ public static NestedItemsList of(List>>> arg, SchemaConfi
}
}
- public static class NestedItemsListInput {
+ public static class NestedItemsListBuilder {
// class to build List>>>
+ private final List>>> list;
+
+ public NestedItemsListBuilder() {
+ list = new ArrayList<>();
+ }
+
+ public NestedItemsListBuilder(List>>> list) {
+ this.list = list;
+ }
+
+ public NestedItemsListBuilder add(List>> item) {
+ list.add(item);
+ return this;
+ }
+
+ public List>>> build() {
+ return list;
+ }
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/NotMoreComplexSchema.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/NotMoreComplexSchema.java
index 47087228cbd..bf605a8b2de 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/NotMoreComplexSchema.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/NotMoreComplexSchema.java
@@ -75,7 +75,7 @@ public String foo() throws UnsetPropertyException {
return get(name);
}
}
- public static class NotMapInput {
+ public static class NotMapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ObjectPropertiesValidation.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ObjectPropertiesValidation.java
index fd5c4834261..1f557eaad9f 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ObjectPropertiesValidation.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/ObjectPropertiesValidation.java
@@ -72,14 +72,14 @@ public static ObjectPropertiesValidationMap of(Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/OneofComplexTypes.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/OneofComplexTypes.java
index a8779ffcc3c..1a68336d88d 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/OneofComplexTypes.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/OneofComplexTypes.java
@@ -60,12 +60,12 @@ public static Schema0Map of(Map arg, SchemaC
return Schema0.getInstance().validate(arg, configuration);
}
- public long bar() {
+ public Number bar() {
@Nullable Object value = get("bar");
- if (!(value instanceof Long)) {
+ if (!(value instanceof Number)) {
throw new InvalidTypeException("Invalid value stored for bar");
}
- return (long) value;
+ return (Number) value;
}
public @Nullable Object getAdditionalProperty(String name) throws UnsetPropertyException, InvalidAdditionalPropertyException {
@@ -74,7 +74,7 @@ public long bar() {
return get(name);
}
}
- public static class Schema0MapInput {
+ public static class Schema0MapBuilder {
// Map because addProps is unset
}
@@ -316,7 +316,7 @@ public String foo() {
return get(name);
}
}
- public static class Schema1MapInput {
+ public static class Schema1MapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/OneofWithRequired.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/OneofWithRequired.java
index 4c5e9357f8c..85017ec7c07 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/OneofWithRequired.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/OneofWithRequired.java
@@ -61,7 +61,7 @@ public static Schema0Map of(Map arg, SchemaC
return get(name);
}
}
- public static class Schema0MapInput {
+ public static class Schema0MapBuilder {
// Map because addProps is unset
}
@@ -291,7 +291,7 @@ public static Schema1Map of(Map arg, SchemaC
return get(name);
}
}
- public static class Schema1MapInput {
+ public static class Schema1MapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/PropertiesWithEscapedCharacters.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/PropertiesWithEscapedCharacters.java
index 7232f9a2961..2d9787d426b 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/PropertiesWithEscapedCharacters.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/PropertiesWithEscapedCharacters.java
@@ -125,7 +125,7 @@ public static PropertiesWithEscapedCharactersMap of(Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/PropertyNamedRefThatIsNotAReference.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/PropertyNamedRefThatIsNotAReference.java
index c418e940514..d143d30c631 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/PropertyNamedRefThatIsNotAReference.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/PropertyNamedRefThatIsNotAReference.java
@@ -65,7 +65,7 @@ public static PropertyNamedRefThatIsNotAReferenceMap of(Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInAdditionalproperties.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInAdditionalproperties.java
index 84717cf21fc..1dcaf1c1519 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInAdditionalproperties.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInAdditionalproperties.java
@@ -39,7 +39,7 @@ public static RefInAdditionalpropertiesMap of(Map
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInItems.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInItems.java
index 2a4a1838fe5..fb86c6c752a 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInItems.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInItems.java
@@ -4,6 +4,7 @@
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
+import java.util.Map;
import java.util.Objects;
import java.util.Set;
import org.checkerframework.checker.nullness.qual.Nullable;
@@ -31,8 +32,66 @@ public static RefInItemsList of(List extends @Nullable Object> arg, SchemaConf
}
}
- public static class RefInItemsListInput {
- // class to build List extends @Nullable Object>
+ public static class RefInItemsListBuilder {
+ // class to build List<@Nullable Object>
+ private final List<@Nullable Object> list;
+
+ public RefInItemsListBuilder() {
+ list = new ArrayList<>();
+ }
+
+ public RefInItemsListBuilder(List<@Nullable Object> list) {
+ this.list = list;
+ }
+
+ public RefInItemsListBuilder add(Void item) {
+ list.add(null);
+ return this;
+ }
+
+ public RefInItemsListBuilder add(boolean item) {
+ list.add(item);
+ return this;
+ }
+
+ public RefInItemsListBuilder add(String item) {
+ list.add(item);
+ return this;
+ }
+
+ public RefInItemsListBuilder add(int item) {
+ list.add(item);
+ return this;
+ }
+
+ public RefInItemsListBuilder add(float item) {
+ list.add(item);
+ return this;
+ }
+
+ public RefInItemsListBuilder add(long item) {
+ list.add(item);
+ return this;
+ }
+
+ public RefInItemsListBuilder add(double item) {
+ list.add(item);
+ return this;
+ }
+
+ public RefInItemsListBuilder add(List> item) {
+ list.add(item);
+ return this;
+ }
+
+ public RefInItemsListBuilder add(Map item) {
+ list.add(item);
+ return this;
+ }
+
+ public List<@Nullable Object> build() {
+ return list;
+ }
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInProperty.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInProperty.java
index 4ad27303134..dce791aa06a 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInProperty.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RefInProperty.java
@@ -63,7 +63,7 @@ public static RefInPropertyMap of(Map arg, S
return get(name);
}
}
- public static class RefInPropertyMapInput {
+ public static class RefInPropertyMapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredDefaultValidation.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredDefaultValidation.java
index caf58c7a6c3..4a54b12dc06 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredDefaultValidation.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredDefaultValidation.java
@@ -69,7 +69,7 @@ public static RequiredDefaultValidationMap of(Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredValidation.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredValidation.java
index 8c992e07b4a..720fd09538b 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredValidation.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredValidation.java
@@ -86,7 +86,7 @@ public static RequiredValidationMap of(Map a
return get(name);
}
}
- public static class RequiredValidationMapInput {
+ public static class RequiredValidationMapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredWithEmptyArray.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredWithEmptyArray.java
index 7ebbb2dc374..5847be5ef6f 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredWithEmptyArray.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredWithEmptyArray.java
@@ -69,7 +69,7 @@ public static RequiredWithEmptyArrayMap of(Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredWithEscapedCharacters.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredWithEscapedCharacters.java
index 415a20aba47..73ad540f7d0 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredWithEscapedCharacters.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/RequiredWithEscapedCharacters.java
@@ -57,7 +57,7 @@ public static RequiredWithEscapedCharactersMap of(Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.java
index 0b16c33cd75..3fce0fe7de6 100644
--- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.java
+++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/components/schemas/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.java
@@ -120,7 +120,7 @@ public Number alpha() throws UnsetPropertyException {
return get(name);
}
}
- public static class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMapInput {
+ public static class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingMapBuilder {
// Map because addProps is unset
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidateTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidateTest.java
index 2ecc3133f38..4855aad8ccd 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidateTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAllowsASchemaWhichShouldValidateTest.java
@@ -25,7 +25,7 @@ public void testNoAdditionalPropertiesIsValidPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"foo",
- 1L
+ 1
)
),
configuration
@@ -40,11 +40,11 @@ public void testAnAdditionalValidPropertyIsValidPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
),
new AbstractMap.SimpleEntry(
"quux",
@@ -62,17 +62,17 @@ public void testAnAdditionalInvalidPropertyIsInvalidFails() {
try {
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"quux",
- 12L
+ 12
)
),
configuration
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAreAllowedByDefaultTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAreAllowedByDefaultTest.java
index 1884565bfd7..d18db3acc22 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAreAllowedByDefaultTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesAreAllowedByDefaultTest.java
@@ -25,11 +25,11 @@ public void testAdditionalPropertiesAreAllowedPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
),
new AbstractMap.SimpleEntry(
"quux",
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesCanExistByItselfTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesCanExistByItselfTest.java
index 1c6623e4c9d..84a4ff00ab9 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesCanExistByItselfTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesCanExistByItselfTest.java
@@ -41,7 +41,7 @@ public void testAnAdditionalInvalidPropertyIsInvalidFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"foo",
- 1L
+ 1
)
),
configuration
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesShouldNotLookInApplicatorsTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesShouldNotLookInApplicatorsTest.java
index bec5fe1b09d..865012aca94 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesShouldNotLookInApplicatorsTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AdditionalpropertiesShouldNotLookInApplicatorsTest.java
@@ -26,7 +26,7 @@ public void testPropertiesDefinedInAllofAreNotExaminedFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
new AbstractMap.SimpleEntry(
"bar",
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofCombinedWithAnyofOneofTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofCombinedWithAnyofOneofTest.java
index 98a190f821b..6fc648438c7 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofCombinedWithAnyofOneofTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofCombinedWithAnyofOneofTest.java
@@ -23,7 +23,7 @@ public void testAllofFalseAnyofFalseOneofTrueFails() {
final var schema = AllofCombinedWithAnyofOneof.AllofCombinedWithAnyofOneof1.getInstance();
try {
schema.validate(
- 5L,
+ 5,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -38,7 +38,7 @@ public void testAllofFalseAnyofTrueOneofFalseFails() {
final var schema = AllofCombinedWithAnyofOneof.AllofCombinedWithAnyofOneof1.getInstance();
try {
schema.validate(
- 3L,
+ 3,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -53,7 +53,7 @@ public void testAllofFalseAnyofTrueOneofTrueFails() {
final var schema = AllofCombinedWithAnyofOneof.AllofCombinedWithAnyofOneof1.getInstance();
try {
schema.validate(
- 15L,
+ 15,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -68,7 +68,7 @@ public void testAllofTrueAnyofFalseOneofFalseFails() {
final var schema = AllofCombinedWithAnyofOneof.AllofCombinedWithAnyofOneof1.getInstance();
try {
schema.validate(
- 2L,
+ 2,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -82,7 +82,7 @@ public void testAllofTrueAnyofTrueOneofTruePasses() {
// allOf: true, anyOf: true, oneOf: true
final var schema = AllofCombinedWithAnyofOneof.AllofCombinedWithAnyofOneof1.getInstance();
schema.validate(
- 30L,
+ 30,
configuration
);
}
@@ -93,7 +93,7 @@ public void testAllofFalseAnyofFalseOneofFalseFails() {
final var schema = AllofCombinedWithAnyofOneof.AllofCombinedWithAnyofOneof1.getInstance();
try {
schema.validate(
- 1L,
+ 1,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -108,7 +108,7 @@ public void testAllofTrueAnyofFalseOneofTrueFails() {
final var schema = AllofCombinedWithAnyofOneof.AllofCombinedWithAnyofOneof1.getInstance();
try {
schema.validate(
- 10L,
+ 10,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -123,7 +123,7 @@ public void testAllofTrueAnyofTrueOneofFalseFails() {
final var schema = AllofCombinedWithAnyofOneof.AllofCombinedWithAnyofOneof1.getInstance();
try {
schema.validate(
- 6L,
+ 6,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofSimpleTypesTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofSimpleTypesTest.java
index ee0e4dcc445..eb194df97d3 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofSimpleTypesTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofSimpleTypesTest.java
@@ -23,7 +23,7 @@ public void testMismatchOneFails() {
final var schema = AllofSimpleTypes.AllofSimpleTypes1.getInstance();
try {
schema.validate(
- 35L,
+ 35,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -37,7 +37,7 @@ public void testValidPasses() {
// valid
final var schema = AllofSimpleTypes.AllofSimpleTypes1.getInstance();
schema.validate(
- 25L,
+ 25,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofTest.java
index ec4276cdc80..0d41594ad73 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofTest.java
@@ -70,7 +70,7 @@ public void testMismatchFirstFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"bar",
- 2L
+ 2
)
),
configuration
@@ -93,7 +93,7 @@ public void testAllofPasses() {
),
new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
)
),
configuration
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithBaseSchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithBaseSchemaTest.java
index 67768a67c5f..638c63b2e78 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithBaseSchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithBaseSchemaTest.java
@@ -48,11 +48,11 @@ public void testMismatchFirstAllofFails() {
try {
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"baz",
null
)
@@ -77,7 +77,7 @@ public void testValidPasses() {
),
new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
),
new AbstractMap.SimpleEntry(
"baz",
@@ -97,7 +97,7 @@ public void testMismatchBothFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"bar",
- 2L
+ 2
)
),
configuration
@@ -121,7 +121,7 @@ public void testMismatchSecondAllofFails() {
),
new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
)
),
configuration
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithOneEmptySchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithOneEmptySchemaTest.java
index 2e4c2a59db1..f1f9df1351d 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithOneEmptySchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithOneEmptySchemaTest.java
@@ -22,7 +22,7 @@ public void testAnyDataIsValidPasses() {
// any data is valid
final var schema = AllofWithOneEmptySchema.AllofWithOneEmptySchema1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTheFirstEmptySchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTheFirstEmptySchemaTest.java
index 1cefd1bd175..a4634ebdb51 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTheFirstEmptySchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTheFirstEmptySchemaTest.java
@@ -37,7 +37,7 @@ public void testNumberIsValidPasses() {
// number is valid
final var schema = AllofWithTheFirstEmptySchema.AllofWithTheFirstEmptySchema1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTheLastEmptySchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTheLastEmptySchemaTest.java
index d2c94a7611a..eec76b3ec54 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTheLastEmptySchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTheLastEmptySchemaTest.java
@@ -37,7 +37,7 @@ public void testNumberIsValidPasses() {
// number is valid
final var schema = AllofWithTheLastEmptySchema.AllofWithTheLastEmptySchema1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTwoEmptySchemasTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTwoEmptySchemasTest.java
index b9d8a4ff735..bd5c3b0993b 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTwoEmptySchemasTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AllofWithTwoEmptySchemasTest.java
@@ -22,7 +22,7 @@ public void testAnyDataIsValidPasses() {
// any data is valid
final var schema = AllofWithTwoEmptySchemas.AllofWithTwoEmptySchemas1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofComplexTypesTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofComplexTypesTest.java
index 4113805a486..f25fd6d12dd 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofComplexTypesTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofComplexTypesTest.java
@@ -44,7 +44,7 @@ public void testBothAnyofValidComplexPasses() {
),
new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
)
),
configuration
@@ -59,7 +59,7 @@ public void testFirstAnyofValidComplexPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"bar",
- 2L
+ 2
)
),
configuration
@@ -75,7 +75,7 @@ public void testNeitherAnyofValidComplexFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry(
"foo",
- 2L
+ 2
),
new AbstractMap.SimpleEntry(
"bar",
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofTest.java
index 3b93976b507..538f6f756a4 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofTest.java
@@ -22,7 +22,7 @@ public void testBothAnyofValidPasses() {
// both anyOf valid
final var schema = Anyof.Anyof1.getInstance();
schema.validate(
- 3L,
+ 3,
configuration
);
}
@@ -47,7 +47,7 @@ public void testFirstAnyofValidPasses() {
// first anyOf valid
final var schema = Anyof.Anyof1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofWithBaseSchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofWithBaseSchemaTest.java
index 3c21e060277..3de52d14942 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofWithBaseSchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofWithBaseSchemaTest.java
@@ -23,7 +23,7 @@ public void testMismatchBaseSchemaFails() {
final var schema = AnyofWithBaseSchema.AnyofWithBaseSchema1.getInstance();
try {
schema.validate(
- 3L,
+ 3,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofWithOneEmptySchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofWithOneEmptySchemaTest.java
index 44ecd14c170..83e7e8aa4d1 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofWithOneEmptySchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/AnyofWithOneEmptySchemaTest.java
@@ -22,7 +22,7 @@ public void testNumberIsValidPasses() {
// number is valid
final var schema = AnyofWithOneEmptySchema.AnyofWithOneEmptySchema1.getInstance();
schema.validate(
- 123L,
+ 123,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ArrayTypeMatchesArraysTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ArrayTypeMatchesArraysTest.java
index 4e7128faef6..95312f0730f 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ArrayTypeMatchesArraysTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ArrayTypeMatchesArraysTest.java
@@ -52,8 +52,10 @@ public void testAnArrayIsAnArrayPasses() {
// an array is an array
final var schema = ArrayTypeMatchesArrays.ArrayTypeMatchesArrays1.getInstance();
schema.validate(
- Arrays.asList(
- ),
+ new ArrayTypeMatchesArrays.ArrayTypeMatchesArraysListBuilder(
+ Arrays.asList(
+ )
+ ).build(),
configuration
);
}
@@ -94,7 +96,7 @@ public void testAnIntegerIsNotAnArrayFails() {
final var schema = ArrayTypeMatchesArrays.ArrayTypeMatchesArrays1.getInstance();
try {
schema.validate(
- 1L,
+ 1,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/BooleanTypeMatchesBooleansTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/BooleanTypeMatchesBooleansTest.java
index 5a2302fc603..eeaf8f4afb7 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/BooleanTypeMatchesBooleansTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/BooleanTypeMatchesBooleansTest.java
@@ -120,7 +120,7 @@ public void testAnIntegerIsNotABooleanFails() {
final var schema = BooleanTypeMatchesBooleans.BooleanTypeMatchesBooleans1.getInstance();
try {
schema.validate(
- 1L,
+ 1,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -135,7 +135,7 @@ public void testZeroIsNotABooleanFails() {
final var schema = BooleanTypeMatchesBooleans.BooleanTypeMatchesBooleans1.getInstance();
try {
schema.validate(
- 0L,
+ 0,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ByIntTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ByIntTest.java
index 823ed263202..c58ef383b46 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ByIntTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ByIntTest.java
@@ -23,7 +23,7 @@ public void testIntByIntFailFails() {
final var schema = ByInt.ByInt1.getInstance();
try {
schema.validate(
- 7L,
+ 7,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -37,7 +37,7 @@ public void testIntByIntPasses() {
// int by int
final var schema = ByInt.ByInt1.getInstance();
schema.validate(
- 10L,
+ 10,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ByNumberTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ByNumberTest.java
index 433a3df86e1..ebccab286f2 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ByNumberTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ByNumberTest.java
@@ -23,7 +23,7 @@ public void test35IsNotMultipleOf15Fails() {
final var schema = ByNumber.ByNumber1.getInstance();
try {
schema.validate(
- 35L,
+ 35,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -47,7 +47,7 @@ public void testZeroIsMultipleOfAnythingPasses() {
// zero is multiple of anything
final var schema = ByNumber.ByNumber1.getInstance();
schema.validate(
- 0L,
+ 0,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/DateTimeFormatTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/DateTimeFormatTest.java
index 095c463ca14..5f9855be53b 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/DateTimeFormatTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/DateTimeFormatTest.java
@@ -22,7 +22,7 @@ public void testAllStringFormatsIgnoreIntegersPasses() {
// all string formats ignore integers
final var schema = DateTimeFormat.DateTimeFormat1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EmailFormatTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EmailFormatTest.java
index 1480210a5e4..aa4a0f56f22 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EmailFormatTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EmailFormatTest.java
@@ -22,7 +22,7 @@ public void testAllStringFormatsIgnoreIntegersPasses() {
// all string formats ignore integers
final var schema = EmailFormat.EmailFormat1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWith0DoesNotMatchFalseTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWith0DoesNotMatchFalseTest.java
index 3517a90c541..d912cae54fd 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWith0DoesNotMatchFalseTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWith0DoesNotMatchFalseTest.java
@@ -47,7 +47,7 @@ public void testIntegerZeroIsValidPasses() {
// integer zero is valid
final var schema = EnumWith0DoesNotMatchFalse.EnumWith0DoesNotMatchFalse1.getInstance();
schema.validate(
- 0L,
+ 0,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWith1DoesNotMatchTrueTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWith1DoesNotMatchTrueTest.java
index 6c0d543656c..a6c9cd13e2b 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWith1DoesNotMatchTrueTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWith1DoesNotMatchTrueTest.java
@@ -47,7 +47,7 @@ public void testIntegerOneIsValidPasses() {
// integer one is valid
final var schema = EnumWith1DoesNotMatchTrue.EnumWith1DoesNotMatchTrue1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWithFalseDoesNotMatch0Test.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWithFalseDoesNotMatch0Test.java
index bd6a5dedecc..9702f3e263a 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWithFalseDoesNotMatch0Test.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWithFalseDoesNotMatch0Test.java
@@ -48,7 +48,7 @@ public void testIntegerZeroIsInvalidFails() {
final var schema = EnumWithFalseDoesNotMatch0.EnumWithFalseDoesNotMatch01.getInstance();
try {
schema.validate(
- 0L,
+ 0,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWithTrueDoesNotMatch1Test.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWithTrueDoesNotMatch1Test.java
index bafdd1d0d26..5f1e21b4a0c 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWithTrueDoesNotMatch1Test.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/EnumWithTrueDoesNotMatch1Test.java
@@ -38,7 +38,7 @@ public void testIntegerOneIsInvalidFails() {
final var schema = EnumWithTrueDoesNotMatch1.EnumWithTrueDoesNotMatch11.getInstance();
try {
schema.validate(
- 1L,
+ 1,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ForbiddenPropertyTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ForbiddenPropertyTest.java
index b43079aa337..3e5f439b7d5 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ForbiddenPropertyTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ForbiddenPropertyTest.java
@@ -24,13 +24,13 @@ public void testPropertyPresentFails() {
try {
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
)
),
configuration
@@ -47,13 +47,13 @@ public void testPropertyAbsentPasses() {
final var schema = ForbiddenProperty.ForbiddenProperty1.getInstance();
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"baz",
- 2L
+ 2
)
),
configuration
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/HostnameFormatTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/HostnameFormatTest.java
index 07231d712d1..1f1dce13064 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/HostnameFormatTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/HostnameFormatTest.java
@@ -22,7 +22,7 @@ public void testAllStringFormatsIgnoreIntegersPasses() {
// all string formats ignore integers
final var schema = HostnameFormat.HostnameFormat1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/IntegerTypeMatchesIntegersTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/IntegerTypeMatchesIntegersTest.java
index 7549d1aa1b1..bbe379bc573 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/IntegerTypeMatchesIntegersTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/IntegerTypeMatchesIntegersTest.java
@@ -124,7 +124,7 @@ public void testAnIntegerIsAnIntegerPasses() {
// an integer is an integer
final var schema = IntegerTypeMatchesIntegers.IntegerTypeMatchesIntegers1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfTest.java
index e3c9a7f18ff..0bb231fc3a6 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfTest.java
@@ -37,7 +37,7 @@ public void testValidIntegerWithMultipleofFloatPasses() {
// valid integer with multipleOf float
final var schema = InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf1.getInstance();
schema.validate(
- 123456789L,
+ 123456789,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Ipv4FormatTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Ipv4FormatTest.java
index 1ff150bfc08..614e2659028 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Ipv4FormatTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Ipv4FormatTest.java
@@ -22,7 +22,7 @@ public void testAllStringFormatsIgnoreIntegersPasses() {
// all string formats ignore integers
final var schema = Ipv4Format.Ipv4Format1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Ipv6FormatTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Ipv6FormatTest.java
index de3e656a0bd..4155377c7aa 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Ipv6FormatTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Ipv6FormatTest.java
@@ -22,7 +22,7 @@ public void testAllStringFormatsIgnoreIntegersPasses() {
// all string formats ignore integers
final var schema = Ipv6Format.Ipv6Format1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/JsonPointerFormatTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/JsonPointerFormatTest.java
index 09a7ffb2e85..74bb28fc1a4 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/JsonPointerFormatTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/JsonPointerFormatTest.java
@@ -22,7 +22,7 @@ public void testAllStringFormatsIgnoreIntegersPasses() {
// all string formats ignore integers
final var schema = JsonPointerFormat.JsonPointerFormat1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaximumValidationWithUnsignedIntegerTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaximumValidationWithUnsignedIntegerTest.java
index eb048443032..9f25b537de2 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaximumValidationWithUnsignedIntegerTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaximumValidationWithUnsignedIntegerTest.java
@@ -47,7 +47,7 @@ public void testBoundaryPointIntegerIsValidPasses() {
// boundary point integer is valid
final var schema = MaximumValidationWithUnsignedInteger.MaximumValidationWithUnsignedInteger1.getInstance();
schema.validate(
- 300L,
+ 300,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxitemsValidationTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxitemsValidationTest.java
index a0fac62f7e6..06d6d4f4b88 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxitemsValidationTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxitemsValidationTest.java
@@ -23,7 +23,7 @@ public void testShorterIsValidPasses() {
final var schema = MaxitemsValidation.MaxitemsValidation1.getInstance();
schema.validate(
Arrays.asList(
- 1L
+ 1
),
configuration
);
@@ -35,8 +35,8 @@ public void testExactLengthIsValidPasses() {
final var schema = MaxitemsValidation.MaxitemsValidation1.getInstance();
schema.validate(
Arrays.asList(
- 1L,
- 2L
+ 1,
+ 2
),
configuration
);
@@ -49,9 +49,9 @@ public void testTooLongIsInvalidFails() {
try {
schema.validate(
Arrays.asList(
- 1L,
- 2L,
- 3L
+ 1,
+ 2,
+ 3
),
configuration
);
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxlengthValidationTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxlengthValidationTest.java
index f9fc8e0854a..69c1b7e6a30 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxlengthValidationTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxlengthValidationTest.java
@@ -57,7 +57,7 @@ public void testIgnoresNonStringsPasses() {
// ignores non-strings
final var schema = MaxlengthValidation.MaxlengthValidation1.getInstance();
schema.validate(
- 100L,
+ 100,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Maxproperties0MeansTheObjectIsEmptyTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Maxproperties0MeansTheObjectIsEmptyTest.java
index 9354b4ed606..ae91313b4d8 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Maxproperties0MeansTheObjectIsEmptyTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/Maxproperties0MeansTheObjectIsEmptyTest.java
@@ -26,7 +26,7 @@ public void testOnePropertyIsInvalidFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"foo",
- 1L
+ 1
)
),
configuration
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxpropertiesValidationTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxpropertiesValidationTest.java
index 80f79bc15a7..2efb8bc02f4 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxpropertiesValidationTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MaxpropertiesValidationTest.java
@@ -25,7 +25,7 @@ public void testShorterIsValidPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"foo",
- 1L
+ 1
)
),
configuration
@@ -38,13 +38,13 @@ public void testExactLengthIsValidPasses() {
final var schema = MaxpropertiesValidation.MaxpropertiesValidation1.getInstance();
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
)
),
configuration
@@ -58,17 +58,17 @@ public void testTooLongIsInvalidFails() {
try {
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"baz",
- 3L
+ 3
)
),
configuration
@@ -84,7 +84,7 @@ public void testIgnoresOtherNonObjectsPasses() {
// ignores other non-objects
final var schema = MaxpropertiesValidation.MaxpropertiesValidation1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
@@ -95,9 +95,9 @@ public void testIgnoresArraysPasses() {
final var schema = MaxpropertiesValidation.MaxpropertiesValidation1.getInstance();
schema.validate(
Arrays.asList(
- 1L,
- 2L,
- 3L
+ 1,
+ 2,
+ 3
),
configuration
);
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinimumValidationWithSignedIntegerTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinimumValidationWithSignedIntegerTest.java
index 74bd9a532a2..559864da4a8 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinimumValidationWithSignedIntegerTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinimumValidationWithSignedIntegerTest.java
@@ -32,7 +32,7 @@ public void testBoundaryPointIsValidPasses() {
// boundary point is valid
final var schema = MinimumValidationWithSignedInteger.MinimumValidationWithSignedInteger1.getInstance();
schema.validate(
- -2L,
+ -2,
configuration
);
}
@@ -43,7 +43,7 @@ public void testIntBelowTheMinimumIsInvalidFails() {
final var schema = MinimumValidationWithSignedInteger.MinimumValidationWithSignedInteger1.getInstance();
try {
schema.validate(
- -3L,
+ -3,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -57,7 +57,7 @@ public void testPositiveAboveTheMinimumIsValidPasses() {
// positive above the minimum is valid
final var schema = MinimumValidationWithSignedInteger.MinimumValidationWithSignedInteger1.getInstance();
schema.validate(
- 0L,
+ 0,
configuration
);
}
@@ -67,7 +67,7 @@ public void testNegativeAboveTheMinimumIsValidPasses() {
// negative above the minimum is valid
final var schema = MinimumValidationWithSignedInteger.MinimumValidationWithSignedInteger1.getInstance();
schema.validate(
- -1L,
+ -1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinitemsValidationTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinitemsValidationTest.java
index 85d057c7d1c..731c74f3c00 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinitemsValidationTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinitemsValidationTest.java
@@ -23,7 +23,7 @@ public void testExactLengthIsValidPasses() {
final var schema = MinitemsValidation.MinitemsValidation1.getInstance();
schema.validate(
Arrays.asList(
- 1L
+ 1
),
configuration
);
@@ -45,8 +45,8 @@ public void testLongerIsValidPasses() {
final var schema = MinitemsValidation.MinitemsValidation1.getInstance();
schema.validate(
Arrays.asList(
- 1L,
- 2L
+ 1,
+ 2
),
configuration
);
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinlengthValidationTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinlengthValidationTest.java
index 091afffeedb..b9ebc3f6e67 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinlengthValidationTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinlengthValidationTest.java
@@ -42,7 +42,7 @@ public void testIgnoresNonStringsPasses() {
// ignores non-strings
final var schema = MinlengthValidation.MinlengthValidation1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinpropertiesValidationTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinpropertiesValidationTest.java
index 6c893166e8b..8d507996133 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinpropertiesValidationTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/MinpropertiesValidationTest.java
@@ -25,7 +25,7 @@ public void testExactLengthIsValidPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"foo",
- 1L
+ 1
)
),
configuration
@@ -37,7 +37,7 @@ public void testIgnoresOtherNonObjectsPasses() {
// ignores other non-objects
final var schema = MinpropertiesValidation.MinpropertiesValidation1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
@@ -48,13 +48,13 @@ public void testLongerIsValidPasses() {
final var schema = MinpropertiesValidation.MinpropertiesValidation1.getInstance();
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
)
),
configuration
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedAllofToCheckValidationSemanticsTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedAllofToCheckValidationSemanticsTest.java
index a430969db55..506c160df1c 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedAllofToCheckValidationSemanticsTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedAllofToCheckValidationSemanticsTest.java
@@ -33,7 +33,7 @@ public void testAnythingNonNullIsInvalidFails() {
final var schema = NestedAllofToCheckValidationSemantics.NestedAllofToCheckValidationSemantics1.getInstance();
try {
schema.validate(
- 123L,
+ 123,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedAnyofToCheckValidationSemanticsTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedAnyofToCheckValidationSemanticsTest.java
index ac5154ec050..9948377f8ff 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedAnyofToCheckValidationSemanticsTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedAnyofToCheckValidationSemanticsTest.java
@@ -33,7 +33,7 @@ public void testAnythingNonNullIsInvalidFails() {
final var schema = NestedAnyofToCheckValidationSemantics.NestedAnyofToCheckValidationSemantics1.getInstance();
try {
schema.validate(
- 123L,
+ 123,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedItemsTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedItemsTest.java
index c9ffae3fb17..4638daad138 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedItemsTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedItemsTest.java
@@ -32,23 +32,23 @@ public void testNestedArrayWithInvalidTypeFails() {
),
Arrays.asList(
Arrays.asList(
- 2L
+ 2
),
Arrays.asList(
- 3L
+ 3
)
)
),
Arrays.asList(
Arrays.asList(
Arrays.asList(
- 4L
+ 4
),
Arrays.asList(
- 5L
+ 5
),
Arrays.asList(
- 6L
+ 6
)
)
)
@@ -70,24 +70,24 @@ public void testNotDeepEnoughFails() {
Arrays.asList(
Arrays.asList(
Arrays.asList(
- 1L
+ 1
),
Arrays.asList(
- 2L
+ 2
),
Arrays.asList(
- 3L
+ 3
)
),
Arrays.asList(
Arrays.asList(
- 4L
+ 4
),
Arrays.asList(
- 5L
+ 5
),
Arrays.asList(
- 6L
+ 6
)
)
),
@@ -104,36 +104,38 @@ public void testValidNestedArrayPasses() {
// valid nested array
final var schema = NestedItems.NestedItems1.getInstance();
schema.validate(
- Arrays.asList(
+ new NestedItems.NestedItemsListBuilder(
Arrays.asList(
Arrays.asList(
Arrays.asList(
- 1L
- )
- ),
- Arrays.asList(
- Arrays.asList(
- 2L
+ Arrays.asList(
+ 1
+ )
),
Arrays.asList(
- 3L
+ Arrays.asList(
+ 2
+ ),
+ Arrays.asList(
+ 3
+ )
)
- )
- ),
- Arrays.asList(
+ ),
Arrays.asList(
Arrays.asList(
- 4L
- ),
- Arrays.asList(
- 5L
- ),
- Arrays.asList(
- 6L
+ Arrays.asList(
+ 4
+ ),
+ Arrays.asList(
+ 5
+ ),
+ Arrays.asList(
+ 6
+ )
)
)
)
- ),
+ ).build(),
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedOneofToCheckValidationSemanticsTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedOneofToCheckValidationSemanticsTest.java
index aab57086a2b..4d04ecd7e45 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedOneofToCheckValidationSemanticsTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NestedOneofToCheckValidationSemanticsTest.java
@@ -33,7 +33,7 @@ public void testAnythingNonNullIsInvalidFails() {
final var schema = NestedOneofToCheckValidationSemantics.NestedOneofToCheckValidationSemantics1.getInstance();
try {
schema.validate(
- 123L,
+ 123,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NotMoreComplexSchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NotMoreComplexSchemaTest.java
index 5c0290898d0..436634b9088 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NotMoreComplexSchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NotMoreComplexSchemaTest.java
@@ -25,7 +25,7 @@ public void testOtherMatchPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"foo",
- 1L
+ 1
)
),
configuration
@@ -57,7 +57,7 @@ public void testMatchPasses() {
// match
final var schema = NotMoreComplexSchema.NotMoreComplexSchema1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NotTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NotTest.java
index ea74eed1c68..e21dbb7b848 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NotTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NotTest.java
@@ -23,7 +23,7 @@ public void testDisallowedFails() {
final var schema = Not.Not1.getInstance();
try {
schema.validate(
- 1L,
+ 1,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NullTypeMatchesOnlyTheNullObjectTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NullTypeMatchesOnlyTheNullObjectTest.java
index d5e8e5c8008..8b353306637 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NullTypeMatchesOnlyTheNullObjectTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NullTypeMatchesOnlyTheNullObjectTest.java
@@ -23,7 +23,7 @@ public void testZeroIsNotNullFails() {
final var schema = NullTypeMatchesOnlyTheNullObject.NullTypeMatchesOnlyTheNullObject1.getInstance();
try {
schema.validate(
- 0L,
+ 0,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -125,7 +125,7 @@ public void testAnIntegerIsNotNullFails() {
final var schema = NullTypeMatchesOnlyTheNullObject.NullTypeMatchesOnlyTheNullObject1.getInstance();
try {
schema.validate(
- 1L,
+ 1,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NumberTypeMatchesNumbersTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NumberTypeMatchesNumbersTest.java
index 942f34a447e..3fa8e9e9749 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NumberTypeMatchesNumbersTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/NumberTypeMatchesNumbersTest.java
@@ -32,7 +32,7 @@ public void testAnIntegerIsANumberPasses() {
// an integer is a number
final var schema = NumberTypeMatchesNumbers.NumberTypeMatchesNumbers1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ObjectPropertiesValidationTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ObjectPropertiesValidationTest.java
index 1022b4635ec..6aea0dce582 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ObjectPropertiesValidationTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ObjectPropertiesValidationTest.java
@@ -25,7 +25,7 @@ public void testBothPropertiesPresentAndValidIsValidPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
new AbstractMap.SimpleEntry(
"bar",
@@ -57,7 +57,7 @@ public void testIgnoresOtherNonObjectsPasses() {
// ignores other non-objects
final var schema = ObjectPropertiesValidation.ObjectPropertiesValidation1.getInstance();
schema.validate(
- 12L,
+ 12,
configuration
);
}
@@ -108,7 +108,7 @@ public void testOnePropertyInvalidIsInvalidFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
new AbstractMap.SimpleEntry(
"bar",
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ObjectTypeMatchesObjectsTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ObjectTypeMatchesObjectsTest.java
index cd6ebc6261d..b2c5cdbd09b 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ObjectTypeMatchesObjectsTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/ObjectTypeMatchesObjectsTest.java
@@ -50,7 +50,7 @@ public void testAnIntegerIsNotAnObjectFails() {
final var schema = ObjectTypeMatchesObjects.ObjectTypeMatchesObjects1.getInstance();
try {
schema.validate(
- 1L,
+ 1,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofComplexTypesTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofComplexTypesTest.java
index 1a9b594f5b1..87d1a19a950 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofComplexTypesTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofComplexTypesTest.java
@@ -45,7 +45,7 @@ public void testBothOneofValidComplexFails() {
),
new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
)
),
configuration
@@ -64,7 +64,7 @@ public void testFirstOneofValidComplexPasses() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"bar",
- 2L
+ 2
)
),
configuration
@@ -80,7 +80,7 @@ public void testNeitherOneofValidComplexFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry(
"foo",
- 2L
+ 2
),
new AbstractMap.SimpleEntry(
"bar",
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofTest.java
index ad7dec4741e..4dda94bab40 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofTest.java
@@ -23,7 +23,7 @@ public void testBothOneofValidFails() {
final var schema = Oneof.Oneof1.getInstance();
try {
schema.validate(
- 3L,
+ 3,
configuration
);
throw new RuntimeException("A different exception must be thrown");
@@ -62,7 +62,7 @@ public void testFirstOneofValidPasses() {
// first oneOf valid
final var schema = Oneof.Oneof1.getInstance();
schema.validate(
- 1L,
+ 1,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithBaseSchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithBaseSchemaTest.java
index 7fda4df8831..5389fe31f08 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithBaseSchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithBaseSchemaTest.java
@@ -23,7 +23,7 @@ public void testMismatchBaseSchemaFails() {
final var schema = OneofWithBaseSchema.OneofWithBaseSchema1.getInstance();
try {
schema.validate(
- 3L,
+ 3,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithEmptySchemaTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithEmptySchemaTest.java
index 06f6aa44f70..8d26139253c 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithEmptySchemaTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithEmptySchemaTest.java
@@ -33,7 +33,7 @@ public void testBothValidInvalidFails() {
final var schema = OneofWithEmptySchema.OneofWithEmptySchema1.getInstance();
try {
schema.validate(
- 123L,
+ 123,
configuration
);
throw new RuntimeException("A different exception must be thrown");
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithRequiredTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithRequiredTest.java
index 7b18e9ebfd7..d3227949bfb 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithRequiredTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/OneofWithRequiredTest.java
@@ -23,13 +23,13 @@ public void testFirstValidValidPasses() {
final var schema = OneofWithRequired.OneofWithRequired1.getInstance();
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
)
),
configuration
@@ -43,17 +43,17 @@ public void testBothValidInvalidFails() {
try {
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"bar",
- 2L
+ 2
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"baz",
- 3L
+ 3
)
),
configuration
@@ -70,13 +70,13 @@ public void testSecondValidValidPasses() {
final var schema = OneofWithRequired.OneofWithRequired1.getInstance();
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"baz",
- 3L
+ 3
)
),
configuration
@@ -92,7 +92,7 @@ public void testBothInvalidInvalidFails() {
MapMaker.makeMap(
new AbstractMap.SimpleEntry<>(
"bar",
- 2L
+ 2
)
),
configuration
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/PatternValidationTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/PatternValidationTest.java
index 58df7fb7c61..704e82b85ac 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/PatternValidationTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/PatternValidationTest.java
@@ -57,7 +57,7 @@ public void testIgnoresIntegersPasses() {
// ignores integers
final var schema = PatternValidation.PatternValidation1.getInstance();
schema.validate(
- 123L,
+ 123,
configuration
);
}
diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/PropertiesWithEscapedCharactersTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/PropertiesWithEscapedCharactersTest.java
index ad498ac90a4..6116c5574de 100644
--- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/PropertiesWithEscapedCharactersTest.java
+++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/components/schemas/PropertiesWithEscapedCharactersTest.java
@@ -23,29 +23,29 @@ public void testObjectWithAllNumbersIsValidPasses() {
final var schema = PropertiesWithEscapedCharacters.PropertiesWithEscapedCharacters1.getInstance();
schema.validate(
MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo\nbar",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry(
+ new AbstractMap.SimpleEntry(
"foo\"bar",
- 1L
+ 1
),
- new AbstractMap.SimpleEntry