zircote/swagger-php — pull request #63 by bfanger (2013-03-19 16:37:53+00:00)
Title: Added support for Multiple @SWG\Operation() inside a @SWG\Operations

Fixes an issue which caused Swagger to generate an array in an array:
{ path: "/users", operations: [ [ { nickname:"index", … } ] ] }
Instead of the correct:
{ path: "/users", operations: [ { nickname:"index", … } ] }

Example docblock:
```php
/**
* @SWG\Api(
* path="/users",
* @SWG\Operations(
* @SWG\Operation(
* nickname="index",
* summary="Retrieve all users",
* httpMethod="GET",
* responseClass="User"
* ),
* @SWG\Operation(
* nickname="index",
* summary="Create user",
* httpMethod="POST",
* responseClass="User",
* @SWG\Parameter(name="email",dataType="String"),
* @SWG\Parameter(name="phone",dataType="String")
* )
* )
* )
*/
function index() {
}
```