jskov / openapi-jaxrs-client

An OpenAPI JAX-RS client code generator
Apache License 2.0
1 stars 4 forks source link

Regression on required nullable #626

Closed jskov-jyskebank-dk closed 6 months ago

jskov-jyskebank-dk commented 6 months ago

610 is missing a tweak, the flow method (and setter?) still have requireNonNull:

 public AdresseIdentifikationDto adresseId(UUID adresseId) {
    this.adresseId = adresseId;
    return this;
  }

  public UUID getAdresseId() {
    return adresseId;
  }

  public void setAdresseId(UUID adresseId) {
    this.adresseId = Objects.requireNonNull(adresseId);
  }

(Per)