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 b1b0a2946be..40c9532cb8c 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
@@ -182,6 +182,7 @@ src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.
src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java
src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java
src/main/java/org/openapijsonschematools/client/schemas/AnyTypeJsonSchema.java
+src/main/java/org/openapijsonschematools/client/schemas/BaseBuilder.java
src/main/java/org/openapijsonschematools/client/schemas/BooleanJsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/DateJsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/DateTimeJsonSchema.java
@@ -193,12 +194,12 @@ src/main/java/org/openapijsonschematools/client/schemas/Int64JsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/IntJsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/ListJsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/MapJsonSchema.java
-src/main/java/org/openapijsonschematools/client/schemas/MapMaker.java
src/main/java/org/openapijsonschematools/client/schemas/NotAnyTypeJsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/NullJsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/NumberJsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/SetMaker.java
src/main/java/org/openapijsonschematools/client/schemas/StringJsonSchema.java
+src/main/java/org/openapijsonschematools/client/schemas/UnsetAddPropsSetter.java
src/main/java/org/openapijsonschematools/client/schemas/UuidJsonSchema.java
src/main/java/org/openapijsonschematools/client/schemas/validation/AdditionalPropertiesValidator.java
src/main/java/org/openapijsonschematools/client/schemas/validation/AllOfValidator.java
@@ -232,6 +233,7 @@ src/main/java/org/openapijsonschematools/client/schemas/validation/ListSchemaVal
src/main/java/org/openapijsonschematools/client/schemas/validation/LongEnumValidator.java
src/main/java/org/openapijsonschematools/client/schemas/validation/LongValueMethod.java
src/main/java/org/openapijsonschematools/client/schemas/validation/MapSchemaValidator.java
+src/main/java/org/openapijsonschematools/client/schemas/validation/MapUtils.java
src/main/java/org/openapijsonschematools/client/schemas/validation/MaxItemsValidator.java
src/main/java/org/openapijsonschematools/client/schemas/validation/MaxLengthValidator.java
src/main/java/org/openapijsonschematools/client/schemas/validation/MaxPropertiesValidator.java
diff --git a/samples/client/3_0_3_unit_test/java/README.md b/samples/client/3_0_3_unit_test/java/README.md
index 52edc232f36..51532c119e7 100644
--- a/samples/client/3_0_3_unit_test/java/README.md
+++ b/samples/client/3_0_3_unit_test/java/README.md
@@ -76,7 +76,7 @@ Here is the mapping from json schema types to Java types:
| integer | int, long, float, double (with values equal to integers) |
| boolean | boolean |
| null | Void (null) |
-| AnyType (unset) | Object |
+| AnyType (unset) | @Nullable Object |
### Storage of Json Schema Definition in Java JsonSchema Classes
In openapi v3.0.3 there are ~ 28 json schema keywords. Almost all of them can apply if
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 abd020e625d..d0ca9569eac 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
@@ -28,7 +28,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -41,8 +41,10 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// Map validation
AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsASchemaWhichShouldValidateMap validatedPayload =
AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsASchemaWhichShouldValidate1.validate(
- MapMaker.makeMap(
- ),
+ new AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder()
+ .additionalProperty("someAdditionalProperty", true)
+
+ .build(),
configuration
);
```
@@ -57,20 +59,42 @@ AdditionalpropertiesAllowsASchemaWhichShouldValidate.AdditionalpropertiesAllowsA
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMap](#additionalpropertiesallowsaschemawhichshouldvalidatemap) | validate([Map, ?>](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) arg, SchemaConfiguration configuration) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMap](#additionalpropertiesallowsaschemawhichshouldvalidatemap) | validate([Map<?, ?>](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder
public class AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | ? extends @Nullable Object | | [optional] |
-| **bar** | ? extends @Nullable Object | | [optional] |
-| **anyStringName** | boolean | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(Void value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(boolean value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(String value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(int value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(float value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(long value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(double value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(List> value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | foo(Map value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(Void value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(boolean value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(String value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(int value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(float value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(long value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(double value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(List> value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | bar(Map value) |
+| [AdditionalpropertiesAllowsASchemaWhichShouldValidateMapBuilder](#additionalpropertiesallowsaschemawhichshouldvalidatemapbuilder) | additionalProperty(String key, boolean value) |
## AdditionalpropertiesAllowsASchemaWhichShouldValidateMap
public static class AdditionalpropertiesAllowsASchemaWhichShouldValidateMap
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 c33572f4aee..e960b0930a0 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
@@ -37,21 +37,51 @@ 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, ?>](#additionalpropertiesareallowedbydefaultmapbuilder) 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) |
## AdditionalpropertiesAreAllowedByDefaultMapBuilder
public class AdditionalpropertiesAreAllowedByDefaultMapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | ? extends @Nullable Object | | [optional] |
-| **bar** | ? extends @Nullable Object | | [optional] |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| AdditionalpropertiesAreAllowedByDefaultMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(Void value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(boolean value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(String value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(int value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(float value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(long value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(double value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(List> value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | foo(Map value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(Void value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(boolean value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(String value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(int value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(float value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(long value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(double value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(List> value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | bar(Map value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, Void value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, boolean value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, String value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, int value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, float value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, long value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, double value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, List> value) |
+| [AdditionalpropertiesAreAllowedByDefaultMapBuilder](#additionalpropertiesareallowedbydefaultmapbuilder) | additionalProperty(String key, Map value) |
## AdditionalpropertiesAreAllowedByDefaultMap
public static class AdditionalpropertiesAreAllowedByDefaultMap
@@ -65,7 +95,7 @@ A class to store validated Map payloads
| 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 |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
public static class Bar
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 f7d06ddb1d2..66b4881bbf5 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
@@ -26,7 +26,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -39,8 +39,10 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// Map validation
AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItselfMap validatedPayload =
AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItself1.validate(
- MapMaker.makeMap(
- ),
+ new AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItselfMapBuilder()
+ .additionalProperty("someAdditionalProperty", true)
+
+ .build(),
configuration
);
```
@@ -54,7 +56,7 @@ AdditionalpropertiesCanExistByItself.AdditionalpropertiesCanExistByItselfMap val
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [AdditionalpropertiesCanExistByItselfMap](#additionalpropertiescanexistbyitselfmap) | validate([Map, ?>](#additionalpropertiescanexistbyitselfmapbuilder) arg, SchemaConfiguration configuration) |
+| [AdditionalpropertiesCanExistByItselfMap](#additionalpropertiescanexistbyitselfmap) | validate([Map<?, ?>](#additionalpropertiescanexistbyitselfmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## AdditionalpropertiesCanExistByItselfMapBuilder
public class AdditionalpropertiesCanExistByItselfMapBuilder
@@ -62,10 +64,16 @@ builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **anyStringName** | boolean | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| AdditionalpropertiesCanExistByItselfMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [AdditionalpropertiesCanExistByItselfMapBuilder](#additionalpropertiescanexistbyitselfmapbuilder) | additionalProperty(String key, boolean value) |
## AdditionalpropertiesCanExistByItselfMap
public static class AdditionalpropertiesCanExistByItselfMap
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 8c0dd6d3d6e..12efffc502e 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
@@ -41,7 +41,7 @@ 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, ?>](#additionalpropertiesshouldnotlookinapplicatorsmapbuilder) 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) |
## AdditionalpropertiesShouldNotLookInApplicatorsMapBuilder
@@ -50,10 +50,16 @@ builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **anyStringName** | boolean | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| AdditionalpropertiesShouldNotLookInApplicatorsMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [AdditionalpropertiesShouldNotLookInApplicatorsMapBuilder](#additionalpropertiesshouldnotlookinapplicatorsmapbuilder) | additionalProperty(String key, boolean value) |
## AdditionalpropertiesShouldNotLookInApplicatorsMap
public static class AdditionalpropertiesShouldNotLookInApplicatorsMap
@@ -88,20 +94,42 @@ 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, ?>](#schema0mapbuilder) 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) |
## Schema0MapBuilder
public class Schema0MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | ? extends @Nullable Object | | [optional] |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(Void value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(boolean value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(String value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(int value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(float value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(long value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(double value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(List> value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | foo(Map value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, Void value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, boolean value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, String value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, int value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, float value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, long value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, double value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, List> value) |
+| [Schema0MapBuilder](#schema0mapbuilder) | additionalProperty(String key, Map value) |
## Schema0Map
public static class Schema0Map
@@ -114,7 +142,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
[optional] |
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Foo
public static class Foo
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 2987d9a5724..dc6edcd77f6 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
@@ -41,7 +41,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
@@ -66,20 +66,49 @@ 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, ?>](#schema1mapbuilder) 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) |
+## Schema1Map0Builder
+public class Schema1Map0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1Map0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, Void value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, boolean value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, String value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, int value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, float value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, long value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, double value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, List> value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, Map value) |
+
## Schema1MapBuilder
public class Schema1MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | String | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema1Map0Builder](#schema1map0builder) | foo(String value) |
## Schema1Map
public static class Schema1Map
@@ -92,7 +121,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Foo
public static class Foo
@@ -126,20 +155,52 @@ 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, ?>](#schema0mapbuilder) 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) |
+## Schema0Map0Builder
+public class Schema0Map0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0Map0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, Void value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, boolean value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, String value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, int value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, float value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, long value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, double value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, List> value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, Map value) |
+
## Schema0MapBuilder
public class Schema0MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **bar** | Number | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema0Map0Builder](#schema0map0builder) | bar(int value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(float value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(long value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(double value) |
## Schema0Map
public static class Schema0Map
@@ -152,7 +213,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| Number | bar()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
public static class Bar
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofCombinedWithAnyofOneof.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofCombinedWithAnyofOneof.md
index db8b3dc96bc..87b98a52f37 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofCombinedWithAnyofOneof.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofCombinedWithAnyofOneof.md
@@ -36,7 +36,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
@@ -60,7 +60,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema01
@@ -84,7 +84,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema02
@@ -108,7 +108,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/AllofSimpleTypes.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofSimpleTypes.md
index d56a4366cd7..12c7b4f3334 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofSimpleTypes.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofSimpleTypes.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
@@ -57,7 +57,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
@@ -81,7 +81,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/AllofWithBaseSchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithBaseSchema.md
index 357daee6420..08f0facb2ff 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
@@ -46,20 +46,52 @@ 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, ?>](#allofwithbaseschemamapbuilder) 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) |
+## AllofWithBaseSchemaMap0Builder
+public class AllofWithBaseSchemaMap0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| AllofWithBaseSchemaMap0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, Void value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, boolean value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, String value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, int value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, float value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, long value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, double value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, List> value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | additionalProperty(String key, Map value) |
+
## AllofWithBaseSchemaMapBuilder
public class AllofWithBaseSchemaMapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **bar** | Number | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| AllofWithBaseSchemaMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | bar(int value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | bar(float value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | bar(long value) |
+| [AllofWithBaseSchemaMap0Builder](#allofwithbaseschemamap0builder) | bar(double value) |
## AllofWithBaseSchemaMap
public static class AllofWithBaseSchemaMap
@@ -72,7 +104,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [AllofWithBaseSchemaMap](#allofwithbaseschemamap) | of([Map](#allofwithbaseschemamapbuilder) arg, SchemaConfiguration configuration) |
| Number | bar()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
public static class Bar
@@ -106,20 +138,49 @@ 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, ?>](#schema1mapbuilder) 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) |
+## Schema1Map0Builder
+public class Schema1Map0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1Map0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, Void value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, boolean value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, String value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, int value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, float value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, long value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, double value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, List> value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, Map value) |
+
## Schema1MapBuilder
public class Schema1MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **baz** | Void | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema1Map0Builder](#schema1map0builder) | baz(Void value) |
## Schema1Map
public static class Schema1Map
@@ -132,7 +193,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| Void | baz()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Baz
public static class Baz
@@ -166,20 +227,49 @@ 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, ?>](#schema0mapbuilder) 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) |
+## Schema0Map0Builder
+public class Schema0Map0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0Map0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, Void value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, boolean value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, String value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, int value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, float value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, long value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, double value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, List> value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, Map value) |
+
## Schema0MapBuilder
public class Schema0MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | String | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema0Map0Builder](#schema0map0builder) | foo(String value) |
## Schema0Map
public static class Schema0Map
@@ -192,7 +282,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Foo
public static class Foo
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithOneEmptySchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithOneEmptySchema.md
index 3f1a8db1ab3..e76be68ba26 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithOneEmptySchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithOneEmptySchema.md
@@ -32,7 +32,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTheFirstEmptySchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTheFirstEmptySchema.md
index e8d34ccac9c..54cb83465e6 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTheFirstEmptySchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTheFirstEmptySchema.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTheLastEmptySchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTheLastEmptySchema.md
index 8a12c496b60..66f1c8c5457 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTheLastEmptySchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTheLastEmptySchema.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTwoEmptySchemas.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTwoEmptySchemas.md
index 6381889d735..3c9fc0df1f7 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTwoEmptySchemas.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AllofWithTwoEmptySchemas.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Anyof.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Anyof.md
index 0c23d88c4e6..e145d77ba48 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Anyof.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Anyof.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
@@ -57,7 +57,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
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 85c6d90d1ba..aad67c4311f 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
@@ -41,7 +41,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
@@ -66,20 +66,49 @@ 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, ?>](#schema1mapbuilder) 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) |
+## Schema1Map0Builder
+public class Schema1Map0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1Map0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, Void value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, boolean value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, String value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, int value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, float value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, long value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, double value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, List> value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, Map value) |
+
## Schema1MapBuilder
public class Schema1MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | String | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema1Map0Builder](#schema1map0builder) | foo(String value) |
## Schema1Map
public static class Schema1Map
@@ -92,7 +121,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Foo
public static class Foo
@@ -126,20 +155,52 @@ 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, ?>](#schema0mapbuilder) 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) |
+## Schema0Map0Builder
+public class Schema0Map0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0Map0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, Void value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, boolean value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, String value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, int value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, float value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, long value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, double value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, List> value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, Map value) |
+
## Schema0MapBuilder
public class Schema0MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **bar** | Number | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema0Map0Builder](#schema0map0builder) | bar(int value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(float value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(long value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(double value) |
## Schema0Map
public static class Schema0Map
@@ -152,7 +213,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| Number | bar()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
public static class Bar
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofWithBaseSchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofWithBaseSchema.md
index 5a7f4a43d89..0d018786cb4 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofWithBaseSchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofWithBaseSchema.md
@@ -23,7 +23,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -72,7 +72,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
@@ -96,7 +96,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/AnyofWithOneEmptySchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofWithOneEmptySchema.md
index 2a4268dc96c..610a3c540ae 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofWithOneEmptySchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/AnyofWithOneEmptySchema.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
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 2fac2b1ae30..afef5c83319 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
@@ -26,7 +26,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -39,10 +39,8 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
ArrayTypeMatchesArrays.ArrayTypeMatchesArraysList validatedPayload =
ArrayTypeMatchesArrays.ArrayTypeMatchesArrays1.validate(
- new ArrayTypeMatchesArrays.ArrayTypeMatchesArraysListBuilder(
- Arrays.asList(
- )
- ).build(),
+ new ArrayTypeMatchesArrays.ArrayTypeMatchesArraysListBuilder()
+ .build(),
configuration
);
```
@@ -64,7 +62,7 @@ builder for `List<@Nullable Object>`
A class that builds the List input type
-## Constructor Summary
+### Constructor Summary
| Constructor and Description |
| --------------------------- |
| ArrayTypeMatchesArraysListBuilder()
Creates an empty list |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ByInt.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ByInt.md
index 469a1ed53a4..9a32cf1756c 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ByInt.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ByInt.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/ByNumber.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ByNumber.md
index 556a18cfd4d..06d6fa9ba35 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/ByNumber.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/ByNumber.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/BySmallNumber.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/BySmallNumber.md
index 8ab60f138f1..52a7dd87ebe 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/BySmallNumber.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/BySmallNumber.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/DateTimeFormat.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/DateTimeFormat.md
index 65879da48ce..d99839b01ee 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/DateTimeFormat.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/DateTimeFormat.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/EmailFormat.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EmailFormat.md
index 076c87444c9..4f1c1a7cba7 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EmailFormat.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EmailFormat.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/EnumWith0DoesNotMatchFalse.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWith0DoesNotMatchFalse.md
index 2664df8220a..20ae87e8206 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWith0DoesNotMatchFalse.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWith0DoesNotMatchFalse.md
@@ -26,7 +26,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWith1DoesNotMatchTrue.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWith1DoesNotMatchTrue.md
index b09e762ca68..53d289c18a5 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWith1DoesNotMatchTrue.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWith1DoesNotMatchTrue.md
@@ -26,7 +26,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithEscapedCharacters.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithEscapedCharacters.md
index 5cc99476935..8d09d8db9e2 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithEscapedCharacters.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithEscapedCharacters.md
@@ -23,7 +23,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithFalseDoesNotMatch0.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithFalseDoesNotMatch0.md
index 3b0a617f8bf..8f27a7d66de 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithFalseDoesNotMatch0.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithFalseDoesNotMatch0.md
@@ -23,7 +23,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithTrueDoesNotMatch1.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithTrueDoesNotMatch1.md
index 2c0329e789f..4b402c4b901 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithTrueDoesNotMatch1.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/EnumWithTrueDoesNotMatch1.md
@@ -23,7 +23,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
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 471f9fa01da..785ddb3da3f 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
@@ -30,7 +30,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -43,16 +43,12 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// Map validation
EnumsInProperties.EnumsInPropertiesMap validatedPayload =
EnumsInProperties.EnumsInProperties1.validate(
- MapMaker.makeMap(
- new AbstractMap.SimpleEntry(
- "bar",
- "bar"
- ),
- new AbstractMap.SimpleEntry(
- "foo",
- "foo"
- )
- ),
+ new EnumsInProperties.EnumsInPropertiesMapBuilder()
+ .bar("bar")
+
+ .foo("foo")
+
+ .build(),
configuration
);
```
@@ -67,20 +63,51 @@ EnumsInProperties.EnumsInPropertiesMap validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [EnumsInPropertiesMap](#enumsinpropertiesmap) | validate([Map, ?>](#enumsinpropertiesmapbuilder) arg, SchemaConfiguration configuration) |
+| [EnumsInPropertiesMap](#enumsinpropertiesmap) | validate([Map<?, ?>](#enumsinpropertiesmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
+## EnumsInPropertiesMap0Builder
+public class EnumsInPropertiesMap0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| EnumsInPropertiesMap0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | foo(String value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | foo([StringFooEnums](#stringfooenums) value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, Void value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, boolean value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, String value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, int value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, float value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, long value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, double value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, List> value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | additionalProperty(String key, Map value) |
+
## EnumsInPropertiesMapBuilder
public class EnumsInPropertiesMapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **bar** | String | | must be one of ["bar"] |
-| **foo** | String | | [optional] must be one of ["foo"] |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| EnumsInPropertiesMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | bar(String value) |
+| [EnumsInPropertiesMap0Builder](#enumsinpropertiesmap0builder) | bar([StringBarEnums](#stringbarenums) value) |
## EnumsInPropertiesMap
public static class EnumsInPropertiesMap
@@ -94,7 +121,7 @@ A class to store validated Map payloads
| 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 |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
public static class Bar
@@ -107,7 +134,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -158,7 +185,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
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 fe252d848d9..9dfbeaa1c43 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
@@ -36,20 +36,42 @@ 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, ?>](#forbiddenpropertymapbuilder) 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) |
## ForbiddenPropertyMapBuilder
public class ForbiddenPropertyMapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | ? extends @Nullable Object | | [optional] |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| ForbiddenPropertyMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(Void value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(boolean value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(String value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(int value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(float value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(long value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(double value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(List> value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | foo(Map value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, Void value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, boolean value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, String value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, int value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, float value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, long value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, double value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, List> value) |
+| [ForbiddenPropertyMapBuilder](#forbiddenpropertymapbuilder) | additionalProperty(String key, Map value) |
## ForbiddenPropertyMap
public static class ForbiddenPropertyMap
@@ -62,7 +84,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [ForbiddenPropertyMap](#forbiddenpropertymap) | of([Map](#forbiddenpropertymapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | foo()
[optional] |
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Foo
public static class Foo
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/HostnameFormat.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/HostnameFormat.md
index d3df37424b5..4591ce25fa4 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/HostnameFormat.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/HostnameFormat.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md
index 0b166263aa4..55dca0774bf 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md
@@ -21,7 +21,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
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 5f54831d44f..499c7276d53 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
@@ -36,20 +36,34 @@ 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, ?>](#invalidstringvaluefordefaultmapbuilder) 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) |
## InvalidStringValueForDefaultMapBuilder
public class InvalidStringValueForDefaultMapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **bar** | String | | [optional] if omitted the server will use the default value of bad |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| InvalidStringValueForDefaultMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | bar(String value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, Void value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, boolean value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, String value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, int value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, float value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, long value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, double value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, List> value) |
+| [InvalidStringValueForDefaultMapBuilder](#invalidstringvaluefordefaultmapbuilder) | additionalProperty(String key, Map value) |
## InvalidStringValueForDefaultMap
public static class InvalidStringValueForDefaultMap
@@ -62,7 +76,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| 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 |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
public static class Bar
@@ -75,7 +89,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Ipv4Format.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Ipv4Format.md
index 202e4cfce3a..abcdbe9a15d 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Ipv4Format.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Ipv4Format.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/Ipv6Format.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Ipv6Format.md
index 938ac85eb9a..f8a9711f880 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Ipv6Format.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Ipv6Format.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/JsonPointerFormat.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/JsonPointerFormat.md
index f194b41a3ba..164150d3e06 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/JsonPointerFormat.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/JsonPointerFormat.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MaximumValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaximumValidation.md
index 31432f3c338..f48e29d4e50 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaximumValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaximumValidation.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MaximumValidationWithUnsignedInteger.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaximumValidationWithUnsignedInteger.md
index 82db4239fe3..ac8c13f6438 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaximumValidationWithUnsignedInteger.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaximumValidationWithUnsignedInteger.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MaxitemsValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxitemsValidation.md
index 1a836b44747..a1837cca49d 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxitemsValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxitemsValidation.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MaxlengthValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxlengthValidation.md
index 30e9585d57f..1329314f506 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxlengthValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxlengthValidation.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/Maxproperties0MeansTheObjectIsEmpty.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Maxproperties0MeansTheObjectIsEmpty.md
index d046bf85771..925dda55c18 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Maxproperties0MeansTheObjectIsEmpty.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Maxproperties0MeansTheObjectIsEmpty.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MaxpropertiesValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxpropertiesValidation.md
index f789c8a90b9..1656e463a38 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxpropertiesValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MaxpropertiesValidation.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MinimumValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinimumValidation.md
index 641bf52cda2..cfd817f5c42 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinimumValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinimumValidation.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MinimumValidationWithSignedInteger.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinimumValidationWithSignedInteger.md
index cf6e69ae475..4e1b3f1d399 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinimumValidationWithSignedInteger.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinimumValidationWithSignedInteger.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MinitemsValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinitemsValidation.md
index 2805d353f9e..0129fe7212a 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinitemsValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinitemsValidation.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MinlengthValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinlengthValidation.md
index 97c180e5fc7..592751c5e08 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinlengthValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinlengthValidation.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/MinpropertiesValidation.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinpropertiesValidation.md
index d3225653ca4..239a18efd54 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinpropertiesValidation.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/MinpropertiesValidation.md
@@ -31,7 +31,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/NestedAllofToCheckValidationSemantics.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedAllofToCheckValidationSemantics.md
index 9da75c4431a..8ba81cee999 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedAllofToCheckValidationSemantics.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedAllofToCheckValidationSemantics.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
@@ -57,7 +57,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema01
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedAnyofToCheckValidationSemantics.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedAnyofToCheckValidationSemantics.md
index 6cfab8a58cd..7a933dfb11f 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedAnyofToCheckValidationSemantics.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedAnyofToCheckValidationSemantics.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
@@ -57,7 +57,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema01
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 6d66667ae10..fa8cca5ea8f 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
@@ -35,7 +35,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -48,8 +48,8 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
NestedItems.NestedItemsList validatedPayload =
NestedItems.NestedItems1.validate(
- new NestedItems.NestedItemsListBuilder(
- Arrays.asList(
+ new NestedItems.NestedItemsListBuilder()
+ .add(
Arrays.asList(
Arrays.asList(
Arrays.asList(
@@ -58,7 +58,7 @@ NestedItems.NestedItemsList validatedPayload =
)
)
)
- ).build(),
+ .build(),
configuration
);
```
@@ -80,7 +80,7 @@ builder for `List>>>`
A class that builds the List input type
-## Constructor Summary
+### Constructor Summary
| Constructor and Description |
| --------------------------- |
| NestedItemsListBuilder()
Creates an empty list |
@@ -114,7 +114,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -127,15 +127,15 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
NestedItems.ItemsList2 validatedPayload =
NestedItems.Items.validate(
- new .ItemsListBuilder2(
- Arrays.asList(
+ new NestedItems.ItemsListBuilder2()
+ .add(
Arrays.asList(
Arrays.asList(
1
)
)
)
- ).build(),
+ .build(),
configuration
);
```
@@ -157,7 +157,7 @@ builder for `List>>`
A class that builds the List input type
-## Constructor Summary
+### Constructor Summary
| Constructor and Description |
| --------------------------- |
| ItemsListBuilder2()
Creates an empty list |
@@ -191,7 +191,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -204,13 +204,13 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
NestedItems.ItemsList1 validatedPayload =
NestedItems.Items1.validate(
- new .ItemsListBuilder1(
- Arrays.asList(
+ new NestedItems.ItemsListBuilder1()
+ .add(
Arrays.asList(
1
)
)
- ).build(),
+ .build(),
configuration
);
```
@@ -232,7 +232,7 @@ builder for `List>`
A class that builds the List input type
-## Constructor Summary
+### Constructor Summary
| Constructor and Description |
| --------------------------- |
| ItemsListBuilder1()
Creates an empty list |
@@ -266,7 +266,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -279,11 +279,10 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// List validation
NestedItems.ItemsList validatedPayload =
NestedItems.Items2.validate(
- new .ItemsListBuilder(
- Arrays.asList(
- 1
- )
- ).build(),
+ new NestedItems.ItemsListBuilder()
+ .add(1)
+
+ .build(),
configuration
);
```
@@ -305,7 +304,7 @@ builder for `List`
A class that builds the List input type
-## Constructor Summary
+### Constructor Summary
| Constructor and Description |
| --------------------------- |
| ItemsListBuilder()
Creates an empty list |
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedOneofToCheckValidationSemantics.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedOneofToCheckValidationSemantics.md
index 7671df6c622..dd80eee02f3 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedOneofToCheckValidationSemantics.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NestedOneofToCheckValidationSemantics.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
@@ -57,7 +57,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema01
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Not.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Not.md
index c2168188db6..2f97c06eb2e 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Not.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Not.md
@@ -32,7 +32,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Not2
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 76c297f8c5c..3ecee3344ef 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
@@ -37,7 +37,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Not
@@ -51,7 +51,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -64,12 +64,10 @@ static final SchemaConfiguration configuration = new SchemaConfiguration(JsonSch
// Map validation
NotMoreComplexSchema.NotMap validatedPayload =
NotMoreComplexSchema.Not.validate(
- MapMaker.makeMap(
- new AbstractMap.SimpleEntry<>(
- "foo",
- "a"
- )
- ),
+ new NotMoreComplexSchema.NotMapBuilder()
+ .foo("a")
+
+ .build(),
configuration
);
```
@@ -83,19 +81,33 @@ NotMoreComplexSchema.NotMap validatedPayload =
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| [NotMap](#notmap) | validate([Map, ?>](#notmapbuilder) arg, SchemaConfiguration configuration) |
+| [NotMap](#notmap) | validate([Map<?, ?>](#notmapbuilder) arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## NotMapBuilder
public class NotMapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | String | | [optional] |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| NotMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [NotMapBuilder](#notmapbuilder) | foo(String value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, Void value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, boolean value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, String value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, int value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, float value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, long value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, double value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, List> value) |
+| [NotMapBuilder](#notmapbuilder) | additionalProperty(String key, Map value) |
## NotMap
public static class NotMap
@@ -108,7 +120,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [NotMap](#notmap) | of([Map](#notmapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
[optional] |
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Foo
public static class Foo
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NulCharactersInStrings.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NulCharactersInStrings.md
index ffbb07beee0..a004d05c38b 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/NulCharactersInStrings.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/NulCharactersInStrings.md
@@ -23,7 +23,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
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 504f19d087a..38210e3417d 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
@@ -37,21 +37,38 @@ 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, ?>](#objectpropertiesvalidationmapbuilder) 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) |
## ObjectPropertiesValidationMapBuilder
public class ObjectPropertiesValidationMapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | Number | | [optional] |
-| **bar** | String | | [optional] |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| ObjectPropertiesValidationMapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | foo(int value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | foo(float value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | foo(long value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | foo(double value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | bar(String value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, Void value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, boolean value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, String value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, int value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, float value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, long value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, double value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, List> value) |
+| [ObjectPropertiesValidationMapBuilder](#objectpropertiesvalidationmapbuilder) | additionalProperty(String key, Map value) |
## ObjectPropertiesValidationMap
public static class ObjectPropertiesValidationMap
@@ -65,7 +82,7 @@ A class to store validated Map payloads
| 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 |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
public static class Bar
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Oneof.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Oneof.md
index 414ca2a7763..e52ad5db956 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/Oneof.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/Oneof.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
@@ -57,7 +57,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
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 60448c8420b..b20e0577f18 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
@@ -41,7 +41,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
@@ -66,20 +66,49 @@ 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, ?>](#schema1mapbuilder) 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) |
+## Schema1Map0Builder
+public class Schema1Map0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1Map0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, Void value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, boolean value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, String value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, int value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, float value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, long value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, double value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, List> value) |
+| [Schema1Map0Builder](#schema1map0builder) | additionalProperty(String key, Map value) |
+
## Schema1MapBuilder
public class Schema1MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **foo** | String | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema1Map0Builder](#schema1map0builder) | foo(String value) |
## Schema1Map
public static class Schema1Map
@@ -92,7 +121,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema1Map](#schema1map) | of([Map](#schema1mapbuilder) arg, SchemaConfiguration configuration) |
| String | foo()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Foo
public static class Foo
@@ -126,20 +155,52 @@ 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, ?>](#schema0mapbuilder) 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) |
+## Schema0Map0Builder
+public class Schema0Map0Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0Map0Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, Void value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, boolean value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, String value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, int value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, float value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, long value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, double value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, List> value) |
+| [Schema0Map0Builder](#schema0map0builder) | additionalProperty(String key, Map value) |
+
## Schema0MapBuilder
public class Schema0MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **bar** | Number | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema0Map0Builder](#schema0map0builder) | bar(int value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(float value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(long value) |
+| [Schema0Map0Builder](#schema0map0builder) | bar(double value) |
## Schema0Map
public static class Schema0Map
@@ -152,7 +213,7 @@ A class to store validated Map payloads
| ----------------- | ---------------------- |
| static [Schema0Map](#schema0map) | of([Map](#schema0mapbuilder) arg, SchemaConfiguration configuration) |
| Number | bar()
|
-| Object | getAdditionalProperty(String name)
provides type safety for additional properties |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Bar
public static class Bar
diff --git a/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithBaseSchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithBaseSchema.md
index 75c27bd5655..2f79ea2ee7d 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithBaseSchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithBaseSchema.md
@@ -23,7 +23,7 @@ A schema class that validates payloads
import org.openapijsonschematools.client.configurations.JsonSchemaKeywordFlags;
import org.openapijsonschematools.client.configurations.SchemaConfiguration;
import org.openapijsonschematools.client.exceptions.ValidationException;
-import org.openapijsonschematools.client.schemas.MapMaker;
+import org.openapijsonschematools.client.schemas.validation.MapUtils;
import org.openapijsonschematools.client.schemas.validation.FrozenList;
import org.openapijsonschematools.client.schemas.validation.FrozenMap;
@@ -72,7 +72,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema0
@@ -96,7 +96,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object 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/OneofWithEmptySchema.md b/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithEmptySchema.md
index fd6475115b6..5507bd9cf99 100644
--- a/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithEmptySchema.md
+++ b/samples/client/3_0_3_unit_test/java/docs/components/schemas/OneofWithEmptySchema.md
@@ -33,7 +33,7 @@ A schema class that validates payloads
| float | validate(float arg, SchemaConfiguration configuration) |
| double | validate(double arg, SchemaConfiguration configuration) |
| boolean | validate(boolean arg, SchemaConfiguration configuration) |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| FrozenList<@Nullable Object> | validate(List> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
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 6ce8d43dc48..ad2760375b2 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
@@ -33,7 +33,7 @@ A schema class that validates payloads
### Method Summary
| Modifier and Type | Method and Description |
| ----------------- | ---------------------- |
-| FrozenMap | validate(Map, ?> arg, SchemaConfiguration configuration) |
+| FrozenMap | validate(Map<?, ?> arg, SchemaConfiguration configuration) |
| @Nullable Object | validate(@Nullable Object arg, SchemaConfiguration configuration) |
## Schema1
public static class Schema1
@@ -56,21 +56,114 @@ 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, ?>](#schema1mapbuilder) 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) |
+## Schema1Map00Builder
+public class Schema1Map00Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1Map00Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, Void value) |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, boolean value) |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, String value) |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, int value) |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, float value) |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, long value) |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, double value) |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, List> value) |
+| [Schema1Map00Builder](#schema1map00builder) | additionalProperty(String key, Map value) |
+
+## Schema1Map01Builder
+public class Schema1Map01Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1Map01Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema1Map00Builder](#schema1map00builder) | foo(Void value) |
+| [Schema1Map00Builder](#schema1map00builder) | foo(boolean value) |
+| [Schema1Map00Builder](#schema1map00builder) | foo(String value) |
+| [Schema1Map00Builder](#schema1map00builder) | foo(int value) |
+| [Schema1Map00Builder](#schema1map00builder) | foo(float value) |
+| [Schema1Map00Builder](#schema1map00builder) | foo(long value) |
+| [Schema1Map00Builder](#schema1map00builder) | foo(double value) |
+| [Schema1Map00Builder](#schema1map00builder) | foo(List> value) |
+| [Schema1Map00Builder](#schema1map00builder) | foo(Map value) |
+
+## Schema1Map10Builder
+public class Schema1Map10Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1Map10Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema1Map00Builder](#schema1map00builder) | baz(Void value) |
+| [Schema1Map00Builder](#schema1map00builder) | baz(boolean value) |
+| [Schema1Map00Builder](#schema1map00builder) | baz(String value) |
+| [Schema1Map00Builder](#schema1map00builder) | baz(int value) |
+| [Schema1Map00Builder](#schema1map00builder) | baz(float value) |
+| [Schema1Map00Builder](#schema1map00builder) | baz(long value) |
+| [Schema1Map00Builder](#schema1map00builder) | baz(double value) |
+| [Schema1Map00Builder](#schema1map00builder) | baz(List> value) |
+| [Schema1Map00Builder](#schema1map00builder) | baz(Map value) |
+
## Schema1MapBuilder
public class Schema1MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **baz** | ? extends @Nullable Object | | |
-| **foo** | ? extends @Nullable Object | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema1MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema1Map01Builder](#schema1map01builder) | baz(Void value) |
+| [Schema1Map01Builder](#schema1map01builder) | baz(boolean value) |
+| [Schema1Map01Builder](#schema1map01builder) | baz(String value) |
+| [Schema1Map01Builder](#schema1map01builder) | baz(int value) |
+| [Schema1Map01Builder](#schema1map01builder) | baz(float value) |
+| [Schema1Map01Builder](#schema1map01builder) | baz(long value) |
+| [Schema1Map01Builder](#schema1map01builder) | baz(double value) |
+| [Schema1Map01Builder](#schema1map01builder) | baz(List> value) |
+| [Schema1Map01Builder](#schema1map01builder) | baz(Map value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(Void value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(boolean value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(String value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(int value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(float value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(long value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(double value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(List> value) |
+| [Schema1Map10Builder](#schema1map10builder) | foo(Map value) |
## Schema1Map
public static class Schema1Map
@@ -84,7 +177,7 @@ A class to store validated Map payloads
| 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 |
+| @Nullable Object | getAdditionalProperty(String name)
provides type safety for additional properties |
## Schema0
public static class Schema0
@@ -107,21 +200,114 @@ 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, ?>](#schema0mapbuilder) 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) |
+## Schema0Map00Builder
+public class Schema0Map00Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0Map00Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| Map | build()
Returns map input that should be used with Schema.validate |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, Void value) |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, boolean value) |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, String value) |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, int value) |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, float value) |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, long value) |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, double value) |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, List> value) |
+| [Schema0Map00Builder](#schema0map00builder) | additionalProperty(String key, Map value) |
+
+## Schema0Map01Builder
+public class Schema0Map01Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0Map01Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema0Map00Builder](#schema0map00builder) | foo(Void value) |
+| [Schema0Map00Builder](#schema0map00builder) | foo(boolean value) |
+| [Schema0Map00Builder](#schema0map00builder) | foo(String value) |
+| [Schema0Map00Builder](#schema0map00builder) | foo(int value) |
+| [Schema0Map00Builder](#schema0map00builder) | foo(float value) |
+| [Schema0Map00Builder](#schema0map00builder) | foo(long value) |
+| [Schema0Map00Builder](#schema0map00builder) | foo(double value) |
+| [Schema0Map00Builder](#schema0map00builder) | foo(List> value) |
+| [Schema0Map00Builder](#schema0map00builder) | foo(Map value) |
+
+## Schema0Map10Builder
+public class Schema0Map10Builder
+builder for `Map`
+
+A class that builds the Map input type
+
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0Map10Builder(Map instance)
Creates a builder that contains the passed instance |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema0Map00Builder](#schema0map00builder) | bar(Void value) |
+| [Schema0Map00Builder](#schema0map00builder) | bar(boolean value) |
+| [Schema0Map00Builder](#schema0map00builder) | bar(String value) |
+| [Schema0Map00Builder](#schema0map00builder) | bar(int value) |
+| [Schema0Map00Builder](#schema0map00builder) | bar(float value) |
+| [Schema0Map00Builder](#schema0map00builder) | bar(long value) |
+| [Schema0Map00Builder](#schema0map00builder) | bar(double value) |
+| [Schema0Map00Builder](#schema0map00builder) | bar(List> value) |
+| [Schema0Map00Builder](#schema0map00builder) | bar(Map value) |
+
## Schema0MapBuilder
public class Schema0MapBuilder
-builder for `Map`
+builder for `Map`
A class that builds the Map input type
-## Input Map Keys
-| Key | Type | Description | Notes |
-| --- | ---- | ------------ | ----- |
-| **bar** | ? extends @Nullable Object | | |
-| **foo** | ? extends @Nullable Object | | |
-| **anyStringName** | Object | any string name can be used but the value must be the correct type | [optional] |
+### Constructor Summary
+| Constructor and Description |
+| --------------------------- |
+| Schema0MapBuilder()
Creates a builder that contains an empty map |
+
+### Method Summary
+| Modifier and Type | Method and Description |
+| ----------------- | ---------------------- |
+| [Schema0Map01Builder](#schema0map01builder) | bar(Void value) |
+| [Schema0Map01Builder](#schema0map01builder) | bar(boolean value) |
+| [Schema0Map01Builder](#schema0map01builder) | bar(String value) |
+| [Schema0Map01Builder](#schema0map01builder) | bar(int value) |
+| [Schema0Map01Builder](#schema0map01builder) | bar(float value) |
+| [Schema0Map01Builder](#schema0map01builder) | bar(long value) |
+| [Schema0Map01Builder](#schema0map01builder) | bar(double value) |
+| [Schema0Map01Builder](#schema0map01builder) | bar(List> value) |
+| [Schema0Map01Builder](#schema0map01builder) | bar(Map value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(Void value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(boolean value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(String value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(int value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(float value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(long value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(double value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(List> value) |
+| [Schema0Map10Builder](#schema0map10builder) | foo(Map value) |
## Schema0Map
public static class Schema0Map