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:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Swagger\Server\Service;
|
||||
namespace OpenAPI\Server\Service;
|
||||
|
||||
use JMS\Serializer\SerializerBuilder;
|
||||
use JMS\Serializer\Naming\CamelCaseNamingStrategy;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Swagger\Server\Service;
|
||||
namespace OpenAPI\Server\Service;
|
||||
|
||||
interface SerializerInterface
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
namespace Swagger\Server\Service;
|
||||
namespace OpenAPI\Server\Service;
|
||||
|
||||
use JMS\Serializer\Context;
|
||||
use JMS\Serializer\JsonDeserializationVisitor;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Swagger\Server\Service;
|
||||
namespace OpenAPI\Server\Service;
|
||||
|
||||
use Symfony\Component\Validator\Validation;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
namespace Swagger\Server\Service;
|
||||
namespace OpenAPI\Server\Service;
|
||||
|
||||
use JMS\Serializer\DeserializationContext;
|
||||
use JMS\Serializer\Exception\RuntimeException;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Swagger\Server\Service;
|
||||
namespace OpenAPI\Server\Service;
|
||||
|
||||
interface ValidatorInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user