[PHP] Regenerate petstore sample

This commit is contained in:
Arne Jørgensen
2016-05-14 13:04:23 +02:00
parent cc395fdf63
commit 1f02fd281f
64 changed files with 723 additions and 1829 deletions

View File

@@ -26,8 +26,8 @@
*/
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Please update the test case below to test the endpoint.
*/
@@ -53,24 +53,27 @@ class FakeApiTest extends \PHPUnit_Framework_TestCase
/**
* Setup before running each test case
*/
public static function setUpBeforeClass() {
public static function setUpBeforeClass()
{
}
/**
* Clean up after running each test case
*/
public static function tearDownAfterClass() {
public static function tearDownAfterClass()
{
}
/**
* Test case for testEndpointParameters
*
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 .
*
*/
public function test_testEndpointParameters() {
public function testTestEndpointParameters()
{
}
}

View File

@@ -26,8 +26,8 @@
*/
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Please update the test case below to test the endpoint.
*/
@@ -53,87 +53,97 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
/**
* Setup before running each test case
*/
public static function setUpBeforeClass() {
public static function setUpBeforeClass()
{
}
/**
* Clean up after running each test case
*/
public static function tearDownAfterClass() {
public static function tearDownAfterClass()
{
}
/**
* Test case for addPet
*
* Add a new pet to the store
* Add a new pet to the store.
*
*/
public function test_addPet() {
public function testAddPet()
{
}
/**
* Test case for deletePet
*
* Deletes a pet
* Deletes a pet.
*
*/
public function test_deletePet() {
public function testDeletePet()
{
}
/**
* Test case for findPetsByStatus
*
* Finds Pets by status
* Finds Pets by status.
*
*/
public function test_findPetsByStatus() {
public function testFindPetsByStatus()
{
}
/**
* Test case for findPetsByTags
*
* Finds Pets by tags
* Finds Pets by tags.
*
*/
public function test_findPetsByTags() {
public function testFindPetsByTags()
{
}
/**
* Test case for getPetById
*
* Find pet by ID
* Find pet by ID.
*
*/
public function test_getPetById() {
public function testGetPetById()
{
}
/**
* Test case for updatePet
*
* Update an existing pet
* Update an existing pet.
*
*/
public function test_updatePet() {
public function testUpdatePet()
{
}
/**
* Test case for updatePetWithForm
*
* Updates a pet in the store with form data
* Updates a pet in the store with form data.
*
*/
public function test_updatePetWithForm() {
public function testUpdatePetWithForm()
{
}
/**
* Test case for uploadFile
*
* uploads an image
* uploads an image.
*
*/
public function test_uploadFile() {
public function testUploadFile()
{
}
}

View File

@@ -26,8 +26,8 @@
*/
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Please update the test case below to test the endpoint.
*/
@@ -53,51 +53,57 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase
/**
* Setup before running each test case
*/
public static function setUpBeforeClass() {
public static function setUpBeforeClass()
{
}
/**
* Clean up after running each test case
*/
public static function tearDownAfterClass() {
public static function tearDownAfterClass()
{
}
/**
* Test case for deleteOrder
*
* Delete purchase order by ID
* Delete purchase order by ID.
*
*/
public function test_deleteOrder() {
public function testDeleteOrder()
{
}
/**
* Test case for getInventory
*
* Returns pet inventories by status
* Returns pet inventories by status.
*
*/
public function test_getInventory() {
public function testGetInventory()
{
}
/**
* Test case for getOrderById
*
* Find purchase order by ID
* Find purchase order by ID.
*
*/
public function test_getOrderById() {
public function testGetOrderById()
{
}
/**
* Test case for placeOrder
*
* Place an order for a pet
* Place an order for a pet.
*
*/
public function test_placeOrder() {
public function testPlaceOrder()
{
}
}

View File

@@ -26,8 +26,8 @@
*/
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Please update the test case below to test the endpoint.
*/
@@ -53,87 +53,97 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
/**
* Setup before running each test case
*/
public static function setUpBeforeClass() {
public static function setUpBeforeClass()
{
}
/**
* Clean up after running each test case
*/
public static function tearDownAfterClass() {
public static function tearDownAfterClass()
{
}
/**
* Test case for createUser
*
* Create user
* Create user.
*
*/
public function test_createUser() {
public function testCreateUser()
{
}
/**
* Test case for createUsersWithArrayInput
*
* Creates list of users with given input array
* Creates list of users with given input array.
*
*/
public function test_createUsersWithArrayInput() {
public function testCreateUsersWithArrayInput()
{
}
/**
* Test case for createUsersWithListInput
*
* Creates list of users with given input array
* Creates list of users with given input array.
*
*/
public function test_createUsersWithListInput() {
public function testCreateUsersWithListInput()
{
}
/**
* Test case for deleteUser
*
* Delete user
* Delete user.
*
*/
public function test_deleteUser() {
public function testDeleteUser()
{
}
/**
* Test case for getUserByName
*
* Get user by user name
* Get user by user name.
*
*/
public function test_getUserByName() {
public function testGetUserByName()
{
}
/**
* Test case for loginUser
*
* Logs user into the system
* Logs user into the system.
*
*/
public function test_loginUser() {
public function testLoginUser()
{
}
/**
* Test case for logoutUser
*
* Logs out current logged in user session
* Logs out current logged in user session.
*
*/
public function test_logoutUser() {
public function testLogoutUser()
{
}
/**
* Test case for updateUser
*
* Updated user
* Updated user.
*
*/
public function test_updateUser() {
public function testUpdateUser()
{
}
}