Scott Williams
25ebd5466d
Update pattern to support Perl /pattern/modifiers convention
2016-05-09 01:11:29 +01:00
Jim Schubert
705ed78de1
[csharp] regenerate client
2016-05-08 08:35:28 -04:00
Mateusz Mackowiak
fbd6a95799
[Objc] Generator supports binary and BiteArray and maps data to NSData
2016-05-08 12:54:12 +02:00
zhenjun115
6709a92cbc
remove pom.mustache from android api client using volley HTTP library;
2016-05-07 23:38:05 +08:00
Mateusz Mackowiak
74c233e194
Sanitizer for separating sanitize and service logic
2016-05-07 15:18:10 +02:00
Mateusz Mackowiak
07b466a291
Objective c generator converts map and array properties to proper format using generics
2016-05-07 14:13:25 +02:00
Mateusz Mackowiak
81c6edcdd4
Merge commit '084f15fc2e6db460b037b08708a3713b8ef61be6' into obj/ApiClient_AFNetworking3
2016-05-07 13:57:15 +02:00
wing328
084f15fc2e
Merge pull request #2786 from mateuszmackowiak/objc/responseDeserializer
...
[Objc] ResponseDeserializer for separating deserialization and service logic
2016-05-07 19:50:34 +08:00
Mateusz Mackowiak
a71d8d935a
Use AFHttpSessionManager instead of AFHTTPRequestOperationManager #1981
2016-05-07 12:16:05 +02:00
abcsun
9efef02d5f
formate the module.mustache
2016-05-07 18:12:28 +08:00
wing328
7d33e1655d
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
...
Conflicts:
samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/README.mustache
2016-05-07 17:55:39 +08:00
wing328
77e56084ac
regenerate c# petstore sample
2016-05-07 17:49:54 +08:00
wing328
2ab315fa6f
Merge branch 'csharp_default_paths' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp_default_paths
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCSharpCodegen.java
samples/client/petstore/csharp/SwaggerClient/README.md
samples/client/petstore/csharp/SwaggerClient/docs/FormatTest.md
samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/FormatTest.cs
samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/InlineResponse200.cs
samples/client/petstore/csharp/SwaggerClientTest/SwaggerClientTest.csproj
samples/client/petstore/csharp/SwaggerClientTest/SwaggerClientTest.userprefs
samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.csproj.FilesWrittenAbsolute.txt
2016-05-07 17:30:40 +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
zhenjun115
101f9a4086
add generated markdown files to android api client for default and volley;
2016-05-07 14:33:47 +08:00
zhenjun115
3629fbac44
add pom.mustache for android api client(using volley HTTP library);update android api client samples(using volley HTTP library);
2016-05-07 14:12:19 +08:00
Scott Williams
fed22a1f72
Add regex support
2016-05-06 22:52:44 +01: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 9f40a82310
.
2016-05-06 23:48:52 +02:00
xhh
020a9fcdc0
Fix enum model docs for JS and Java clients
2016-05-06 18:41:15 +08:00
Mateusz Mackowiak
fa68f84ec6
- Remove petsotre demo leftovers
...
- Moved description method to basic class
2016-05-06 12:35:02 +02:00
xhh
5acef6d634
Update petstore sample for JS-promise client
2016-05-06 18:02:32 +08:00
xhh
3dbab1b893
JavaScript client: fix exporting of outer enum model
2016-05-06 17:45:03 +08:00
Mateusz Mackowiak
385bf6d9ea
Additional UnknownResponseObjectErrorCode if response object expected type is an unknown type
2016-05-06 11:41:30 +02:00
wing328
ce4a976916
Merge pull request #2775 from guohuang/tests
...
fixed array return type return as pointer issue
2016-05-06 17:07:02 +08:00
Mateusz Mackowiak
65d85b7760
ResponseDeserializer for separating deserialization and service logic
2016-05-06 10:46:03 +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
Guo Huang
ebdf12bcd4
fixed code gen using {{#isListContainer}}*{{/isListContainer}} field
2016-05-05 11:41:58 -07:00
wing328
e04c4ec640
add typescript-fetch client generator
2016-05-05 17:12:28 +08:00
abcsun
22ea2d87e0
add validation to model
2016-05-05 11:41:14 +08:00
Guo Huang
82770e9566
Issue #2756 : add null checking to avoid null exception
2016-05-04 13:22:46 -07:00
Guo Huang
41b7649e62
fixed array return type return as pointer issue
2016-05-04 10:39:30 -07:00
黄真俊
e868690c03
add pom.xml based on build.gradle for android api client( using the volley HTTP library );
2016-05-04 19:51:53 +08:00
wing328
27b8d1af81
Merge branch 'tests' of https://github.com/guohuang/swagger-codegen into guohuang-tests
...
Conflicts:
samples/client/petstore/go/pet_api_test.go
2016-05-04 10:21:38 +08:00
wing328
4117608654
Merge pull request #2749 from guohuang/pointer
...
changed go client to return object pointer
2016-05-04 10:17:07 +08:00
wing328
dc262a3567
Merge pull request #2765 from Vrolijkx/master
...
Reverting remove of client.ts in typescript-node
2016-05-04 09:57:21 +08:00
wing328
8181720397
Merge branch 'bherila-typescript-es6-promises' of https://github.com/wing328/swagger-codegen into wing328-bherila-typescript-es6-promises
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java
2016-05-04 09:54:42 +08:00
Guo Huang
60ee308da5
added assert to check response status match the query
2016-05-03 11:55:51 -07:00
Kristof Vrolijkx
a98c58a76f
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-03 20:55:28 +02:00
Kristof Vrolijkx
9fb85ae8fe
removing comment
2016-05-03 20:36:24 +02:00
Guo Huang
035ee18ba4
fixed testing issue
2016-05-03 10:27:27 -07:00
Guo Huang
a5b08a8ce7
fixed merge conflict
2016-05-03 10:16:47 -07:00
Guo Huang
3168de5f74
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into pointer
...
# Conflicts:
# modules/swagger-codegen/src/main/resources/go/api.mustache
# samples/client/petstore/go/go-petstore/pet_api.go
# samples/client/petstore/go/go-petstore/store_api.go
# samples/client/petstore/go/go-petstore/user_api.go
2016-05-03 10:03:48 -07:00
wing328
bed21e418b
Merge pull request #2508 from wing328/php_enum
...
[PHP][C#] better enum support
2016-05-03 20:09:51 +08:00
wing328
982a035cc1
add better enum support to swift
2016-05-03 18:12:35 +08:00
wing328
40815f5f00
Merge pull request #2746 from guohuang/tests
...
added user api test
2016-05-03 16:57:02 +08:00
wing328
6b0b343b92
add option to support ES6
2016-05-03 16:42:02 +08:00
Kristof Vrolijkx
ea8516d747
Readding client.ts
2016-05-03 08:39:39 +02:00
wing328
333a5edeae
Merge branch 'typescript-es6-promises' of https://github.com/bherila/swagger-codegen into bherila-typescript-es6-promises
2016-05-03 14:29:52 +08:00
wing328
acb34e3db0
better JS enum class support
2016-05-03 11:21:17 +08:00
wing328
d35e30d578
better enum support for JS
2016-05-03 11:21:17 +08:00
wing328
8f2573f8a7
add new files for retrofit2rx
2016-05-03 11:20:45 +08:00
wing328
fc982d1205
add new files for java petstore
2016-05-03 11:20:44 +08:00
wing328
6370165912
fix retrofit 1, 2 java sample
2016-05-03 11:19:59 +08:00
wing328
3913388331
fix java okhttp enum mismatche tab
2016-05-03 11:19:59 +08:00
wing328
70b25a682d
fix java default and feign sample
2016-05-03 11:19:59 +08:00
wing328
0310d95800
fix csharp enum issue after rebase
2016-05-03 11:19:19 +08:00
xhh
4419e71d4b
improve enum support in java okhttp-gson client
2016-05-03 11:16:05 +08:00
xhh
8588c5ce0a
add enum support to java
2016-05-03 11:16:05 +08:00
wing328
2942ef8b73
add double enum support to C#
2016-05-03 11:16:05 +08:00
wing328
a7ca0ad11f
add enum number support to php
2016-05-03 11:16:05 +08:00
wing328
531b536ffb
add enum number support to C#
2016-05-03 11:15:40 +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
45f3cfd5cf
better enum support for csharp
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
f2d180f9a8
Merge pull request #2754 from wing328/add_uuid_mapping
...
Add uuid mapping
2016-05-03 11:13:45 +08:00
Ben Herila
6c3701a403
ES6-ify typescript promises, update tests, remove bluebird dependency in favor of ES6 promises
2016-05-02 18:49:39 -07:00
Neil O'Toole
803c62e0dc
fixed new line issue
2016-05-02 15:53:19 +01:00
wing328
2111e9ef8d
add new sample files
2016-05-02 22:41:50 +08:00
wing328
d64af1b836
fix typescript tmeplate folder
2016-05-02 22:16:07 +08:00
wing328
d6158c4c55
fix uuid for java, php, ruby and csharp
2016-05-02 22:06:33 +08:00
Jim Schubert
aa778edbd8
[csharp] Regenerate sample client
...
In this commit, FormatTest.cs was modified manually. Unrelated to this
commit, a Guid with default parameter of null was not marked nullable.
2016-05-01 20:28:50 -04:00
Jim Schubert
7d8df7ef93
Merge remote-tracking branch 'origin/master' into csharp_default_paths
2016-05-01 20:16:47 -04:00
Jim Schubert
7b578a4c4e
Update C# client structure using common standards
...
Aligns C# project outputs more with community accepted standards and
leverges Nuget for package management.
This also moves the generated C# sample code out of the test project's
Lib folder. The output structure here was causing some issues with
maintainability (e.g. had to update test project with generated code).
(see: https://gist.github.com/davidfowl/ed7564297c61fe9ab814 )
Output for a project, IO.Swagger will now look like:
.
├── IO.Swagger.sln
├── README.md
├── bin
├── build.bat
├── build.sh
├── docs
├── packages
└── src
├── IO.Swagger
│ └── packages.config
└── IO.Swagger.Test
└── packages.config
This is a change from the Java-like src/main/csharp/IO/Swagger/etc
structure and will be a breaking change for some.
2016-05-01 20:03:45 -04:00
Neil O'Toole
5fdf615de7
Issue #2478 - generated code now conforms more closely to conventions
2016-05-01 14:41:40 +01:00
Guo Huang
56d1b896b7
enable testing array after resty fixed their issue
2016-04-30 23:35:04 -07:00
Guo Huang
e6fb2507a4
changed go client to return object pointer
2016-04-30 23:18:59 -07:00
wing328
ab7b73ca21
update js samples
2016-05-01 12:09:23 +08:00
wing328
2d5cc50bd1
Merge branch 'master' of https://github.com/demonfiddler/swagger-codegen into demonfiddler-master
...
Conflicts:
samples/client/petstore/javascript-promise/README.md
samples/client/petstore/javascript-promise/docs/PetApi.md
samples/client/petstore/javascript-promise/docs/StoreApi.md
samples/client/petstore/javascript-promise/src/api/PetApi.js
samples/client/petstore/javascript-promise/src/index.js
samples/client/petstore/javascript/README.md
samples/client/petstore/javascript/docs/PetApi.md
samples/client/petstore/javascript/docs/StoreApi.md
samples/client/petstore/javascript/src/api/PetApi.js
samples/client/petstore/javascript/src/index.js
2016-05-01 12:05:49 +08:00
wing328
8d9a09efb1
update JS test case
2016-04-30 21:36:25 +08:00
wing328
7f09a86a1e
update wording related to git
2016-04-30 20:23:35 +08:00
wing328
83567861e0
update JS readme to use gitUserId instead
2016-04-30 20:15:45 +08:00
Guo Huang
09248bcd25
added comments for skip test
2016-04-29 16:17:18 -07:00
Guo Huang
ed219f8a9a
fix typo
2016-04-29 16:10:10 -07:00
Guo Huang
ad28879fce
changed tabs to spaces
2016-04-29 16:02:41 -07:00
Guo Huang
a6e45bf97d
added user api test
2016-04-29 15:59:21 -07:00
wing328
02e898816f
Merge pull request #2740 from wing328/ruby_not_overwrite_test
...
[Ruby] skip overwriting ruby spec files
2016-04-30 00:21:18 +08:00
wing328
cd377ba69c
Merge pull request #2732 from guohuang/package-name2
...
added packageName in the codegen option
2016-04-29 22:33:50 +08:00
wing328
92d39ec0ab
Merge pull request #2738 from Vrolijkx/master
...
Adding generation of packaging information for typescript nodeJs app.
2016-04-29 22:30:54 +08:00
wing328
b021bd5ed8
Merge pull request #2737 from guohuang/pom-update
...
updated reference to use go-resty
2016-04-29 17:47:23 +08:00
wing328
0612255f95
Merge pull request #2728 from guohuang/import_bug
...
Issue #2725 : added condition to import json based on return type
2016-04-29 17:03:52 +08:00
wing328
f0906bd19a
Merge pull request #2733 from abcsun/php_parameter_validation
...
[PHP] add parameter validation in methord call
2016-04-29 16:56:52 +08:00
Kristof Vrolijkx
de5363c21b
Correcting author
2016-04-29 08:49:48 +02:00