Skip to content

Commit

Permalink
Bump org.openapitools:openapi-generator from 7.4.0 to 7.5.0 (#387)
Browse files Browse the repository at this point in the history
* Bump org.openapitools:openapi-generator from 7.4.0 to 7.5.0

Bumps [org.openapitools:openapi-generator](https://github.com/openapitools/openapi-generator) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/openapitools/openapi-generator/releases)
- [Changelog](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/3.0.0-release-note.md)
- [Commits](OpenAPITools/openapi-generator@v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: org.openapitools:openapi-generator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Add new generated stuff

* Fix updated stuff

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephan Schnabel <[email protected]>
  • Loading branch information
dependabot[bot] and sschnabe authored Apr 18, 2024
1 parent 8e0fc08 commit ea2acc5
Show file tree
Hide file tree
Showing 31 changed files with 106 additions and 114 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class AdditionalPropertiesModel extends HashMap<String, AdditionalPropertiesModelValue> {
private @Valid String id;
private String id;

/**
**/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static TypeEnum fromValue(String value) {
}
}

private @Valid TypeEnum type;
private TypeEnum type;

/**
**/
Expand Down
12 changes: 6 additions & 6 deletions gen/main/java/testmodel/jaxrs/EnumerationModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class EnumerationModel {
private @Valid EnumerationString string;
private @Valid EnumerationStringDefault stringDefault = EnumerationStringDefault.THREE;
private EnumerationString string;
private EnumerationStringDefault stringDefault = EnumerationStringDefault.THREE;
@java.lang.SuppressWarnings("all")
public enum EmbeddedEnum {

Expand Down Expand Up @@ -67,7 +67,7 @@ public static EmbeddedEnum fromValue(String value) {
}
}

private @Valid EmbeddedEnum embedded;
private EmbeddedEnum embedded;
@java.lang.SuppressWarnings("all")
public enum EmbeddedDefaultEnum {

Expand Down Expand Up @@ -116,7 +116,7 @@ public static EmbeddedDefaultEnum fromValue(String value) {
}
}

private @Valid EmbeddedDefaultEnum embeddedDefault = EmbeddedDefaultEnum.FOUR;
private EmbeddedDefaultEnum embeddedDefault = EmbeddedDefaultEnum.FOUR;

/**
**/
Expand All @@ -127,7 +127,7 @@ public EnumerationModel string(EnumerationString string) {


@JsonProperty("string")
public EnumerationString getString() {
@Valid public EnumerationString getString() {
return string;
}

Expand All @@ -145,7 +145,7 @@ public EnumerationModel stringDefault(EnumerationStringDefault stringDefault) {


@JsonProperty("string-default")
public EnumerationStringDefault getStringDefault() {
@Valid public EnumerationStringDefault getStringDefault() {
return stringDefault;
}

Expand Down
8 changes: 4 additions & 4 deletions gen/main/java/testmodel/jaxrs/FirstModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class FirstModel {
private @Valid String type;
private @Valid String first;
private @Valid SecondLevelModel secondLevel;
private String type;
private String first;
private SecondLevelModel secondLevel;

/**
**/
Expand Down Expand Up @@ -65,7 +65,7 @@ public FirstModel secondLevel(SecondLevelModel secondLevel) {


@JsonProperty("secondLevel")
public SecondLevelModel getSecondLevel() {
@Valid public SecondLevelModel getSecondLevel() {
return secondLevel;
}

Expand Down
10 changes: 4 additions & 6 deletions gen/main/java/testmodel/jaxrs/InheritanceExtended.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceExtended {
private @Valid String foo;
private @Valid String bar;
private String foo;
private String bar;

/**
**/
Expand All @@ -27,8 +27,7 @@ public InheritanceExtended foo(String foo) {


@JsonProperty("foo")
@NotNull
public String getFoo() {
@NotNull public String getFoo() {
return foo;
}

Expand All @@ -46,8 +45,7 @@ public InheritanceExtended bar(String bar) {


@JsonProperty("bar")
@NotNull
public String getBar() {
@NotNull public String getBar() {
return bar;
}

Expand Down
5 changes: 2 additions & 3 deletions gen/main/java/testmodel/jaxrs/InheritanceSimple.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceSimple {
private @Valid String foo;
private String foo;

/**
**/
Expand All @@ -26,8 +26,7 @@ public InheritanceSimple foo(String foo) {


@JsonProperty("foo")
@NotNull
public String getFoo() {
@NotNull public String getFoo() {
return foo;
}

Expand Down
4 changes: 2 additions & 2 deletions gen/main/java/testmodel/jaxrs/InheritanceWithEnumType.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithEnumType {
private @Valid InheritanceWithEnumTypeEnum type;
private InheritanceWithEnumTypeEnum type;

/**
**/
Expand All @@ -36,7 +36,7 @@ public InheritanceWithEnumType type(InheritanceWithEnumTypeEnum type) {


@JsonProperty("type")
public InheritanceWithEnumTypeEnum getType() {
@Valid public InheritanceWithEnumTypeEnum getType() {
return type;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithEnumType1 extends InheritanceWithEnumType {
private @Valid String d;
private String d;

/**
**/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithEnumType2 extends InheritanceWithEnumType {
private @Valid String e;
private String e;

/**
**/
Expand Down
4 changes: 2 additions & 2 deletions gen/main/java/testmodel/jaxrs/InheritanceWithStringType.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithStringType {
private @Valid String type;
private @Valid String a;
private String type;
private String a;

/**
**/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithStringType1 extends InheritanceWithStringType {
private @Valid String b;
private String b;

/**
**/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithStringType2 extends InheritanceWithStringType {
private @Valid String c;
private String c;

/**
**/
Expand Down
2 changes: 1 addition & 1 deletion gen/main/java/testmodel/jaxrs/InheritanceWithoutType.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithoutType {
private @Valid String e;
private String e;

/**
**/
Expand Down
2 changes: 1 addition & 1 deletion gen/main/java/testmodel/jaxrs/InheritanceWithoutType1.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithoutType1 extends InheritanceWithoutType {
private @Valid String f;
private String f;

/**
**/
Expand Down
2 changes: 1 addition & 1 deletion gen/main/java/testmodel/jaxrs/InheritanceWithoutType2.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class InheritanceWithoutType2 extends InheritanceWithoutType {
private @Valid String g;
private String g;

/**
**/
Expand Down
74 changes: 35 additions & 39 deletions gen/main/java/testmodel/jaxrs/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,37 +29,37 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", comments = "Generator version: stable")@java.lang.SuppressWarnings("all")

public class Model {
private @Valid Integer id;
private @Valid Integer idWithExample;
private @Valid Integer idWithDefault = 32;
private @Valid String name;
private @Valid String nameWithExample;
private @Valid String nameWithDefault = "MyDefaultName";
private @Valid LocalDate date;
private @Valid LocalDate dateWithExample;
private @Valid OffsetDateTime dateTime;
private @Valid OffsetDateTime dateTimeWithExample;
private @Valid BigDecimal number;
private @Valid File binary;
private @Valid byte[] bytes;
private @Valid Object any = null;
private Integer id;
private Integer idWithExample;
private Integer idWithDefault = 32;
private String name;
private String nameWithExample;
private String nameWithDefault = "MyDefaultName";
private LocalDate date;
private LocalDate dateWithExample;
private OffsetDateTime dateTime;
private OffsetDateTime dateTimeWithExample;
private BigDecimal number;
private File binary;
private byte[] bytes;
private Object any = null;
private @Valid List<String> array = new ArrayList<>();
private @Valid List<String> arrayWithExample;
private @Valid List<String> arrayWithExample = new ArrayList<>();
private @Valid Set<String> set = new LinkedHashSet<>();
private @Valid Set<String> setWithExamples;
private @Valid Set<String> setWithExamples = new LinkedHashSet<>();
private @Valid Map<String, String> map = new HashMap<>();
private @Valid Map<String, String> mapWithExample = new HashMap<>();
private @Valid List<String> optionalArray;
private @Valid Set<String> optionalSet;
private @Valid List<String> optionalArray = new ArrayList<>();
private @Valid Set<String> optionalSet = new LinkedHashSet<>();
private @Valid Map<String, String> optionalMap = new HashMap<>();
private @Valid String nullableString;
private String nullableString;
private @Valid List<String> nullableArray;
private @Valid Set<String> nullableSet;
private @Valid String defaultString = "defaultStringValue";
private @Valid Integer defaultInteger = 1234;
private @Valid Long defaultLong = 5678l;
private @Valid String defaultNullable = "defaultNullableValue";
private @Valid EnumerationModel referenedModel;
private String defaultString = "defaultStringValue";
private Integer defaultInteger = 1234;
private Long defaultLong = 5678l;
private String defaultNullable = "defaultNullableValue";
private EnumerationModel referenedModel;

/**
**/
Expand Down Expand Up @@ -124,8 +124,7 @@ public Model name(String name) {


@JsonProperty("name")
@NotNull
@Size(max=36) public String getName() {
@NotNull @Size(max=36)public String getName() {
return name;
}

Expand Down Expand Up @@ -179,7 +178,7 @@ public Model date(LocalDate date) {


@JsonProperty("date")
public LocalDate getDate() {
@Valid public LocalDate getDate() {
return date;
}

Expand All @@ -197,7 +196,7 @@ public Model dateWithExample(LocalDate dateWithExample) {


@JsonProperty("dateWithExample")
public LocalDate getDateWithExample() {
@Valid public LocalDate getDateWithExample() {
return dateWithExample;
}

Expand All @@ -215,7 +214,7 @@ public Model dateTime(OffsetDateTime dateTime) {


@JsonProperty("date-time")
public OffsetDateTime getDateTime() {
@Valid public OffsetDateTime getDateTime() {
return dateTime;
}

Expand All @@ -233,7 +232,7 @@ public Model dateTimeWithExample(OffsetDateTime dateTimeWithExample) {


@JsonProperty("date-timeWithExample")
public OffsetDateTime getDateTimeWithExample() {
@Valid public OffsetDateTime getDateTimeWithExample() {
return dateTimeWithExample;
}

Expand All @@ -251,7 +250,7 @@ public Model number(BigDecimal number) {


@JsonProperty("number")
public BigDecimal getNumber() {
@Valid public BigDecimal getNumber() {
return number;
}

Expand All @@ -269,7 +268,7 @@ public Model binary(File binary) {


@JsonProperty("binary")
public File getBinary() {
@Valid public File getBinary() {
return binary;
}

Expand Down Expand Up @@ -323,8 +322,7 @@ public Model array(List<String> array) {


@JsonProperty("array")
@NotNull
public List<String> getArray() {
@NotNull public List<String> getArray() {
return array;
}

Expand Down Expand Up @@ -392,8 +390,7 @@ public Model set(Set<String> set) {


@JsonProperty("set")
@NotNull
public Set<String> getSet() {
@NotNull public Set<String> getSet() {
return set;
}

Expand Down Expand Up @@ -463,8 +460,7 @@ public Model map(Map<String, String> map) {


@JsonProperty("map")
@NotNull
public Map<String, String> getMap() {
@NotNull public Map<String, String> getMap() {
return map;
}

Expand Down Expand Up @@ -793,7 +789,7 @@ public Model referenedModel(EnumerationModel referenedModel) {


@JsonProperty("referenedModel")
public EnumerationModel getReferenedModel() {
@Valid public EnumerationModel getReferenedModel() {
return referenedModel;
}

Expand Down
Loading

0 comments on commit ea2acc5

Please sign in to comment.