Skip to content

Regression: useBeanValidation broken from  #633

Closed
@jjjasper

Description

@jjjasper

bean validations are no longer generated on Pojo's starting 0.17.5

generator: boat-spring

having open-api property definition

  state:
    maxLength: 50
    minLength: 1
    type: string

0.17.4 generates

  @lombok.Getter
  @lombok.Setter
  @lombok.EqualsAndHashCode.Include
  @lombok.ToString.Include

      @NotNull @Size(min = 1, max = 50) 
      private String externalStateId;

0.17.5 generates

  @lombok.Getter
  @lombok.Setter
  @lombok.EqualsAndHashCode.Include
  @lombok.ToString.Include

      private String externalStateId;

0.17.16 is still broken

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions