forked from loafle/openapi-generator-original
Update default value for PHP server generators (slim, silex) (#272)
* update php slim samples * update php silex samples * update php silex default value
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
* PHP version 5
|
||||
*
|
||||
* @category Class
|
||||
* @package Swagger\Server
|
||||
* @author Swagger Codegen team
|
||||
* @link https://github.com/swagger-api/swagger-codegen
|
||||
* @package OpenAPI\Server
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://github.com/openapitools/openapi-generator
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -16,29 +16,29 @@
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
* Contact: apiteam@swagger.io
|
||||
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen
|
||||
* https://github.com/openapitools/openapi-generator
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
namespace Swagger\Server\Api;
|
||||
namespace OpenAPI\Server\Api;
|
||||
|
||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||
use Swagger\Server\Model\ApiResponse;
|
||||
use Swagger\Server\Model\Pet;
|
||||
use OpenAPI\Server\Model\ApiResponse;
|
||||
use OpenAPI\Server\Model\Pet;
|
||||
|
||||
/**
|
||||
* PetApiInterface Interface Doc Comment
|
||||
*
|
||||
* @category Interface
|
||||
* @package Swagger\Server\Api
|
||||
* @author Swagger Codegen team
|
||||
* @link https://github.com/swagger-api/swagger-codegen
|
||||
* @package OpenAPI\Server\Api
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://github.com/openapitools/openapi-generator
|
||||
*/
|
||||
interface PetApiInterface
|
||||
{
|
||||
@@ -66,7 +66,7 @@ interface PetApiInterface
|
||||
*
|
||||
* Add a new pet to the store
|
||||
*
|
||||
* @param Swagger\Server\Model\Pet $pet Pet object that needs to be added to the store (required)
|
||||
* @param OpenAPI\Server\Model\Pet $pet Pet object that needs to be added to the store (required)
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
@@ -99,7 +99,7 @@ interface PetApiInterface
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return Swagger\Server\Model\Pet[]
|
||||
* @return OpenAPI\Server\Model\Pet[]
|
||||
*
|
||||
*/
|
||||
public function findPetsByStatus(array $status, &$responseCode, array &$responseHeaders);
|
||||
@@ -113,7 +113,7 @@ interface PetApiInterface
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return Swagger\Server\Model\Pet[]
|
||||
* @return OpenAPI\Server\Model\Pet[]
|
||||
*
|
||||
*/
|
||||
public function findPetsByTags(array $tags, &$responseCode, array &$responseHeaders);
|
||||
@@ -127,7 +127,7 @@ interface PetApiInterface
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return Swagger\Server\Model\Pet[]
|
||||
* @return OpenAPI\Server\Model\Pet[]
|
||||
*
|
||||
*/
|
||||
public function getPetById($petId, &$responseCode, array &$responseHeaders);
|
||||
@@ -137,7 +137,7 @@ interface PetApiInterface
|
||||
*
|
||||
* Update an existing pet
|
||||
*
|
||||
* @param Swagger\Server\Model\Pet $pet Pet object that needs to be added to the store (required)
|
||||
* @param OpenAPI\Server\Model\Pet $pet Pet object that needs to be added to the store (required)
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
@@ -173,7 +173,7 @@ interface PetApiInterface
|
||||
* @param integer $responseCode The HTTP response code to return
|
||||
* @param array $responseHeaders Additional HTTP headers to return with the response ()
|
||||
*
|
||||
* @return Swagger\Server\Model\ApiResponse[]
|
||||
* @return OpenAPI\Server\Model\ApiResponse[]
|
||||
*
|
||||
*/
|
||||
public function uploadFile($petId, $additionalMetadata = null, UploadedFile $file = null, &$responseCode, array &$responseHeaders);
|
||||
|
||||
Reference in New Issue
Block a user