Paŭlo Ebermann
db71d97370
Updating samples after #5232 . ( #5243 )
...
* Updating samples after #5232 .
* Fix tests after #5232 .
* Fix Javascript client tests.
* JaxRS server: set serverPort only when not given from outside.
* Update JaxRS sample creator scripts to fix serverPort.
* Preliminary test fix for JaxRS server generators.
* Updating samples for JaxRS with Jersey1/2.
* Updating JaxRS samples again.
2017-03-30 01:28:53 +08:00
Ainun Nazieb
05eea2436c
[PHP] Validate parent's model first, if any ( #4659 )
...
* if model has parent, valid() & listInvalidProperties() will check the parents' first
* Run the ./bin/security/php-petstore.sh
2017-01-26 22:49:38 +08:00
Pete Holiday
2e4de0ca1e
Remove unnecessary call to setHost() in the constructor ( #4525 )
...
* Remove unnecessary call to setHost() in the constructor
The default host will be automatically set on the client by the ApiClient constructor.
* Updated PHP API Classes corresponding to template updates in #4525 .
* Additional changes generated by the petstore update unrelated to #4525 , but seem to have not been included yet.
* Add test to prevent regressions of #4525
2017-01-12 16:17:17 +08:00
wing328
4870cf4ab1
Merge branch 'Ignore_Javatypes_On_ModelPre_and_Suffixes' of https://github.com/d0x/swagger-codegen into d0x-Ignore_Javatypes_On_ModelPre_and_Suffixes
2016-12-20 17:46:52 +08:00
wing328
7fd895b37d
fix isPrimitiveType for file
2016-12-18 19:02:26 +08:00
wing328
8153f0e89b
Fix test spec issue ( #4334 )
...
* fix issue with swagger spec (number => integer)
* remove space from spec
2016-12-07 16:46:41 +08:00
wing328
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
Ville Skyttä
a95ade6d2a
php: Update petstore
2016-08-30 08:05:04 +03:00
Arne Jørgensen
4008054209
[PHP] Regenerate petstore samples
2016-08-05 11:25:49 +02:00
wing328
1fde95f997
fix java okhttp (array of enum property)
2016-08-03 01:36:34 +08:00
wing328
25fa3e86f9
add enumName to store the enum prefix
2016-08-03 01:36:13 +08:00
wing328
0b8acb5b0c
set allowablevalues of inner enum's allowablevalues
2016-08-03 01:35:58 +08:00
wing328
9489f7d3eb
clear import mapping for gnereators that do not use it
2016-07-26 14:40:29 +08:00
Daniel Ge
20448dd9e3
Bump and regenerate PHP sample
2016-07-06 12:09:11 -07:00
Arne Jørgensen
a4ec29000a
[PHP] Regenerate petstore samples
2016-06-30 07:12:28 +02:00
wing328
41636ae149
revert petstore-with-fake-endpoints-models-for-testing.yaml
2016-06-28 14:38:50 +08:00
wing328
ebd6ffaa4c
better handle of single quote to avoid code injectio in php
2016-06-28 00:54:06 +08:00
wing328
1638adb79e
avoid code injection in php api client
2016-06-27 21:51:27 +08:00
wing328
74239c422b
add enum class support, merged test cases for php
2016-06-26 17:41:29 +08:00
Arne Jørgensen
614e98a404
[PHP] Regenerate petstore sample
2016-06-13 23:22:31 +02:00
Arne Jørgensen
e41019fb2b
[PHP] Regenerate petstore sample
2016-05-26 00:13:45 +02:00
Mikolaj Przybysz
6aa821d76d
Rebuild php petstore sample client
2016-05-24 15:03:25 +02:00
wing328
c6f03806df
Replaced {{mediaType}} with {{{mediaType}} to keep the original media
2016-05-20 17:48:47 +08:00
wing328
0b7d0c34af
add debug switch to print out downloaded file info
2016-05-14 17:11:48 +08:00
Kim Sondrup
7737a59705
Run ./bin/php-petstore.sh
2016-05-13 11:01:10 +02:00
wing328
1cb1b0351c
update php sample
2016-05-10 22:38:21 +08:00
wing328
d0529cffdb
Merge branch 'php-fix-array-handling-2' of https://github.com/arnested/swagger-codegen into arnested-php-fix-array-handling-2
...
Conflicts:
modules/swagger-codegen/src/main/resources/php/model.mustache
samples/client/petstore/php/SwaggerClient-php/README.md
samples/client/petstore/php/SwaggerClient-php/lib/Model/Animal.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/AnimalFarm.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/ApiResponse.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Cat.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Category.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Dog.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumClass.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumTest.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/FormatTest.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Model200Response.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/ModelReturn.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Name.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Order.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Pet.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/SpecialModelName.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Tag.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/User.php
2016-05-10 00:29:13 +08:00
wing328
f30b32afc4
minor fix to mustache layout
2016-05-09 16:32:49 +08:00
Arne Jørgensen
bf8b7b760c
[PHP] Regenerate petstore sample
2016-05-06 23:48:52 +02:00
wing328
3a80a4ff1e
fix double byte characters in description, upgrade to lang3
2016-05-06 16:36:45 +08:00
wing328
1dd8faf8b7
Merge pull request #2783 from GriffinSchneider/patch-1
...
Replace 'BEARER' with 'Bearer' everywhere for RFC6750 compliance.
2016-05-06 15:01:22 +08:00
wing328
ac2cb647b5
Merge branch 'php-fix-array-handling' of https://github.com/arnested/swagger-codegen into arnested-php-fix-array-handling
...
Conflicts:
modules/swagger-codegen/src/main/resources/php/model.mustache
samples/client/petstore/php/SwaggerClient-php/README.md
samples/client/petstore/php/SwaggerClient-php/docs/FormatTest.md
samples/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Animal.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/ApiResponse.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Cat.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Category.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Dog.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/FormatTest.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Model200Response.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/ModelReturn.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Name.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Order.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Pet.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/SpecialModelName.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Tag.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/User.php
2016-05-06 10:46:36 +08:00
Griffin Schneider
e5ab34b658
Replace 'BEARER' with 'Bearer' everywhere.
...
RFC6750 indicates that the correct header format is 'Bearer <token>',
not 'BEARER <token>'.
2016-05-05 16:14:45 -04:00
wing328
d6158c4c55
fix uuid for java, php, ruby and csharp
2016-05-02 22:06:33 +08:00
abcsun
fbde7f88ee
add parameter validation in methord call
2016-04-28 10:39:54 +08:00
Arne Jørgensen
5d57bb1e62
[PHP] Regenerate petstore sample
2016-04-27 21:04:06 +02:00
wing328
a281afaebf
add requiredVars and optionalVars for codegen model
2016-04-23 22:48:24 +08:00
wing328
f1d75f46cf
fix #2688
2016-04-23 16:49:52 +08:00
Arne Jørgensen
ecfb71a0df
[PHP] Regenerated petstore sample
2016-04-19 21:32:11 +02:00
wing328
8c0cff57ba
Merge pull request #2595 from KevinGlinski/csharpdoc
...
[CSharp] Add auto-generated CSharp documentation in Markdown
2016-04-17 22:47:02 +08:00
wing328
0b42b533d9
add new files
2016-04-16 00:44:36 +08:00
Kevin Glinski
f02ee42594
merge from upstream
2016-04-14 08:35:05 -04:00
Kevin Glinski
2beeabb33a
fixing typeos
2016-04-14 08:22:56 -04:00
wing328
d19ed8a89b
fix php test cases with petstore test yaml
2016-04-14 16:19:38 +08:00
wing328
68cb030609
add new files for format test model
2016-04-11 22:11:53 +08:00
wing328
44a4219e3e
fix swift mapping with int and number
2016-04-11 19:37:56 +08:00
Arne Jørgensen
747f6ba0bb
Regenerate PHP petstore sample
2016-04-09 21:05:45 +02:00
wing328
290957f6c8
update php sample
2016-04-09 18:05:40 +08:00
wing328
2104ef3192
doc for new models
2016-03-30 21:09:34 +08:00
wing328
20f1e97df3
fix typo in readme
2016-03-30 20:58:18 +08:00