# SwaggerServer This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. This [Symfony](https://symfony.com/) bundle is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 1.0.0 - Build package: io.swagger.codegen.languages.SymfonyServerCodegen ## Requirements PHP 5.4.0 and later ## Installation & Usage To install the dependencies via [Composer](http://getcomposer.org/), add the following repository to `composer.json` of your Symfony project: ```json { "repositories": [{ "type": "path", "url": "//Path to your generated swagger bundle" }], } ``` Then run: ``` composer require swagger/server-bundle:dev-master ``` to add the generated swagger bundle as a dependency. ## Tests To run the unit tests for the generated bundle, first navigate to the directory containing the code, then run the following commands: ``` composer install ./vendor/bin/phpunit ``` ## Getting Started Step 1: Please follow the [installation procedure](#installation--usage) first. Step 2: Enable the bundle in the kernel: ```php