Update php related samples (#375)

* Update php client (OAS3)

bin/openapi3/php-petstore.sh

* Update symfony server (OAS2)

bin/php-symfony-petstore.sh

* Lumen: remove 'swagger'

* Update lumen server (OAS2)

* Update php client (security): deleted 'SwaggerClient-php' folder

* Update TEST_DIR

* Update php client tests (OAS3)

bin/openapi3/php-petstore.sh

* Update php client (OAS2)

bin/php-petstore.sh

* Fix

* Fix lumen -> php-lumen

* Update lumen server (security)

* Delete moved files

currently it will generate into under 'lib' folder.

* Fix slim -> php-slim

* Update slim server (security)

bin/security/slim-petstore-server.sh

* Fix

* Update dot files
This commit is contained in:
Akihito Nakano
2018-05-09 11:34:19 +09:00
committed by William Cheng
parent d35bf1a388
commit 872dd546f4
224 changed files with 605 additions and 3592 deletions

View File

@@ -1,7 +1,7 @@
# OpenAPIServer
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 is a sample server Petstore server. 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 [OpenAPI Generator](https://github.com/openapitools/openapi-generator) project:
This [Symfony](https://symfony.com/) bundle is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.0.0
- Build package: org.openapitools.codegen.languages.PhpSymfonyServerCodegen
@@ -18,7 +18,7 @@ To install the dependencies via [Composer](http://getcomposer.org/), add the fol
{
"repositories": [{
"type": "path",
"url": "//Path to your generated swagger bundle"
"url": "//Path to your generated openapi bundle"
}],
}
```
@@ -29,7 +29,7 @@ Then run:
composer require openapi/server-bundle:dev-master
```
to add the generated swagger bundle as a dependency.
to add the generated openapi bundle as a dependency.
## Tests
@@ -177,6 +177,6 @@ Class | Method | HTTP request | Description
## Author
apiteam@swagger.io