forked from loafle/openapi-generator-original
[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:
committed by
William Cheng
parent
6e6926a8b8
commit
0ae43fcb7a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user