update spring petstore samples

This commit is contained in:
wing328
2018-01-29 01:38:13 +08:00
parent d14318cf25
commit cf21ac0327
76 changed files with 184 additions and 184 deletions

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
@@ -27,7 +27,7 @@ import java.util.List;
public interface StoreApi {
@ApiOperation(value = "Delete purchase order by ID", nickname = "deleteOrder", notes = "For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors", tags={ "store", })
@ApiResponses(value = {
@ApiResponses(value = {
@ApiResponse(code = 400, message = "Invalid ID supplied"),
@ApiResponse(code = 404, message = "Order not found") })
@RequestMapping(value = "/store/order/{orderId}",
@@ -40,7 +40,7 @@ public interface StoreApi {
@ApiOperation(value = "Returns pet inventories by status", nickname = "getInventory", notes = "Returns a map of status codes to quantities", response = Integer.class, responseContainer = "Map", authorizations = {
@Authorization(value = "api_key")
}, tags={ "store", })
@ApiResponses(value = {
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Map.class, responseContainer = "Map") })
@RequestMapping(value = "/store/inventory",
produces = "application/json",
@@ -50,7 +50,7 @@ public interface StoreApi {
@ApiOperation(value = "Find purchase order by ID", nickname = "getOrderById", notes = "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions", response = Order.class, tags={ "store", })
@ApiResponses(value = {
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Order.class),
@ApiResponse(code = 400, message = "Invalid ID supplied"),
@ApiResponse(code = 404, message = "Order not found") })
@@ -62,7 +62,7 @@ public interface StoreApi {
@ApiOperation(value = "Place an order for a pet", nickname = "placeOrder", notes = "", response = Order.class, tags={ "store", })
@ApiResponses(value = {
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Order.class),
@ApiResponse(code = 400, message = "Invalid Order") })
@RequestMapping(value = "/store/order",

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
@@ -27,7 +27,7 @@ import java.util.List;
public interface StoreApi {
@ApiOperation(value = "Delete purchase order by ID", nickname = "deleteOrder", notes = "For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors", tags={ "store", })
@ApiResponses(value = {
@ApiResponses(value = {
@ApiResponse(code = 400, message = "Invalid ID supplied"),
@ApiResponse(code = 404, message = "Order not found") })
@RequestMapping(value = "/store/order/{orderId}",
@@ -40,7 +40,7 @@ public interface StoreApi {
@ApiOperation(value = "Returns pet inventories by status", nickname = "getInventory", notes = "Returns a map of status codes to quantities", response = Integer.class, responseContainer = "Map", authorizations = {
@Authorization(value = "api_key")
}, tags={ "store", })
@ApiResponses(value = {
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Map.class, responseContainer = "Map") })
@RequestMapping(value = "/store/inventory",
produces = "application/json",
@@ -50,7 +50,7 @@ public interface StoreApi {
@ApiOperation(value = "Find purchase order by ID", nickname = "getOrderById", notes = "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions", response = Order.class, tags={ "store", })
@ApiResponses(value = {
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Order.class),
@ApiResponse(code = 400, message = "Invalid ID supplied"),
@ApiResponse(code = 404, message = "Order not found") })
@@ -62,7 +62,7 @@ public interface StoreApi {
@ApiOperation(value = "Place an order for a pet", nickname = "placeOrder", notes = "", response = Order.class, tags={ "store", })
@ApiResponses(value = {
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Order.class),
@ApiResponse(code = 400, message = "Invalid Order") })
@RequestMapping(value = "/store/order",

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -38,7 +38,7 @@ public interface AnotherFakeApiDelegate {
/**
* @see AnotherFakeApi#testSpecialTags
*/
default ResponseEntity<Client> testSpecialTags(Client body) {
default ResponseEntity<Client> testSpecialTags( Client body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/json")) {
try {

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -42,7 +42,7 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#fakeOuterBooleanSerialize
*/
default ResponseEntity<Boolean> fakeOuterBooleanSerialize(Boolean body) {
default ResponseEntity<Boolean> fakeOuterBooleanSerialize( Boolean body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/json")) {
try {
@@ -61,7 +61,7 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#fakeOuterCompositeSerialize
*/
default ResponseEntity<OuterComposite> fakeOuterCompositeSerialize(OuterComposite body) {
default ResponseEntity<OuterComposite> fakeOuterCompositeSerialize( OuterComposite body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/json")) {
try {
@@ -80,7 +80,7 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#fakeOuterNumberSerialize
*/
default ResponseEntity<BigDecimal> fakeOuterNumberSerialize(BigDecimal body) {
default ResponseEntity<BigDecimal> fakeOuterNumberSerialize( BigDecimal body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/json")) {
try {
@@ -99,7 +99,7 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#fakeOuterStringSerialize
*/
default ResponseEntity<String> fakeOuterStringSerialize(String body) {
default ResponseEntity<String> fakeOuterStringSerialize( String body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/json")) {
try {
@@ -118,7 +118,7 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#testClientModel
*/
default ResponseEntity<Client> testClientModel(Client body) {
default ResponseEntity<Client> testClientModel( Client body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/json")) {
try {
@@ -137,20 +137,20 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#testEndpointParameters
*/
default ResponseEntity<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) {
default ResponseEntity<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) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default FakeApi interface so no example is generated");
@@ -161,14 +161,14 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#testEnumParameters
*/
default ResponseEntity<Void> testEnumParameters(List<String> enumFormStringArray,
String enumFormString,
List<String> enumHeaderStringArray,
String enumHeaderString,
List<String> enumQueryStringArray,
String enumQueryString,
Integer enumQueryInteger,
Double enumQueryDouble) {
default ResponseEntity<Void> testEnumParameters( List<String> enumFormStringArray,
String enumFormString,
List<String> enumHeaderStringArray,
String enumHeaderString,
List<String> enumQueryStringArray,
String enumQueryString,
Integer enumQueryInteger,
Double enumQueryDouble) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default FakeApi interface so no example is generated");
@@ -179,7 +179,7 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#testInlineAdditionalProperties
*/
default ResponseEntity<Void> testInlineAdditionalProperties(Object param) {
default ResponseEntity<Void> testInlineAdditionalProperties( Object param) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default FakeApi interface so no example is generated");
@@ -190,8 +190,8 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#testJsonFormData
*/
default ResponseEntity<Void> testJsonFormData(String param,
String param2) {
default ResponseEntity<Void> testJsonFormData( String param,
String param2) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default FakeApi interface so no example is generated");

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -38,7 +38,7 @@ public interface FakeClassnameTestApiDelegate {
/**
* @see FakeClassnameTestApi#testClassname
*/
default ResponseEntity<Client> testClassname(Client body) {
default ResponseEntity<Client> testClassname( Client body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/json")) {
try {

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -40,7 +40,7 @@ public interface PetApiDelegate {
/**
* @see PetApi#addPet
*/
default ResponseEntity<Void> addPet(Pet body) {
default ResponseEntity<Void> addPet( Pet body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default PetApi interface so no example is generated");
@@ -51,8 +51,8 @@ public interface PetApiDelegate {
/**
* @see PetApi#deletePet
*/
default ResponseEntity<Void> deletePet(Long petId,
String apiKey) {
default ResponseEntity<Void> deletePet( Long petId,
String apiKey) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default PetApi interface so no example is generated");
@@ -63,7 +63,7 @@ public interface PetApiDelegate {
/**
* @see PetApi#findPetsByStatus
*/
default ResponseEntity<List<Pet>> findPetsByStatus(List<String> status) {
default ResponseEntity<List<Pet>> findPetsByStatus( List<String> status) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/xml")) {
try {
@@ -90,7 +90,7 @@ public interface PetApiDelegate {
/**
* @see PetApi#findPetsByTags
*/
default ResponseEntity<List<Pet>> findPetsByTags(List<String> tags) {
default ResponseEntity<List<Pet>> findPetsByTags( List<String> tags) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/xml")) {
try {
@@ -117,7 +117,7 @@ public interface PetApiDelegate {
/**
* @see PetApi#getPetById
*/
default ResponseEntity<Pet> getPetById(Long petId) {
default ResponseEntity<Pet> getPetById( Long petId) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/xml")) {
try {
@@ -144,7 +144,7 @@ public interface PetApiDelegate {
/**
* @see PetApi#updatePet
*/
default ResponseEntity<Void> updatePet(Pet body) {
default ResponseEntity<Void> updatePet( Pet body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default PetApi interface so no example is generated");
@@ -155,9 +155,9 @@ public interface PetApiDelegate {
/**
* @see PetApi#updatePetWithForm
*/
default ResponseEntity<Void> updatePetWithForm(Long petId,
String name,
String status) {
default ResponseEntity<Void> updatePetWithForm( Long petId,
String name,
String status) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default PetApi interface so no example is generated");
@@ -168,8 +168,8 @@ public interface PetApiDelegate {
/**
* @see PetApi#uploadFile
*/
default ResponseEntity<ModelApiResponse> uploadFile(Long petId,
String additionalMetadata,
default ResponseEntity<ModelApiResponse> uploadFile( Long petId,
String additionalMetadata,
MultipartFile file) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/json")) {

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -39,7 +39,7 @@ public interface StoreApiDelegate {
/**
* @see StoreApi#deleteOrder
*/
default ResponseEntity<Void> deleteOrder(String orderId) {
default ResponseEntity<Void> deleteOrder( String orderId) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default StoreApi interface so no example is generated");
@@ -69,7 +69,7 @@ public interface StoreApiDelegate {
/**
* @see StoreApi#getOrderById
*/
default ResponseEntity<Order> getOrderById(Long orderId) {
default ResponseEntity<Order> getOrderById( Long orderId) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/xml")) {
try {
@@ -96,7 +96,7 @@ public interface StoreApiDelegate {
/**
* @see StoreApi#placeOrder
*/
default ResponseEntity<Order> placeOrder(Order body) {
default ResponseEntity<Order> placeOrder( Order body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/xml")) {
try {

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -39,7 +39,7 @@ public interface UserApiDelegate {
/**
* @see UserApi#createUser
*/
default ResponseEntity<Void> createUser(User body) {
default ResponseEntity<Void> createUser( User body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default UserApi interface so no example is generated");
@@ -50,7 +50,7 @@ public interface UserApiDelegate {
/**
* @see UserApi#createUsersWithArrayInput
*/
default ResponseEntity<Void> createUsersWithArrayInput(List<User> body) {
default ResponseEntity<Void> createUsersWithArrayInput( List<User> body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default UserApi interface so no example is generated");
@@ -61,7 +61,7 @@ public interface UserApiDelegate {
/**
* @see UserApi#createUsersWithListInput
*/
default ResponseEntity<Void> createUsersWithListInput(List<User> body) {
default ResponseEntity<Void> createUsersWithListInput( List<User> body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default UserApi interface so no example is generated");
@@ -72,7 +72,7 @@ public interface UserApiDelegate {
/**
* @see UserApi#deleteUser
*/
default ResponseEntity<Void> deleteUser(String username) {
default ResponseEntity<Void> deleteUser( String username) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default UserApi interface so no example is generated");
@@ -83,7 +83,7 @@ public interface UserApiDelegate {
/**
* @see UserApi#getUserByName
*/
default ResponseEntity<User> getUserByName(String username) {
default ResponseEntity<User> getUserByName( String username) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/xml")) {
try {
@@ -110,8 +110,8 @@ public interface UserApiDelegate {
/**
* @see UserApi#loginUser
*/
default ResponseEntity<String> loginUser(String username,
String password) {
default ResponseEntity<String> loginUser( String username,
String password) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
if (getAcceptHeader().get().contains("application/xml")) {
try {
@@ -149,8 +149,8 @@ public interface UserApiDelegate {
/**
* @see UserApi#updateUser
*/
default ResponseEntity<Void> updateUser(String username,
User body) {
default ResponseEntity<Void> updateUser( String username,
User body) {
if(getObjectMapper().isPresent() && getAcceptHeader().isPresent()) {
} else {
log.warn("ObjectMapper or HttpServletRequest not configured in default UserApi interface so no example is generated");

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -17,6 +17,6 @@ public interface AnotherFakeApiDelegate {
/**
* @see AnotherFakeApi#testSpecialTags
*/
ResponseEntity<Client> testSpecialTags(Client body);
ResponseEntity<Client> testSpecialTags( Client body);
}

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -21,67 +21,67 @@ public interface FakeApiDelegate {
/**
* @see FakeApi#fakeOuterBooleanSerialize
*/
ResponseEntity<Boolean> fakeOuterBooleanSerialize(Boolean body);
ResponseEntity<Boolean> fakeOuterBooleanSerialize( Boolean body);
/**
* @see FakeApi#fakeOuterCompositeSerialize
*/
ResponseEntity<OuterComposite> fakeOuterCompositeSerialize(OuterComposite body);
ResponseEntity<OuterComposite> fakeOuterCompositeSerialize( OuterComposite body);
/**
* @see FakeApi#fakeOuterNumberSerialize
*/
ResponseEntity<BigDecimal> fakeOuterNumberSerialize(BigDecimal body);
ResponseEntity<BigDecimal> fakeOuterNumberSerialize( BigDecimal body);
/**
* @see FakeApi#fakeOuterStringSerialize
*/
ResponseEntity<String> fakeOuterStringSerialize(String body);
ResponseEntity<String> fakeOuterStringSerialize( String body);
/**
* @see FakeApi#testClientModel
*/
ResponseEntity<Client> testClientModel(Client body);
ResponseEntity<Client> testClientModel( Client body);
/**
* @see FakeApi#testEndpointParameters
*/
ResponseEntity<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);
ResponseEntity<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);
/**
* @see FakeApi#testEnumParameters
*/
ResponseEntity<Void> testEnumParameters(List<String> enumFormStringArray,
String enumFormString,
List<String> enumHeaderStringArray,
String enumHeaderString,
List<String> enumQueryStringArray,
String enumQueryString,
Integer enumQueryInteger,
Double enumQueryDouble);
ResponseEntity<Void> testEnumParameters( List<String> enumFormStringArray,
String enumFormString,
List<String> enumHeaderStringArray,
String enumHeaderString,
List<String> enumQueryStringArray,
String enumQueryString,
Integer enumQueryInteger,
Double enumQueryDouble);
/**
* @see FakeApi#testInlineAdditionalProperties
*/
ResponseEntity<Void> testInlineAdditionalProperties(Object param);
ResponseEntity<Void> testInlineAdditionalProperties( Object param);
/**
* @see FakeApi#testJsonFormData
*/
ResponseEntity<Void> testJsonFormData(String param,
String param2);
ResponseEntity<Void> testJsonFormData( String param,
String param2);
}

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -17,6 +17,6 @@ public interface FakeClassnameTestApiDelegate {
/**
* @see FakeClassnameTestApi#testClassname
*/
ResponseEntity<Client> testClassname(Client body);
ResponseEntity<Client> testClassname( Client body);
}

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -19,46 +19,46 @@ public interface PetApiDelegate {
/**
* @see PetApi#addPet
*/
ResponseEntity<Void> addPet(Pet body);
ResponseEntity<Void> addPet( Pet body);
/**
* @see PetApi#deletePet
*/
ResponseEntity<Void> deletePet(Long petId,
String apiKey);
ResponseEntity<Void> deletePet( Long petId,
String apiKey);
/**
* @see PetApi#findPetsByStatus
*/
ResponseEntity<List<Pet>> findPetsByStatus(List<String> status);
ResponseEntity<List<Pet>> findPetsByStatus( List<String> status);
/**
* @see PetApi#findPetsByTags
*/
ResponseEntity<List<Pet>> findPetsByTags(List<String> tags);
ResponseEntity<List<Pet>> findPetsByTags( List<String> tags);
/**
* @see PetApi#getPetById
*/
ResponseEntity<Pet> getPetById(Long petId);
ResponseEntity<Pet> getPetById( Long petId);
/**
* @see PetApi#updatePet
*/
ResponseEntity<Void> updatePet(Pet body);
ResponseEntity<Void> updatePet( Pet body);
/**
* @see PetApi#updatePetWithForm
*/
ResponseEntity<Void> updatePetWithForm(Long petId,
String name,
String status);
ResponseEntity<Void> updatePetWithForm( Long petId,
String name,
String status);
/**
* @see PetApi#uploadFile
*/
ResponseEntity<ModelApiResponse> uploadFile(Long petId,
String additionalMetadata,
ResponseEntity<ModelApiResponse> uploadFile( Long petId,
String additionalMetadata,
MultipartFile file);
}

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -18,7 +18,7 @@ public interface StoreApiDelegate {
/**
* @see StoreApi#deleteOrder
*/
ResponseEntity<Void> deleteOrder(String orderId);
ResponseEntity<Void> deleteOrder( String orderId);
/**
* @see StoreApi#getInventory
@@ -28,11 +28,11 @@ public interface StoreApiDelegate {
/**
* @see StoreApi#getOrderById
*/
ResponseEntity<Order> getOrderById(Long orderId);
ResponseEntity<Order> getOrderById( Long orderId);
/**
* @see StoreApi#placeOrder
*/
ResponseEntity<Order> placeOrder(Order body);
ResponseEntity<Order> placeOrder( Order body);
}

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -18,33 +18,33 @@ public interface UserApiDelegate {
/**
* @see UserApi#createUser
*/
ResponseEntity<Void> createUser(User body);
ResponseEntity<Void> createUser( User body);
/**
* @see UserApi#createUsersWithArrayInput
*/
ResponseEntity<Void> createUsersWithArrayInput(List<User> body);
ResponseEntity<Void> createUsersWithArrayInput( List<User> body);
/**
* @see UserApi#createUsersWithListInput
*/
ResponseEntity<Void> createUsersWithListInput(List<User> body);
ResponseEntity<Void> createUsersWithListInput( List<User> body);
/**
* @see UserApi#deleteUser
*/
ResponseEntity<Void> deleteUser(String username);
ResponseEntity<Void> deleteUser( String username);
/**
* @see UserApi#getUserByName
*/
ResponseEntity<User> getUserByName(String username);
ResponseEntity<User> getUserByName( String username);
/**
* @see UserApi#loginUser
*/
ResponseEntity<String> loginUser(String username,
String password);
ResponseEntity<String> loginUser( String username,
String password);
/**
* @see UserApi#logoutUser
@@ -54,7 +54,7 @@ public interface UserApiDelegate {
/**
* @see UserApi#updateUser
*/
ResponseEntity<Void> updateUser(String username,
User body);
ResponseEntity<Void> updateUser( String username,
User body);
}

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1 +1 @@
2.3.1-SNAPSHOT
2.4.0-SNAPSHOT

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/

View File

@@ -1,5 +1,5 @@
/**
* NOTE: This class is auto generated by the swagger code generator program (2.3.1-SNAPSHOT).
* NOTE: This class is auto generated by the swagger code generator program (2.4.0-SNAPSHOT).
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/