Commit Graph

59 Commits

Author SHA1 Message Date
wing328
5f6cc62802 fix test case 2016-04-17 03:51:38 +08:00
wing328
a3c6d3af5e restore petstore.json from petstore.yaml 2016-04-17 03:25:12 +08:00
wing328
d19ed8a89b fix php test cases with petstore test yaml 2016-04-14 16:19:38 +08:00
wing328
d8963d0a85 udpate type mapping for go, fix indention in go model 2016-04-11 23:44:06 +08:00
wing328
9bd7a708ae fix typo in the spec 2016-04-10 23:14:02 +08:00
wing328
070d87a97c restore petstore.yaml 2016-04-10 23:11:42 +08:00
wing328
be13632bb4 fix csharp extra comma in constructor 2016-04-09 19:03:31 +08:00
wing328
f7affc6344 add new object to test different format 2016-04-09 19:02:31 +08:00
wing328
0be18399b6 fix tos in swagger spec 2016-04-09 18:15:22 +08:00
wing328
122df5195a add petstore yaml 2016-04-04 16:17:45 +08:00
wing328
c2cab84612 fix typo, update sinatra to use origianl petstore spec (yaml) 2016-04-04 16:17:23 +08:00
Tony Tam
4bb12871c3 added bootstrap, renamed sample 2016-04-02 18:34:58 -06:00
Arne Jørgensen
0196cdd558 [PHP] Use parent constructor when inheriting 2016-03-28 11:30:27 +02:00
wing328
9525d67cd8 use basename for swift model property 2016-03-18 12:02:26 +08:00
wing328
4b5a0a4872 beter handling of model name starting with number 2016-03-16 23:10:59 +08:00
wing328
fb5f7716db add petstore (full) yml file 2016-03-15 21:42:25 +08:00
wing328
0e45f868a0 fix base64encode in csharp, add test case 2016-03-13 00:05:32 +08:00
wing328
ac15938080 escape html spec char in model summary and value, add model to test
model and property name
2016-03-10 14:35:16 +08:00
wing328
855f46fed0 add api and model documentation 2016-03-08 16:24:16 +08:00
wing328
b5c0f17a02 update php to handle object type and add more test case 2016-03-05 14:25:01 +08:00
wing328
c51f4c629e to fix #2306 2016-03-04 12:08:57 +08:00
wing328
1f2026576f Merge pull request #2297 from xhh/object-without-properties
Do not generate models for "object" type with no properties
2016-03-03 17:10:34 +08:00
wing328
d28f860343 Merge pull request #2202 from traviscollins/master
Added discriminator support to Objective-C
2016-03-03 14:25:07 +08:00
xhh
f9cc29fb74 Update petstore to use an inline model for testing
and add test cases to Java clients for "object" type with no properties.
2016-03-03 12:48:44 +08:00
xhh
7bea6da587 Do not generate models for "object" type with no properties
Also updated the petstore sample to include operations to cover the case
in model property and response, and updated Java clients to sync with
it.

Closes #2237
2016-03-02 21:12:27 +08:00
Vivin Paliath
c3c73b8dae issue #1347
This is a fix to support enums in query parameters. Enum-related information was not being stored on `CodegenParameter` previously; it is now. Test cases have been added to make sure that the enum information is being properly processed from the model.
2016-02-26 08:37:09 -07:00
xhh
52c9d67025 Update petstore spec and fix tests 2016-02-25 12:20:17 +08:00
wing328
2ed02ee187 better handling of reserved keyword in perl 2016-02-24 21:57:29 +08:00
Travis Collins
6a1f3f45b1 Added discriminator implementation by overriding NSDictionary initWithDictionary and returning the appropriate class. 2016-02-21 22:08:49 -05:00
wing328
890b7d17e3 add readonly property support to C# 2016-02-21 22:36:04 +08:00
wing328
a4825d8142 add multi auth setting (based on #1961) 2016-02-16 17:17:42 +08:00
wing328
e0f43c1c58 add binary support to C# client 2016-01-11 00:45:57 +08:00
Tony Tam
19c81bf7bd fix, tests for #1822 2016-01-06 05:29:44 -08:00
wing328
5638027179 remove downloadImage from petstore.json 2015-12-26 16:15:58 +08:00
hacki11
5f13484157 - add downloadImage to Petstore
- fixed equal instead of ':' after Content-Disposition
- added definition of file (swagger-maven-plugin generates them)
2015-12-17 00:14:21 +01:00
Tony Tam
bade71c6ba merged 2015-10-20 10:59:20 -07:00
Tony Tam
10a9c62e2b merged 2015-10-20 10:57:36 -07:00
wing328
b82333aea4 Add support for top-level consumes and produces
This reverts commit 0b4b5e8839.
2015-10-17 16:30:19 +08:00
Tony Tam
ad1626ad2d added yaml sample 2015-10-16 18:22:13 -07:00
xhh
02a9fe2618 Add more test cases for global security 2015-10-16 10:30:26 +08:00
xhh
e4e77d03f5 Add test cases for global security 2015-10-14 20:40:10 +08:00
russellb337
6d7557971b switch Generate to use CodegenConfigurator 2015-09-02 09:28:40 -07:00
russellb337
e5811ebdc7 expose more generate options in the cli 2015-08-26 17:38:51 -07:00
b_sapir
c177cf75d2 Support binary input and output (for body parameters or responses with type "string" and format "binary". Implemented for Java. 2015-08-24 15:04:10 +03:00
Ron
1c2d0656b0 Code reformatting 2015-06-07 11:56:08 -04:00
Ron
22d7db2cb4 url changes 2015-06-07 11:46:11 -04:00
Ron
96107193e9 updated reverb references 2015-06-07 11:18:49 -04:00
Tony Tam
ee145aebe7 Merge pull request #743 from lugaru1234/model_ids_with_dots
Fixed #593: Python code failure caused by Model IDs with dots has been fixed
2015-05-20 22:27:53 -07:00
Tony Tam
0c1bdc0fd6 merged 2015-05-20 21:48:03 -07:00
Nadezhda Makarkina
3dde19bb59 Fixed #593: Python code failure caused by Model IDs with dots has been fixed 2015-05-19 14:31:42 +03:00