Artem
3e2c933dec
[php-symfony] Fix problem with clients, that put charset in content type header. ( #6078 )
...
* Fix problem with clients, that put charset in content type header.
With this fix header "Content-Type: application/json; charset=utf-8" working same as "Content-Type: application/json" for parse input data
* Fix code style, add $consumes length check.
* Add isContentTypeAllowed static method and tests
* Fix old tests
Right now serializer doesn't support anything beside json and xml.
Call tests with application/json instead of form data.
Co-authored-by: Yuriy Belenko <yura-bely@mail.ru>
2020-04-30 12:22:44 +03:00
Artem
0bf9926066
Fix wrong variable name in LessThan and LessThanOrEqual asserts ( #3971 )
...
* Fix wrong variable name in LessThan and LessThanOrEqual asserts
* After run ./bin/php-symfony-petstore.sh
2019-09-28 17:42:02 +08:00
William Cheng
dc0c24b955
Minor wording change ( #2875 )
...
* better wording for version of openapi doc
* update petstore samples
2019-05-13 15:59:59 +08:00
Gocha Ossinkine
3677bdcfc7
Replace deprecated Controller with new one ( #2146 )
2019-03-25 22:07:40 +08:00
Gocha Ossinkine
161cb88e88
Don't try to detect response format if method return nothing ( #2073 )
2019-02-14 19:55:40 +09:00
Gocha Ossinkine
d87a3b90da
Validate input objects ( #2144 )
2019-02-14 19:32:21 +09:00
Gocha Ossinkine
73d309b9ba
Catch serializer exception ( #2074 )
2019-02-10 15:41:09 +08:00
Matej Vehar
f4088f8ee8
Enable serialization of non-null negative values (array, false, etc) ( #2032 )
2019-02-04 15:25:16 +09:00
Jérémie Bresson
a7dfc650b6
Swagger parser update: 2.0.8-OpenAPITools.org-1 ( #1721 )
...
* Update Swagger-Parser Version
* Update samples
* surpress javadoc warning
* fix TS tests
* Set version to 2.0.8-OpenAPITools.org-1
2018-12-22 18:12:08 +08:00
Dimtiriy Remerov
76160b53c7
[php-symfony] Fixed a bug with access of non-existing property in generated code ( #578 )
...
* [php-symfony] Fixed a bug where Controller accessed non-existent property
* [php-symfony] Regenerated petstore sample
2018-07-19 15:32:15 +08:00
Akihito Nakano
872dd546f4
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
2018-05-09 10:34:19 +08:00
William Cheng
7ad92572e4
Update default value for PHP server generators (slim, silex) ( #272 )
...
* update php slim samples
* update php silex samples
* update php silex default value
2018-04-30 15:18:13 +08:00
William Cheng
69133d3677
Update PHP Symfony server petstore with OAS2, OAS3 ( #255 )
...
* update php symfony with oas2 petstore
* update php symfony with oas3 petstore
2018-04-28 14:38:37 +08:00
naelrashdeen
5d59dd10ec
[PHP][Symfony] Further enhancements ( #7001 )
...
* Further enchancements for PHP-Symfony. Fixes issues described in #6999
* Ran shell script to update petstore sample
2017-11-27 16:25:50 +08:00
wing328
8b251555ac
update php symfony petstore, remove spaces in empty line
2017-11-09 16:36:25 +08:00
naelrashdeen
b034e4446a
[PHP][Symfony] Enhancements ( #6615 )
...
* Removed commented code
* Input validation is now supported as strict JSON validation
* [PHP][Symfony] Improve the implementation
Closes #6614
* Generated code is tested to assure it compiles and updated README to dynamically load dependencies via composer
* Updated shell script because shippable tests were failing
2017-10-23 22:50:56 +08:00