diff --git a/samples/client/3_1_0_unit_test/java/docs/components/schemas/ConstNulCharactersInStrings.md b/samples/client/3_1_0_unit_test/java/docs/components/schemas/ConstNulCharactersInStrings.md index cb563544752..de40b87a682 100644 --- a/samples/client/3_1_0_unit_test/java/docs/components/schemas/ConstNulCharactersInStrings.md +++ b/samples/client/3_1_0_unit_test/java/docs/components/schemas/ConstNulCharactersInStrings.md @@ -21,6 +21,7 @@ A schema class that validates payloads ### Field Summary | Modifier and Type | Field and Description | | ----------------- | ---------------------- | +| @Nullable Object | constValue = "hello\0there" | ### Method Summary | Modifier and Type | Method and Description | diff --git a/samples/client/3_1_0_unit_test/java/docs/components/schemas/IfAppearsAtTheEndWhenSerializedKeywordProcessingSequence.md b/samples/client/3_1_0_unit_test/java/docs/components/schemas/IfAppearsAtTheEndWhenSerializedKeywordProcessingSequence.md index d109d105b55..734834d63fc 100644 --- a/samples/client/3_1_0_unit_test/java/docs/components/schemas/IfAppearsAtTheEndWhenSerializedKeywordProcessingSequence.md +++ b/samples/client/3_1_0_unit_test/java/docs/components/schemas/IfAppearsAtTheEndWhenSerializedKeywordProcessingSequence.md @@ -51,6 +51,7 @@ A schema class that validates payloads ### Field Summary | Modifier and Type | Field and Description | | ----------------- | ---------------------- | +| @Nullable Object | constValue = "yes" | ### Method Summary | Modifier and Type | Method and Description | @@ -109,6 +110,7 @@ A schema class that validates payloads ### Field Summary | Modifier and Type | Field and Description | | ----------------- | ---------------------- | +| @Nullable Object | constValue = "other" | ### Method Summary | Modifier and Type | Method and Description | diff --git a/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreElseWithoutIf.md b/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreElseWithoutIf.md index 7dbd1fc5353..4e4df7af7a7 100644 --- a/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreElseWithoutIf.md +++ b/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreElseWithoutIf.md @@ -46,6 +46,7 @@ A schema class that validates payloads ### Field Summary | Modifier and Type | Field and Description | | ----------------- | ---------------------- | +| @Nullable Object | constValue = "0" | ### Method Summary | Modifier and Type | Method and Description | diff --git a/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreIfWithoutThenOrElse.md b/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreIfWithoutThenOrElse.md index ad6fa18d65a..ccebcc6c0ba 100644 --- a/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreIfWithoutThenOrElse.md +++ b/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreIfWithoutThenOrElse.md @@ -46,6 +46,7 @@ A schema class that validates payloads ### Field Summary | Modifier and Type | Field and Description | | ----------------- | ---------------------- | +| @Nullable Object | constValue = "0" | ### Method Summary | Modifier and Type | Method and Description | diff --git a/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreThenWithoutIf.md b/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreThenWithoutIf.md index d67c1d37ea1..04339c88c8b 100644 --- a/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreThenWithoutIf.md +++ b/samples/client/3_1_0_unit_test/java/docs/components/schemas/IgnoreThenWithoutIf.md @@ -46,6 +46,7 @@ A schema class that validates payloads ### Field Summary | Modifier and Type | Field and Description | | ----------------- | ---------------------- | +| @Nullable Object | constValue = "0" | ### Method Summary | Modifier and Type | Method and Description | diff --git a/src/main/resources/java/src/main/java/packagename/components/schemas/docschema_fields_field.hbs b/src/main/resources/java/src/main/java/packagename/components/schemas/docschema_fields_field.hbs index 57bb818e183..20bb1453085 100644 --- a/src/main/resources/java/src/main/java/packagename/components/schemas/docschema_fields_field.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/schemas/docschema_fields_field.hbs @@ -106,3 +106,6 @@ {{#if else_}} | Class | {{> src/main/java/packagename/components/schemas/SchemaClass/_else }} | {{/if}} +{{#if constInfo}} +| @Nullable Object | {{> src/main/java/packagename/components/schemas/SchemaClass/_const }} | +{{/if}}