mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 16:16:12 +00:00
[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:
@@ -227,7 +227,7 @@ public class FormatTest {
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
|
||||
@Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$")
|
||||
|
||||
public byte[] getByte() {
|
||||
return _byte;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user