[Elixir] update to 1.6 version (#2741)

* [Elixir] update version / add test

* update samples (add missing 200 responses in petstore-with-fake-endpoints-models-for-testing.yaml)

* [Elixir] update to 1.6 version

* [Elixir] fix test petapi
This commit is contained in:
Vincent Devos
2019-04-26 16:38:11 +02:00
committed by William Cheng
parent 6e6926a8b8
commit 0ae43fcb7a
104 changed files with 388 additions and 2750 deletions

View File

@@ -44,6 +44,7 @@ public class PetApi {
/**
* Add a new pet to the store
* <p><b>200</b> - successful operation
* <p><b>405</b> - Invalid input
* @param body Pet object that needs to be added to the store
* @throws IOException if an error occurs while attempting to invoke the API
@@ -54,6 +55,7 @@ public class PetApi {
/**
* Add a new pet to the store
* <p><b>200</b> - successful operation
* <p><b>405</b> - Invalid input
* @param body Pet object that needs to be added to the store
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
@@ -128,6 +130,7 @@ public class PetApi {
/**
* Deletes a pet
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid pet value
* @param petId Pet id to delete
* @param apiKey The apiKey parameter
@@ -139,6 +142,7 @@ public class PetApi {
/**
* Deletes a pet
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid pet value
* @param petId Pet id to delete
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
@@ -471,6 +475,7 @@ public class PetApi {
/**
* Update an existing pet
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid ID supplied
* <p><b>404</b> - Pet not found
* <p><b>405</b> - Validation exception
@@ -483,6 +488,7 @@ public class PetApi {
/**
* Update an existing pet
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid ID supplied
* <p><b>404</b> - Pet not found
* <p><b>405</b> - Validation exception

View File

@@ -57,6 +57,7 @@ public class PetApi {
nickname = "addPet",
tags = { "pet" })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation") ,
@ApiResponse(code = 405, message = "Invalid input") })
public AddPetOper addPet() {
return new AddPetOper(reqSpec);
@@ -67,6 +68,7 @@ public class PetApi {
nickname = "deletePet",
tags = { "pet" })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation") ,
@ApiResponse(code = 400, message = "Invalid pet value") })
public DeletePetOper deletePet() {
return new DeletePetOper(reqSpec);
@@ -112,6 +114,7 @@ public class PetApi {
nickname = "updatePet",
tags = { "pet" })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation") ,
@ApiResponse(code = 400, message = "Invalid ID supplied") ,
@ApiResponse(code = 404, message = "Pet not found") ,
@ApiResponse(code = 405, message = "Validation exception") })

View File

@@ -51,6 +51,7 @@ public class PetApi {
/**
* Add a new pet to the store
*
* <p><b>200</b> - successful operation
* <p><b>405</b> - Invalid input
* @param body Pet object that needs to be added to the store
* @throws RestClientException if an error occurs while attempting to invoke the API
@@ -84,6 +85,7 @@ public class PetApi {
/**
* Deletes a pet
*
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid pet value
* @param petId Pet id to delete
* @param apiKey The apiKey parameter
@@ -235,6 +237,7 @@ public class PetApi {
/**
* Update an existing pet
*
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid ID supplied
* <p><b>404</b> - Pet not found
* <p><b>405</b> - Validation exception

View File

@@ -51,6 +51,7 @@ public class PetApi {
/**
* Add a new pet to the store
*
* <p><b>200</b> - successful operation
* <p><b>405</b> - Invalid input
* @param body Pet object that needs to be added to the store
* @throws RestClientException if an error occurs while attempting to invoke the API
@@ -84,6 +85,7 @@ public class PetApi {
/**
* Deletes a pet
*
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid pet value
* @param petId Pet id to delete
* @param apiKey The apiKey parameter
@@ -235,6 +237,7 @@ public class PetApi {
/**
* Update an existing pet
*
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid ID supplied
* <p><b>404</b> - Pet not found
* <p><b>405</b> - Validation exception

View File

@@ -50,6 +50,7 @@ public class PetApi {
/**
* Add a new pet to the store
*
* <p><b>200</b> - successful operation
* <p><b>405</b> - Invalid input
* @param body Pet object that needs to be added to the store
* @throws RestClientException if an error occurs while attempting to invoke the API
@@ -83,6 +84,7 @@ public class PetApi {
/**
* Deletes a pet
*
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid pet value
* @param petId Pet id to delete
* @param apiKey The apiKey parameter
@@ -234,6 +236,7 @@ public class PetApi {
/**
* Update an existing pet
*
* <p><b>200</b> - successful operation
* <p><b>400</b> - Invalid ID supplied
* <p><b>404</b> - Pet not found
* <p><b>405</b> - Validation exception