Skip to content

Commit

Permalink
OpenAPITools#5565 Updated samples jaxrs-spec-petstore-server-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxBurner committed May 13, 2020
1 parent aa6eeac commit 1563753
Show file tree
Hide file tree
Showing 46 changed files with 134 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class AdditionalPropertiesAnyType extends HashMap<String, Object> implements Serializable {
public class AdditionalPropertiesAnyType extends HashMap<String, Object> implements Serializable {

private @Valid String name;

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@



public class AdditionalPropertiesArray extends HashMap<String, List> implements Serializable {
public class AdditionalPropertiesArray extends HashMap<String, List> implements Serializable {

private @Valid String name;

Expand Down Expand Up @@ -83,3 +83,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> implements Serializable {
public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> implements Serializable {

private @Valid String name;

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@



public class AdditionalPropertiesClass implements Serializable {
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>();
Expand Down Expand Up @@ -293,3 +293,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class AdditionalPropertiesInteger extends HashMap<String, Integer> implements Serializable {
public class AdditionalPropertiesInteger extends HashMap<String, Integer> implements Serializable {

private @Valid String name;

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@



public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> implements Serializable {
public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> implements Serializable {

private @Valid String name;

Expand Down Expand Up @@ -83,3 +83,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class AdditionalPropertiesObject extends HashMap<String, Map> implements Serializable {
public class AdditionalPropertiesObject extends HashMap<String, Map> implements Serializable {

private @Valid String name;

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class AdditionalPropertiesString extends HashMap<String, String> implements Serializable {
public class AdditionalPropertiesString extends HashMap<String, String> implements Serializable {

private @Valid String name;

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
})


public class Animal implements Serializable {
public class Animal implements Serializable {

private @Valid String className;
private @Valid String color = "red";
Expand Down Expand Up @@ -109,3 +109,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@



public class ArrayOfArrayOfNumberOnly implements Serializable {
public class ArrayOfArrayOfNumberOnly implements Serializable {

private @Valid List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@



public class ArrayOfNumberOnly implements Serializable {
public class ArrayOfNumberOnly implements Serializable {

private @Valid List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@



public class ArrayTest implements Serializable {
public class ArrayTest implements Serializable {

private @Valid List<String> arrayOfString = new ArrayList<String>();
private @Valid List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
Expand Down Expand Up @@ -124,3 +124,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class BigCat extends Cat implements Serializable {
public class BigCat extends Cat implements Serializable {


public enum KindEnum {
Expand Down Expand Up @@ -115,3 +115,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



public class BigCatAllOf implements Serializable {
public class BigCatAllOf implements Serializable {


public enum KindEnum {
Expand Down Expand Up @@ -112,3 +112,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



public class Capitalization implements Serializable {
public class Capitalization implements Serializable {

private @Valid String smallCamel;
private @Valid String capitalCamel;
Expand Down Expand Up @@ -185,3 +185,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class Cat extends Animal implements Serializable {
public class Cat extends Animal implements Serializable {

private @Valid Boolean declawed;

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



public class CatAllOf implements Serializable {
public class CatAllOf implements Serializable {

private @Valid Boolean declawed;

Expand Down Expand Up @@ -79,3 +79,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



public class Category implements Serializable {
public class Category implements Serializable {

private @Valid Long id;
private @Valid String name = "default-name";
Expand Down Expand Up @@ -101,3 +101,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Model for testing model with \&quot;_class\&quot; property
**/
@ApiModel(description = "Model for testing model with \"_class\" property")
public class ClassModel implements Serializable {
public class ClassModel implements Serializable {

private @Valid String propertyClass;

Expand Down Expand Up @@ -81,3 +81,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



public class Client implements Serializable {
public class Client implements Serializable {

private @Valid String client;

Expand Down Expand Up @@ -79,3 +79,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class Dog extends Animal implements Serializable {
public class Dog extends Animal implements Serializable {

private @Valid String breed;

Expand Down Expand Up @@ -82,3 +82,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



public class DogAllOf implements Serializable {
public class DogAllOf implements Serializable {

private @Valid String breed;

Expand Down Expand Up @@ -79,3 +79,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class EnumArrays implements Serializable {
public class EnumArrays implements Serializable {


public enum JustSymbolEnum {
Expand Down Expand Up @@ -168,3 +168,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ public static EnumClass fromValue(String value) {
}



Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@



public class EnumTest implements Serializable {
public class EnumTest implements Serializable {


public enum EnumStringEnum {
Expand Down Expand Up @@ -297,3 +297,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



public class FileSchemaTestClass implements Serializable {
public class FileSchemaTestClass implements Serializable {

private @Valid java.io.File file;
private @Valid List<java.io.File> files = new ArrayList<java.io.File>();
Expand Down Expand Up @@ -102,3 +102,5 @@ private String toIndentedString(java.lang.Object o) {

}



Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@



public class FormatTest implements Serializable {
public class FormatTest implements Serializable {

private @Valid Integer integer;
private @Valid Integer int32;
Expand Down Expand Up @@ -371,3 +371,5 @@ private String toIndentedString(java.lang.Object o) {

}



Loading

0 comments on commit 1563753

Please sign in to comment.