openapi-generator/samples/server/petstore
Akihito Nakano 6d6ef0f120 [PHP] Refactor php client generator (#504)
* Extends AbstractPhpCodegen instead of DefaultCodegen

* Remove fully duplicated methods with AbstractPhpCodegen

* Remove duplicated properties with AbstractPhpCodegen

* Remove duplicated codes in constructor with AbstractPhpCodegen

* Add typeMapping "date". Moved from PhpClientCodegen

refs: 3c34c0b377 (diff-f1801ef05a7926bf394c90f44ae4ab3dL132)

* Remove duplicated codes in processOpts()

* Remove unnecessary 'implements'

* Remove unnecessary method override

* Use setter

* Merge getTypeDeclaration() into AbstractPhpCodegen

* Merge processOpts() into AbstractPhpCodegen

refs:
* 296e6d3db4 (diff-f1801ef05a7926bf394c90f44ae4ab3dL139)
* 296e6d3db4 (diff-f1801ef05a7926bf394c90f44ae4ab3dL147)
* 296e6d3db4 (diff-f1801ef05a7926bf394c90f44ae4ab3dL153)

* tweak

* Optimize IF statement

* Remove duplicated methods

* Merge setParameterExampleValue() into AbstractPhpCodegen

* Merge toEnumVarName() into AbstractPhpCodegen

* Merge toEnumName() into AbstractPhpCodegen

* Merge escapeUnsafeCharacters() into AbstractPhpCodegen

* Merge postProcessOperationsWithModels() into AbstractPhpCodegen

* tweak

* Recover missing method

refs: 2ad0f6f7d4 (diff-f1801ef05a7926bf394c90f44ae4ab3dL91)

* Tweak test case

refs: 4e7b7afc1a

* Remove unnecessary 'import'

* Update lumen and ze-ph samples

- ./bin/php-lumen-petstore-server.sh > /dev/null 2>&1
- ./bin/php-ze-ph-petstore-server.sh > /dev/null 2>&1

* Update slim samples

* Fix script name

* Update silex samples

* Update kotlin-server
2018-07-17 09:27:02 +08:00
..
aspnetcore [aspnetcore] Add processing of Port defined in spec (#368) 2018-07-03 08:23:43 +02:00
cpp-pistache [C++][Pistache] Fix optional error and wrong function signatures (#264) 2018-06-22 09:12:35 +08:00
cpp-restbed [C++ server] Adjust the names (script, sample folder, generator) to lang option (#250) 2018-06-10 22:48:30 +08:00
erlang-server update erlang client, server default value (#378) 2018-05-09 10:31:42 +08:00
finch Various improvement to CI (#326) 2018-06-15 16:18:31 +08:00
flaskConnexion Update default value, fix example value (#370) 2018-05-08 19:51:15 +08:00
flaskConnexion-python2 Update default value, fix example value (#370) 2018-05-08 19:51:15 +08:00
go-api-server Fix alias to map in the model's properties (#360) 2018-06-21 22:59:02 +08:00
haskell-servant Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-inflector Make yaml serialization deterministic (#233) 2018-06-06 11:47:13 +02:00
java-msf4j Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-pkmst Cli generator name option, replaces 'language' options in CLI and Maven Plugin (#57) 2018-05-23 05:41:19 +02:00
java-play-framework Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-play-framework-api-package-override Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-play-framework-async Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-play-framework-controller-only Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-play-framework-fake-endpoints Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-play-framework-no-bean-validation Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-play-framework-no-exception-handling Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-play-framework-no-interface Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-play-framework-no-swagger-ui Fix package declaration for play-framework (#332) 2018-05-06 08:08:34 +02:00
java-play-framework-no-wrap-calls Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
java-vertx Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
jaxrs [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
jaxrs-cxf [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
jaxrs-cxf-annotated-base-path update CXF and Jackson to latest version (#496) 2018-07-10 18:23:18 +08:00
jaxrs-cxf-cdi Prepare version 3.1.1-SNAPSHOT (#487) 2018-07-07 06:05:19 +02:00
jaxrs-cxf-non-spring-app update CXF and Jackson to latest version (#496) 2018-07-10 18:23:18 +08:00
jaxrs-datelib-j8 [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
jaxrs-resteasy Prepare version 3.1.1-SNAPSHOT (#487) 2018-07-07 06:05:19 +02:00
jaxrs-spec [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
jaxrs-spec-interface [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
jaxrs-spec-interface-response [jaxrs-spec] generate spec file (yaml) correctly (#243) 2018-06-07 11:08:52 +02:00
kotlin-server/ktor Improve logging in Python client (#480) 2018-07-10 22:12:09 +08:00
nancyfx Rename "swagger" to "openapi" (#191) 2018-04-22 21:28:17 +02:00
nancyfx-async Rename "swagger" to "openapi" (#191) 2018-04-22 21:28:17 +02:00
nodejs [Node.js] Add a message which notify that the generated server doesn't work (#456) 2018-07-05 12:25:17 +08:00
nodejs-google-cloud-functions Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
php-lumen [PHP] Refactor php client generator (#504) 2018-07-17 09:27:02 +08:00
php-silex Improve logging in Python client (#480) 2018-07-10 22:12:09 +08:00
php-slim [PHP] Refactor php client generator (#504) 2018-07-17 09:27:02 +08:00
php-symfony Prepare version 3.1.1-SNAPSHOT (#487) 2018-07-07 06:05:19 +02:00
php-ze-ph [PHP] Refactor php client generator (#504) 2018-07-17 09:27:02 +08:00
ruby-on-rails [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
ruby-sinatra [Ruby] Abstract Ruby Codegen (#562) 2018-07-17 09:08:42 +08:00
rust-server Handle headers correctly (#549) 2018-07-13 01:55:56 +08:00
scala-lagom-server Rename "swagger" to "openapi" (#191) 2018-04-22 21:28:17 +02:00
scalatra Various improvement to CI (#326) 2018-06-15 16:18:31 +08:00
spring-mvc [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
spring-mvc-j8-async [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
spring-mvc-j8-localdatetime [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
springboot [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
springboot-beanvalidation [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
springboot-delegate [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
springboot-delegate-j8 [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
springboot-implicitHeaders [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
springboot-reactive [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
springboot-useoptional [Golang][client] fix formData file parameter name use (#506) 2018-07-13 00:53:38 +08:00
undertow Regenerate samples (#367) 2018-05-08 16:44:51 +08:00