mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 06:00:52 +00:00
Fix the fake endpoint example. Now all cases are handled by the java play framework! (#6850)
This commit is contained in:
parent
e7594c42d0
commit
16373b9f70
@ -14,7 +14,7 @@ public class CodegenParameter {
|
|||||||
|
|
||||||
public String example; // example value (x-example)
|
public String example; // example value (x-example)
|
||||||
public String jsonSchema;
|
public String jsonSchema;
|
||||||
public boolean isString, isNumeric, isInteger, isLong, isFloat, isDouble, isByteArray, isBinary, isBoolean, isDate, isDateTime, isUuid;
|
public boolean isString, isNumeric, isInteger, isLong, isNumber, isFloat, isDouble, isByteArray, isBinary, isBoolean, isDate, isDateTime, isUuid;
|
||||||
public boolean isListContainer, isMapContainer;
|
public boolean isListContainer, isMapContainer;
|
||||||
public boolean isFile, notFile;
|
public boolean isFile, notFile;
|
||||||
public boolean isEnum;
|
public boolean isEnum;
|
||||||
@ -138,6 +138,7 @@ public class CodegenParameter {
|
|||||||
output.isLong = this.isLong;
|
output.isLong = this.isLong;
|
||||||
output.isDouble = this.isDouble;
|
output.isDouble = this.isDouble;
|
||||||
output.isFloat = this.isFloat;
|
output.isFloat = this.isFloat;
|
||||||
|
output.isNumber = this.isNumber;
|
||||||
output.isBoolean = this.isBoolean;
|
output.isBoolean = this.isBoolean;
|
||||||
output.isDate = this.isDate;
|
output.isDate = this.isDate;
|
||||||
output.isDateTime = this.isDateTime;
|
output.isDateTime = this.isDateTime;
|
||||||
@ -217,6 +218,8 @@ public class CodegenParameter {
|
|||||||
return false;
|
return false;
|
||||||
if (isLong != that.isLong)
|
if (isLong != that.isLong)
|
||||||
return false;
|
return false;
|
||||||
|
if (isNumber != that.isNumber)
|
||||||
|
return false;
|
||||||
if (isFloat != that.isFloat)
|
if (isFloat != that.isFloat)
|
||||||
return false;
|
return false;
|
||||||
if (isDouble != that.isDouble)
|
if (isDouble != that.isDouble)
|
||||||
@ -308,6 +311,7 @@ public class CodegenParameter {
|
|||||||
result = 31 * result + (isInteger ? 13:31);
|
result = 31 * result + (isInteger ? 13:31);
|
||||||
result = 31 * result + (isLong ? 13:31);
|
result = 31 * result + (isLong ? 13:31);
|
||||||
result = 31 * result + (isFloat ? 13:31);
|
result = 31 * result + (isFloat ? 13:31);
|
||||||
|
result = 31 * result + (isNumber ? 13:31);
|
||||||
result = 31 * result + (isDouble ? 13:31);
|
result = 31 * result + (isDouble ? 13:31);
|
||||||
result = 31 * result + (isByteArray ? 13:31);
|
result = 31 * result + (isByteArray ? 13:31);
|
||||||
result = 31 * result + (isBinary ? 13:31);
|
result = 31 * result + (isBinary ? 13:31);
|
||||||
|
@ -39,7 +39,7 @@ public class CodegenProperty implements Cloneable {
|
|||||||
public boolean hasMore, required, secondaryParam;
|
public boolean hasMore, required, secondaryParam;
|
||||||
public boolean hasMoreNonReadOnly; // for model constructor, true if next properyt is not readonly
|
public boolean hasMoreNonReadOnly; // for model constructor, true if next properyt is not readonly
|
||||||
public boolean isPrimitiveType, isContainer, isNotContainer;
|
public boolean isPrimitiveType, isContainer, isNotContainer;
|
||||||
public boolean isString, isNumeric, isInteger, isLong, isFloat, isDouble, isByteArray, isBinary, isFile, isBoolean, isDate, isDateTime, isUuid;
|
public boolean isString, isNumeric, isInteger, isLong, isNumber, isFloat, isDouble, isByteArray, isBinary, isFile, isBoolean, isDate, isDateTime, isUuid;
|
||||||
public boolean isListContainer, isMapContainer;
|
public boolean isListContainer, isMapContainer;
|
||||||
public boolean isEnum;
|
public boolean isEnum;
|
||||||
public boolean isReadOnly = false;
|
public boolean isReadOnly = false;
|
||||||
@ -118,6 +118,7 @@ public class CodegenProperty implements Cloneable {
|
|||||||
result = prime * result + ((isNumeric ? 13:31));
|
result = prime * result + ((isNumeric ? 13:31));
|
||||||
result = prime * result + ((isInteger ? 13:31));
|
result = prime * result + ((isInteger ? 13:31));
|
||||||
result = prime * result + ((isLong ?13:31));
|
result = prime * result + ((isLong ?13:31));
|
||||||
|
result = prime * result + ((isNumber ? 13:31));
|
||||||
result = prime * result + ((isFloat ? 13:31));
|
result = prime * result + ((isFloat ? 13:31));
|
||||||
result = prime * result + ((isDouble ? 13:31));
|
result = prime * result + ((isDouble ? 13:31));
|
||||||
result = prime * result + ((isByteArray ? 13:31));
|
result = prime * result + ((isByteArray ? 13:31));
|
||||||
@ -272,6 +273,9 @@ public class CodegenProperty implements Cloneable {
|
|||||||
if (this.isLong != other.isLong) {
|
if (this.isLong != other.isLong) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (this.isNumber != other.isNumber) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (this.isFloat != other.isFloat) {
|
if (this.isFloat != other.isFloat) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ public class CodegenResponse {
|
|||||||
public List<Map<String, Object>> examples;
|
public List<Map<String, Object>> examples;
|
||||||
public String dataType, baseType, containerType;
|
public String dataType, baseType, containerType;
|
||||||
public boolean hasHeaders;
|
public boolean hasHeaders;
|
||||||
public boolean isString, isNumeric, isInteger, isLong, isFloat, isDouble, isByteArray, isBoolean, isDate, isDateTime, isUuid;
|
public boolean isString, isNumeric, isInteger, isLong, isNumber, isFloat, isDouble, isByteArray, isBoolean, isDate, isDateTime, isUuid;
|
||||||
public boolean isDefault;
|
public boolean isDefault;
|
||||||
public boolean simpleType;
|
public boolean simpleType;
|
||||||
public boolean primitiveType;
|
public boolean primitiveType;
|
||||||
|
@ -2,20 +2,8 @@ package io.swagger.codegen;
|
|||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.*;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.Comparator;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.HashSet;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.LinkedHashMap;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
import java.util.Objects;
|
|
||||||
import java.util.Set;
|
|
||||||
import java.util.TreeSet;
|
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
@ -1130,7 +1118,7 @@ public class DefaultCodegen {
|
|||||||
String datatype = null;
|
String datatype = null;
|
||||||
if (p instanceof StringProperty && "number".equals(p.getFormat())) {
|
if (p instanceof StringProperty && "number".equals(p.getFormat())) {
|
||||||
datatype = "BigDecimal";
|
datatype = "BigDecimal";
|
||||||
} else if (p instanceof ByteArrayProperty) {
|
} else if ((p instanceof ByteArrayProperty) || (p instanceof StringProperty && "byte".equals(p.getFormat()))) {
|
||||||
datatype = "ByteArray";
|
datatype = "ByteArray";
|
||||||
} else if (p instanceof BinaryProperty) {
|
} else if (p instanceof BinaryProperty) {
|
||||||
datatype = "binary";
|
datatype = "binary";
|
||||||
@ -1706,20 +1694,7 @@ public class DefaultCodegen {
|
|||||||
// type is number and without format
|
// type is number and without format
|
||||||
if (p instanceof DecimalProperty && !(p instanceof DoubleProperty) && !(p instanceof FloatProperty)) {
|
if (p instanceof DecimalProperty && !(p instanceof DoubleProperty) && !(p instanceof FloatProperty)) {
|
||||||
DecimalProperty sp = (DecimalProperty) p;
|
DecimalProperty sp = (DecimalProperty) p;
|
||||||
property.isFloat = true;
|
property.isNumber = true;
|
||||||
/*if (sp.getEnum() != null) {
|
|
||||||
List<Double> _enum = sp.getEnum();
|
|
||||||
property._enum = new ArrayList<String>();
|
|
||||||
for(Double i : _enum) {
|
|
||||||
property._enum.add(i.toString());
|
|
||||||
}
|
|
||||||
property.isEnum = true;
|
|
||||||
|
|
||||||
// legacy support
|
|
||||||
Map<String, Object> allowableValues = new HashMap<String, Object>();
|
|
||||||
allowableValues.put("values", _enum);
|
|
||||||
property.allowableValues = allowableValues;
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
if (p instanceof DoubleProperty) {
|
if (p instanceof DoubleProperty) {
|
||||||
DoubleProperty sp = (DoubleProperty) p;
|
DoubleProperty sp = (DoubleProperty) p;
|
||||||
@ -2371,7 +2346,9 @@ public class DefaultCodegen {
|
|||||||
}
|
}
|
||||||
r.dataType = cm.datatype;
|
r.dataType = cm.datatype;
|
||||||
|
|
||||||
if (Boolean.TRUE.equals(cm.isString)) {
|
if (Boolean.TRUE.equals(cm.isByteArray)) {
|
||||||
|
r.isByteArray = true;
|
||||||
|
} else if (Boolean.TRUE.equals(cm.isString)) {
|
||||||
r.isString = true;
|
r.isString = true;
|
||||||
} else if (Boolean.TRUE.equals(cm.isBoolean)) {
|
} else if (Boolean.TRUE.equals(cm.isBoolean)) {
|
||||||
r.isBoolean = true;
|
r.isBoolean = true;
|
||||||
@ -2381,14 +2358,15 @@ public class DefaultCodegen {
|
|||||||
} else if (Boolean.TRUE.equals(cm.isInteger)) {
|
} else if (Boolean.TRUE.equals(cm.isInteger)) {
|
||||||
r.isInteger = true;
|
r.isInteger = true;
|
||||||
r.isNumeric = true;
|
r.isNumeric = true;
|
||||||
|
} else if (Boolean.TRUE.equals(cm.isNumber)) {
|
||||||
|
r.isNumber = true;
|
||||||
|
r.isNumeric = true;
|
||||||
} else if (Boolean.TRUE.equals(cm.isDouble)) {
|
} else if (Boolean.TRUE.equals(cm.isDouble)) {
|
||||||
r.isDouble = true;
|
r.isDouble = true;
|
||||||
r.isNumeric = true;
|
r.isNumeric = true;
|
||||||
} else if (Boolean.TRUE.equals(cm.isFloat)) {
|
} else if (Boolean.TRUE.equals(cm.isFloat)) {
|
||||||
r.isFloat = true;
|
r.isFloat = true;
|
||||||
r.isNumeric = true;
|
r.isNumeric = true;
|
||||||
} else if (Boolean.TRUE.equals(cm.isByteArray)) {
|
|
||||||
r.isByteArray = true;
|
|
||||||
} else if (Boolean.TRUE.equals(cm.isBinary)) {
|
} else if (Boolean.TRUE.equals(cm.isBinary)) {
|
||||||
r.isBinary = true;
|
r.isBinary = true;
|
||||||
} else if (Boolean.TRUE.equals(cm.isFile)) {
|
} else if (Boolean.TRUE.equals(cm.isFile)) {
|
||||||
@ -2712,6 +2690,8 @@ public class DefaultCodegen {
|
|||||||
p.example = "56";
|
p.example = "56";
|
||||||
} else if (Boolean.TRUE.equals(p.isFloat)) {
|
} else if (Boolean.TRUE.equals(p.isFloat)) {
|
||||||
p.example = "3.4";
|
p.example = "3.4";
|
||||||
|
} else if (Boolean.TRUE.equals(p.isNumber)) {
|
||||||
|
p.example = "8.14";
|
||||||
} else if (Boolean.TRUE.equals(p.isDouble)) {
|
} else if (Boolean.TRUE.equals(p.isDouble)) {
|
||||||
p.example = "1.2";
|
p.example = "1.2";
|
||||||
} else if (Boolean.TRUE.equals(p.isBinary)) {
|
} else if (Boolean.TRUE.equals(p.isBinary)) {
|
||||||
@ -3593,7 +3573,10 @@ public class DefaultCodegen {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Boolean.TRUE.equals(property.isString)) {
|
if (Boolean.TRUE.equals(property.isByteArray)) {
|
||||||
|
parameter.isByteArray = true;
|
||||||
|
parameter.isPrimitiveType = true;
|
||||||
|
} else if (Boolean.TRUE.equals(property.isString)) {
|
||||||
parameter.isString = true;
|
parameter.isString = true;
|
||||||
parameter.isPrimitiveType = true;
|
parameter.isPrimitiveType = true;
|
||||||
} else if (Boolean.TRUE.equals(property.isBoolean)) {
|
} else if (Boolean.TRUE.equals(property.isBoolean)) {
|
||||||
@ -3611,8 +3594,8 @@ public class DefaultCodegen {
|
|||||||
} else if (Boolean.TRUE.equals(property.isFloat)) {
|
} else if (Boolean.TRUE.equals(property.isFloat)) {
|
||||||
parameter.isFloat = true;
|
parameter.isFloat = true;
|
||||||
parameter.isPrimitiveType = true;
|
parameter.isPrimitiveType = true;
|
||||||
} else if (Boolean.TRUE.equals(property.isByteArray)) {
|
} else if (Boolean.TRUE.equals(property.isNumber)) {
|
||||||
parameter.isByteArray = true;
|
parameter.isNumber = true;
|
||||||
parameter.isPrimitiveType = true;
|
parameter.isPrimitiveType = true;
|
||||||
} else if (Boolean.TRUE.equals(property.isBinary)) {
|
} else if (Boolean.TRUE.equals(property.isBinary)) {
|
||||||
parameter.isByteArray = true;
|
parameter.isByteArray = true;
|
||||||
|
@ -272,6 +272,12 @@ public class JavaPlayFrameworkCodegen extends AbstractJavaCodegen implements Bea
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (operation.returnType != null) {
|
if (operation.returnType != null) {
|
||||||
|
if (operation.returnType.equals("Boolean")) {
|
||||||
|
operation.vendorExtensions.put("missingReturnInfoIfNeeded", "true");
|
||||||
|
}
|
||||||
|
if (operation.returnType.equals("BigDecimal")) {
|
||||||
|
operation.vendorExtensions.put("missingReturnInfoIfNeeded", "1.0");
|
||||||
|
}
|
||||||
if (operation.returnType.startsWith("List")) {
|
if (operation.returnType.startsWith("List")) {
|
||||||
String rt = operation.returnType;
|
String rt = operation.returnType;
|
||||||
int end = rt.lastIndexOf(">");
|
int end = rt.lastIndexOf(">");
|
||||||
|
@ -1 +1 @@
|
|||||||
{{#isBoolean}}Boolean.valueOf({{/isBoolean}}{{#isInteger}}Integer.parseInt({{/isInteger}}{{#isDouble}}Double.parseDouble({{/isDouble}}{{#isLong}}Long.parseLong({{/isLong}}{{#isFloat}}Float.parseFloat({{/isFloat}}{{#isUuid}}UUID.fromString({{/isUuid}}{{#isDateTime}}OffsetDateTime.parse({{/isDateTime}}{{#isDate}}LocalDate.parse({{/isDate}}{{#isByteArray}}{{/isByteArray}}
|
{{#isBoolean}}Boolean.valueOf({{/isBoolean}}{{#isInteger}}Integer.parseInt({{/isInteger}}{{#isDouble}}Double.parseDouble({{/isDouble}}{{#isLong}}Long.parseLong({{/isLong}}{{#isFloat}}Float.parseFloat({{/isFloat}}{{#isUuid}}UUID.fromString({{/isUuid}}{{#isDateTime}}OffsetDateTime.parse({{/isDateTime}}{{#isDate}}LocalDate.parse({{/isDate}}{{#isByteArray}}{{/isByteArray}}{{#isNumber}}new BigDecimal({{/isNumber}}
|
@ -1 +1 @@
|
|||||||
{{#isBoolean}}){{/isBoolean}}{{#isInteger}}){{/isInteger}}{{#isDouble}}){{/isDouble}}{{#isLong}}){{/isLong}}{{#isFloat}}){{/isFloat}}{{#isUuid}}){{/isUuid}}{{#isDateTime}}){{/isDateTime}}{{#isDate}}){{/isDate}}{{#isByteArray}}.getBytes(){{/isByteArray}}
|
{{#isBoolean}}){{/isBoolean}}{{#isInteger}}){{/isInteger}}{{#isDouble}}){{/isDouble}}{{#isLong}}){{/isLong}}{{#isFloat}}){{/isFloat}}{{#isUuid}}){{/isUuid}}{{#isDateTime}}){{/isDateTime}}{{#isDate}}){{/isDate}}{{#isByteArray}}.getBytes(){{/isByteArray}}{{#isNumber}}){{/isNumber}}
|
@ -1 +1 @@
|
|||||||
{{#items.isBoolean}}Boolean.valueOf({{/items.isBoolean}}{{#items.isInteger}}Integer.parseInt({{/items.isInteger}}{{#items.isDouble}}Double.parseDouble({{/items.isDouble}}{{#items.isLong}}Long.parseLong({{/items.isLong}}{{#items.isFloat}}Float.parseFloat({{/items.isFloat}}{{#items.isUuid}}UUID.fromString({{/items.isUuid}}{{#items.isDateTime}}OffsetDateTime.parse({{/items.isDateTime}}{{#items.isDate}}LocalDate.parse({{/items.isDate}}{{#isByteArray}}{{/isByteArray}}
|
{{#items.isBoolean}}Boolean.valueOf({{/items.isBoolean}}{{#items.isInteger}}Integer.parseInt({{/items.isInteger}}{{#items.isDouble}}Double.parseDouble({{/items.isDouble}}{{#items.isLong}}Long.parseLong({{/items.isLong}}{{#items.isFloat}}Float.parseFloat({{/items.isFloat}}{{#items.isUuid}}UUID.fromString({{/items.isUuid}}{{#items.isDateTime}}OffsetDateTime.parse({{/items.isDateTime}}{{#items.isDate}}LocalDate.parse({{/items.isDate}}{{#isByteArray}}{{/isByteArray}}{{#isNumber}}new BigDecimal({{/isNumber}}
|
@ -1 +1 @@
|
|||||||
{{#items.isBoolean}}){{/items.isBoolean}}{{#items.isInteger}}){{/items.isInteger}}{{#items.isDouble}}){{/items.isDouble}}{{#items.isLong}}){{/items.isLong}}{{#items.isFloat}}){{/items.isFloat}}{{#items.isUuid}}){{/items.isUuid}}{{#items.isDateTime}}){{/items.isDateTime}}{{#items.isDate}}){{/items.isDate}}{{#isByteArray}}.getBytes(){{/isByteArray}}
|
{{#items.isBoolean}}){{/items.isBoolean}}{{#items.isInteger}}){{/items.isInteger}}{{#items.isDouble}}){{/items.isDouble}}{{#items.isLong}}){{/items.isLong}}{{#items.isFloat}}){{/items.isFloat}}{{#items.isUuid}}){{/items.isUuid}}{{#items.isDateTime}}){{/items.isDateTime}}{{#items.isDate}}){{/items.isDate}}{{#isByteArray}}.getBytes(){{/isByteArray}}{{#isNumber}}){{/isNumber}}
|
@ -18,7 +18,14 @@ public class {{classname}}ControllerImp {{#useInterfaces}}implements {{classname
|
|||||||
{{#useInterfaces}}@Override{{/useInterfaces}}
|
{{#useInterfaces}}@Override{{/useInterfaces}}
|
||||||
public {{>returnTypes}} {{operationId}}({{#allParams}}{{>pathParams}}{{>queryParams}}{{>bodyParams}}{{>formParams}}{{>headerParams}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) {{#handleExceptions}}throws Exception{{/handleExceptions}} {
|
public {{>returnTypes}} {{operationId}}({{#allParams}}{{>pathParams}}{{>queryParams}}{{>bodyParams}}{{>formParams}}{{>headerParams}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) {{#handleExceptions}}throws Exception{{/handleExceptions}} {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
{{#returnType}}{{#isResponseFile}}return new FileInputStream("replace this");{{/isResponseFile}}{{^isResponseFile}}return new {{>returnTypesNoVoidNoAbstract}}();{{/isResponseFile}}{{/returnType}}
|
{{#returnType}}
|
||||||
|
{{#isResponseFile}}
|
||||||
|
return new FileInputStream("replace this");
|
||||||
|
{{/isResponseFile}}
|
||||||
|
{{^isResponseFile}}
|
||||||
|
return new {{>returnTypesNoVoidNoAbstract}}({{#vendorExtensions.missingReturnInfoIfNeeded}}{{vendorExtensions.missingReturnInfoIfNeeded}}{{/vendorExtensions.missingReturnInfoIfNeeded}});
|
||||||
|
{{/isResponseFile}}
|
||||||
|
{{/returnType}}
|
||||||
}
|
}
|
||||||
|
|
||||||
{{/operation}}
|
{{/operation}}
|
||||||
|
@ -159,7 +159,7 @@ public class FakeApiController extends Controller {
|
|||||||
String valuenumber = (request().body().asMultipartFormData().asFormUrlEncoded().get("number"))[0];
|
String valuenumber = (request().body().asMultipartFormData().asFormUrlEncoded().get("number"))[0];
|
||||||
BigDecimal number;
|
BigDecimal number;
|
||||||
if (valuenumber != null) {
|
if (valuenumber != null) {
|
||||||
number = Float.parseFloat(valuenumber);
|
number = new BigDecimal(valuenumber);
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("'number' parameter is required");
|
throw new IllegalArgumentException("'number' parameter is required");
|
||||||
}
|
}
|
||||||
@ -194,7 +194,7 @@ public class FakeApiController extends Controller {
|
|||||||
String value_byte = (request().body().asMultipartFormData().asFormUrlEncoded().get("byte"))[0];
|
String value_byte = (request().body().asMultipartFormData().asFormUrlEncoded().get("byte"))[0];
|
||||||
byte[] _byte;
|
byte[] _byte;
|
||||||
if (value_byte != null) {
|
if (value_byte != null) {
|
||||||
_byte = value_byte;
|
_byte = value_byte.getBytes();
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("'byte' parameter is required");
|
throw new IllegalArgumentException("'byte' parameter is required");
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ public class FakeApiControllerImp implements FakeApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public Boolean fakeOuterBooleanSerialize(Boolean body) throws Exception {
|
public Boolean fakeOuterBooleanSerialize(Boolean body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
return new Boolean();
|
return new Boolean(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -29,7 +29,7 @@ public class FakeApiControllerImp implements FakeApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public BigDecimal fakeOuterNumberSerialize(BigDecimal body) throws Exception {
|
public BigDecimal fakeOuterNumberSerialize(BigDecimal body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
return new BigDecimal();
|
return new BigDecimal(1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -47,25 +47,21 @@ public class FakeApiControllerImp implements FakeApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, byte[] binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws Exception {
|
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, byte[] binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void testEnumParameters(List<String> enumFormStringArray, String enumFormString, List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble) throws Exception {
|
public void testEnumParameters(List<String> enumFormStringArray, String enumFormString, List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void testInlineAdditionalProperties(Object param) throws Exception {
|
public void testInlineAdditionalProperties(Object param) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void testJsonFormData(String param, String param2) throws Exception {
|
public void testJsonFormData(String param, String param2) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,13 +15,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void addPet(Pet body) throws Exception {
|
public void addPet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deletePet(Long petId, String apiKey) throws Exception {
|
public void deletePet(Long petId, String apiKey) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -45,13 +43,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void updatePet(Pet body) throws Exception {
|
public void updatePet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,7 +14,6 @@ public class StoreApiControllerImp implements StoreApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void deleteOrder(String orderId) throws Exception {
|
public void deleteOrder(String orderId) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,25 +14,21 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void createUser(User body) throws Exception {
|
public void createUser(User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithListInput(List<User> body) throws Exception {
|
public void createUsersWithListInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteUser(String username) throws Exception {
|
public void deleteUser(String username) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -50,13 +46,11 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void logoutUser() throws Exception {
|
public void logoutUser() throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateUser(String username, User body) throws Exception {
|
public void updateUser(String username, User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -978,7 +978,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"x-contentType" : "application/json",
|
"x-contentType" : "application/json",
|
||||||
"x-accepts" : "application/json"
|
"x-accepts" : "application/json",
|
||||||
|
"missingReturnInfoIfNeeded" : "1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/fake/outer/string" : {
|
"/fake/outer/string" : {
|
||||||
@ -1030,7 +1031,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"x-contentType" : "application/json",
|
"x-contentType" : "application/json",
|
||||||
"x-accepts" : "application/json"
|
"x-accepts" : "application/json",
|
||||||
|
"missingReturnInfoIfNeeded" : "true"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/fake/outer/composite" : {
|
"/fake/outer/composite" : {
|
||||||
|
@ -14,13 +14,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void addPet(Pet body) throws Exception {
|
public void addPet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deletePet(Long petId, String apiKey) throws Exception {
|
public void deletePet(Long petId, String apiKey) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -44,13 +42,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void updatePet(Pet body) throws Exception {
|
public void updatePet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -13,7 +13,6 @@ public class StoreApiControllerImp implements StoreApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void deleteOrder(String orderId) throws Exception {
|
public void deleteOrder(String orderId) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -13,25 +13,21 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void createUser(User body) throws Exception {
|
public void createUser(User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithListInput(List<User> body) throws Exception {
|
public void createUsersWithListInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteUser(String username) throws Exception {
|
public void deleteUser(String username) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -49,13 +45,11 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void logoutUser() throws Exception {
|
public void logoutUser() throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateUser(String username, User body) throws Exception {
|
public void updateUser(String username, User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,13 +15,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void addPet(Pet body) {
|
public void addPet(Pet body) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deletePet(Long petId, String apiKey) {
|
public void deletePet(Long petId, String apiKey) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -45,13 +43,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void updatePet(Pet body) {
|
public void updatePet(Pet body) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updatePetWithForm(Long petId, String name, String status) {
|
public void updatePetWithForm(Long petId, String name, String status) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,7 +14,6 @@ public class StoreApiControllerImp implements StoreApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void deleteOrder(String orderId) {
|
public void deleteOrder(String orderId) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,25 +14,21 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void createUser(User body) {
|
public void createUser(User body) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithArrayInput(List<User> body) {
|
public void createUsersWithArrayInput(List<User> body) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithListInput(List<User> body) {
|
public void createUsersWithListInput(List<User> body) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteUser(String username) {
|
public void deleteUser(String username) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -50,13 +46,11 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void logoutUser() {
|
public void logoutUser() {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateUser(String username, User body) {
|
public void updateUser(String username, User body) {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,13 +15,11 @@ public class PetApiControllerImp {
|
|||||||
|
|
||||||
public void addPet(Pet body) throws Exception {
|
public void addPet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void deletePet(Long petId, String apiKey) throws Exception {
|
public void deletePet(Long petId, String apiKey) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -45,13 +43,11 @@ public class PetApiControllerImp {
|
|||||||
|
|
||||||
public void updatePet(Pet body) throws Exception {
|
public void updatePet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ public class StoreApiControllerImp {
|
|||||||
|
|
||||||
public void deleteOrder(String orderId) throws Exception {
|
public void deleteOrder(String orderId) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,25 +14,21 @@ public class UserApiControllerImp {
|
|||||||
|
|
||||||
public void createUser(User body) throws Exception {
|
public void createUser(User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void createUsersWithListInput(List<User> body) throws Exception {
|
public void createUsersWithListInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void deleteUser(String username) throws Exception {
|
public void deleteUser(String username) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -50,13 +46,11 @@ public class UserApiControllerImp {
|
|||||||
|
|
||||||
public void logoutUser() throws Exception {
|
public void logoutUser() throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void updateUser(String username, User body) throws Exception {
|
public void updateUser(String username, User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,13 +15,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void addPet(Pet body) throws Exception {
|
public void addPet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deletePet(Long petId, String apiKey) throws Exception {
|
public void deletePet(Long petId, String apiKey) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -45,13 +43,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void updatePet(Pet body) throws Exception {
|
public void updatePet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,7 +14,6 @@ public class StoreApiControllerImp implements StoreApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void deleteOrder(String orderId) throws Exception {
|
public void deleteOrder(String orderId) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,25 +14,21 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void createUser(User body) throws Exception {
|
public void createUser(User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithListInput(List<User> body) throws Exception {
|
public void createUsersWithListInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteUser(String username) throws Exception {
|
public void deleteUser(String username) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -50,13 +46,11 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void logoutUser() throws Exception {
|
public void logoutUser() throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateUser(String username, User body) throws Exception {
|
public void updateUser(String username, User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,13 +15,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void addPet(Pet body) throws Exception {
|
public void addPet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deletePet(Long petId, String apiKey) throws Exception {
|
public void deletePet(Long petId, String apiKey) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -45,13 +43,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void updatePet(Pet body) throws Exception {
|
public void updatePet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,7 +14,6 @@ public class StoreApiControllerImp implements StoreApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void deleteOrder(String orderId) throws Exception {
|
public void deleteOrder(String orderId) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,25 +14,21 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void createUser(User body) throws Exception {
|
public void createUser(User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithListInput(List<User> body) throws Exception {
|
public void createUsersWithListInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteUser(String username) throws Exception {
|
public void deleteUser(String username) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -50,13 +46,11 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void logoutUser() throws Exception {
|
public void logoutUser() throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateUser(String username, User body) throws Exception {
|
public void updateUser(String username, User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,13 +15,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void addPet(Pet body) throws Exception {
|
public void addPet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deletePet(Long petId, String apiKey) throws Exception {
|
public void deletePet(Long petId, String apiKey) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -45,13 +43,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void updatePet(Pet body) throws Exception {
|
public void updatePet(Pet body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,7 +14,6 @@ public class StoreApiControllerImp implements StoreApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void deleteOrder(String orderId) throws Exception {
|
public void deleteOrder(String orderId) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,25 +14,21 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void createUser(User body) throws Exception {
|
public void createUser(User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
public void createUsersWithArrayInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createUsersWithListInput(List<User> body) throws Exception {
|
public void createUsersWithListInput(List<User> body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteUser(String username) throws Exception {
|
public void deleteUser(String username) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -50,13 +46,11 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
|
|||||||
@Override
|
@Override
|
||||||
public void logoutUser() throws Exception {
|
public void logoutUser() throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateUser(String username, User body) throws Exception {
|
public void updateUser(String username, User body) throws Exception {
|
||||||
//Do your magic!!!
|
//Do your magic!!!
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user