Commit 3f5bb34f authored by s.hardt's avatar s.hardt
Browse files

Updated samples

1 merge request!6253Fix for [BUG] jaxrs-spec [server] oneOf, anyOf Polymorphism does not work
Pipeline #470 failed with stages
Showing with 60 additions and 20 deletions
+60 -20
......@@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesAnyType extends HashMap<String, Object> implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesAnyType extends HashMap<String, Object> implements Serializable {
private @Valid String name;
......@@ -82,3 +82,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -17,7 +17,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesArray extends HashMap<String, List> implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesArray extends HashMap<String, List> implements Serializable {
private @Valid String name;
......@@ -83,3 +83,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> implements Serializable {
private @Valid String name;
......@@ -82,3 +82,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -18,7 +18,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesClass implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesClass implements Serializable {
private @Valid Map<String, String> mapString = new HashMap<String, String>();
private @Valid Map<String, BigDecimal> mapNumber = new HashMap<String, BigDecimal>();
......@@ -293,3 +293,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesInteger extends HashMap<String, Integer> implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesInteger extends HashMap<String, Integer> implements Serializable {
private @Valid String name;
......@@ -82,3 +82,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -17,7 +17,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> implements Serializable {
private @Valid String name;
......@@ -83,3 +83,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesObject extends HashMap<String, Map> implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesObject extends HashMap<String, Map> implements Serializable {
private @Valid String name;
......@@ -82,3 +82,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesString extends HashMap<String, String> implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class AdditionalPropertiesString extends HashMap<String, String> implements Serializable {
private @Valid String name;
......@@ -82,3 +82,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -22,7 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Animal implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Animal implements Serializable {
private @Valid String className;
private @Valid String color = "red";
......@@ -109,3 +109,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -17,7 +17,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class ArrayOfArrayOfNumberOnly implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class ArrayOfArrayOfNumberOnly implements Serializable {
private @Valid List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
......@@ -82,3 +82,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -17,7 +17,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class ArrayOfNumberOnly implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class ArrayOfNumberOnly implements Serializable {
private @Valid List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
......@@ -82,3 +82,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -17,7 +17,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class ArrayTest implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class ArrayTest implements Serializable {
private @Valid List<String> arrayOfString = new ArrayList<String>();
private @Valid List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
......@@ -124,3 +124,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class BigCat extends Cat implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class BigCat extends Cat implements Serializable {
public enum KindEnum {
......@@ -115,3 +115,5 @@ public enum KindEnum {
}
......@@ -14,7 +14,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class BigCatAllOf implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class BigCatAllOf implements Serializable {
public enum KindEnum {
......@@ -112,3 +112,5 @@ public enum KindEnum {
}
......@@ -14,7 +14,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Capitalization implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Capitalization implements Serializable {
private @Valid String smallCamel;
private @Valid String capitalCamel;
......@@ -185,3 +185,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Cat extends Animal implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Cat extends Animal implements Serializable {
private @Valid Boolean declawed;
......@@ -82,3 +82,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -14,7 +14,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class CatAllOf implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class CatAllOf implements Serializable {
private @Valid Boolean declawed;
......@@ -79,3 +79,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -14,7 +14,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Category implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Category implements Serializable {
private @Valid Long id;
private @Valid String name = "default-name";
......@@ -101,3 +101,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
* Model for testing model with \&quot;_class\&quot; property
**/
@ApiModel(description = "Model for testing model with \"_class\" property")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class ClassModel implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class ClassModel implements Serializable {
private @Valid String propertyClass;
......@@ -81,3 +81,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
......@@ -14,7 +14,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Client implements Serializable {
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen")public class Client implements Serializable {
private @Valid String client;
......@@ -79,3 +79,5 @@ import com.fasterxml.jackson.annotation.JsonValue;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment