abcsun
9efef02d5f
formate the module.mustache
2016-05-07 18:12:28 +08:00
abcsun
df1d36cf47
modify the properties from container array
2016-05-07 15:55:38 +08:00
abcsun
0695708594
sync from origin master & do the parameters validation in model
2016-05-07 15:43:19 +08:00
Arne Jørgensen
bf8b7b760c
[PHP] Regenerate petstore sample
2016-05-06 23:48:52 +02:00
Arne Jørgensen
f5a802d9af
[PHP] Fix default values in derived classes
...
Fixes flaw in 9f40a82310b36764e5d8ee055983c888ac4d88a6.
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
abcsun
22ea2d87e0
add validation to model
2016-05-05 11:41:14 +08:00
wing328
0310d95800
fix csharp enum issue after rebase
2016-05-03 11:19:19 +08:00
wing328
a7ca0ad11f
add enum number support to php
2016-05-03 11:16:05 +08:00
wing328
00e15b76ec
clean up post process model in csharp, add default value for enum
2016-05-03 11:14:45 +08:00
wing328
217d93401b
better php enum naming
2016-05-03 11:14:45 +08:00
wing328
11deb43829
add enum class support to php
2016-05-03 11:14:45 +08:00
wing328
2c9e9ee425
fix getter for allowableValues for php enum
2016-05-03 11:14:45 +08:00
wing328
800a858acb
add enum support to php, refactor post process model enum
2016-05-03 11:14:44 +08:00
wing328
d6158c4c55
fix uuid for java, php, ruby and csharp
2016-05-02 22:06:33 +08:00
abcsun
72120099b4
change the validation to allParams
2016-04-29 11:04:27 +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
Arne Jørgensen
7f99469efd
[PHP] Add test case testing ArrayAccess interface
...
Test if we implement the ArrayAccess interface correct on out model objects.
2016-04-27 21:00:58 +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
Arne Jørgensen
dcccfa4b99
Fix class name in test cases
2016-04-18 22:10:35 +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
Arne Jørgensen
65d677c385
Set discriminator property in constructor
...
When using inheritance let the constructor set the discriminator
property to the model name.
This avoids redundant and error prone stuff like:
```
$animal = new \Swagger\Client\Model\Dog();
$animal->setClassName('Dog');
```
2016-04-09 21:05:18 +02:00
wing328
290957f6c8
update php sample
2016-04-09 18:05:40 +08:00
wing328
02ac7d93c5
minor php code improvement
2016-04-09 17:59:28 +08:00
wing328
eef07f4d84
add new files for perl, php, ruby
2016-03-30 22:38:53 +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
Arne Jørgensen
da518d55d2
Regenerate PHP petstore sample
2016-03-28 11:30:27 +02:00
Arne Jørgensen
0196cdd558
[PHP] Use parent constructor when inheriting
2016-03-28 11:30:27 +02:00
wing328
97e821af6b
update php readme
2016-03-19 16:15:41 +08:00
wing328
95cd8b73a6
update sample code, update test case
2016-03-19 16:03:36 +08:00
Arne Jørgensen
aa61204ede
Regenerate PHP petstore sample
2016-03-18 00:52:12 +01:00
wing328
05a8c47a36
update docstring to include default value
2016-03-17 17:43:21 +08:00
wing328
b40603d274
update readme, add getting started
2016-03-17 16:53:09 +08:00
wing328
47bb5689d9
better hanlding of model name starting with number
2016-03-17 11:49:06 +08:00
wing328
4b5a0a4872
beter handling of model name starting with number
2016-03-16 23:10:59 +08:00
Arne Jørgensen
55ef72d47e
Regenerate PHP petstore sample
2016-03-16 13:08:09 +01:00