Skip to content

Commit

Permalink
Merge pull request #8931 from swagger-api/update-php-symfony-sample
Browse files Browse the repository at this point in the history
update php symfony samples
  • Loading branch information
frantuma committed Nov 19, 2018
2 parents bf81e45 + 804fc90 commit 2c42642
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public function deletePet($petId, $apiKey = null, &$responseCode, array &$respon
public function findPetsByStatus(array $status, &$responseCode, array &$responseHeaders);

/**
* @deprecated
* Operation findPetsByTags
*
* Finds Pets by tags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Amount
* @Assert\Type("double")
* @Type("double")
* @Assert\GreaterThanOrEqual(0.01)
* @Assert\LessThanOrEqual(0.01)
* @Assert\LessThanOrEqual(1000000000000000)
*/
protected $value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ services:
class: Swagger\Server\Model\ModelSerializer

swagger_server.service.serializer:
class: %swagger_server.serializer%
class: "%swagger_server.serializer%"

swagger_server.service.validator:
class: %swagger_server.validator%
class: "%swagger_server.validator%"

swagger_server.controller.pet:
class: Swagger\Server\Controller\PetController
Expand Down

0 comments on commit 2c42642

Please sign in to comment.