[Java] Update templates not to add @Pattern on byte array property (#7153)

* Update Java templates to skip generating @Pattern on byte array properties

* Revert separator changes

* Revert separator changes
This commit is contained in:
beytun
2020-08-12 08:29:50 +02:00
committed by GitHub
parent 6653cedcc7
commit a1484dac77
28 changed files with 28 additions and 28 deletions

View File

@@ -294,7 +294,7 @@ public class FormatTest {
* @return _byte
**/
@NotNull
@Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") @ApiModelProperty(required = true, value = "")
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_BYTE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)

View File

@@ -277,7 +277,7 @@ public class FormatTest {
* @return _byte
**/
@NotNull
@Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") @ApiModelProperty(required = true, value = "")
@ApiModelProperty(required = true, value = "")
public byte[] getByte() {
return _byte;

View File

@@ -293,7 +293,7 @@ public class FormatTest {
* @return _byte
**/
@NotNull
@Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") @ApiModelProperty(required = true, value = "")
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_BYTE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)