Update logback core to newer version v1.5.13 (#20363)

* update logback to newer version

* update java inflector samples

* update logback to newer version

* fix auto-generated tests
This commit is contained in:
William Cheng 2024-12-21 15:56:27 +08:00 committed by GitHub
parent eceef28850
commit 8790f7c8b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
103 changed files with 227 additions and 148 deletions

View File

@ -223,7 +223,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
{{#useBeanValidation}}
<beanvalidation.version>3.0.2</beanvalidation.version>
{{/useBeanValidation}}

View File

@ -223,7 +223,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
{{#useBeanValidation}}
<beanvalidation.version>3.0.1</beanvalidation.version>
{{/useBeanValidation}}

View File

@ -162,7 +162,7 @@
<maven-plugin-version>1.0.0</maven-plugin-version>
<swagger-inflector-version>1.0.14</swagger-inflector-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<logback-version>1.2.12</logback-version>
<logback-version>1.5.13</logback-version>
{{#useJakartaEe}}
<jakarta-annotation-version>2.1.1</jakarta-annotation-version>
{{/useJakartaEe}}

View File

@ -8,6 +8,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import {{javaxPackage}}.validation.Valid;
import {{javaxPackage}}.ws.rs.core.MediaType;
import {{javaxPackage}}.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;

View File

@ -220,7 +220,7 @@ for this project used jakarta.validation-api -->
<swagger-core-version>1.5.22</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
{{#useBeanValidation}}
<beanvalidation-version>2.0.2</beanvalidation-version>
{{/useBeanValidation}}

View File

@ -342,7 +342,7 @@ for this project used jakarta.validation-api -->
{{/generateSpringApplication}}
{{^generateSpringBootApplication}}
<junit-version>4.13.2</junit-version>
<logback-version>1.2.12</logback-version>
<logback-version>1.5.13</logback-version>
{{/generateSpringBootApplication}}
<cxf-version>3.5.9</cxf-version>
<jackson-jaxrs-version>2.17.1</jackson-jaxrs-version>

View File

@ -8,6 +8,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import {{javaxPackage}}.validation.Valid;
import {{javaxPackage}}.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -241,7 +241,7 @@ for this project used jakarta.validation-api -->
<swagger-core-version>1.5.18</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
{{#useBeanValidation}}
<beanvalidation-version>2.0.2</beanvalidation-version>
{{/useBeanValidation}}

View File

@ -292,7 +292,7 @@ for this project used jakarta.validation-api -->
<swagger-core-version>1.5.22</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
{{#useBeanValidation}}
<beanvalidation-version>2.0.2</beanvalidation-version>
{{/useBeanValidation}}

View File

@ -222,7 +222,7 @@
<jersey3-version>3.1.3</jersey3-version>
<jackson-version>2.17.1</jackson-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<servlet-api-version>5.0.0</servlet-api-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@ -222,7 +222,7 @@ for this project used jakarta.validation-api -->
<jersey2-version>2.35</jersey2-version>
<jackson-version>2.17.1</jackson-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<servlet-api-version>4.0.4</servlet-api-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@ -25,8 +25,8 @@
<springfox-swagger-ui>2.6.0</springfox-swagger-ui>
<slf4j-api>1.7.25</slf4j-api>
<logstash-logback-encoder>4.11</logstash-logback-encoder>
<logback-core>1.4.13</logback-core>
<logback-classic>1.4.13</logback-classic>
<logback-core>1.5.13</logback-core>
<logback-classic>1.5.13</logback-classic>
<gatling.version>2.3.0</gatling.version>
<gatling-plugin.version>2.2.4</gatling-plugin.version>
<scala-maven-plugin.version>3.2.2</scala-maven-plugin.version>

View File

@ -26,7 +26,7 @@
<version.commons.codec>1.10</version.commons.codec>
<version.encoder>1.2</version.encoder>
<version.metrics>3.1.2</version.metrics>
<version.logback>1.4.13</version.logback>
<version.logback>1.5.13</version.logback>
<version.junit>4.13.2</version.junit>
<version.mockito>2.1.0-beta.124</version.mockito>
<version.undertow>2.3.17.Final</version.undertow>

View File

@ -1,4 +1,4 @@
kotlin.code.style=official
ktor_version=3.0.2
kotlin_version=2.0.20
logback_version=1.4.14
logback_version=1.5.13

View File

@ -1,4 +1,4 @@
kotlin.code.style=official
ktor_version=2.3.12
kotlin_version=2.0.20
logback_version=1.4.14
logback_version=1.5.13

View File

@ -157,7 +157,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jackson.version>2.17.1</jackson.version>

View File

@ -152,7 +152,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jackson.version>2.17.1</jackson.version>

View File

@ -160,7 +160,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jakarta.activation.version>2.1.0</jakarta.activation.version>

View File

@ -155,7 +155,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jakarta.activation.version>2.1.0</jakarta.activation.version>

View File

@ -160,7 +160,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jakarta.activation.version>1.2.2</jakarta.activation.version>

View File

@ -155,7 +155,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jakarta.activation.version>1.2.2</jakarta.activation.version>

View File

@ -155,7 +155,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jakarta.activation.version>2.1.0</jakarta.activation.version>

View File

@ -155,7 +155,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jakarta.activation.version>1.2.2</jakarta.activation.version>

View File

@ -197,7 +197,7 @@ for this project used jakarta.validation-api -->
<swagger-core-version>1.5.18</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<cxf-version>3.5.9</cxf-version>
<jackson-jaxrs-version>2.17.1</jackson-jaxrs-version>
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>

View File

@ -197,7 +197,7 @@ for this project used jakarta.validation-api -->
<swagger-core-version>1.5.18</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<cxf-version>3.5.9</cxf-version>
<jackson-jaxrs-version>2.17.1</jackson-jaxrs-version>
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>

View File

@ -1 +1 @@
7.0.0-SNAPSHOT
7.11.0-SNAPSHOT

View File

@ -162,7 +162,7 @@
<maven-plugin-version>1.0.0</maven-plugin-version>
<swagger-inflector-version>1.0.14</swagger-inflector-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<logback-version>1.2.10</logback-version>
<logback-version>1.5.13</logback-version>
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
<junit-version>4.13.2</junit-version>
<slf4j-version>1.6.3</slf4j-version>

View File

@ -1,6 +1,6 @@
package org.openapitools.controllers;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).

View File

@ -12,7 +12,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
@JsonProperty("name")
private String name;
@ -44,12 +44,12 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
return false;
}
AdditionalPropertiesAnyType additionalPropertiesAnyType = (AdditionalPropertiesAnyType) o;
return Objects.equals(name, additionalPropertiesAnyType.name);
return super.equals(o) && Objects.equals(name, additionalPropertiesAnyType.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
return Objects.hash(super.hashCode(), name);
}
@Override

View File

@ -13,7 +13,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AdditionalPropertiesArray extends HashMap<String, List> {
@JsonProperty("name")
private String name;
@ -45,12 +45,12 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
return false;
}
AdditionalPropertiesArray additionalPropertiesArray = (AdditionalPropertiesArray) o;
return Objects.equals(name, additionalPropertiesArray.name);
return super.equals(o) && Objects.equals(name, additionalPropertiesArray.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
return Objects.hash(super.hashCode(), name);
}
@Override

View File

@ -12,7 +12,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
@JsonProperty("name")
private String name;
@ -44,12 +44,12 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
return false;
}
AdditionalPropertiesBoolean additionalPropertiesBoolean = (AdditionalPropertiesBoolean) o;
return Objects.equals(name, additionalPropertiesBoolean.name);
return super.equals(o) && Objects.equals(name, additionalPropertiesBoolean.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
return Objects.hash(super.hashCode(), name);
}
@Override

View File

@ -14,7 +14,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AdditionalPropertiesClass {
@JsonProperty("map_string")
private Map<String, String> mapString = null;

View File

@ -12,7 +12,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
@JsonProperty("name")
private String name;
@ -44,12 +44,12 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
return false;
}
AdditionalPropertiesInteger additionalPropertiesInteger = (AdditionalPropertiesInteger) o;
return Objects.equals(name, additionalPropertiesInteger.name);
return super.equals(o) && Objects.equals(name, additionalPropertiesInteger.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
return Objects.hash(super.hashCode(), name);
}
@Override

View File

@ -13,7 +13,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
@JsonProperty("name")
private String name;
@ -45,12 +45,12 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
return false;
}
AdditionalPropertiesNumber additionalPropertiesNumber = (AdditionalPropertiesNumber) o;
return Objects.equals(name, additionalPropertiesNumber.name);
return super.equals(o) && Objects.equals(name, additionalPropertiesNumber.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
return Objects.hash(super.hashCode(), name);
}
@Override

View File

@ -12,7 +12,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AdditionalPropertiesObject extends HashMap<String, Map> {
@JsonProperty("name")
private String name;
@ -44,12 +44,12 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
return false;
}
AdditionalPropertiesObject additionalPropertiesObject = (AdditionalPropertiesObject) o;
return Objects.equals(name, additionalPropertiesObject.name);
return super.equals(o) && Objects.equals(name, additionalPropertiesObject.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
return Objects.hash(super.hashCode(), name);
}
@Override

View File

@ -12,7 +12,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AdditionalPropertiesString extends HashMap<String, String> {
@JsonProperty("name")
private String name;
@ -44,12 +44,12 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
return false;
}
AdditionalPropertiesString additionalPropertiesString = (AdditionalPropertiesString) o;
return Objects.equals(name, additionalPropertiesString.name);
return super.equals(o) && Objects.equals(name, additionalPropertiesString.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
return Objects.hash(super.hashCode(), name);
}
@Override

View File

@ -13,7 +13,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Animal {
@JsonProperty("className")
private String className;

View File

@ -7,13 +7,14 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ArrayOfArrayOfNumberOnly {
@JsonProperty("ArrayArrayNumber")
private List<List<BigDecimal>> arrayArrayNumber = null;

View File

@ -7,13 +7,14 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ArrayOfNumberOnly {
@JsonProperty("ArrayNumber")
private List<BigDecimal> arrayNumber = null;

View File

@ -6,6 +6,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.openapitools.model.ReadOnlyFirst;
@ -13,7 +14,7 @@ import org.openapitools.model.ReadOnlyFirst;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ArrayTest {
@JsonProperty("array_of_string")
private List<String> arrayOfString = null;

View File

@ -12,7 +12,7 @@ import org.openapitools.model.Cat;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class BigCat extends Cat {
/**
* Gets or Sets kind
@ -79,12 +79,12 @@ public class BigCat extends Cat {
return false;
}
BigCat bigCat = (BigCat) o;
return Objects.equals(kind, bigCat.kind);
return super.equals(o) && Objects.equals(kind, bigCat.kind);
}
@Override
public int hashCode() {
return Objects.hash(kind);
return Objects.hash(super.hashCode(), kind);
}
@Override

View File

@ -10,7 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Capitalization {
@JsonProperty("smallCamel")
private String smallCamel;

View File

@ -11,7 +11,7 @@ import org.openapitools.model.Animal;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Cat extends Animal {
@JsonProperty("declawed")
private Boolean declawed;
@ -43,12 +43,12 @@ public class Cat extends Animal {
return false;
}
Cat cat = (Cat) o;
return Objects.equals(declawed, cat.declawed);
return super.equals(o) && Objects.equals(declawed, cat.declawed);
}
@Override
public int hashCode() {
return Objects.hash(declawed);
return Objects.hash(super.hashCode(), declawed);
}
@Override

View File

@ -10,7 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Category {
@JsonProperty("id")
private Long id;

View File

@ -13,7 +13,7 @@ import io.swagger.annotations.ApiModelProperty;
**/
@ApiModel(description = "Model for testing model with \"_class\" property")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ClassModel {
@JsonProperty("_class")
private String propertyClass;

View File

@ -10,7 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Client {
@JsonProperty("client")
private String client;

View File

@ -11,7 +11,7 @@ import org.openapitools.model.Animal;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Dog extends Animal {
@JsonProperty("breed")
private String breed;
@ -43,12 +43,12 @@ public class Dog extends Animal {
return false;
}
Dog dog = (Dog) o;
return Objects.equals(breed, dog.breed);
return super.equals(o) && Objects.equals(breed, dog.breed);
}
@Override
public int hashCode() {
return Objects.hash(breed);
return Objects.hash(super.hashCode(), breed);
}
@Override

View File

@ -7,13 +7,14 @@ import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class EnumArrays {
/**
* Gets or Sets justSymbol

View File

@ -13,7 +13,7 @@ import org.openapitools.model.OuterEnum;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class EnumTest {
/**
* Gets or Sets enumString

View File

@ -6,6 +6,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.openapitools.model.ModelFile;
@ -13,7 +14,7 @@ import org.openapitools.model.ModelFile;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class FileSchemaTestClass {
@JsonProperty("file")
private ModelFile _file;

View File

@ -15,7 +15,7 @@ import java.util.UUID;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class FormatTest {
@JsonProperty("integer")
private Integer integer;
@ -355,7 +355,7 @@ public class FormatTest {
sb.append(" date: ").append(toIndentedString(date)).append("\n");
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
sb.append(" password: ").append(toIndentedString(password)).append("\n");
sb.append(" password: ").append("*").append("\n");
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
sb.append("}");
return sb.toString();

View File

@ -11,7 +11,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class HasOnlyReadOnly {
@JsonProperty("bar")
private String bar;

View File

@ -13,7 +13,7 @@ import java.util.Map;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class MapTest {
@JsonProperty("map_map_of_string")
private Map<String, Map<String, String>> mapMapOfString = null;

View File

@ -15,7 +15,7 @@ import org.openapitools.model.Animal;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class MixedPropertiesAndAdditionalPropertiesClass {
@JsonProperty("uuid")
private UUID uuid;

View File

@ -14,7 +14,7 @@ import io.swagger.annotations.ApiModelProperty;
**/
@ApiModel(description = "Model for testing model name starting with number")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Model200Response {
@JsonProperty("name")
private Integer name;

View File

@ -11,7 +11,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ModelApiResponse {
@JsonProperty("code")
private Integer code;

View File

@ -14,7 +14,7 @@ import io.swagger.annotations.ApiModelProperty;
**/
@ApiModel(description = "Must be named `File` for test.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ModelFile {
@JsonProperty("sourceURI")
private String sourceURI;

View File

@ -3,6 +3,7 @@ package org.openapitools.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ -10,7 +11,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ModelList {
@JsonProperty("123-list")
private String _123list;

View File

@ -14,7 +14,7 @@ import io.swagger.annotations.ApiModelProperty;
**/
@ApiModel(description = "Model for testing reserved words")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ModelReturn {
@JsonProperty("return")
private Integer _return;

View File

@ -13,7 +13,7 @@ import io.swagger.annotations.ApiModelProperty;
**/
@ApiModel(description = "Model for testing model name same as property name")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Name {
@JsonProperty("name")
private Integer name;

View File

@ -11,7 +11,7 @@ import java.math.BigDecimal;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class NumberOnly {
@JsonProperty("JustNumber")
private BigDecimal justNumber;

View File

@ -12,7 +12,7 @@ import java.util.Date;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Order {
@JsonProperty("id")
private Long id;

View File

@ -11,7 +11,7 @@ import java.math.BigDecimal;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class OuterComposite {
@JsonProperty("my_number")
private BigDecimal myNumber;

View File

@ -8,6 +8,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
@ -18,7 +19,7 @@ import org.openapitools.model.Tag;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Pet {
@JsonProperty("id")
private Long id;

View File

@ -10,7 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class ReadOnlyFirst {
@JsonProperty("bar")
private String bar;

View File

@ -11,7 +11,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class SpecialModelName {
@JsonProperty("$special[property.name]")
private Long $specialPropertyName;

View File

@ -10,7 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class Tag {
@JsonProperty("id")
private Long id;

View File

@ -7,13 +7,14 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class TypeHolderDefault {
@JsonProperty("string_item")
private String stringItem = "what";

View File

@ -7,13 +7,14 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class TypeHolderExample {
@JsonProperty("string_item")
private String stringItem;

View File

@ -10,7 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class User {
@JsonProperty("id")
private Long id;

View File

@ -7,13 +7,14 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class XmlItem {
@JsonProperty("attribute_string")
private String attributeString;

View File

@ -11,8 +11,9 @@ import java.util.List;
import org.openapitools.model.*;
import org.openapitools.model.Client;
import java.util.UUID;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class AnotherFakeController {
/**
* Uncomment and implement as you see fit. These operations will map
@ -21,7 +22,7 @@ public class AnotherFakeController {
**/
/*
public ResponseContext call123testSpecialTags(RequestContext request , Client body) {
public ResponseContext call123testSpecialTags(RequestContext request , UUID uuidTest, Client body) {
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
}
*/

View File

@ -12,7 +12,7 @@ import org.openapitools.model.*;
import org.openapitools.model.Client;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class FakeClassnameTestController {
/**
* Uncomment and implement as you see fit. These operations will map

View File

@ -15,13 +15,14 @@ import org.openapitools.model.Client;
import java.util.Date;
import java.io.File;
import org.openapitools.model.FileSchemaTestClass;
import java.util.List;
import java.util.Map;
import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.OuterComposite;
import org.openapitools.model.User;
import org.openapitools.model.XmlItem;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class FakeController {
/**
* Uncomment and implement as you see fit. These operations will map

View File

@ -11,11 +11,12 @@ import java.util.List;
import org.openapitools.model.*;
import java.io.File;
import java.util.List;
import org.openapitools.model.ModelApiResponse;
import org.openapitools.model.Pet;
import java.util.Set;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class PetController {
/**
* Uncomment and implement as you see fit. These operations will map

View File

@ -13,7 +13,7 @@ import org.openapitools.model.*;
import java.util.Map;
import org.openapitools.model.Order;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class StoreController {
/**
* Uncomment and implement as you see fit. These operations will map

View File

@ -14,7 +14,7 @@ import java.util.Date;
import java.util.List;
import org.openapitools.model.User;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
public class UserController {
/**
* Uncomment and implement as you see fit. These operations will map

View File

@ -47,7 +47,8 @@ paths:
- pet
x-codegen-request-body-name: body
x-content-type: application/json
x-accepts: application/json
x-accepts:
- application/json
put:
operationId: updatePet
requestBody:
@ -82,7 +83,8 @@ paths:
- pet
x-codegen-request-body-name: body
x-content-type: application/json
x-accepts: application/json
x-accepts:
- application/json
/pet/findByStatus:
get:
description: Multiple status values can be provided with comma separated strings
@ -127,7 +129,9 @@ paths:
summary: Finds Pets by status
tags:
- pet
x-accepts: application/json
x-accepts:
- application/json
- application/xml
/pet/findByTags:
get:
deprecated: true
@ -172,7 +176,9 @@ paths:
summary: Finds Pets by tags
tags:
- pet
x-accepts: application/json
x-accepts:
- application/json
- application/xml
/pet/{petId}:
delete:
operationId: deletePet
@ -202,7 +208,8 @@ paths:
summary: Deletes a pet
tags:
- pet
x-accepts: application/json
x-accepts:
- application/json
get:
description: Returns a single pet
operationId: getPetById
@ -235,7 +242,9 @@ paths:
summary: Find pet by ID
tags:
- pet
x-accepts: application/json
x-accepts:
- application/json
- application/xml
post:
operationId: updatePetWithForm
parameters:
@ -263,7 +272,8 @@ paths:
tags:
- pet
x-content-type: application/x-www-form-urlencoded
x-accepts: application/json
x-accepts:
- application/json
/pet/{petId}/uploadImage:
post:
operationId: uploadFile
@ -295,7 +305,8 @@ paths:
tags:
- pet
x-content-type: multipart/form-data
x-accepts: application/json
x-accepts:
- application/json
/store/inventory:
get:
description: Returns a map of status codes to quantities
@ -315,7 +326,8 @@ paths:
summary: Returns pet inventories by status
tags:
- store
x-accepts: application/json
x-accepts:
- application/json
/store/order:
post:
operationId: placeOrder
@ -344,7 +356,9 @@ paths:
- store
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: application/json
x-accepts:
- application/json
- application/xml
/store/order/{order_id}:
delete:
description: For valid response try integer IDs with value < 1000. Anything
@ -367,7 +381,8 @@ paths:
summary: Delete purchase order by ID
tags:
- store
x-accepts: application/json
x-accepts:
- application/json
get:
description: For valid response try integer IDs with value <= 5 or > 10. Other
values will generate exceptions
@ -401,7 +416,9 @@ paths:
summary: Find purchase order by ID
tags:
- store
x-accepts: application/json
x-accepts:
- application/json
- application/xml
/user:
post:
description: This can only be done by the logged in user.
@ -422,7 +439,8 @@ paths:
- user
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: application/json
x-accepts:
- application/json
/user/createWithArray:
post:
operationId: createUsersWithArrayInput
@ -444,7 +462,8 @@ paths:
- user
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: application/json
x-accepts:
- application/json
/user/createWithList:
post:
operationId: createUsersWithListInput
@ -466,7 +485,8 @@ paths:
- user
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: application/json
x-accepts:
- application/json
/user/login:
get:
operationId: loginUser
@ -510,7 +530,9 @@ paths:
summary: Logs user into the system
tags:
- user
x-accepts: application/json
x-accepts:
- application/json
- application/xml
/user/logout:
get:
operationId: logoutUser
@ -521,7 +543,8 @@ paths:
summary: Logs out current logged in user session
tags:
- user
x-accepts: application/json
x-accepts:
- application/json
/user/{username}:
delete:
description: This can only be done by the logged in user.
@ -543,7 +566,8 @@ paths:
summary: Delete user
tags:
- user
x-accepts: application/json
x-accepts:
- application/json
get:
operationId: getUserByName
parameters:
@ -572,7 +596,9 @@ paths:
summary: Get user by user name
tags:
- user
x-accepts: application/json
x-accepts:
- application/json
- application/xml
put:
description: This can only be done by the logged in user.
operationId: updateUser
@ -602,7 +628,8 @@ paths:
- user
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: application/json
x-accepts:
- application/json
/fake_classname_test:
patch:
description: To test class name in snake case
@ -628,7 +655,8 @@ paths:
- fake_classname_tags 123#$%^
x-codegen-request-body-name: body
x-content-type: application/json
x-accepts: application/json
x-accepts:
- application/json
/fake:
delete:
description: Fake endpoint to test group parameters (optional)
@ -677,7 +705,8 @@ paths:
tags:
- fake
x-group-parameters: true
x-accepts: application/json
x-accepts:
- application/json
get:
description: To test enum parameters
operationId: testEnumParameters
@ -762,7 +791,8 @@ paths:
tags:
- fake
x-content-type: application/x-www-form-urlencoded
x-accepts: application/json
x-accepts:
- application/json
patch:
description: To test "client" model
operationId: testClientModel
@ -785,7 +815,8 @@ paths:
- fake
x-codegen-request-body-name: body
x-content-type: application/json
x-accepts: application/json
x-accepts:
- application/json
post:
description: |-
Fake endpoint for testing various parameters
@ -816,7 +847,8 @@ paths:
tags:
- fake
x-content-type: application/x-www-form-urlencoded
x-accepts: application/json
x-accepts:
- application/json
/fake/outer/number:
post:
description: Test serialization of outer number types
@ -839,7 +871,8 @@ paths:
- fake
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: '*/*'
x-accepts:
- '*/*'
/fake/outer/string:
post:
description: Test serialization of outer string types
@ -862,7 +895,8 @@ paths:
- fake
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: '*/*'
x-accepts:
- '*/*'
/fake/outer/boolean:
post:
description: Test serialization of outer boolean types
@ -885,7 +919,8 @@ paths:
- fake
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: '*/*'
x-accepts:
- '*/*'
/fake/outer/composite:
post:
description: Test serialization of object with outer number type
@ -908,7 +943,8 @@ paths:
- fake
x-codegen-request-body-name: body
x-content-type: '*/*'
x-accepts: '*/*'
x-accepts:
- '*/*'
/fake/jsonFormData:
get:
operationId: testJsonFormData
@ -926,7 +962,8 @@ paths:
tags:
- fake
x-content-type: application/x-www-form-urlencoded
x-accepts: application/json
x-accepts:
- application/json
/fake/inline-additionalProperties:
post:
operationId: testInlineAdditionalProperties
@ -948,7 +985,8 @@ paths:
- fake
x-codegen-request-body-name: param
x-content-type: application/json
x-accepts: application/json
x-accepts:
- application/json
/fake/body-with-query-params:
put:
operationId: testBodyWithQueryParams
@ -972,7 +1010,8 @@ paths:
- fake
x-codegen-request-body-name: body
x-content-type: application/json
x-accepts: application/json
x-accepts:
- application/json
/fake/create_xml_item:
post:
description: this route creates an XmlItem
@ -1008,11 +1047,20 @@ paths:
- fake
x-codegen-request-body-name: XmlItem
x-content-type: application/xml
x-accepts: application/json
x-accepts:
- application/json
/another-fake/dummy:
patch:
description: To test special tags and operation ID starting with number
operationId: 123_test_@#$%_special_tags
parameters:
- description: to test uuid example value
in: header
name: uuid_test
required: true
schema:
format: uuid
type: string
requestBody:
content:
application/json:
@ -1032,7 +1080,8 @@ paths:
- $another-fake?
x-codegen-request-body-name: body
x-content-type: application/json
x-accepts: application/json
x-accepts:
- application/json
/fake/body-with-file-schema:
put:
description: "For this test, the body for this request much reference a schema\
@ -1052,7 +1101,8 @@ paths:
- fake
x-codegen-request-body-name: body
x-content-type: application/json
x-accepts: application/json
x-accepts:
- application/json
/fake/test-query-parameters:
put:
description: To test the collection format in query parameters
@ -1106,7 +1156,8 @@ paths:
description: Success
tags:
- fake
x-accepts: application/json
x-accepts:
- application/json
/fake/{petId}/uploadImageWithRequiredFile:
post:
operationId: uploadFileWithRequiredFile
@ -1139,7 +1190,8 @@ paths:
tags:
- pet
x-content-type: multipart/form-data
x-accepts: application/json
x-accepts:
- application/json
components:
schemas:
Order:

View File

@ -151,7 +151,7 @@
<swagger.core.version>1.5.18</swagger.core.version>
<jetty.version>9.2.9.v20150224</jetty.version>
<junit.version>5.10.2</junit.version>
<logback.version>1.4.14</logback.version>
<logback.version>1.5.13</logback.version>
<cxf.version>3.2.7</cxf.version>
<jackson.jaxrs.version>2.17.1</jackson.jaxrs.version>
<jackson.version>2.17.1</jackson.version>

View File

@ -26,7 +26,7 @@
<version.commons.codec>1.10</version.commons.codec>
<version.encoder>1.2</version.encoder>
<version.metrics>3.1.2</version.metrics>
<version.logback>1.4.13</version.logback>
<version.logback>1.5.13</version.logback>
<version.junit>4.13.2</version.junit>
<version.mockito>2.1.0-beta.124</version.mockito>
<version.undertow>2.3.17.Final</version.undertow>

View File

@ -226,7 +226,7 @@ for this project used jakarta.validation-api -->
<swagger-core-version>1.5.22</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<beanvalidation-version>2.0.2</beanvalidation-version>
<cxf-version>3.5.9</cxf-version>
<jackson-jaxrs-version>2.17.1</jackson-jaxrs-version>

View File

@ -20,6 +20,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -19,6 +19,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -19,6 +19,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -226,7 +226,7 @@ for this project used jakarta.validation-api -->
<swagger-core-version>1.5.22</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<beanvalidation-version>2.0.2</beanvalidation-version>
<cxf-version>3.5.9</cxf-version>
<jackson-jaxrs-version>2.17.1</jackson-jaxrs-version>

View File

@ -20,6 +20,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -19,6 +19,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -19,6 +19,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -226,7 +226,7 @@ for this project used jakarta.validation-api -->
<swagger-core-version>1.5.22</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<beanvalidation-version>2.0.2</beanvalidation-version>
<cxf-version>3.5.9</cxf-version>
<jackson-jaxrs-version>2.17.1</jackson-jaxrs-version>

View File

@ -19,6 +19,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -27,6 +27,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -18,6 +18,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -21,6 +21,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -19,6 +19,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -19,6 +19,7 @@ import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.*;
import javax.validation.Valid;
import javax.ws.rs.core.Response;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.apache.cxf.jaxrs.client.ClientConfiguration;

View File

@ -209,7 +209,7 @@ for this project used jakarta.validation-api -->
<jersey2-version>2.35</jersey2-version>
<jackson-version>2.17.1</jackson-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<servlet-api-version>4.0.4</servlet-api-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@ -209,7 +209,7 @@ for this project used jakarta.validation-api -->
<jersey2-version>2.35</jersey2-version>
<jackson-version>2.17.1</jackson-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<servlet-api-version>4.0.4</servlet-api-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@ -209,7 +209,7 @@ for this project used jakarta.validation-api -->
<jersey2-version>2.35</jersey2-version>
<jackson-version>2.17.1</jackson-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<servlet-api-version>4.0.4</servlet-api-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@ -209,7 +209,7 @@ for this project used jakarta.validation-api -->
<jersey2-version>2.35</jersey2-version>
<jackson-version>2.17.1</jackson-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<servlet-api-version>4.0.4</servlet-api-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@ -209,7 +209,7 @@
<jersey3-version>3.1.3</jersey3-version>
<jackson-version>2.17.1</jackson-version>
<junit-version>4.13.2</junit-version>
<logback-version>1.4.14</logback-version>
<logback-version>1.5.13</logback-version>
<servlet-api-version>5.0.0</servlet-api-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Some files were not shown because too many files have changed in this diff Show More