Tony Tam
c1d51266b3
fixed version
2015-04-08 04:51:54 -06:00
Tony Tam
b85c8bbe7f
rebuilt client
2015-04-06 08:08:36 -06:00
Tony Tam
e8ae9178af
merged
2015-04-06 08:02:37 -06:00
Tony Tam
12d4e812a6
removed samples
2015-04-06 08:02:02 -06:00
Tony Tam
07030e1f42
Merge branch 'develop_2.0'
2015-04-06 08:01:24 -06:00
Tony Tam
c04f947a85
prepare for release
2015-04-06 08:00:16 -06:00
Tony Tam
d55aaffc48
Merge pull request #597 from wing328/php_package
...
Updated PHP codegen to support packaging via Composer
2015-04-06 07:44:00 -06:00
Tony Tam
b9514a40de
Merge pull request #585 from wing328/ruby_fix_path_variable
...
Fixed Ruby path variable url-encoded twice, removed duplicated path variable replacement
2015-04-06 07:42:58 -06:00
William Cheng
ed43a38db2
Merge branch 'ruby_fix_path_variable' of https://github.com/wing328/swagger-codegen into ruby_fix_path_variable
2015-04-06 19:06:50 +08:00
William Cheng
2967cc3801
moved store spec into a separate file, update order id to 5 (as the
...
order with ID 2 is no longer found)
2015-04-06 19:05:19 +08:00
William Cheng
9c5153e8c8
fix test cases
2015-04-06 18:52:30 +08:00
William Cheng
0a4fc6a40f
update ruby petstore sample
2015-04-06 18:52:30 +08:00
William Cheng
a717aba826
fixed path variable double uri-encoded issue
2015-04-06 18:52:30 +08:00
wing328
5c335beb60
removed description testing for Category
2015-04-06 18:28:43 +08:00
wing328
8d6d1cb329
recovered APIclient due to merge
2015-04-06 18:10:43 +08:00
wing328
6b2035e353
Merge branch 'php_package' of https://github.com/wing328/swagger-codegen into php_package
...
Conflicts:
modules/swagger-codegen/src/main/resources/php/APIClient.mustache
samples/client/petstore/php/SwaggerPetstore-php/lib/APIClient.php
samples/client/petstore/php/SwaggerPetstore-php/lib/PetApi.php
samples/client/petstore/php/SwaggerPetstore-php/lib/StoreApi.php
samples/client/petstore/php/SwaggerPetstore-php/lib/UserApi.php
samples/client/petstore/php/SwaggerPetstore-php/lib/models/Category.php
samples/client/petstore/php/SwaggerPetstore-php/lib/models/Order.php
samples/client/petstore/php/SwaggerPetstore-php/lib/models/Pet.php
samples/client/petstore/php/SwaggerPetstore-php/lib/models/Tag.php
samples/client/petstore/php/SwaggerPetstore-php/lib/models/User.php
2015-04-06 18:05:10 +08:00
wing328
3811a5a209
resolve conflict during rebase
2015-04-06 18:03:15 +08:00
wing328
c1046cc87b
add php packaging support
2015-04-06 17:59:42 +08:00
Tony Tam
2bb42a1147
updated version
2015-04-05 16:12:04 -07:00
Tony Tam
1b4367ffba
updated readme
2015-04-05 13:50:49 -07:00
Tony Tam
b4df8477d8
updated parser version
2015-04-05 13:48:48 -07:00
Tony Tam
27c7e69fba
updated templates
2015-04-05 13:42:20 -07:00
Tony Tam
5a5bb6edbf
Merge branch 'geekerzp-develop_2.0_objc_form_params' into develop_2.0
2015-04-04 22:12:41 -07:00
Tony Tam
448462552f
updated logic, merged
2015-04-04 22:12:30 -07:00
Tony Tam
14cbc2d90d
Merge branch 'develop_2.0_objc_form_params' of https://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_form_params
2015-04-04 21:34:26 -07:00
Tony Tam
dfa2c22e0c
Merge pull request #566 from geoand/Apache_HttpClient_Connection_Manager
...
Switched SingleClientConnManager with ThreadSafeClientConnManager.
2015-04-04 21:33:38 -07:00
Tony Tam
a57588caa1
Merge pull request #588 from wing328/csharp_response_warning
...
Eliminated warning related to response in CSharp API files
2015-04-04 21:00:31 -07:00
Tony Tam
fad7246e05
removed file
2015-04-04 20:59:57 -07:00
Tony Tam
a0c9296ee8
name rebuilds, tests
2015-04-04 20:04:10 -07:00
Tony Tam
0c2e464c71
updated jetty version
2015-04-04 17:49:36 -07:00
Tony Tam
15236ef376
updated ruby template
2015-04-04 17:45:22 -07:00
Tony Tam
950bfff1c1
fixed serialization of arrays
2015-04-04 17:20:18 -07:00
Tony Tam
bba91c7e92
added android tests
2015-04-04 17:20:04 -07:00
Tony Tam
33c87e8e72
added sample
2015-04-04 17:02:16 -07:00
Tony Tam
ba2ccf788c
name rebuilds, tests
2015-04-04 17:00:22 -07:00
Tony Tam
e114875f02
updated test
2015-04-04 16:58:28 -07:00
Tony Tam
09346c761b
added script
2015-04-04 16:28:53 -07:00
Tony Tam
f0e41bf43e
template updates
2015-04-04 16:28:43 -07:00
Tony Tam
9c75304832
updated to overwrite files
2015-04-04 16:28:33 -07:00
Tony Tam
02fd96a24a
added spring-mvc sample
2015-04-04 13:46:35 -07:00
Tony Tam
568ca26747
renamed folder
2015-04-04 11:53:02 -07:00
Tony Tam
1e82fc5d24
removed old code
2015-04-04 11:49:40 -07:00
Tony Tam
d9f8fcb7a4
fixes for #501
2015-04-04 00:02:34 -07:00
Tony Tam
17ca7c4648
ahhhh scala
2015-04-03 23:18:03 -07:00
Tony Tam
acf2c8cc9d
removed printlns
2015-04-03 23:12:50 -07:00
Tony Tam
43c88f51c6
fixed #497
2015-04-03 23:04:18 -07:00
Tony Tam
60e5899dc3
updated codegen
2015-04-03 23:02:38 -07:00
Tony Tam
f75312105d
added property file
2015-04-03 22:41:00 -07:00
Tony Tam
610143f4ad
fix for #577 , added newline replacement
2015-04-03 22:22:31 -07:00
Tony Tam
2cc9b10a1e
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-04-03 22:15:10 -07:00
Tony Tam
f3ab28b92d
fix for #589 , escape text for parameter description
2015-04-03 22:15:00 -07:00
wing328
660d336646
fix warning related to csharp response, better code format for csharp api
2015-04-03 23:10:10 +08:00
Tony Tam
15c25c8277
Merge pull request #587 from geekerzp/develop_2.0_python_user_agent
...
Fixed user agent in python client
2015-04-03 07:34:19 -07:00
geekerzp
b4d4fa1a43
Update python sample code.
2015-04-03 18:21:33 +08:00
geekerzp
d4ac668cd4
Set default User-Agent for Python client.
2015-04-03 18:04:05 +08:00
Tony Tam
38e34e0dd6
Merge pull request #584 from wing328/ruby_fix_accept
...
Fixed Ruby header: "Accept", "Content-Type"
2015-04-02 21:56:44 -07:00
Tony Tam
9159892965
updated templates
2015-04-02 18:32:16 -07:00
Tony Tam
eda1a44fa3
updated parser
2015-04-02 18:30:00 -07:00
William Cheng
40d512fe43
fix test cases
2015-04-02 21:37:54 +08:00
William Cheng
e73957e790
update ruby petstore sample
2015-04-02 21:12:01 +08:00
William Cheng
b773d40034
fixed path variable double uri-encoded issue
2015-04-02 16:15:08 +08:00
Tony Tam
b6be19b266
Merge pull request #582 from guptasu/develop_2.0
...
Fixed the compile time error in the generated code caused due to unescaped new line characters.
2015-04-01 20:58:01 -07:00
William Cheng
1c0cb7f884
fix syntax
2015-04-02 06:12:07 +08:00
William Cheng
bc24e5e290
update ruby accept header
2015-04-02 05:23:53 +08:00
Sunny Gupta
80259fbcc4
Fixed the compile time error in the generated code caused due to unescaped new line characters.
...
Since the description text is not being escaped, if there is a new line character, it will cause a new line to be added to the source code. This can cause compile time error if the new line character is part of a string (e.g. java string) and there is no '+' sign explicitly added to the code. Note: The code was doing escapeText for properties but not for models. This patch fixes that.
2015-04-01 12:33:44 -07:00
Tony Tam
64292cdc9b
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-04-01 07:41:54 -07:00
Tony Tam
df771b5a4d
updated springfox templates
2015-04-01 07:41:45 -07:00
Tony Tam
8b8e8d70f9
Merge pull request #580 from wing328/php_content_type
...
Fix content-type and accept in PHP API
2015-04-01 07:29:57 -07:00
William Cheng
27dfa12335
remove csharp model files (lower case)
2015-04-01 17:43:36 +08:00
Tony Tam
13ee40a4b8
added test script
2015-03-31 21:48:12 -07:00
Tony Tam
df9efe5734
added script
2015-03-31 21:48:04 -07:00
Tony Tam
f142474a54
updated templates
2015-03-31 21:47:30 -07:00
Tony Tam
084d448fd4
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-31 21:00:34 -07:00
Tony Tam
1385a157e9
moved count
2015-03-31 21:00:15 -07:00
Tony Tam
fe3c3cc8bc
fix for #578
2015-03-31 20:59:57 -07:00
Tony Tam
97e44679d3
Merge pull request #579 from xhh/fix-android-datetime-pattern
...
Fix date time format for Android client
2015-03-31 20:12:59 -07:00
xhh
d5ad4c4ae7
Fix date time format for Android client
...
According to Android's docs (https://developer.android.com/reference/java/text/SimpleDateFormat.html )
the `SimpleDateFormat` class in Android does not accept `XXX` as the timezone, it uses `Z` instead.
Also updated the date time format of Android and Java clients to include milliseconds.
2015-04-01 10:22:04 +08:00
Tony Tam
6ac497d774
rebuilt
2015-03-31 16:12:42 -07:00
Tony Tam
cd2c8f6527
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-31 16:08:53 -07:00
Tony Tam
d4b9a41786
added ruby
2015-03-31 16:08:47 -07:00
Tony Tam
93fef67c7e
added required check
2015-03-31 16:08:37 -07:00
Tony Tam
f72e5907bb
formatting
2015-03-31 16:08:09 -07:00
Tony Tam
01c956caba
cleanup
2015-03-31 16:07:56 -07:00
Tony Tam
5f07fb0b03
sorted
2015-03-31 16:07:37 -07:00
Tony Tam
f17968d5b3
fixed required flag
2015-03-31 16:07:24 -07:00
Tony Tam
055c4397e9
renamed
2015-03-31 16:07:07 -07:00
Tony Tam
62a99115fc
renamed
2015-03-31 16:06:52 -07:00
Tony Tam
7483a06226
renamed
2015-03-31 16:06:46 -07:00
Tony Tam
f265ce361a
Merge pull request #556 from FindTheBest/develop_2.0
...
Python Binding Request Headers
2015-03-31 15:58:34 -07:00
Tony Tam
744952aee4
formatting
2015-03-31 15:57:50 -07:00
Tony Tam
66591f567c
Merge pull request #576 from wing328/ruby_petstore_test
...
Fix Ruby rspec
2015-03-31 15:47:54 -07:00
William Cheng
03c48af9e6
Fix content-type and accept in PHP API
2015-04-01 04:26:32 +08:00
Tony Tam
3096c6c3ce
updated versions
2015-03-31 08:47:35 -07:00
William Cheng
cb2f1e1bb1
update test case for StoreApi.getOrderById (id: 1 => 2)
2015-03-31 14:37:59 +08:00
William Cheng
59140bd3f3
remove commented unused code from response spec
2015-03-31 14:17:58 +08:00
James Ebentier
ce700b9421
Fixing one more issue with the defaultHeaders merging and removing unnecessary code
2015-03-30 12:47:56 -07:00
James Ebentier
761ab22f08
Adding Self to setDefaultHeader method signature
2015-03-30 12:28:17 -07:00
William Cheng
0ee39c67fe
fix rspec, update ruby client default configuration
2015-03-31 01:28:33 +08:00
James Ebentier
148b2daaa3
Python Formatting: removing semicolons from the python code
2015-03-30 08:42:12 -07:00
geekerzp
a927d679f0
fixed issue that it throw exceptions when request with form parameters
...
in objective-c client
2015-03-30 17:42:47 +08:00
Tony Tam
a4ce6d7074
updated scripts
2015-03-29 20:55:26 -07:00
Tony Tam
3739d2876e
removed file
2015-03-29 20:50:23 -07:00
Tony Tam
0c50d9807e
added jaxrs
2015-03-29 20:50:10 -07:00
Tony Tam
5e83b6602e
updated templates for baseName
2015-03-29 20:49:51 -07:00
Tony Tam
5ab425e82d
rebuilt
2015-03-29 20:42:20 -07:00
Tony Tam
b5be12a25b
Merge branch 'wing328-add_csharp_codegen' into develop_2.0
2015-03-29 20:03:25 -07:00
Tony Tam
367f81d52d
Merge branch 'add_csharp_codegen' of https://github.com/wing328/swagger-codegen into wing328-add_csharp_codegen
2015-03-29 20:03:16 -07:00
Tony Tam
b10445f3f6
Merge pull request #561 from wing328/ruby_doc
...
Update ruby api files with better documentation
2015-03-29 19:58:21 -07:00
Tony Tam
1e7862a466
Merge pull request #574 from geekerzp/develop_2.0_python_urlencode
...
Fixed issue that query parameters double url encoded in python client
2015-03-29 19:56:02 -07:00
Tony Tam
943efce971
rebuilt
2015-03-29 19:43:29 -07:00
Tony Tam
e7675e48ed
updated snapshot
2015-03-29 19:42:12 -07:00
Tony Tam
63efc4f442
removed println
2015-03-29 19:41:58 -07:00
Tony Tam
a5c92be360
updated sample
2015-03-29 19:41:37 -07:00
Tony Tam
8de8f48679
fix for Optional
2015-03-29 19:41:24 -07:00
Tony Tam
63fae85ff4
updated sample
2015-03-29 19:40:54 -07:00
geekerzp
8f6afda99a
fixed issue that query parameters double url encoded
2015-03-30 10:34:01 +08:00
Tony Tam
510254e5a3
fixed required flag
2015-03-29 19:17:54 -07:00
wing328
9981daad61
add back php petstore samples
2015-03-30 09:39:37 +08:00
wing328
c1824b5387
fix parameter name in API, update petstore sample
2015-03-30 09:31:49 +08:00
Tony Tam
517c0a4f52
Merge pull request #558 from geekerzp/develop_2.0_objc_jsonmodel
...
Add JSONModel to objective-c client
2015-03-29 08:53:14 -07:00
Tony Tam
cab50ccb59
Merge pull request #548 from xhh/java-android-user-agent
...
Set default User-Agent for Java and Android clients
2015-03-29 08:52:56 -07:00
Tony Tam
e51f548807
Merge pull request #559 from wing328/java_doc
...
Update Java documentation for methods (endpoints)
2015-03-29 08:52:32 -07:00
Tony Tam
8a214838e5
Merge pull request #565 from wing328/php_doc
...
Update PHP documentation for method
2015-03-29 08:52:01 -07:00
geekerzp
37118cab47
Merge branch 'develop_2.0' into develop_2.0_objc_jsonmodel
...
Conflicts:
samples/client/petstore/objc/PetstoreClient/PetstoreClientTests/PetApiTest.m
2015-03-29 18:15:02 +08:00
geekerzp
e6d7517e63
Update api-body.mustache, api-header.mustache,
...
apiBodyResponseWithContainer.mustache and apiNonPrimitiveResponse.mustache
templates in objective-c client.
* Update `asDictionary` method to `toDictionary` method which provided by
JSONModel.
* Update `initWithValues` method to `initWithDictionary` method which
provided by JSONModel.
2015-03-29 18:06:52 +08:00
xhh
90db8e2147
Add setUserAgent method to Java and Android clients
2015-03-29 09:55:20 +08:00
xhh
65883a5d85
Set default User-Agent for Java and Android clients
2015-03-29 09:55:19 +08:00
Tony Tam
7383520639
added objc target
2015-03-28 10:48:18 -07:00
Tony Tam
49e9c74324
Merge pull request #572 from swagger-api/issue-567
...
Issue 570
2015-03-28 10:46:17 -07:00
Tony Tam
492ab20c00
fix for issue 567, added reserved words, rebuilt client
2015-03-28 10:42:02 -07:00
Tony Tam
92621f2f2d
fix for issue 567, added reserved words, rebuilt client
2015-03-28 10:41:51 -07:00
Tony Tam
f2ce5ef273
Merge pull request #571 from lanwen/cli-doc
...
update docs and bash about CLI usage, deprecate old cli classes
2015-03-28 08:50:46 -07:00
William Cheng
836f7ecb95
rebase with develop_2.0
2015-03-28 22:55:15 +08:00
MerkushevKirill
0dcd307333
update docs and bash about CLI usage, deprecate old cli classes
...
(after #547 )
2015-03-28 12:34:44 +03:00
William Cheng
c2b3e68f8c
rebase on develop_2.0
2015-03-28 16:48:07 +08:00
William Cheng
11c8e2268a
Merge branch 'java_doc' of https://github.com/wing328/swagger-codegen into java_doc
2015-03-28 16:48:02 +08:00
William Cheng
a12cc1c544
remove {{newline}} as it has no impact at all
2015-03-28 16:43:16 +08:00
William Cheng
27e1b1c4b2
update java doc
2015-03-28 16:43:15 +08:00
Tony Tam
a62cd193ad
Merge pull request #569 from swagger-api/issue-567
...
updated camelize function for #567
2015-03-27 23:23:02 -07:00
Tony Tam
0686a91690
updated camelize function for #567
2015-03-27 23:18:54 -07:00
Tony Tam
4f6d5f6265
Merge pull request #568 from swagger-api/feature/objc-templates
...
Feature/objc templates
2015-03-27 23:04:16 -07:00
Tony Tam
99271e77ab
added multi-param args
2015-03-27 22:55:06 -07:00
Tony Tam
c9a2a14da5
added queryParamCollection
2015-03-27 22:17:50 -07:00
Tony Tam
236a1147b7
minor comment
2015-03-27 09:53:40 -07:00
gandrianakis
7eba8670e3
Switched SingleClientConnManager with ThreadSafeClientConnManager.
...
The SingleClientConnManager cannot be used safely in multi-threaded environments
2015-03-27 18:41:16 +02:00
William Cheng
bdd1d1621f
remove {{newLine}} and replace tab wtih 2 spaces
2015-03-27 23:55:26 +08:00
Tony Tam
98c8f867e5
enabled java test
2015-03-27 08:52:22 -07:00
William Cheng
bfb35aa3ee
remove {{newline}} as it has no impact at all
2015-03-27 23:49:27 +08:00
William Cheng
6ab51bcb4e
remove tab with 2 spaces in php api template
2015-03-27 23:11:13 +08:00
William Cheng
1c547e9598
update php documentation
2015-03-27 22:40:59 +08:00
geekerzp
19c05eefab
Merge branch 'develop_2.0' into develop_2.0_objc_jsonmodel
...
Conflicts:
pom.xml
2015-03-27 17:27:58 +08:00
Tony Tam
3d12c8847f
Merge pull request #562 from swagger-api/feature/java-client
...
Feature/java client
2015-03-26 23:31:47 -07:00
Tony Tam
5d6d563a8e
updated versions
2015-03-26 23:17:17 -07:00
Tony Tam
442be8624c
rebuilt client, added tests
2015-03-26 23:10:10 -07:00
Tony Tam
287bb7d936
fixed builder, error msg
2015-03-26 23:09:47 -07:00
Tony Tam
ddb1d6e0d3
removed 404 handling
2015-03-26 23:09:29 -07:00
Tony Tam
8b98a92805
adds tests, fixes for java templates
2015-03-26 20:32:59 -07:00
William Cheng
8b4a077f8a
Merge branch 'ruby_doc' of https://github.com/wing328/swagger-codegen into ruby_doc
2015-03-27 02:12:33 +08:00
William Cheng
3d53cfc298
better ruby method argument format
2015-03-27 02:11:49 +08:00
William Cheng
fb2ab79455
update ruby doc
2015-03-27 02:11:49 +08:00
William Cheng
731bfc1fc6
Merge branch 'java_doc' of https://github.com/wing328/swagger-codegen into java_doc
2015-03-27 02:00:05 +08:00
William Cheng
ae52a62c09
update java doc
2015-03-27 01:59:05 +08:00
William Cheng
9ba1398831
better ruby method argument format
2015-03-26 20:20:28 +08:00
William Cheng
a4690d76db
update ruby doc
2015-03-26 19:55:48 +08:00
William Cheng
fe11b064af
update java doc
2015-03-26 16:27:00 +08:00
Tony Tam
a2dc767559
Update .travis.yml
2015-03-25 20:57:48 -07:00
geekerzp
93e19e48db
update swagger-core version to 1.5.4-M1-SNAPSHOT
2015-03-26 11:23:47 +08:00
geekerzp
fbe069cf5c
add jsonmodel in objective-c client
2015-03-26 10:07:33 +08:00
Tony Tam
20add5b58e
updated tests, jetty
2015-03-25 16:16:03 -07:00
Tony Tam
b7c2c3448e
renamed package
2015-03-25 12:12:04 -07:00
Tony Tam
f577345b14
fixed examples, readme
2015-03-25 12:11:40 -07:00
James Ebentier
bf46da7c14
Python: modifying request headers in ApiClient to act like those in Java and PHP
2015-03-25 11:44:46 -07:00
Tony Tam
d2f5b9ea65
added recursion check
2015-03-25 11:11:04 -07:00
Tony Tam
e8052f0505
Merge pull request #550 from swagger-api/feature/ios-templates
...
added command-line tests
2015-03-25 09:27:42 -07:00
Tony Tam
be373f88d4
fixed test errors
2015-03-25 09:27:12 -07:00
Tony Tam
ceffa10ab7
added command-line tests
2015-03-24 23:24:13 -07:00
Tony Tam
b36f3c98ca
Merge pull request #547 from lanwen/cli
...
add - new command line interface in distribution module
2015-03-24 20:34:34 -07:00
Tony Tam
f459982560
Merge pull request #549 from swagger-api/feature/ios-templates
...
Feature/ios templates
2015-03-24 19:59:54 -07:00
Tony Tam
56104566fc
added void response
2015-03-24 19:57:51 -07:00
Tony Tam
85463f049c
rebuilt sample
2015-03-24 19:56:45 -07:00
Tony Tam
30acfc1869
added sys property
2015-03-24 19:56:38 -07:00
Tony Tam
2ce0049ce4
updated templates to fix petstore build error
2015-03-24 19:56:28 -07:00
Tony Tam
e82ecf695d
added array support
2015-03-24 19:56:04 -07:00
Tony Tam
dc9a00809c
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-24 17:13:02 -07:00
Tony Tam
31418b3936
added property for app name
2015-03-24 17:12:20 -07:00
Tony Tam
db14a3fd05
added property for app name
2015-03-24 17:02:12 -07:00
Tony Tam
de0e108d27
added property for app name
2015-03-24 17:02:03 -07:00
Tony Tam
b8cd52aa07
Merge pull request #540 from lanwen/develop_2.0
...
rft - only codestyle, remove wildcard imports and use string-utils from apache
2015-03-24 16:56:01 -07:00
Tony Tam
16403950d5
Merge pull request #545 from wing328/ruby_better_naming
...
Update ruby codgen for better naming convention
2015-03-24 16:53:20 -07:00
MerkushevKirill
8ba444141e
add - new command line interface in distribution module
...
can replace Codegen and MetaGenerator classes. Provides a bit different cli interface
based on refactored pom from #541 ,
affects #349
```
usage: swagger <command> [<args>]
The most commonly used swagger commands are:
generate Generate code with chosen lang
help Display help information
langs Shows available langs
meta MetaGenerator. Generator for creating a new template set and configuration for Codegen. The output will be based on the language you specify, and includes default templates to include.
```
**generate** and **meta** commands have same as current cli options
2015-03-25 01:59:55 +03:00
William Cheng
fb3e44ecc4
break down ruby reservedWord list into multiple lines
2015-03-24 16:34:41 +08:00
William Cheng
8107162540
update ruby codgen for better naming convention
2015-03-24 16:24:31 +08:00
MerkushevKirill
ee096569c4
rft - only codestyle with indents, remove wildcard imports and use string-utils from apache
2015-03-24 11:13:01 +03:00
Tony Tam
81e1fd53e2
Merge pull request #544 from geekerzp/develop_2.0_python_key_map
...
Support attribute key mapping in python client
2015-03-23 22:18:25 -07:00
geekerzp
07237f8eb9
add model attribute name json key mapping in python clent
2015-03-24 11:55:20 +08:00
Tony Tam
9442e23fd9
Merge pull request #543 from wing328/remove_old_php_sample
...
Remove old model files in PHP petstore
2015-03-23 20:35:13 -07:00
Tony Tam
fe82d7dc05
Merge pull request #542 from mrwanny/fix_MissingTag_StringIndexOutOfBoundsException
...
fix StringIndexOutOfBoundsException when tag is not provided
2015-03-23 16:22:01 -07:00
Wanny
915fcf9b92
fix cleanup
2015-03-23 16:08:26 -07:00
Wanny
31e8d58b1d
fix StringIndexOutOfBoundsException when tag is not provided
2015-03-23 15:29:39 -07:00
William Cheng
87b85e5b93
remove old php model files
2015-03-24 02:33:08 +08:00
Tony Tam
823ac04abb
Merge pull request #534 from Juliens/master
...
add version in properties
2015-03-23 08:47:06 -07:00
Tony Tam
0cf1c3c74a
Merge pull request #536 from wing328/android_better_naming
...
better naming convention for android-java codegen
2015-03-23 08:44:01 -07:00
William Cheng
fd602af180
better naming convention for android-java codegen
2015-03-23 15:41:24 +08:00
Tony Tam
048bea6249
Merge pull request #535 from wing328/java_beter_naming
...
Better variable and model property naming for Java
2015-03-22 21:19:01 -07:00
Tony Tam
601a519cb6
Merge pull request #530 from FindTheBest/master
...
PHP Request Headers and Deserialization
2015-03-22 21:17:10 -07:00
Tony Tam
f1f9805a01
Merge pull request #527 from geekerzp/develop_2.0_python
...
Support iso8601 datetime format in Python client
2015-03-22 19:35:18 -07:00
William Cheng
62d28ebca5
better variable and model property naming for java
2015-03-22 23:24:43 +08:00
Julien SALLEYRON
c46f3f9ee4
add version in properties
2015-03-21 20:12:44 +01:00
Tony Tam
f008b75e99
Merge pull request #528 from wing328/php_better_variable_naming
...
PHP better naming convention
2015-03-21 08:18:46 -07:00
Tony Tam
38204b2237
Merge pull request #531 from geekerzp/develop_2.0_python_datetime
...
Update santizeForSerialization to normalize parameters for Python client
2015-03-21 08:18:00 -07:00
Tony Tam
d71785470b
Merge pull request #532 from xhh/android-form-params
...
Add support of form parameter to Android client
2015-03-21 08:16:20 -07:00
xhh
b5a4d5be04
Add support of form parameter to Android client
...
* Handle form parameters in a way similar to Java client.
* Handle file uploading.
* Normalize query, header and form parameters with the
ApiInvoker.parameterToString method, which formats Date value to ISO 8601.
2015-03-21 22:20:28 +08:00
geekerzp
f085860eb1
Update sanitizeForSerialization to sanitize parameters to Python client
...
* Refactor santizeForSerialzation to static method.
* Sanitize header/query/form/body parameters.
* Sanitize datetime.datetime and datetime.date to iso8601 format string.
* Sanitize swagger model to dict.
2015-03-21 14:58:32 +08:00
James Ebentier
8323fdf8e8
Fixing deserialization bug in PHP bindings
2015-03-20 15:35:09 -07:00
James Ebentier
0c3f06604d
Correcting spelling error in comment
2015-03-20 14:54:53 -07:00
James Ebentier
e782ea2c05
Default Headers: allowing the setting of defaultHeaders on ApiClient
2015-03-20 14:45:12 -07:00
Tony Tam
9062016bf0
Merge pull request #529 from mrwanny/add_springdox
...
Add server codegen for springdox
2015-03-20 14:17:31 -07:00
Wanny
2301e604b3
clean up README.md
2015-03-20 13:53:07 -07:00
Wanny
34eab98ce4
Merge branch 'develop_2.0' into add_springdox
2015-03-20 13:47:08 -07:00
Wanny
00c1018d79
add basi Springdox server generation
2015-03-20 13:45:01 -07:00
William Cheng
c36e5a96fe
update php codegen with better naming convention
2015-03-20 21:56:41 +08:00
geekerzp
c024a4c099
use dateutil to parse string to datetime in python
2015-03-20 14:38:18 +08:00
Tony Tam
92e5574ec1
Merge pull request #526 from swagger-api/feature/example-generator
...
Feature/example generator
2015-03-19 15:49:47 -07:00
Tony Tam
cdf8648d3b
made noservice option
2015-03-19 14:59:32 -07:00
Tony Tam
de56f76284
rebuilt sample
2015-03-19 14:52:45 -07:00
Tony Tam
ae1d43dc84
added more instructions, service template
2015-03-19 14:47:43 -07:00
Tony Tam
531e2d7032
added example generator, updated signatures to match
2015-03-19 14:45:22 -07:00
Tony Tam
32fe6b0333
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-19 09:04:16 -07:00
Tony Tam
75714ac518
added default for filename generation
2015-03-19 09:04:12 -07:00
Tony Tam
8262d30202
Merge pull request #459 from geoand/objc-dictionary-fix-dev2_0
...
Fixed bug that prevented Objective-C code from compiling when using a Sw...
2015-03-19 08:52:25 -07:00
Tony Tam
d332cdf200
Merge pull request #522 from wing328/ruby_user_agent
...
Fix User-Agent in Ruby API cleint
2015-03-19 08:32:59 -07:00
Tony Tam
f6c18cd50f
Merge pull request #524 from wing328/php_property_mapping
...
Add Attribute Mapping to PHP model
2015-03-19 08:28:02 -07:00
William Cheng
ab8d62214a
add attributemap to php model, update php petstore sample
2015-03-19 20:58:22 +08:00
William Cheng
a149bb9120
update ruby petstore example
2015-03-19 17:17:39 +08:00
William Cheng
02283fae46
udpate ruby api client to support user-agent
2015-03-19 17:09:27 +08:00
gandrianakis
c82b31aa61
Reintroduce objc dictionary fix to updated develop_2.0 branch
2015-03-19 11:07:54 +02:00
gandrianakis
37303745df
Merge branch 'develop_2.0' into objc-dictionary-fix-dev2_0
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/DefaultCodegen.java
2015-03-19 10:59:47 +02:00
gandrianakis
e5357df67a
Merge remote-tracking branch 'upstream/master' into objc-dictionary-fix-dev2_0
2015-03-19 10:45:27 +02:00
Tony Tam
c109c11bea
added yaml output
2015-03-18 23:26:45 -07:00
Tony Tam
3a8c798596
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-18 23:25:48 -07:00
Tony Tam
9311bdf972
added yaml generator
2015-03-18 23:24:47 -07:00
Tony Tam
925caa223a
Merge pull request #482 from FindTheBest/master
...
Python: fixing an issue in swagger python code generation
2015-03-18 22:59:26 -07:00
Tony Tam
95e7265bd7
Merge pull request #498 from burmanm/issue_495
...
Fix NPE with resourcePath = /, issue #495
2015-03-18 22:58:45 -07:00
Tony Tam
93afc3bd95
Merge pull request #516 from wing328/ruby_header_param
...
Bug fix for ruby header parameter and better code format
2015-03-18 22:58:31 -07:00
Tony Tam
cbdb31048e
updated to release version
2015-03-18 22:40:41 -07:00
Tony Tam
6b1f176a66
Merge pull request #417 from Helmsdown/additional-codegen-properties
...
Add API Version to Codegen Additional Properties
2015-03-18 17:05:59 -07:00
Tony Tam
f2ee9b39e9
Merge pull request #519 from swagger-api/feature/swagger-tools
...
updated nodejs server to swagger-tools, supports 2.0 spec
2015-03-18 16:30:57 -07:00
Tony Tam
b6e5c55817
updated nodejs server to swagger-tools, supports 2.0 spec
2015-03-18 16:10:54 -07:00
Tony Tam
963d92e23f
Merge pull request #518 from cchafer/add_response_headers
...
Add defined response headers in CodegenResponse. at this time, only the ...
2015-03-18 14:10:08 -07:00
Camille Chafer
081757c592
headers list is CodegenResponse is always defined (no null list)
2015-03-18 19:01:45 +01:00
Camille Chafer
ac78c15fbf
Add defined response headers in CodegenResponse. at this time, only the headers of the 'default' response are included in the operation.
2015-03-18 18:38:27 +01:00
Tony Tam
dd78de1ed8
updated basePath, contextPath
2015-03-18 09:34:38 -07:00
Tony Tam
64fbcb6045
rebuilt client
2015-03-18 09:34:19 -07:00
Tony Tam
86c6892eb6
rebuilt samples
2015-03-18 09:32:45 -07:00
Tony Tam
9cfbd8bde0
updated sample
2015-03-18 09:32:18 -07:00
Tony Tam
1e1d193556
Merge pull request #517 from xhh/java-param-to-str
...
Add parameterToString to normalize parameters for Java client
2015-03-18 07:12:32 -07:00
xhh
f8a5e900f8
Add parameterToString to normalize parameters for Java client
...
* Convert values to string for query/header/form parameters.
* For parameter of type Date, convert to ISO 8601 format.
* Also add utility methods to parse date in ISO 8601 format.
2015-03-18 18:58:13 +08:00
William Cheng
d0dcb2fb43
fix bug with ruby header parameter, remove extra linebreak in generated
...
code
2015-03-18 16:33:00 +08:00
Tony Tam
bb45790375
Merge pull request #513 from wing328/add_ruby_to_readme
...
update README with ruby on the codegen usage
2015-03-17 17:51:54 -07:00
Tony Tam
369689d001
merged
2015-03-17 16:30:59 -07:00
Tony Tam
df39fe5d08
added Json schema fields
2015-03-17 16:30:42 -07:00
sosso
b73340ab83
Java: properly add request headers
...
https://jersey.java.net/nonav/apidocs/1.8/jersey/com/sun/jersey/api/client/PartialRequestBuilder.html#header (java.lang.String, java.lang.Object)
We were running into issues with our headers not making it into our requests. Upon some research, it appears that Jersey's header() method returns the builder object, meaning we have to do this assignment to properly construct the request. After making the change, our requests work as expected.
2015-03-17 11:39:32 -07:00
William Cheng
a1d02785af
update README with ruby on the codegen usage
2015-03-18 00:14:39 +08:00
Tony Tam
4f32e9dbff
Merge pull request #502 from FindTheBest/develop_2.0
...
PHP Generated Models
2015-03-17 08:51:02 -07:00
Tony Tam
b6ca69f57a
Merge pull request #510 from xhh/patch-2
...
update null comparison for query params in Java
2015-03-17 07:10:52 -07:00
Tony Tam
62992c2de1
Merge pull request #509 from wing328/ruby_form_parameter
...
update ruby client to support form parameters, add PATCH support
2015-03-17 07:05:09 -07:00
Xu Hui Hui
b2da6dc8a2
update null comparison for query params in Java
...
to make it clear and also allow a query parameter to be set with string value: "null" (4 characters string)
2015-03-17 16:34:01 +08:00
Tony Tam
c96853d5aa
Merge pull request #507 from cchafer/security_schemes_definition
...
Adding defintion of security schemes in CodegenSecurity
2015-03-16 22:13:19 -07:00
Tony Tam
c215d8ab91
fix and tests for #503
2015-03-16 22:10:35 -07:00
Tony Tam
46d1950fbd
removed unnecessary file
2015-03-16 21:04:21 -07:00
Tony Tam
03b764d404
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-16 20:54:14 -07:00
Tony Tam
a8aebec9ba
removed description
2015-03-16 20:54:08 -07:00
Tony Tam
fd72ff56bf
fixed context path
2015-03-16 20:54:01 -07:00
Tony Tam
ebec85fd54
added context path
2015-03-16 20:53:48 -07:00
Tony Tam
fd792ef180
added more helpful error trace
2015-03-16 20:53:34 -07:00
Tony Tam
486186e042
Merge pull request #505 from wing328/php_support_user_agent
...
update User-agent in PHP API client
2015-03-16 20:44:46 -07:00
Tony Tam
8111d4e909
Merge pull request #506 from wing328/ruby_codegen
...
Add ruby codegen, update sample (petstore) for ruby
2015-03-16 19:49:21 -07:00
William Cheng
fc9d632522
update ruby client to support form parameters, add PATCH support, update
...
ruby petstore client
2015-03-17 05:24:43 +08:00
Camille Chafer
d580d294b6
Adding defintion of security schemes in CodegenSecurity
2015-03-16 11:58:29 +01:00
William Cheng
e9227ad7e5
add ruby codegen, update sample (petstore) for ruby
2015-03-16 18:47:22 +08:00
Tony Tam
156ec2a2dd
Merge pull request #485 from wing328/fix_php_string_response
...
minor bug fixes and enhancement to Swagger.php
2015-03-15 21:02:37 -07:00
William Cheng
186310b553
Merge branch 'fix_php_string_response' of https://github.com/wing328/swagger-codegen into fix_php_string_response
...
Conflicts:
modules/swagger-codegen/src/main/resources/php/Swagger.mustache
samples/client/petstore/php/Swagger.php
2015-03-15 22:08:44 +08:00
William Cheng
bcdee4e038
update php petstore sample code
2015-03-15 22:06:42 +08:00
William Cheng
6bc8de1230
rebase on develop_2.0
2015-03-15 22:02:16 +08:00
William Cheng
b8166f283a
update php to support user agent
2015-03-15 16:33:57 +08:00
Tony Tam
ad7a5967ff
Merge pull request #504 from wing328/php_param_supppor_datetime
...
PHP parameters to suppport datetime (ISO8601)
2015-03-14 22:41:54 -07:00
William Cheng
a0dc2097eb
update php api client to support datetime (iso8601) for parameters
...
(header, path, url, form)
2015-03-14 23:48:05 +08:00
James Ebentier
24842d4a29
PHP Models: fixing an issue with commas being where they shouldn't
2015-03-13 10:53:42 -07:00
James Ebentier
0854ca5ce5
PHP Models: updating the models generated for PHP styling
2015-03-13 10:53:19 -07:00
James Ebentier
6ca34e362d
PHP Models: updating the models generated for PHP to be array accessable and have a simple constructor
2015-03-13 10:51:45 -07:00
Tony Tam
470ba201d8
build error fix
2015-03-13 10:45:12 -07:00
Tony Tam
fc52ab972b
Merge pull request #494 from FindTheBest/develop_2.0
...
Fixing bug in new APIClientException
2015-03-13 09:44:02 -07:00
Tony Tam
7aca1cfb3f
Merge pull request #486 from wing328/php_fix_deserialize
...
Bug fixes for Swagger.php deserialize function
2015-03-13 09:39:50 -07:00
Ron
d9b247f302
Merge pull request #500 from jwyterlin/patch-1
...
Update README.md
2015-03-13 09:38:18 -04:00
Jhonathan Wyterlin
c1e45a5931
Update README.md
2015-03-13 10:35:59 -03:00
Michael Burman
4748af4d59
Fix NPE with resourcePath = /, issue #495
...
(cherry picked from commit 01515e4ded6fa59da87d109dd8056c1b4a64e0f7)
2015-03-13 14:38:19 +02:00
James Ebentier
575967b5de
Fixing bug in new APIClientException
...
This new exception had a typo in it for the construct class declaration.
2015-03-12 13:23:46 -07:00
Tony Tam
6c57d6a76e
Merge pull request #491 from FindTheBest/develop_2.0
...
PHP Bindings: exposing response and response info in Exceptions
2015-03-12 12:23:34 -07:00
James Ebentier
56ff34dc47
PHP Bindings: exposing response and response info to be accessible through thrown exceptions when non 200 response code is received
2015-03-12 12:12:07 -07:00
David Valdez
5b72653d7f
Update README.md
2015-03-12 12:07:24 -07:00
Tony Tam
0a949e26f0
Merge pull request #487 from wing328/update_php_form
...
form parameter(single quote), add more comments
2015-03-11 08:44:26 -07:00
William Cheng
5347915c12
form parameter(single quote), add more comment
2015-03-11 21:14:17 +08:00
William Cheng
d0edb836ac
fix syntax error at 223, update array comparision (case insensitive)
2015-03-11 15:47:28 +08:00
James Ebentier
c75cd55e2c
Merge remote-tracking branch 'wordnik/master'
2015-03-10 13:05:16 -07:00
Tony Tam
911be4360a
Merge pull request #483 from wing328/add_patch_php
...
Add PATCH support to PHP API client
2015-03-10 11:42:57 -07:00
Tony Tam
939b4c713d
per #458
2015-03-10 11:42:31 -07:00
Tony Tam
e6abc2a881
Merge pull request #458 from djvaldez/master
...
Update README.md - fixed incorrect flag for custom generator class
2015-03-10 11:40:34 -07:00
Tony Tam
b2977cd29b
Merge pull request #477 from wing328/fix_php_basename
...
use baseName for parameter name in PHP api
2015-03-10 11:39:28 -07:00
Tony Tam
da6f0eec84
Merge pull request #481 from godaddy/develop_2.0
...
Develop 2.0 - Fix for python3 client deserialize passing wrong parameter
2015-03-10 11:38:59 -07:00
William Cheng
7555dda2bf
add logic to handle all 2xx response code, bug fix for string response,
...
bug fix for showing error message using serialize
2015-03-11 01:37:39 +08:00
William Cheng
941f6e7757
add PATCH support to PHP API client
2015-03-10 18:13:55 +08:00
Tony Tam
1887170dad
updated links
2015-03-09 18:50:23 -07:00
James Ebentier
b2cfb77222
Python: fixing an issue in swagger python code generation where attribute classes aren't respected
2015-03-09 18:18:20 -07:00
Brad Figler
5d77321dca
syncing remote 2.0 branch
2015-03-09 20:47:48 +00:00
Brad Figler
f20522a586
Merge remote branch 'upstream/master'
2015-03-09 19:10:14 +00:00
Brad Figler
17435212ed
Properly serailze the correct object type versus the parent objClass
2015-03-09 19:00:35 +00:00
Tony Tam
6207c2b5e9
fix for #475 building on java8
2015-03-09 10:09:33 -07:00
Tony Tam
b6f7f85baa
updated links
2015-03-09 09:32:22 -07:00
Tony Tam
9c77742046
updated links
2015-03-09 09:31:34 -07:00
Tony Tam
e9d0619358
updated versions
2015-03-09 08:59:16 -07:00
William Cheng
7c23eedf07
use baseName for parameter name in PHP api
2015-03-09 23:15:12 +08:00
Ron
27c6af3491
Update README.md
2015-03-07 16:34:39 -05:00
Tony Tam
dc5ee9dcf5
added reserved words
2015-03-04 20:44:26 -08:00
Tony Tam
07ff6a2278
Merge pull request #468 from cor3ntin/fix_base_path_upstream
...
Fix {{basePath}} value in support files.
2015-03-04 07:25:29 -08:00
Tony Tam
dce9a81536
Merge pull request #467 from cor3ntin/security_upstream
...
Expose Security schemes of operations.
2015-03-04 07:25:00 -08:00
Corentin Jabot
156055fdd5
Fix {{basePath}} value in support files.
...
Make {{basePath}} value in support files be the
same as in operation files, aka host/path, instead of /path.
2015-03-04 15:01:07 +01:00
Corentin Jabot
3a5c03c778
Expose Security schemes of operations.
...
A template can now refer to the type ( oath2.0, apiKey, basic )
as well as the name of the security schemes it rquires.
Usage :
{{#operations}}
{{#authMethods}}
{{type}} {{name}}
{{/authMethods}}
{{/operations}}
2015-03-04 14:54:48 +01:00
Tony Tam
9ce4156e4c
Merge pull request #455 from cchafer/responses
...
Implements CodegenResponse, and return default response in Operaiton.Responses (#293 )
2015-03-03 17:34:47 -08:00
Tony Tam
f82afe0026
Merge pull request #452 from herveDarritchon/develop_2.0
...
Defect (Issue #445 ) : change the call of initialCaps for getter and setter proper generation
2015-03-03 17:33:01 -08:00
Ron
c3bb458ed9
Merge pull request #463 from yzats/patch-3
...
Fixed spelling errors in README.md
2015-03-03 18:45:46 -05:00
yzats
5c2c8e1d76
Update README.md
...
Fix spelling errors
2015-03-03 12:42:15 -08:00
Tony Tam
ced95d658f
added instructions for the meta generator
2015-03-02 23:37:21 -08:00
Tony Tam
a724cd0780
added meta generator
2015-03-02 23:28:59 -08:00
Tony Tam
6b823b88d9
moved logic into abstract class for extensions
2015-03-02 17:29:29 -08:00
Tony Tam
8fb180133a
merged from master
2015-03-02 10:59:35 -08:00
Tony Tam
e877abf153
Merge pull request #461 from natechadwick/master
...
The --auth parameter was setup to ignore values.
2015-03-01 13:45:50 -08:00
nate
dd0ccff58a
Minor typo in help text.
2015-03-01 14:18:11 -05:00
nate
a793d5c6cc
Changed the --auth parameter to require a value so it is not ignored.
2015-03-01 14:13:08 -05:00
gandrianakis
d313d4da3f
Fixed bug that prevented Objective-C code from compiling when using a Swagger 'map' type
2015-02-27 10:11:35 +02:00
David Valdez
dfc8f7c60f
Update README.md
2015-02-26 12:42:41 -08:00
Camille Chafer
c15ac0b6d4
Each type used by any response is now added to the imports list
2015-02-25 17:12:28 +01:00
Camille Chafer
f9a16d856c
Add 'default' response (200) to responses list, and add Types to the CodegenResponse object ( #293 ). In the same time, clarify, simplfy and factorize code.
2015-02-25 16:46:33 +01:00
Camille Chafer
5713dce00a
add missing types on the Responses Object implementation( CodegenResponse.java) (part of #293 )
2015-02-25 16:39:10 +01:00
Tony Tam
23e848b437
added ignored test for #453 , nested containers
2015-02-25 07:35:05 -08:00
Tony Tam
5b01e78a72
Merge branch 'godaddy-master' into develop_2.0
2015-02-24 23:23:40 -08:00
Tony Tam
eb68d0bdbd
Merge branch 'master' of https://github.com/godaddy/swagger-codegen into godaddy-master
2015-02-24 23:23:19 -08:00
Tony Tam
05297e05a5
made annotations FQ to avoid collisions
2015-02-24 21:12:08 -08:00
Tony Tam
1a0d2d19f5
updated template
2015-02-24 18:07:13 -08:00
Tony Tam
292fc99bd5
fixed response types
2015-02-24 11:03:00 -08:00
Hervé Darritchon
b339db65be
Pull request #452 : Add some unit tests for this PR
2015-02-24 09:23:07 +01:00
Tony Tam
e5c70d5961
updated online version, added tag example
2015-02-23 23:23:37 -08:00
Hervé Darritchon
69be95d586
Defect (Issue #445 ) : change the call of initialCaps for getter and setter with Introspector.decapitalize from pakage java.beans.
2015-02-24 08:20:49 +01:00
Tony Tam
c82dfa3a64
updated version
2015-02-23 23:03:18 -08:00
Tony Tam
4fd4c17036
Merge pull request #451 from swagger-api/develop_2.0
...
Merged from develop_2.0
2015-02-23 22:51:46 -08:00
Tony Tam
4bd227271a
updated version
2015-02-23 22:45:06 -08:00
Tony Tam
5c31d68fee
updated to add resolve flag
2015-02-23 22:42:45 -08:00
Tony Tam
bfc1ed3081
added async scala generator #440
2015-02-22 08:57:40 -08:00
Tony Tam
1c7c39c1ab
added logback
2015-02-22 08:56:31 -08:00
Tony Tam
4ce0a65ad5
fix for #444 , paths on windows
2015-02-22 08:56:03 -08:00
Tony Tam
784afee7b7
prepare for next dev version
2015-02-17 22:06:25 -08:00
Tony Tam
f89e04d210
Update README.md
2015-02-17 22:04:12 -08:00
Tony Tam
12531943d0
Merge pull request #438 from swagger-api/develop_2.0
...
merged to master for patch release
2015-02-17 21:48:20 -08:00
Tony Tam
3061cd8277
put parser back to 1.0.0
2015-02-17 21:41:36 -08:00
Tony Tam
686f3656c5
updated to new patch
2015-02-17 21:38:02 -08:00
Tony Tam
9ae106affd
rebuilt clients
2015-02-17 21:37:51 -08:00
Tony Tam
2550539495
added shade plugin to properly include service descriptions
2015-02-17 18:54:57 -08:00
Tony Tam
06164cdc51
updated file separator replacement
2015-02-17 15:04:06 -08:00
Tony Tam
583a932fba
Merge pull request #436 from kreymerman/patch-python-codegen
...
Fix StringIndexOutOfBoundsException on Windows
2015-02-17 15:02:58 -08:00
Mikhail Kreymerman
fdd485608f
fixed StringIndexOutOfBoundsException on Windows
2015-02-17 23:00:23 +01:00
Tony Tam
0307d3818a
added friendly download links
2015-02-17 12:59:31 -08:00
Tony Tam
9a473ceae6
enabled url-only reading of specs
2015-02-17 12:43:10 -08:00
Tony Tam
12365b9591
removed cruft
2015-02-17 12:43:01 -08:00
Tony Tam
c832889db8
added slf4j, updated server gen logic
2015-02-17 11:15:08 -08:00
Tony Tam
39487d9917
disabled outdated routes, made languages GET method dynamic
2015-02-17 10:29:35 -08:00
Tony Tam
aa37542411
added version to make swagger valid
2015-02-17 10:29:06 -08:00
Tony Tam
279f43d697
Update README.md
2015-02-17 08:57:39 -08:00
Tony Tam
fee6de5974
Merge branch 'geoand-jackson_array' into develop_2.0
2015-02-17 07:08:55 -08:00
gandrianakis
5fa98b12b8
Fixed bug that did not allow json arrays to be deserialized by Jackson
2015-02-17 15:17:32 +02:00
Tony Tam
ff94196295
updated to snapshot version
2015-02-16 22:16:40 -08:00
Tony Tam
0195749f3b
merged
2015-02-16 22:08:52 -08:00
Tony Tam
97fca910a1
removed cruft
2015-02-16 22:06:10 -08:00
Tony Tam
577aad3364
added file
2015-02-16 22:02:27 -08:00
Tony Tam
05c6cc756c
remove cruft
2015-02-16 22:01:33 -08:00
Tony Tam
66c6662f42
cleaned up poms
2015-02-16 21:53:51 -08:00
Tony Tam
6319167464
added placeholder for javadocs
2015-02-16 21:53:43 -08:00
Tony Tam
aea2909490
Merge pull request #434 from swagger-api/develop_2.0
...
Merged from develop_2.0
2015-02-16 21:16:09 -08:00
Tony Tam
842421bb44
Merge pull request #433 from tfoxcroft/develop_2.0
...
Minor fix to cater for empty array in php
2015-02-16 21:14:56 -08:00
Terence Foxcroft
c6f10ef1ea
Minor fix to cater for empty array
2015-02-17 07:10:08 +02:00
Tony Tam
3df04839a6
Update README.md
2015-02-16 21:03:36 -08:00
Tony Tam
618b4698c2
Merge branch 'develop_2.0'
...
Conflicts:
README.md
bin/Version.scala
build.sbt
modules/swagger-codegen/src/main/resources/Java/api.mustache
modules/swagger-codegen/src/main/resources/android-java/api.mustache
modules/swagger-codegen/src/main/resources/nodejs/api.mustache
modules/swagger-codegen/src/main/resources/objc/SWGApiClient.h
modules/swagger-codegen/src/main/resources/objc/SWGApiClient.m
modules/swagger-codegen/src/main/resources/objc/SWGDate.h
modules/swagger-codegen/src/main/resources/objc/SWGDate.m
modules/swagger-codegen/src/main/resources/objc/SWGFile.m
modules/swagger-codegen/src/main/resources/objc/SWGObject.h
modules/swagger-codegen/src/main/resources/objc/SWGObject.m
modules/swagger-codegen/src/main/resources/objc/api-header.mustache
modules/swagger-codegen/src/main/resources/php/api.mustache
modules/swagger-codegen/src/main/resources/python/api.mustache
modules/swagger-codegen/src/main/resources/scala/apiInvoker.mustache
modules/swagger-codegen/src/main/resources/scala/pom.mustache
project/build.properties
samples/client/petstore/android-java/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/android-java/src/main/java/io/swagger/client/api/StoreApi.java
samples/client/petstore/android-java/src/main/java/io/swagger/client/api/UserApi.java
samples/client/petstore/scala/pom.xml
samples/client/petstore/scala/src/test/scala/PetApiTest.scala
samples/client/petstore/scala/src/test/scala/StoreApiTest.scala
samples/client/petstore/scala/src/test/scala/UserApiTest.scala
samples/client/wordnik-apiobjc/client/SWGAccountApi.h
samples/client/wordnik-apiobjc/client/SWGAccountApi.m
samples/client/wordnik-apiobjc/client/SWGApiClient.h
samples/client/wordnik-apiobjc/client/SWGApiClient.m
samples/client/wordnik-apiobjc/client/SWGApiTokenStatus.h
samples/client/wordnik-apiobjc/client/SWGAudioFile.h
samples/client/wordnik-apiobjc/client/SWGAuthenticationToken.h
samples/client/wordnik-apiobjc/client/SWGBigram.h
samples/client/wordnik-apiobjc/client/SWGCitation.h
samples/client/wordnik-apiobjc/client/SWGCitation.m
samples/client/wordnik-apiobjc/client/SWGContentProvider.h
samples/client/wordnik-apiobjc/client/SWGContentProvider.m
samples/client/wordnik-apiobjc/client/SWGDate.h
samples/client/wordnik-apiobjc/client/SWGDate.m
samples/client/wordnik-apiobjc/client/SWGDefinition.h
samples/client/wordnik-apiobjc/client/SWGDefinition.m
samples/client/wordnik-apiobjc/client/SWGDefinitionSearchResults.h
samples/client/wordnik-apiobjc/client/SWGDefinitionSearchResults.m
samples/client/wordnik-apiobjc/client/SWGExample.h
samples/client/wordnik-apiobjc/client/SWGExample.m
samples/client/wordnik-apiobjc/client/SWGExampleSearchResults.h
samples/client/wordnik-apiobjc/client/SWGExampleSearchResults.m
samples/client/wordnik-apiobjc/client/SWGExampleUsage.h
samples/client/wordnik-apiobjc/client/SWGExampleUsage.m
samples/client/wordnik-apiobjc/client/SWGFacet.h
samples/client/wordnik-apiobjc/client/SWGFacet.m
samples/client/wordnik-apiobjc/client/SWGFacetValue.h
samples/client/wordnik-apiobjc/client/SWGFacetValue.m
samples/client/wordnik-apiobjc/client/SWGFile.h
samples/client/wordnik-apiobjc/client/SWGFile.m
samples/client/wordnik-apiobjc/client/SWGFrequency.h
samples/client/wordnik-apiobjc/client/SWGFrequency.m
samples/client/wordnik-apiobjc/client/SWGFrequencySummary.h
samples/client/wordnik-apiobjc/client/SWGFrequencySummary.m
samples/client/wordnik-apiobjc/client/SWGLabel.h
samples/client/wordnik-apiobjc/client/SWGLabel.m
samples/client/wordnik-apiobjc/client/SWGNote.h
samples/client/wordnik-apiobjc/client/SWGObject.h
samples/client/wordnik-apiobjc/client/SWGObject.m
samples/client/wordnik-apiobjc/client/SWGRelated.h
samples/client/wordnik-apiobjc/client/SWGScoredWord.h
samples/client/wordnik-apiobjc/client/SWGSentence.h
samples/client/wordnik-apiobjc/client/SWGSentence.m
samples/client/wordnik-apiobjc/client/SWGSimpleDefinition.h
samples/client/wordnik-apiobjc/client/SWGSimpleExample.h
samples/client/wordnik-apiobjc/client/SWGStringValue.h
samples/client/wordnik-apiobjc/client/SWGStringValue.m
samples/client/wordnik-apiobjc/client/SWGSyllable.h
samples/client/wordnik-apiobjc/client/SWGTextPron.h
samples/client/wordnik-apiobjc/client/SWGUser.h
samples/client/wordnik-apiobjc/client/SWGWordApi.h
samples/client/wordnik-apiobjc/client/SWGWordList.h
samples/client/wordnik-apiobjc/client/SWGWordList.m
samples/client/wordnik-apiobjc/client/SWGWordListApi.h
samples/client/wordnik-apiobjc/client/SWGWordListApi.m
samples/client/wordnik-apiobjc/client/SWGWordListWord.h
samples/client/wordnik-apiobjc/client/SWGWordListsApi.h
samples/client/wordnik-apiobjc/client/SWGWordListsApi.m
samples/client/wordnik-apiobjc/client/SWGWordObject.h
samples/client/wordnik-apiobjc/client/SWGWordOfTheDay.h
samples/client/wordnik-apiobjc/client/SWGWordOfTheDay.m
samples/client/wordnik-apiobjc/client/SWGWordSearchResult.h
samples/client/wordnik-apiobjc/client/SWGWordSearchResults.h
samples/client/wordnik-apiobjc/client/SWGWordSearchResults.m
samples/client/wordnik-apiobjc/client/SWGWordsApi.h
samples/client/wordnik-apiobjc/client/SWGWordsApi.m
samples/client/wordnik-api-objc/Podfile
samples/client/wordnik-api-objc/client/SWGAccountApi.h
samples/client/wordnik-api-objc/client/SWGAccountApi.m
samples/client/wordnik-api-objc/client/SWGApiClient.h
samples/client/wordnik-api-objc/client/SWGApiClient.m
samples/client/wordnik-api-objc/client/SWGApiTokenStatus.h
samples/client/wordnik-api-objc/client/SWGApiTokenStatus.m
samples/client/wordnik-api-objc/client/SWGAudioFile.h
samples/client/wordnik-api-objc/client/SWGAudioFile.m
samples/client/wordnik-api-objc/client/SWGAuthenticationToken.h
samples/client/wordnik-api-objc/client/SWGAuthenticationToken.m
samples/client/wordnik-api-objc/client/SWGBigram.h
samples/client/wordnik-api-objc/client/SWGBigram.m
samples/client/wordnik-api-objc/client/SWGCitation.h
samples/client/wordnik-api-objc/client/SWGCitation.m
samples/client/wordnik-api-objc/client/SWGContentProvider.h
samples/client/wordnik-api-objc/client/SWGContentProvider.m
samples/client/wordnik-api-objc/client/SWGDate.h
samples/client/wordnik-api-objc/client/SWGDate.m
samples/client/wordnik-api-objc/client/SWGDefinition.h
samples/client/wordnik-api-objc/client/SWGDefinition.m
samples/client/wordnik-api-objc/client/SWGDefinitionSearchResults.h
samples/client/wordnik-api-objc/client/SWGDefinitionSearchResults.m
samples/client/wordnik-api-objc/client/SWGExample.h
samples/client/wordnik-api-objc/client/SWGExample.m
samples/client/wordnik-api-objc/client/SWGExampleSearchResults.h
samples/client/wordnik-api-objc/client/SWGExampleSearchResults.m
samples/client/wordnik-api-objc/client/SWGExampleUsage.h
samples/client/wordnik-api-objc/client/SWGExampleUsage.m
samples/client/wordnik-api-objc/client/SWGFacet.h
samples/client/wordnik-api-objc/client/SWGFacet.m
samples/client/wordnik-api-objc/client/SWGFacetValue.h
samples/client/wordnik-api-objc/client/SWGFacetValue.m
samples/client/wordnik-api-objc/client/SWGFile.h
samples/client/wordnik-api-objc/client/SWGFile.m
samples/client/wordnik-api-objc/client/SWGFrequency.h
samples/client/wordnik-api-objc/client/SWGFrequency.m
samples/client/wordnik-api-objc/client/SWGFrequencySummary.h
samples/client/wordnik-api-objc/client/SWGFrequencySummary.m
samples/client/wordnik-api-objc/client/SWGLabel.h
samples/client/wordnik-api-objc/client/SWGLabel.m
samples/client/wordnik-api-objc/client/SWGNote.h
samples/client/wordnik-api-objc/client/SWGNote.m
samples/client/wordnik-api-objc/client/SWGObject.h
samples/client/wordnik-api-objc/client/SWGObject.m
samples/client/wordnik-api-objc/client/SWGRelated.h
samples/client/wordnik-api-objc/client/SWGRelated.m
samples/client/wordnik-api-objc/client/SWGScoredWord.h
samples/client/wordnik-api-objc/client/SWGScoredWord.m
samples/client/wordnik-api-objc/client/SWGScrabbleScoreResult.h
samples/client/wordnik-api-objc/client/SWGScrabbleScoreResult.m
samples/client/wordnik-api-objc/client/SWGSentence.h
samples/client/wordnik-api-objc/client/SWGSentence.m
samples/client/wordnik-api-objc/client/SWGSimpleDefinition.h
samples/client/wordnik-api-objc/client/SWGSimpleDefinition.m
samples/client/wordnik-api-objc/client/SWGSimpleExample.h
samples/client/wordnik-api-objc/client/SWGSimpleExample.m
samples/client/wordnik-api-objc/client/SWGStringValue.h
samples/client/wordnik-api-objc/client/SWGStringValue.m
samples/client/wordnik-api-objc/client/SWGSyllable.h
samples/client/wordnik-api-objc/client/SWGSyllable.m
samples/client/wordnik-api-objc/client/SWGTextPron.h
samples/client/wordnik-api-objc/client/SWGTextPron.m
samples/client/wordnik-api-objc/client/SWGUser.h
samples/client/wordnik-api-objc/client/SWGUser.m
samples/client/wordnik-api-objc/client/SWGWordApi.h
samples/client/wordnik-api-objc/client/SWGWordApi.m
samples/client/wordnik-api-objc/client/SWGWordList.h
samples/client/wordnik-api-objc/client/SWGWordList.m
samples/client/wordnik-api-objc/client/SWGWordListApi.h
samples/client/wordnik-api-objc/client/SWGWordListApi.m
samples/client/wordnik-api-objc/client/SWGWordListWord.h
samples/client/wordnik-api-objc/client/SWGWordListWord.m
samples/client/wordnik-api-objc/client/SWGWordListsApi.h
samples/client/wordnik-api-objc/client/SWGWordListsApi.m
samples/client/wordnik-api-objc/client/SWGWordObject.h
samples/client/wordnik-api-objc/client/SWGWordObject.m
samples/client/wordnik-api-objc/client/SWGWordOfTheDay.h
samples/client/wordnik-api-objc/client/SWGWordOfTheDay.m
samples/client/wordnik-api-objc/client/SWGWordSearchResult.h
samples/client/wordnik-api-objc/client/SWGWordSearchResult.m
samples/client/wordnik-api-objc/client/SWGWordSearchResults.h
samples/client/wordnik-api-objc/client/SWGWordSearchResults.m
samples/client/wordnik-api-objc/client/SWGWordsApi.h
samples/client/wordnik-api-objc/client/SWGWordsApi.m
samples/client/wordnik-api-php/wordnik/AccountApi.php
samples/client/wordnik-api/scala/src/test/scala/AccountApiTest.scala
samples/client/wordnik-api/scala/src/test/scala/WordApiTest.scala
samples/client/wordnik-api/scala/src/test/scala/WordListApiTest.scala
samples/client/wordnik-api/scala/src/test/scala/WordsApiTest.scala
samples/client/wordnik/objc/client/SWGAccountApi.h
samples/client/wordnik/objc/client/SWGAccountApi.m
samples/client/wordnik/objc/client/SWGApiTokenStatus.h
samples/client/wordnik/objc/client/SWGAudioFile.h
samples/client/wordnik/objc/client/SWGAuthenticationToken.h
samples/client/wordnik/objc/client/SWGBigram.h
samples/client/wordnik/objc/client/SWGCitation.h
samples/client/wordnik/objc/client/SWGCitation.m
samples/client/wordnik/objc/client/SWGContentProvider.h
samples/client/wordnik/objc/client/SWGContentProvider.m
samples/client/wordnik/objc/client/SWGDefinition.h
samples/client/wordnik/objc/client/SWGDefinition.m
samples/client/wordnik/objc/client/SWGDefinitionSearchResults.h
samples/client/wordnik/objc/client/SWGDefinitionSearchResults.m
samples/client/wordnik/objc/client/SWGExample.h
samples/client/wordnik/objc/client/SWGExample.m
samples/client/wordnik/objc/client/SWGExampleSearchResults.h
samples/client/wordnik/objc/client/SWGExampleSearchResults.m
samples/client/wordnik/objc/client/SWGExampleUsage.h
samples/client/wordnik/objc/client/SWGExampleUsage.m
samples/client/wordnik/objc/client/SWGFacet.h
samples/client/wordnik/objc/client/SWGFacet.m
samples/client/wordnik/objc/client/SWGFacetValue.h
samples/client/wordnik/objc/client/SWGFacetValue.m
samples/client/wordnik/objc/client/SWGFile.h
samples/client/wordnik/objc/client/SWGFrequency.h
samples/client/wordnik/objc/client/SWGFrequency.m
samples/client/wordnik/objc/client/SWGFrequencySummary.h
samples/client/wordnik/objc/client/SWGFrequencySummary.m
samples/client/wordnik/objc/client/SWGLabel.h
samples/client/wordnik/objc/client/SWGLabel.m
samples/client/wordnik/objc/client/SWGNote.h
samples/client/wordnik/objc/client/SWGRelated.h
samples/client/wordnik/objc/client/SWGScoredWord.h
samples/client/wordnik/objc/client/SWGSentence.h
samples/client/wordnik/objc/client/SWGSentence.m
samples/client/wordnik/objc/client/SWGSimpleDefinition.h
samples/client/wordnik/objc/client/SWGSimpleExample.h
samples/client/wordnik/objc/client/SWGStringValue.h
samples/client/wordnik/objc/client/SWGStringValue.m
samples/client/wordnik/objc/client/SWGSyllable.h
samples/client/wordnik/objc/client/SWGTextPron.h
samples/client/wordnik/objc/client/SWGUser.h
samples/client/wordnik/objc/client/SWGWordApi.h
samples/client/wordnik/objc/client/SWGWordList.h
samples/client/wordnik/objc/client/SWGWordList.m
samples/client/wordnik/objc/client/SWGWordListApi.h
samples/client/wordnik/objc/client/SWGWordListApi.m
samples/client/wordnik/objc/client/SWGWordListWord.h
samples/client/wordnik/objc/client/SWGWordListsApi.h
samples/client/wordnik/objc/client/SWGWordListsApi.m
samples/client/wordnik/objc/client/SWGWordObject.h
samples/client/wordnik/objc/client/SWGWordOfTheDay.h
samples/client/wordnik/objc/client/SWGWordOfTheDay.m
samples/client/wordnik/objc/client/SWGWordSearchResult.h
samples/client/wordnik/objc/client/SWGWordSearchResults.h
samples/client/wordnik/objc/client/SWGWordSearchResults.m
samples/client/wordnik/objc/client/SWGWordsApi.h
samples/client/wordnik/objc/client/SWGWordsApi.m
samples/server-generator/node/README.md
samples/server/petstore/jaxrs/src/main/java/io/swagger/model/Pet.java
samples/server/petstore/nodejs/app/apis/PetApi.js
samples/server/petstore/nodejs/app/apis/StoreApi.js
samples/server/petstore/nodejs/app/apis/UserApi.js
sbt
src/main/resources/objc/api-body.mustache
src/main/resources/php/Swagger.mustache
src/main/resources/python/swagger.mustache
src/main/scala/com/wordnik/swagger/codegen/BasicAndroidJavaClient.scala
src/main/scala/com/wordnik/swagger/codegen/BasicGenerator.scala
src/main/scala/com/wordnik/swagger/codegen/BasicPythonGenerator.scala
src/main/scala/com/wordnik/swagger/codegen/BasicScalaGenerator.scala
src/main/scala/com/wordnik/swagger/codegen/Codegen.scala
src/main/scala/com/wordnik/swagger/codegen/ScalaAsyncClientGenerator.scala
src/main/scala/com/wordnik/swagger/codegen/model/AuthorizationModels.scala
src/main/scala/com/wordnik/swagger/codegen/spec/SwaggerSpecValidator.scala
src/main/scala/com/wordnik/swagger/codegen/util/RemoteUrl.scala
src/test/scala/CodegenTest.scala
2015-02-16 21:01:17 -08:00
Tony Tam
72feda8346
updated readme
2015-02-16 20:53:26 -08:00
Tony Tam
2e88dea3ac
updated versions
2015-02-16 20:44:22 -08:00
Tony Tam
678bbd6676
made dynamic swagger config example
2015-02-16 20:17:00 -08:00
Tony Tam
5853326f6a
removed file
2015-02-16 20:15:24 -08:00
Tony Tam
8befb95986
added type tag
2015-02-16 18:19:06 -08:00
Tony Tam
026c93a104
fixed models
2015-02-16 18:03:15 -08:00
Tony Tam
15fde46ca5
removed debug
2015-02-16 17:56:28 -08:00
Tony Tam
f3455397ec
rebuilt clients
2015-02-16 17:56:13 -08:00
Tony Tam
4f0823bffa
rebuilt client
2015-02-16 17:55:59 -08:00
Tony Tam
31eb392d40
rebuild client
2015-02-16 17:55:15 -08:00
Tony Tam
fde5014bf9
fix for #224 , added safe php comparison
2015-02-16 17:49:22 -08:00
Tony Tam
39b2bf4204
fixed test errors from updating sample json
2015-02-16 17:38:04 -08:00
Tony Tam
a1cf365288
rebuilt
2015-02-16 17:37:45 -08:00
Tony Tam
166a18bfc8
pulled from live server
2015-02-16 17:37:25 -08:00
Tony Tam
a0ea195ffc
rebuilt client
2015-02-16 17:37:05 -08:00
Tony Tam
0563be891c
made scripts call local file to avoid transient server issues
2015-02-16 17:36:48 -08:00
Tony Tam
5790c7d289
fix for #191 , not detecting correct file name
2015-02-16 17:18:19 -08:00
Tony Tam
c7c3c969db
moved output
2015-02-15 22:22:42 -08:00
Tony Tam
04074bd853
updated client
2015-02-15 22:20:56 -08:00
Tony Tam
76a367072c
updated client
2015-02-15 22:20:26 -08:00
Tony Tam
e4cf9c5d55
updated scripts
2015-02-15 22:20:08 -08:00
Tony Tam
a4bde0368e
updated for separation with enums
2015-02-15 22:19:43 -08:00
Tony Tam
da8176e170
updated templates
2015-02-15 22:19:26 -08:00
Tony Tam
bd276f5680
rebuilt client
2015-02-15 22:18:13 -08:00
Tony Tam
f10da06188
updated client
2015-02-15 22:17:32 -08:00
Tony Tam
13ef879703
rebuilt client
2015-02-15 22:14:38 -08:00
Tony Tam
8cbba12282
rebuilt client
2015-02-15 22:14:25 -08:00
Tony Tam
d98e894b41
rebuilt client
2015-02-15 22:12:48 -08:00
Tony Tam
73a6c0c42d
rebuilt client
2015-02-15 22:09:07 -08:00
Tony Tam
7363365447
rebuilt client
2015-02-15 22:06:22 -08:00
Tony Tam
3b501f4134
added better enum support
2015-02-15 22:05:45 -08:00
Tony Tam
ffe5353987
rebuilt client
2015-02-15 22:04:50 -08:00
Tony Tam
1556bf16a9
rebuilt client
2015-02-15 21:26:35 -08:00
Tony Tam
88351ed844
rebuilt client
2015-02-15 21:25:41 -08:00
Tony Tam
9707f0a1ab
updated client
2015-02-15 21:18:54 -08:00
Tony Tam
4daac48c6b
added readme, rebuilt client
2015-02-15 19:50:41 -08:00
Tony Tam
e943f5c864
added readme, rebuilt client
2015-02-15 19:50:23 -08:00
Tony Tam
719820c089
added help response if args not set
2015-02-15 19:11:15 -08:00
Tony Tam
fe06652931
removed scala compile step #205
2015-02-15 19:04:53 -08:00
Tony Tam
098f7930eb
added script
2015-02-15 18:07:05 -08:00
Tony Tam
f942e82691
updated templates
2015-02-15 18:06:50 -08:00
Tony Tam
db5259b913
updated script, addressed #189 with type mapping
2015-02-15 18:06:40 -08:00
Tony Tam
dfc7750dda
rebuilt client
2015-02-15 18:05:56 -08:00
Tony Tam
dd971f19e7
added support for headers when generating per #102
2015-02-15 17:15:40 -08:00
Tony Tam
785cc4e29a
fixed file suffix
2015-02-14 17:49:33 -08:00
Tony Tam
0c3e82e375
updated templates
2015-02-14 17:49:19 -08:00
Tony Tam
a6744507ef
updated version
2015-02-14 17:49:10 -08:00
Tony Tam
9614dd8b95
added sample
2015-02-14 17:48:55 -08:00
Tony Tam
5208b36939
updated client
2015-02-14 17:36:52 -08:00
Tony Tam
779bdb23eb
rebuilt client
2015-02-14 17:36:39 -08:00
Tony Tam
4bd1b99213
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-02-14 17:34:27 -08:00
Tony Tam
4841485456
Merge pull request #427 from lucamilanesio/scala-mustache-backward-compatibility
...
Scala api.mustache: make new constructor backward compatible
2015-02-14 17:34:23 -08:00
Tony Tam
d5ddf0c404
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-02-14 17:33:46 -08:00
Tony Tam
7d4cc6bdde
Merge pull request #425 from lucamilanesio/develop_2.0
...
SPNEGO auth fix: Authentication scheme should be set as String
2015-02-14 17:33:30 -08:00
Tony Tam
a0d74531f7
added petstore script
2015-02-14 17:09:07 -08:00
Tony Tam
feb6119572
added supporting data post processing
2015-02-14 17:08:51 -08:00
Tony Tam
dbc4ab51b1
removed deprecated call
2015-02-14 17:08:37 -08:00
Tony Tam
8daebf78f4
updated sample
2015-02-14 17:06:32 -08:00
Tony Tam
391806570c
updated script
2015-02-14 16:30:38 -08:00
Tony Tam
ed1e082896
updated versions
2015-02-13 22:16:54 -08:00
Tony Tam
0640c63573
updated readme
2015-02-12 22:32:00 -08:00
Tony Tam
9985d9e2d9
removed template path
2015-02-12 22:26:42 -08:00
Tony Tam
cd3dfe164b
rebuilt
2015-02-12 22:25:29 -08:00
Tony Tam
85b396ce88
rebuilt sample
2015-02-12 22:24:17 -08:00
Tony Tam
241c69fef7
updated templates
2015-02-12 22:24:04 -08:00
Tony Tam
20deb15c8c
updated client
2015-02-12 21:54:34 -08:00
Tony Tam
2bc5e71f91
updated year in comments
2015-02-12 21:53:37 -08:00
Tony Tam
dd9da67f51
made match case insensitive
2015-02-12 21:51:44 -08:00
Tony Tam
10e9e8a51d
rebuilt
2015-02-12 21:40:42 -08:00
Tony Tam
c3978d2ea3
updated dependencies for compat
2015-02-12 21:38:52 -08:00
Tony Tam
54db9f8f24
updated scripts
2015-02-12 21:38:31 -08:00
Tony Tam
8785759fdf
Merge pull request #431 from devnulled/develop_2.0
...
Fixed The html.sh Sample Generation Script
2015-02-12 16:26:30 -08:00
Brandon Harper
59b0a062a0
Fixed/updated the swagger.json URL in the html.sh script so that it would generate a sample again.
2015-02-12 14:46:02 -07:00
Tony Tam
95155f07d8
added snapshots back
2015-02-11 08:27:52 -08:00
Luca Milanesio
14795df85d
Scala api.mustache: make new constructor backward compatible
...
When default values have been provided with the api.mustache
constructor, backward compatibility was broken because of the public
instance variables becoming immutable vals whilst they were vars before.
We can now use the constructor arguments as default values for the internal
vars and establish backward compatibility with existing code.
2015-02-11 11:00:41 +00:00
Tony Tam
d821a897b3
Merge pull request #426 from lucamilanesio/scala-mustache-easy-override
...
Scala api.mustache: allow easy basePath and ApiInvoker override
2015-02-10 08:22:39 -08:00
Luca Milanesio
fd560f4dc1
Scala api.mustache: allow easy basePath and ApiInvoker override
...
Gets rid of the smelly vars inside Scala api.mustache allowing the
override of default basePath and ApiInvoker on the constructor.
Previously the code for overriding was:
val myApi = new MyApi()
myApi.basePath = "http://myapi.endpoint.com "
myApi.apiInvoker = new ApiInvoker(authScheme = "SPNEGO")
after the change everything can be simply declared in the constructor:
val myApi = new MyApi("http://myapi.endpoint.com ",
new ApiInvoker(authScheme = "SPNEGO"))
2015-02-10 14:07:13 +00:00
Luca Milanesio
6ecc569abd
SPNEGO auth fix: Authentication scheme should be set as String
...
Default authentication scheme is a String and must be later
on decoded as Realm enum
2015-02-10 12:17:27 +00:00
Tony Tam
ece072aee3
Merge pull request #418 from lucamilanesio/scala-async-http-support
...
Support for HTTP Async client transport for Jersey on Scala (legacy master)
2015-02-09 13:43:07 -08:00
Tony Tam
759c0aea80
Merge pull request #421 from lucamilanesio/scala-spnego-preemptive-auth-2.0
...
Support Secure SPNEGO kerberos negotiation for Scala
2015-02-09 12:33:59 -08:00
Luca Milanesio
8e327aa24b
Support for Secure SPNEGO kerberos negotiation
...
Ability to integrate with a SPNEGO-protected REST API
with KerberosV5 ticket preemptive authentication.
2015-02-09 20:14:13 +00:00
Luca Milanesio
592d59ceb2
Support for HTTP Async client transport for Jersey on Scala
...
When generating Scala client, the ApiInvoker is a class with
overridable options, avoiding the need of public vars to be
manually modified.
Additionally it is possible to plug the AsyncHttp protocol
for Jersey in order to achieve Netty support and maximum scalability.
NOTE: Support for Scala 2.10.0-3 removed as largely obsolete
2015-02-09 19:59:26 +00:00
Luca Milanesio
2386e394ae
Support for HTTP Async client transport for Jersey on Scala
...
When generating Scala client, the ApiInvoker is a class with
overridable options, avoiding the need of public vars to be
manually modified.
Additionally it is possible to plug the AsyncHttp protocol
for Jersey in order to achieve Netty support and maximum scalability.
NOTE: Support for Scala 2.10.0-3 removed as largely obsolete
2015-02-09 19:36:28 +00:00
Tony Tam
781c9f7d83
Merge pull request #416 from FindTheBest/develop_2.0
...
PHP/Python Enhancements
2015-02-08 22:15:34 -08:00
Tony Tam
70803a1d09
Update README.md
2015-02-07 15:32:06 -08:00
Tony Tam
ffe5fc7fd2
changed signature for usage in generator
2015-02-07 14:59:35 -08:00
Tony Tam
cbc9fdbe34
updated annotations
2015-02-07 11:08:21 -08:00
russellb337
bd91922072
Add API Version to Codeine Additional Properties
...
Also updated htmlDocs template so html documentation shows API version.
2015-02-06 16:26:33 -08:00
Tony Tam
416c087be0
removed old files
2015-02-06 11:36:58 -08:00
James Ebentier
09bfecf76e
Python: adding in support for formParams as well as multipart-form requests
2015-02-06 11:32:15 -08:00
James Ebentier
8b4180ca4a
PHP: moving over the addition of a setTimeout function for the APIClient
2015-02-06 11:16:16 -08:00
James Ebentier
73a702f91e
PHP: adding the ability to use multipart-form submissions as well as adding formParams to the api
2015-02-06 11:15:22 -08:00
Tony Tam
f55d9eaa68
Merge pull request #412 from FindTheBest/master
...
Python/PHP Multipart-Form request support
2015-02-06 10:47:10 -08:00
Tony Tam
7315b0ce2c
changed scope per #414
2015-02-06 05:55:30 -08:00
Tony Tam
de4534475c
removed old samples
2015-02-06 05:52:57 -08:00
Tony Tam
0bf660ebe8
added podfile
2015-02-06 05:52:15 -08:00
Tony Tam
8b32db73c2
formatting
2015-02-06 05:52:05 -08:00
Tony Tam
bffd43c8fc
fixed container type
2015-02-06 05:51:56 -08:00
Tony Tam
6f7a1bb7e3
added reserved words
2015-02-06 05:51:23 -08:00
Tony Tam
eb1dce3d11
fixed paths
2015-02-06 05:50:43 -08:00
Tony Tam
a841f94273
updated response types
2015-02-06 05:50:12 -08:00
Tony Tam
a7f12c04e6
updated samples
2015-02-06 05:49:38 -08:00
Tony Tam
422cd88b51
rebuilt samples
2015-02-06 05:49:08 -08:00
Tony Tam
eb9e95952d
updated templates
2015-02-06 05:48:47 -08:00
Tony Tam
1e717addf4
removed old samples
2015-02-06 05:48:27 -08:00
Tony Tam
3885991439
rebuilt samples
2015-02-05 21:45:48 -08:00
Tony Tam
3815dfa6a2
updated packages
2015-02-05 21:06:35 -08:00
Tony Tam
5f65c5aa49
added client
2015-02-05 21:06:22 -08:00
Tony Tam
e86837dd9a
added samples
2015-02-05 21:02:12 -08:00
Tony Tam
585311c06a
added files
2015-02-05 21:00:24 -08:00
Tony Tam
69dceb7f69
updated samples
2015-02-05 20:58:32 -08:00
Tony Tam
f1ac82f8a0
updated dependencies
2015-02-05 20:58:21 -08:00
Tony Tam
2c55649797
renamed package
2015-02-05 20:57:21 -08:00
Tony Tam
5c519f6429
revert last commit
2015-02-05 16:17:53 -08:00
Tony Tam
20e600c80e
updated multi-module pom
2015-02-05 16:16:19 -08:00
Tony Tam
2ed8e10fe4
added null check for simple definitions with no models
2015-02-05 16:16:04 -08:00
Tony Tam
caaa753f58
Merge pull request #413 from swagger-api/assembly
...
Created assembly and submodules
2015-02-05 11:51:00 -08:00
Tony Tam
f7c6810757
updated samples
2015-02-05 11:35:13 -08:00
Tony Tam
2f16ee3b29
renamed package
2015-02-05 11:34:23 -08:00
Tony Tam
d97c7c7668
updated bin scripts
2015-02-05 10:22:28 -08:00
Tony Tam
11df3530f3
added wordnik sample
2015-02-05 10:22:19 -08:00
Tony Tam
6bb2e4ccb4
moved to modules per #411
2015-02-05 07:17:38 -08:00
Tony Tam
450894c52e
moved to modules
2015-02-05 07:16:56 -08:00
James Ebentier
0f041dae90
MultipartForm: adding support for php
2015-02-04 12:48:00 -08:00
James Ebentier
6c97a9c6c7
MultipartForm: some more fixing of formating
2015-02-04 10:54:55 -08:00
James Ebentier
257d67346c
MultipartForm: fixing some spacing issues
2015-02-04 10:41:25 -08:00
James Ebentier
e955c9dcfd
MultipartForm: getting the file uploading working
2015-02-04 09:56:10 -08:00
Tony Tam
8414046fc5
added test for form params
2015-02-04 07:21:26 -08:00
Tony Tam
fd270d7733
added copy function
2015-02-04 07:21:17 -08:00
Tony Tam
67a3fffad7
added copy function
2015-02-04 07:21:08 -08:00
Tony Tam
7d0e003bf2
added form params template
2015-02-04 06:51:16 -08:00
Tony Tam
bad6798433
added consumes, produces
2015-02-03 23:54:37 -08:00
Tony Tam
949b321e13
updated path
2015-02-03 21:52:03 -08:00
Tony Tam
c84fd54215
updated to m1 version
2015-02-03 21:51:38 -08:00
Tony Tam
5acb01eb6b
moved to 2_0 folder
2015-02-03 21:51:20 -08:00
Tony Tam
568504ffb4
move to 2_0 folder
2015-02-03 21:51:05 -08:00
Tony Tam
eec525a40f
shortened line breaks
2015-02-03 21:50:28 -08:00
Tony Tam
f8624dbcaa
update to m1 release
2015-02-03 21:50:02 -08:00
Tony Tam
5fdb609767
changed package to io.swagger
2015-02-03 21:49:45 -08:00
Tony Tam
4c53d7b8c4
added formParam values
2015-02-03 21:49:21 -08:00
Tony Tam
3b96894e75
added file & forms
2015-02-03 21:49:05 -08:00
James Ebentier
63bb20238b
MultipartForm: fixing syntax error
2015-02-03 19:01:31 -08:00
James Ebentier
55575541d8
MultipartForm: better formatting
2015-02-03 18:28:56 -08:00
James Ebentier
33e6105822
MultipartForm: adding in basic support for multipart form submissions on python bindings
2015-02-03 18:03:20 -08:00
Tony Tam
87be442ad9
Merge pull request #409 from ethanjcohen/master
...
Fix "properties" name in node server example template
2015-02-02 22:42:56 -08:00
Tony Tam
33834d6cce
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-02-02 06:28:24 -08:00
Tony Tam
212b7cee72
added void to default includes
2015-02-02 06:28:17 -08:00
Tony Tam
d9ca26c40d
updated to m1
2015-02-02 06:27:58 -08:00
Ethan Cohen
65b3b594e3
Renamed the "params" operation property to "parameters" to conform to the swagger spec
2015-02-01 16:02:27 -06:00
Ethan Cohen
94ceb504b8
Changed the "params" operation property to "parameters" to conform to the swagger spec
2015-02-01 15:54:47 -06:00
Tony Tam
fcb21da7f9
Merge pull request #392 from ikuo/develop_2.0-support-upper-case-property-name
...
Support upper case-proprty names
2015-01-30 12:26:56 -08:00
Tony Tam
124e17fb8a
Merge pull request #401 from fleque/fleque-fix-response-selection
...
Fix for the selection of the methodResponse during code-generation
2015-01-28 22:07:06 -08:00
Tony Tam
f914f26f3b
Merge pull request #400 from FindTheBest/master
...
Fixing curl $postData for php bindings
2015-01-28 22:06:23 -08:00
Tony Tam
1bc5fcc29e
Merge pull request #397 from fleque/fleque-python-codegen
...
[WIP] Support Python code generation
2015-01-28 21:53:14 -08:00
James Ebentier
4a6e719d6a
APIClient: making the cURL timeout able to be variably set for better dynamic api calls
2015-01-28 16:04:11 -08:00
Fleque
35dc8d4e5d
Fix for the selection of the methodResponse from an operation during code generation. Now all the smallest 2xx code is used
2015-01-27 23:01:21 +01:00
James Ebentier
61ea9564f8
building a fix for postData that will pass TravisCI build
2015-01-27 13:48:59 -08:00
James Ebentier
bfc14938d0
Fixing curl $postData for php bindings
2015-01-27 13:16:20 -08:00
Tony Tam
c98a78062f
Merge pull request #398 from FindTheBest/master
...
Fixing issue with deserialization in PHP
2015-01-27 12:50:24 -08:00
James Ebentier
fd128cbab0
Update Swagger.mustache
2015-01-27 12:28:28 -08:00
James Ebentier
59568915de
Fixing minor typo
2015-01-27 12:08:41 -08:00
James Ebentier
bff2515bf2
Fixing issue with deserialization in PHP
...
No longer will deserialize throw errors when converting a json response to a string
2015-01-27 11:48:20 -08:00
Tony Tam
d196c6656e
added test for #393
2015-01-25 20:21:40 -08:00
Tony Tam
a2b01e9599
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-01-25 20:20:36 -08:00
Tony Tam
34a61e1256
added scala client support for #393
2015-01-25 20:20:27 -08:00
Dan Peschman
ec995838fb
python3: support PATCH verb for partial updates - http://tools.ietf.org/html/rfc5789
2015-01-24 21:58:33 +00:00
Ikuo Matsumura
b49572005b
Fix typo name{ -> s}
2015-01-24 16:32:38 +09:00
Ikuo Matsumura
ea11b4fc35
Added spec on upper-case property name
2015-01-24 16:17:40 +09:00
Ikuo Matsumura
556485538f
Added @JsonProperty to Java/model.mustache
2015-01-24 16:17:18 +09:00
Tony Tam
53e8683a5d
Merge pull request #388 from fleque/template-resolving-fix
...
Fix for template resolving from classpath on windows
2015-01-23 16:55:09 -08:00
Fleque
6491223ed9
First attempt to port pythong code generation
2015-01-22 23:01:44 +01:00
Fleque
29a7375082
Applied import style of swagger-codegen project
2015-01-22 11:50:05 +01:00
Fleque
8f9947a20a
Fix for the template resovling from classpath on Windows
2015-01-22 11:38:42 +01:00
Tony Tam
dcaf639bec
Merge branch 'STRML-fixPHPFormParams'
2015-01-21 23:19:19 -08:00
Tony Tam
2f6bf95fa2
merged
2015-01-21 23:19:13 -08:00
Tony Tam
154c28b062
Merge pull request #385 from STRML/fixPHPComments
...
Rework generated PHP function comments.
2015-01-21 22:10:20 -08:00
Samuel Reed
8106de95dc
Rework PHP function comments to match PHPDoc style.
...
Also eliminated bad newline.
2015-01-21 10:58:57 +01:00
Samuel Reed
7c342a060a
Add missing formParams to PHP api.mustache. Fixes #383 .
...
Also fixed mixed tabs and spaces in template.
2015-01-21 10:01:41 +01:00
Tony Tam
a15eb6f905
updated java version
2015-01-20 11:23:31 -08:00
Dan Peschman
4198779b5b
python3: support datetime produced by datetime.isoformat like '2015-01-17T00:15:29.515'
2015-01-17 00:41:37 +00:00
Dan Peschman
711d2c8cf4
revert previous: no special handling for '' in python3 parseDatetime
2015-01-16 23:44:02 +00:00
Dan Peschman
42ad403e5e
python3 parseDatetime: return None if passed ''
2015-01-16 23:09:54 +00:00
Dan Peschman
527fca5a8b
python3 parseDatetime: return None if passed None
2015-01-15 23:19:01 +00:00
Dan Peschman
60bd56b91c
python3: support more iso8601 datetime formats - http://xml2rfc.ietf.org/public/rfc/html/rfc3339.html#date.and.time.format.examples
2015-01-15 22:42:59 +00:00
Tony Tam
89c776a3b9
Update README.md
2015-01-14 11:16:06 -08:00
Tony Tam
6a5b4e2fb4
Merge pull request #364 from Helmsdown/jaxrs-path-annotation-fix
...
JAXRS Codegen should omit @PATH variable when it is not necessary
2015-01-11 22:55:36 -08:00
Tony Tam
fd39402116
Merge pull request #371 from cantecim/develop_2.0
...
Fixed apiFileFolder and modelFileFolder function results for android-java Fixes #369
2015-01-10 12:37:55 -08:00
Can Tecim
f6055dde30
Fixed apiFileFolder and modelFileFolder function results for android-java Fixes #369
2015-01-10 22:31:38 +02:00
Tony Tam
3abc42eee9
Merge pull request #368 from amandaducrou/master
...
Adding first and hasRequiredParams parameters to Codegen
2015-01-09 10:26:50 -08:00
Amanda Ducrou
2d81c71b52
Adding first and hasRequiredParams parameters to Codegen
2015-01-09 10:59:21 +10:00
Tony Tam
52db5b0925
Update README.md
2015-01-07 10:40:16 -08:00
russellb337
9aa9f4e842
fix JaxRS code gen to only generated @PATH annotation on a given resource function when that function is a "sub resource" (e.g. @PATH("/{id}") or @PATH("/{id}/operation")
2015-01-02 13:52:36 -08:00
Tony Tam
21396d0797
added map support for #360
2014-12-25 08:17:41 -08:00
Tony Tam
93eca2a6b6
php fixes
2014-12-24 19:29:25 -08:00
Tony Tam
74b9257de4
variable type fixes
2014-12-24 15:00:10 -08:00
Tony Tam
a921278650
added php generator
2014-12-24 10:19:42 -08:00
Tony Tam
2d193a0e92
Merge pull request #218 from JDiPierro/output_resource_path_for_no_models_found
...
Output the resourcePath when no models are found rather than the basePath
2014-12-23 22:23:14 -08:00
Tony Tam
09e7bd9c43
Merge pull request #286 from jebentier/master
...
Java binding comment creation issue fixed
2014-12-23 22:17:35 -08:00
Tony Tam
0ece4a084f
Merge pull request #303 from butlermh/master
...
Can't run ./bin/scala-petstore.sh as instructed at README
2014-12-23 22:16:35 -08:00
Tony Tam
0821d1859b
Merge pull request #321 from Laurent-Sarrazin/patch-doc
...
Fix a typo
2014-12-23 22:14:39 -08:00
Tony Tam
25aef5fd6e
Merge pull request #240 from GerardSoleCa/master
...
Edit line 76 to place pom.xml correctly and dependency-jar generation
2014-12-23 20:31:26 -08:00
Tony Tam
20c21cb2f7
added debug info per #330
2014-12-23 19:56:32 -08:00
webron
3a77287f8b
Update README.md
2014-12-23 17:29:49 +02:00
webron
d2111a8e68
Merge pull request #352 from FMJaguar/patch-2
...
Update README.md
2014-12-23 17:28:59 +02:00
Tony Tam
8fa4b196b4
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2014-12-19 14:49:51 -08:00
Tony Tam
3bf45de1f7
added null check
2014-12-19 14:49:32 -08:00
Rich DeLauder
3c0d639d0e
Update README.md
2014-12-19 13:10:02 -08:00
Tony Tam
ed1d0948a3
Merge pull request #351 from earldouglas/exec-maven-plugin
...
Add the Exec Maven Plugin
2014-12-18 11:01:52 -08:00
James Earl Douglas
83699e5324
Add the Exec Maven Plugin
...
This allows execution of the Codegen class via `mvn exec:java`,
with optional args passed via `-Dexec.args="..."`:
mvn exec:java -Dexec.args="-i .../swagger.json -l html -o samples/..."
2014-12-18 10:58:25 -08:00
Tony Tam
1f30c65464
Update README.md
2014-12-12 12:47:30 -08:00
Tony Tam
45d5e480c0
configured scala version #344
2014-12-11 09:42:39 -08:00
Tony Tam
5ecada11ef
moved java-specific reserved words out of default
2014-12-08 13:13:29 -08:00
Tony Tam
4f6878a278
fallbacks for unmatched inner types
2014-12-08 11:49:47 -08:00
Tony Tam
50e0445ab4
Merge pull request #342 from martoe/codegenfactory
...
Introduced a factory for codegen data containers
2014-12-08 07:22:22 -08:00
Martin Ehrnhoefer
78b36e0ba9
Introduced a factory for codegen data containers
...
Moved parameter/response generation code to
dedicated methods so that subclasses may extend it
2014-12-08 11:21:17 +01:00
Martin Ehrnhoefer
7a5068d632
Introduced a factory for codegen data containers
...
Missing model elements added
2014-12-08 10:27:29 +01:00
Tony Tam
c010b4c9c6
Merge pull request #341 from martoe/responseheaders
...
Make response headers available to the code generator
2014-12-07 21:30:57 -08:00
Tony Tam
cc9029236b
Merge pull request #340 from martoe/codegenfactory
...
Introduced a factory for codegen data containers
2014-12-07 21:29:18 -08:00
Martin Ehrnhoefer
3f0b71b3e0
Make response headers available to the code generator
2014-12-07 10:08:42 +01:00
Martin Ehrnhoefer
0eb467e46e
Introduced a factory for codegen data containers
...
implementation completed
2014-12-07 09:52:52 +01:00
Tony Tam
f2c64a0fbb
removed comments
2014-12-06 15:55:42 -08:00
Martin Ehrnhoefer
f4424a5eae
Introduced a factory for codegen data containers
...
This enables users to extend the Codegen* classes
and add their own methods there (which then can
be accessed from the mustache templates)
2014-12-06 16:07:45 +01:00
webron
1b68671e98
Update README.md
2014-12-04 16:27:44 +02:00
Tony Tam
f3ac9a579f
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2014-12-03 00:55:55 -08:00
Tony Tam
6e858ee645
updated samples
2014-12-03 00:55:38 -08:00
Tony Tam
96ea15a4d0
updated readme
2014-12-03 00:55:25 -08:00
Tony Tam
586420b919
Merge pull request #335 from wing328/master
...
update deserialize to handle both array(primitive) and Array(model)
2014-12-02 22:07:24 -08:00
Tony Tam
c05e07c8aa
Merge pull request #331 from yutenglei/develop_2.0
...
Assigned Accept and Content-Type request-header for python's api.mustach...
2014-12-02 21:44:51 -08:00
Tony Tam
43a5ece5b3
Merge pull request #312 from idosh/master
...
add support to multipart form data and urlencoded for android client
2014-12-02 20:40:02 -08:00
William Cheng
9f6d883e68
update deserialize to handle both array(primitive) and Array(model)
2014-11-29 18:23:44 +08:00
Tony Tam
23d2d09136
added help, dynamic loading
2014-11-26 16:37:44 -10:00
Tony Tam
f35c748fb2
added help, dynamic loading
2014-11-26 15:20:50 -10:00
Tony Tam
a24556f0be
added static, updated reference to swagger parser
2014-11-26 14:06:00 -10:00
Tony Tam
a1d604feb3
updated to use swagger parser
2014-11-25 12:01:13 -10:00
webron
524497a606
Merge pull request #332 from mhurne/patch-1
...
Fix spelling errors and improve sentence in Compatibility section
2014-11-24 22:13:29 +02:00
Matt Hurne
665ba22c7a
Fix spelling errors and improve sentence in Compatibility section
2014-11-24 15:11:38 -05:00
Yu Teng Lei
9085a0d148
Assigned Accept and Content-Type request-header for python's api.mustache
...
This was done in PHP but not in python
2014-11-23 16:39:35 -05:00
Tony Tam
74d4ff0fc9
added swagger output for conversion
2014-11-21 08:30:21 -10:00
Tony Tam
29d956d424
added static html generator
2014-11-21 08:14:33 -10:00
Tony Tam
06031a0a34
added 1.2 conversion
2014-11-21 08:14:14 -10:00
Tony Tam
9ffece910d
added basePath
2014-11-19 13:36:59 -08:00
Tony Tam
d12a565032
added debug mode
2014-11-19 13:36:52 -08:00
Tony Tam
9d6e6b56c6
added tizen c++ support
2014-11-13 09:29:13 -08:00
Tony Tam
acc0bad668
changed permissions
2014-11-13 09:28:32 -08:00
Tony Tam
697457415d
updated spec with auth
2014-11-10 21:18:19 -08:00
Tony Tam
bcfd2e8ab6
println
2014-11-10 21:17:29 -08:00
Tony Tam
5adb82f6f6
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2014-11-10 13:15:36 -08:00
Tony Tam
4415cfe30d
added escape
2014-11-10 13:15:27 -08:00
Ido Shamun
0614d1b221
update pom.xml with dependencies
...
fix Codegen.scala to support file as a param type
2014-11-08 01:19:53 +02:00
Ido Shamun
fb3f331e3c
Merge remote-tracking branch 'upstream/master'
...
merge fork with master
2014-11-07 18:27:58 +02:00
Tony Tam
4e9378965b
Merge pull request #324 from FindTheBest/pull_request
...
Adding the casting of integer -> int for python generated code
2014-11-05 15:47:44 -08:00
James Ebentier
d1fe146522
Adding the casting of integer -> int for python generated code
2014-11-05 15:37:22 -08:00
Tony Tam
718e6ba7b4
Merge pull request #302 from martoe/externalDocs
...
"External Documentation Object" implemented (according to spec)
2014-11-04 20:25:41 -08:00
Tony Tam
b9758107c3
Merge pull request #322 from Laurent-Sarrazin/patch-php-server-generator
...
Add a basic PHP server-generator example
2014-10-31 09:32:08 -07:00
Laurent Sarrazin
06332e5dce
Add a basic PHP server-generator example
2014-10-31 17:00:34 +01:00
Laurent Sarrazin
aa262f6021
Fix a typo
2014-10-30 14:30:55 +01:00
Martin Ehrnhoefer
436d2530e4
"External Documentation Object" implemented (according to spec)
...
Depends on https://github.com/wordnik/swagger-core/pull/716
2014-10-30 10:22:00 +01:00
Tony Tam
77053fa855
added test case, update for #316
2014-10-28 13:21:50 -07:00
Tony Tam
810c7f9ed2
added test case, update for #316
2014-10-28 13:21:32 -07:00
Tony Tam
59b477d2da
added test case, update for src/main/java/com/wordnik/swagger/codegen/DefaultCodegen.java
2014-10-28 13:08:41 -07:00
Tony Tam
4c674ca94b
rebuilt samples
2014-10-26 21:46:26 -07:00
Tony Tam
63c428d048
updated templates
2014-10-26 21:46:14 -07:00
Tony Tam
2454bfa225
updated templates per #316
2014-10-26 21:40:13 -07:00
Tony Tam
d6bdd09273
removed unimplemented scripts
2014-10-24 14:50:40 -07:00
Tony Tam
73425fe582
rebuilt client
2014-10-23 21:22:19 -07:00
Tony Tam
bc974e6514
added bodyParam
2014-10-23 21:21:58 -07:00
Tony Tam
237f00e2e3
updated references
2014-10-22 15:46:47 -07:00
Tony Tam
88692ec42d
updated references
2014-10-22 15:45:21 -07:00
Tony Tam
ee833da0ca
fixed notes
2014-10-22 14:06:59 -07:00
Tony Tam
36aad8bc0a
updated examples
2014-10-22 13:54:28 -07:00
Ivan Porto Carrero
a656ea301e
updates the codegen to also include the project name for sbt
2014-10-21 10:59:35 -07:00
Tony Tam
e2ae99acac
fixed import types
2014-10-21 00:02:28 -07:00
Tony Tam
461cb51f6a
fixed summary/description mapping
2014-10-20 17:34:48 -07:00
Tony Tam
681628dba2
added model pacakge
2014-10-20 17:11:28 -07:00
Tony Tam
7167bf28c7
changed to Boolean to allow null values
2014-10-20 17:11:19 -07:00
Ido Shamun
5e4e838a48
add support to multipart form data and urlencoded for android client
2014-10-21 01:58:31 +03:00
Ivan Porto Carrero
f3dc69a7e7
update dependencies in async scala project
2014-10-20 15:42:10 -07:00
Tony Tam
86f9a0a58a
fixed build error
2014-10-20 08:42:35 -07:00
Tony Tam
df1a987e2d
Merge branch 'develop_2.0' of github.com:wordnik/swagger-codegen into develop_2.0
2014-10-20 08:24:46 -07:00
Tony Tam
40b4d34870
added required flag for parameter
2014-10-20 08:24:34 -07:00
Tony Tam
c6e3608ffa
Merge pull request #310 from martoe/param_required
...
Parameter.required flag implemented
2014-10-20 07:07:50 -07:00
Martin Ehrnhoefer
0aa87cfbeb
Parameter.required flag implemented
...
Made the "required" flag for Parameter objects available to the code generator templates
2014-10-20 15:56:25 +02:00
Tony Tam
053419234a
renamed field to avoid nested naming collisions
2014-10-19 11:18:38 -07:00
Tony Tam
12eba440ae
Update README.md
2014-10-18 17:14:00 -07:00
Tony Tam
5d43282f51
fixed typo
2014-10-17 14:46:47 -07:00
Tony Tam
2826b69487
removed profile
2014-10-17 14:31:26 -07:00
Tony Tam
63c6bc28c3
Merge branch 'berngp-feature/develop_2.0/scala_2.11' into develop_2.0
2014-10-17 14:29:37 -07:00
Tony Tam
bf3eb94c51
Merge branch 'feature/develop_2.0/scala_2.11' of github.com:berngp/swagger-codegen into berngp-feature/develop_2.0/scala_2.11
2014-10-17 14:28:58 -07:00
Tony Tam
350d736706
fixed case on scheme
2014-10-16 17:43:15 -07:00
Tony Tam
e0aed88e98
added default value
2014-10-16 17:42:39 -07:00
Tony Tam
52a4370c35
added default value
2014-10-16 17:42:27 -07:00
Bernardo Gomez Palacio
5c0577aa8e
Adding Echo YAML Sample
2014-10-14 15:09:55 -07:00
Bernardo Gomez Palacio
1e1abde846
Updating the Scalatra Template for Scala 2.11
...
* Moved to Scala 2.11.2
* Updated the dependencies to use latest Jetty as well as Akka
* Added the SBT Dependency Graph plugin
* Build Properties now use SBT 0.13.5
* Updated the sbt executable.
2014-10-14 14:39:12 -07:00
Bernardo Gomez Palacio
b2f34a152b
Enabling Maven Profile gen-scalatra
2014-10-14 14:24:59 -07:00
webron
4676c4cdf7
Merge pull request #307 from catherinedodge/master
...
Fixed broken link in README.md
2014-10-13 16:58:22 +03:00
catherinedodge
d5674c9a7b
Fixed broken link in README.md
2014-10-13 09:48:29 -04:00
Tony Tam
7c998a2d67
addressed import mappings
2014-10-10 22:07:08 -07:00
Tony Tam
5a70550a37
added scalatra support
2014-10-10 21:41:21 -07:00
Tony Tam
4d214dbcef
updated client
2014-10-10 21:39:45 -07:00
Tony Tam
97623af8df
added apiInfo
2014-10-10 21:26:07 -07:00
Tony Tam
b87bc2a908
added scalatra
2014-10-10 21:25:19 -07:00
Mark H. Butler
c8dac4a3cf
Reverting these files, they don't need to change
2014-10-08 08:25:23 -07:00
Mark H. Butler
6f30a6d65a
Modifying the pom.xml template because it defaults to building with Scala 2.9.1, but that is broken because BeanProperty moved, so instead use 2.10 as the default but add the option of using Scala 2.11
2014-10-08 08:20:02 -07:00
Mark H. Butler
9d1f0bf568
Adding ignore for gedit files (Linux)
2014-10-08 08:19:08 -07:00
Tony Tam
643c211d72
Merge pull request #296 from lloydmeta/update/fix_deprecations
...
Update deprecated method calls
2014-10-07 21:42:13 -07:00
Tony Tam
fb84985e9b
Merge pull request #298 from dreamfactorysoftware/master
...
adding a space in call to completionHandler to kill latest Xcode parse errors
2014-10-02 16:45:38 -07:00
Jason Sykes
afb34b4f2f
adding a space in call to completionHandler to kill latest Xcode parse errors
2014-10-02 12:20:17 -04:00
Tony Tam
5024e0bbda
added root checking per #279
2014-10-02 00:32:15 -07:00
Tony Tam
e771ed3332
added scheme, host, basePath per #295
2014-10-02 00:18:36 -07:00
Tony Tam
2e81b38838
Merge branch 'develop_2.0' of github.com:wordnik/swagger-codegen into develop_2.0
2014-10-02 00:10:42 -07:00
Tony Tam
67d28e8b3c
added test
2014-10-02 00:10:39 -07:00
Tony Tam
b834ba436f
added nodejs server
2014-10-02 00:10:15 -07:00
Tony Tam
6da7cbf095
Merge pull request #297 from martoe/#268
...
Windows path problem fixed
2014-10-02 00:00:54 -07:00
Martin Ehrnhoefer
d5d1eb2833
Windows path problem fixed
...
see #268 , #269 , #288
2014-10-02 08:56:30 +02:00
Tony Tam
e66f3c48ac
Merge pull request #288 from martoe/268
...
Windows path problem fixed (again)
2014-10-01 23:29:46 -07:00
Tony Tam
c10cf7bf7f
Merge branch 'develop_2.0' of github.com:wordnik/swagger-codegen into develop_2.0
2014-10-01 23:22:43 -07:00
Tony Tam
178d7d19c4
added files
2014-10-01 23:22:39 -07:00
Tony Tam
3c2845aaa6
updated file locations
2014-10-01 23:21:59 -07:00
Tony Tam
a215e93505
Merge pull request #294 from martoe/287
...
[2.0 Spec] Java generator: Implement Enums #287
2014-10-01 23:13:58 -07:00
Tony Tam
bc99361100
Merge branch 'develop_2.0' of github.com:wordnik/swagger-codegen into develop_2.0
2014-10-01 22:13:50 -07:00
Tony Tam
48f8e16fb0
added models support per #291
2014-10-01 22:12:50 -07:00
Tony Tam
ffda821f68
updated imports
2014-10-01 22:12:18 -07:00
Tony Tam
1bce51de7a
updated imports
2014-10-01 22:11:51 -07:00
Lloyd
1734ac2e18
Update deprecated method calls
...
1. Update specs to inherit via `with Matchers`
2. Update `URLEncoder.encode` to pass "UTF-8" as charset
2014-10-02 10:49:20 +09:00
Tony Tam
ddb7aad530
Merge pull request #289 from maneeshsahu/develop_2.0
...
Added support for Map<String, Object>
2014-10-01 08:50:06 -07:00
Martin Ehrnhoefer
31ca832bdf
[2.0 Spec] Java generator: Implement Enums #287
...
Unittest
2014-10-01 17:42:03 +02:00
Martin Ehrnhoefer
a80af33260
[2.0 Spec] Java generator: Implement Enums #287
...
Very basic implementation
2014-10-01 17:10:51 +02:00
Martin Ehrnhoefer
3971bbf334
[2.0 Spec] Java generator: Implement Enums #287
...
Very basic implementation
2014-10-01 16:58:38 +02:00
Maneesh Sahu-SSI
8cf9cb95f5
Added support for Map<String, Object>
2014-09-30 21:57:21 -07:00
Tony Tam
2787fa82c6
added docs
2014-09-30 06:11:51 -07:00
Tony Tam
05e1d02341
added custom class loading for configurations
2014-09-30 06:06:01 -07:00
Tony Tam
277f26a5bb
Merge branch 'develop_2.0' of github.com:wordnik/swagger-codegen into develop_2.0
2014-09-30 05:10:30 -07:00
Tony Tam
c05a3c3a99
updated client
2014-09-30 05:10:24 -07:00
Tony Tam
ca06241307
updated scripts
2014-09-30 05:09:47 -07:00
Martin Ehrnhoefer
cb25eb6bc0
Windows path problem fixed (again) - #268 #269
2014-09-30 09:32:52 +02:00
James Ebentier
72bef1fb68
fixing the java comments above the api calls to allow for multiline comments in the swagger docs
2014-09-29 17:53:53 -07:00
Tony Tam
b7452fa8ee
Merge pull request #284 from martoe/699
...
[2.0 Spec] Implement Schema Object.example field
2014-09-29 10:48:57 -07:00
Martin Ehrnhoefer
89a009c411
[2.0 Spec] Implement Schema Object.example field
...
see issue https://github.com/wordnik/swagger-core/issues/699 ,
pull-request https://github.com/wordnik/swagger-core/pull/700
2014-09-29 16:26:06 +02:00
Tony Tam
c75a951668
updated sample
2014-09-28 00:52:32 -07:00
Tony Tam
d714f097eb
updated static template
2014-09-28 00:50:47 -07:00
Tony Tam
48f05b41e4
updated android sample
2014-09-27 17:00:30 -07:00
Tony Tam
f04827c6d3
updated android sample
2014-09-27 17:00:03 -07:00
Tony Tam
2729070d7f
updated android sample
2014-09-27 16:59:08 -07:00
Tony Tam
9e5576d3fe
added empty var check
2014-09-27 16:50:36 -07:00
Tony Tam
530ebe1f7d
added map, list model types with tests
2014-09-27 09:13:26 -07:00
Tony Tam
ba45641801
updated for objc tests
2014-09-26 22:52:27 -07:00
Tony Tam
f2b03d2930
added test files
2014-09-26 14:21:43 -07:00
Tony Tam
7006c2f6e9
updated README
2014-09-26 13:59:07 -07:00
Tony Tam
108880cbe9
updated README
2014-09-26 13:56:12 -07:00
Tony Tam
64aa948445
added android client
2014-09-26 10:25:44 -07:00
Tony Tam
eb6c09bfce
merged from #271
2014-09-26 09:39:39 -07:00
Tony Tam
2dd73872a4
updated with tests
2014-09-26 09:38:07 -07:00
Tony Tam
ba94dc3d68
added subclass for ArrayModel support #273 , removed path param brackets for auto-generated operationId #274
2014-09-23 21:44:09 -07:00
Tony Tam
5bc907f1d4
added template variable
2014-09-23 09:14:25 -07:00
Tony Tam
1406c36ced
Merge branch 'develop_2.0' of github.com:wordnik/swagger-codegen into develop_2.0
2014-09-22 16:44:23 -07:00
Tony Tam
394a064cc3
added scripts
2014-09-22 16:44:19 -07:00
Tony Tam
db29ecc8d0
added file from master
2014-09-22 16:44:01 -07:00
Tony Tam
ec99bef893
Merge pull request #266 from FindTheBest/pull_request
...
Python binding generation pull request
2014-09-20 13:39:07 -07:00
Tony Tam
64f7aece12
Merge pull request #269 from martoe/develop_2.0
...
#268 Windows path problem fixed
2014-09-20 10:42:43 -07:00
Martin Ehrnhoefer
46f5fe0611
#268 Windows path problem fixed
2014-09-20 19:39:54 +02:00
Tony Tam
923ed596ac
Merge pull request #267 from martoe/develop_2.0
...
Issue 244 - checkout on windows fails due to special chars
2014-09-20 08:47:44 -07:00
Tony Tam
2fd29d74f2
Merge pull request #263 from wordnik/basic-auth
...
Adds Basic auth as an authentication mechanism
2014-09-20 08:43:30 -07:00
Tony Tam
033a9a4b97
Merge pull request #262 from xhh/patch-1
...
Fixes #260 convert form parameters to string for Java client
2014-09-20 08:41:33 -07:00
isf
8762f38470
Issue 244 - checkout on windows fails due to special chars
2014-09-20 11:48:50 +00:00
Tony Tam
e5392dc21a
added script
2014-09-19 16:41:09 -07:00
Tony Tam
7630fd4f85
added scripts
2014-09-19 16:36:28 -07:00
Tony Tam
134c900aa1
reorded for cleanliness
2014-09-19 16:28:56 -07:00
Tony Tam
a0876f24a3
added travis file
2014-09-19 14:38:00 -07:00
Tony Tam
504e1b28c5
added model package to templates
2014-09-19 14:05:31 -07:00
Tony Tam
885e463bcb
added compatibility table
2014-09-19 11:50:20 -07:00
James Ebentier
b8f3201dba
fixing a minor generation issue in api.mustashe to make sure that python scripts are as clean as possible for apis
2014-09-19 10:53:03 -07:00
James Ebentier
983edbd85b
Adding in the ability to post forms using swagger codegen generate bindings for python
2014-09-19 10:52:57 -07:00
Tony Tam
24268661af
Merge pull request #265 from fehguy/develop_2.0
...
added 2.0 support
2014-09-19 07:30:13 -07:00
Tony Tam
b90742e995
updated template location, added snapshot
2014-09-18 08:28:19 -07:00
Ivan Porto Carrero
86d56b978a
also work on java 7
2014-09-16 20:52:07 -07:00
Ivan Porto Carrero
ed86bfb79b
adds basic auth support
2014-09-16 20:41:32 -07:00
Ivan Porto Carrero
44a73c32fa
more lenient Version.scala
2014-09-16 20:15:09 -07:00
Xu Hui Hui
39662e45b1
Fixes #260 convert form parameters to string for Java client
2014-09-16 18:58:17 +08:00
Tony Tam
9ab12eeda3
added mapping
2014-09-14 22:44:29 -07:00
Tony Tam
2128741218
removed println
2014-09-14 22:44:18 -07:00
Tony Tam
4442dcf203
added operationId generator
2014-09-14 22:44:05 -07:00
Tony Tam
fff1f30dba
updated the query params
2014-09-14 21:44:07 -07:00
Tony Tam
c123bb9130
template cleanup
2014-09-14 17:52:25 -07:00
Tony Tam
5112b655bd
added auth and response models
2014-09-14 17:47:59 -07:00
Tony Tam
d4122d197f
updated to support jaxrs
2014-09-14 17:47:36 -07:00
webron
998bf633d8
Merge pull request #261 from czenker/patch-1
...
Fix typo in README.md
2014-09-12 15:48:22 +03:00
Christian Zenker
b927ffbd53
Fix typo in README.md
2014-09-12 14:26:15 +02:00
Tony Tam
cab4ffa286
property renames
2014-09-10 06:13:49 -07:00
Tony Tam
1ff47393ed
Merge pull request #255 from martoe/master
...
Issue 244 - checkout on windows fails due to special chars
2014-09-07 23:59:01 -07:00
isf
a6ecc7a65b
Issue 244 - checkout on windows fails due to special chars
2014-09-08 08:50:35 +02:00
Tony Tam
d5e62086c8
added cli parser, input opts
2014-09-04 12:42:35 -07:00
Tony Tam
370c22cddb
made templates same as 2.0
2014-09-03 22:17:26 -07:00
Tony Tam
fbf8398324
fixes for return types, arrays
2014-09-03 22:10:34 -07:00
Tony Tam
79c456ecfc
updates for reserved words
2014-09-03 11:18:19 -07:00
Tony Tam
bc0cc567d9
updated output filenames
2014-09-03 11:07:48 -07:00
Tony Tam
ad3006d49c
added support for supporting files
2014-09-03 10:20:13 -07:00
Tony Tam
73ad502251
updated 2.0 support for objc
2014-09-03 01:10:02 -07:00
Tony Tam
7901d8a7c6
fixed api filenames
2014-09-03 00:41:06 -07:00
Tony Tam
6f63ba43ad
added return types, media types
2014-09-03 00:38:24 -07:00
Tony Tam
812520e29f
added support for models, partial for ops
2014-09-01 13:31:01 -07:00
Tony Tam
d1daf3a0e6
added 2.0 support files
2014-08-29 09:47:46 -07:00
Tony Tam
c5ccc0a908
update to swagger 2.0
2014-08-29 09:47:17 -07:00
Tony Tam
dbf04a9563
updated scripts
2014-08-27 01:09:28 -07:00
Tony Tam
d1603ba25e
updated scalatest
2014-08-27 01:04:02 -07:00
Tony Tam
d4ce57bd15
added bigdecimal support
2014-08-27 01:03:49 -07:00
Tony Tam
5e56346dc9
updated scripts to use only assembly
2014-08-27 01:03:32 -07:00
Tony Tam
05db83a067
set to petstore
2014-08-27 00:17:45 -07:00
Tony Tam
707ee1c85b
set version to 2.10.4
2014-08-27 00:17:33 -07:00
Tony Tam
a54adb925f
added big decimal support
2014-08-27 00:16:12 -07:00
Tony Tam
8c53837802
updated scripts for assembly
2014-08-27 00:15:26 -07:00
Tony Tam
3625b89a15
updated to snapshot build
2014-08-26 16:53:52 -07:00
Tony Tam
2ed68c2df8
version 2.0.17
2014-08-26 16:52:26 -07:00
Tony Tam
db1915ec89
Merge pull request #252 from earldouglas/path-not-optional
...
Drop the 'optional' param for path params
2014-08-26 14:40:14 -07:00
James Earl Douglas
77e9ce5ede
Drop the 'optional' param for path params
2014-08-26 14:38:27 -07:00
Tony Tam
013c19eb36
Merge pull request #251 from earldouglas/not-so-required
...
Set param as 'required' iff required, else set as 'optional'
2014-08-26 14:33:00 -07:00
James Earl Douglas
61c04ddaf1
Set param as 'required' iff required, else set as 'optional'
2014-08-26 14:31:45 -07:00
Tony Tam
b4d361130c
Merge pull request #247 from xoom/issues/java_pom
...
Issues/java pom - remove scala dependencies from Java pom files
2014-08-25 23:05:04 -07:00
Tony Tam
8e7571c34f
Merge pull request #248 from xhh/patch-1
...
Fixes #242 - Ruby model syntax error
2014-08-25 23:03:45 -07:00
xhh
1ba42ef6cc
Fixes #242 - Ruby model syntax error
2014-08-26 09:18:54 +08:00
Rob Blair
fc77521d49
Simplify java sample poms.
...
* remove scala references from the java client pom template files.
* regenerate the petstore sample pom.xml, verify they can build properly.
2014-08-25 17:37:36 -07:00
Rob Blair
1522069281
Regenerate the java code before modifying templates
2014-08-25 17:35:44 -07:00
Tony Tam
a13f46e781
Merge pull request #245 from ganeshs/master
...
Added import mappings for java.util.Set and java.sql.Timestamp
2014-08-20 23:43:05 -07:00
Ganesh Subramanian
3ad1ecf153
Added import mapping for Timestamp
2014-08-21 12:11:19 +05:30
Ganesh Subramanian
6087181634
Added import mapping for Timestamp
2014-08-21 12:10:14 +05:30
Ganesh Subramanian
c09adc4539
Fix for issue #226
2014-08-21 12:01:44 +05:30
Tony Tam
a626dea181
Update api.mustache
2014-08-11 08:58:45 -07:00
Tony Tam
454ec4b438
fix for #235
2014-08-08 16:38:38 -04:00
Gerard Solé
4a64d602a0
Add plugin to build a jar with dependencies
2014-08-07 12:17:05 -07:00
Gerard Solé
f294656073
Edit line 76 to place pom.xml correctly
2014-08-07 11:28:08 -07:00
Ivan Porto Carrero
c7da910e68
remove sample files again
2014-08-05 10:56:20 -07:00
Ivan Porto Carrero
40d33693cf
add typesafe releases resolver, fixes #232
2014-08-05 10:43:28 -07:00
Tony Tam
13eaf2bf63
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-08-03 09:19:01 -07:00
Tony Tam
d4508ed112
updated resolvers
2014-08-03 09:16:30 -07:00
Tony Tam
c252e9f7c6
added sonatype as resolver
2014-08-03 09:12:16 -07:00
Tony Tam
6690b80b29
Update .travis.yml
2014-08-02 16:32:10 -07:00
Tony Tam
19bb97a725
updated travis to 2.10.4
2014-08-02 16:09:00 -07:00
Tony Tam
62ee62ebd3
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-08-02 16:04:55 -07:00
Tony Tam
87083034ee
Merge pull request #215 from JDiPierro/fix_java_generator_lists
...
Use config.processResponseClass to determine type of returnContainer
2014-07-24 11:48:19 -07:00
Tony Tam
d9de57da6f
Merge pull request #223 from darkcube/master
...
CSharp: Multipart form submission
2014-07-23 08:43:37 -04:00
Timothy Lusk
d0b0323925
CSharp: Implement multipart form submission
2014-07-22 17:17:54 -04:00
Tony Tam
f592414409
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-07-18 09:52:57 -06:00
Tony Tam
e1c8f58d28
added 2.10.4
2014-07-18 09:52:53 -06:00
Tony Tam
4870ed7e51
Merge pull request #220 from darkcube/master
...
CSharp Changes
2014-07-16 16:30:15 -06:00
Timothy Lusk
bbe48814b4
CSharp: Add optional api constructor argument to set the basePath
2014-07-15 15:41:57 -04:00
Timothy Lusk
3b6ffa4a1f
CSharp: Close the WebResponse if we throw an ApiException
2014-07-15 15:41:56 -04:00
Tony Tam
527c40b996
Merge pull request #211 from wcandillon/patch-1
...
Link back to the swagger-js-codegen project
2014-07-13 07:21:22 -07:00
Justin DiPierro
3aa2c86991
Output the resourcePath when no models are found rather than the basePath
2014-07-10 10:14:22 -04:00
Justin DiPierro
e2a20447df
Fixed comment in test
2014-07-10 10:02:18 -04:00
Tony Tam
5d42c8cc5f
moved to petstore
2014-07-04 10:19:48 -07:00
Tony Tam
256485ec5b
updated template
2014-07-04 10:19:28 -07:00
Tony Tam
7ab0394e76
added node.js instead of jetty
2014-07-04 10:19:09 -07:00
Tony Tam
89b04b2e10
formatting
2014-07-04 10:18:44 -07:00
Tony Tam
a019a438e0
changed to petstore sample
2014-07-04 10:08:54 -07:00
Justin DiPierro
9834059786
Fixed BasicScalaGeneratorTest to expect Some(List)
2014-07-03 11:32:37 -04:00
Justin DiPierro
550fade9e0
Codegen.apiToMap should use config.processResponseClass when setting the returnContainer property. Test passes now
2014-07-03 11:24:05 -04:00
Justin DiPierro
aa1b4fc0fb
Wrote failing test for Codegen
2014-07-03 11:23:07 -04:00
Tony Tam
5a659803a8
Merge pull request #212 from darkcube/master
...
Various csharp codegen fixes
2014-06-29 13:59:21 -07:00
Timothy Lusk
7bc7789e81
CSharp: Invoker should handle WebException and rethrow ApiException
2014-06-27 17:55:10 -04:00
Timothy Lusk
cf0721da73
CSharp: Use nullable primitive types to allow optional parameters
2014-06-27 16:10:45 -04:00
Timothy Lusk
dcbf4d1bfd
CSharp: Use the correct model package name
2014-06-27 16:01:24 -04:00
William Candillon
017b578502
Link back to the swagger-js-codegen project
2014-06-26 15:05:33 +02:00
Tony Tam
58bade3b01
Update README.md
2014-06-19 09:33:41 -07:00
Tony Tam
02631e674a
Merge pull request #207 from emmekappa/master
...
Fixing extensions and namespaces for csharp common files.
2014-06-17 10:53:17 -07:00
Michele Cantelli
5f5e534d05
CSharp: renaming the "packages" to follow the .NET style.
2014-06-17 16:22:04 +02:00
Michele Cantelli
51deeb478d
Fixing extensions for csharp common files.
2014-06-17 15:18:58 +02:00
Tony Tam
acff8229b3
Merge pull request #206 from xoom/issue/modelsFromStatus
...
Issue/models from status - utilize the responseModel, if present
2014-06-16 17:03:17 -07:00
Rob Blair
233555790a
Regenerate sample java files with example response status codes
...
* none of existing examples use the responseMessage.responseModel feature, but I have tested it.
* Didn't want to muck with sample json
* update the scripts used to generate both java versions.
* see https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#525-response-message-object
2014-06-16 12:59:53 -07:00
Rob Blair
d5ddac8e7e
Update java mustache to show error status codes and models in generated API, in comments.
...
* I wonder if there is some clever way to make exceptions based on the model thrown, and automatically fill them in with the parsed error models?
* Until then, it's comments, and roll your own.
2014-06-16 12:51:35 -07:00
Rob Blair
e8210cd5e3
allow list of models to be returned in errors
...
* for example, a list of validation errors with an exceptional status
2014-06-16 12:40:44 -07:00
Rob Blair
2dc6b485e0
Generate classes from the models declared in 'responseModel'
...
* ResponseMessage has new constructor parameter, an optional string for responseModel
* Make sure we add it to list of models
* make sure the responseModel is part of the error list available to mustache
2014-06-16 12:34:44 -07:00
Tony Tam
11bede2b7d
improved validation messages
2014-06-12 00:45:27 -07:00
Tony Tam
ed51dd9dea
added files
2014-06-11 06:41:59 -07:00
Tony Tam
218f514005
updated node sample
2014-06-11 06:41:31 -07:00
Tony Tam
209e8e066c
Merge pull request #201 from xoom/issue/JavaSafeApiName
...
coerce API names for classesand files to valid Java names
2014-06-11 06:12:55 -07:00
Tony Tam
7d05b01a56
Merge pull request #202 from gonimar/patch-1
...
Unused local variable 'json_data'.
2014-06-11 06:12:36 -07:00
Tony Tam
64f6bedc37
Merge branch 'repackage'
2014-06-11 06:12:15 -07:00
Tony Tam
4ae4aa98bb
formatting
2014-06-11 06:11:45 -07:00
Tony Tam
db8bda087b
made nickname optional
2014-06-11 06:11:31 -07:00
Tony Tam
06eb52118e
updated to 2.3.0 release
2014-06-11 06:03:44 -07:00
Tony Tam
63be7d0069
removed println
2014-06-11 05:50:44 -07:00
Tony Tam
c7468125fa
added clientName
2014-06-10 20:37:36 -07:00
Tony Tam
7b3d8bf799
added file upload support
2014-06-10 20:37:24 -07:00
Tony Tam
c4913fe583
wrapped in apiInfo
2014-06-10 20:37:08 -07:00
Tony Tam
d3339cb087
fixed string default
2014-06-10 20:36:58 -07:00
Tony Tam
ba4fda12dc
added additional params
2014-06-10 20:36:29 -07:00
Tony Tam
7a6d6d27ff
enabled logging
2014-06-10 20:36:10 -07:00
Tony Tam
bcabb03225
added support for nickname generation
2014-06-10 20:05:19 -07:00
Tony Tam
a404823c54
updated copyright
2014-06-10 17:23:35 -07:00
Tony Tam
96ea70e3c9
added className key
2014-06-10 17:23:20 -07:00
Tony Tam
9a01331ddd
updated copyright
2014-06-10 16:58:43 -07:00
Tony Tam
3bfa468ed1
fixed filemap
2014-06-10 16:57:39 -07:00
Tony Tam
fdf8572535
updated copyright
2014-06-10 16:57:12 -07:00
Tony Tam
cff8b1552d
updated copyright
2014-06-10 16:57:01 -07:00
Tony Tam
e73dd0a7c4
updated copyrights
2014-06-10 16:56:06 -07:00
Tony Tam
9c4c2dfd37
updated copyrights
2014-06-10 16:55:57 -07:00
Tony Tam
2f8355c953
regenerated client
2014-06-10 16:55:34 -07:00
Tony Tam
3f480482b6
regenerated client
2014-06-10 16:55:17 -07:00
Tony Tam
8274196999
regenerated client
2014-06-10 16:55:13 -07:00
Tony Tam
4e8c71f754
regenerated client
2014-06-10 16:54:48 -07:00
Tony Tam
57e7b41e9c
regenerated client
2014-06-10 16:52:16 -07:00
Tony Tam
58d9894f1f
regenerated client
2014-06-10 16:51:41 -07:00
Tony Tam
4b4d4d32cd
regenerated client
2014-06-10 16:51:36 -07:00
Tony Tam
6a2ea9f614
regenerated client
2014-06-10 16:51:10 -07:00
Tony Tam
0d6754e167
regenerated client
2014-06-10 16:50:17 -07:00
Tony Tam
cb5c2a9708
regenerated client
2014-06-10 16:48:27 -07:00
Tony Tam
dc8ad7edf5
updated client
2014-06-10 16:48:05 -07:00
Tony Tam
52bc82149f
file rename
2014-06-10 16:34:40 -07:00
Tony Tam
f53b5e27e0
updated scalatra version, templates for files, forms
2014-06-10 15:51:15 -07:00
Tony Tam
ce5be3452c
added patch class
2014-06-10 15:50:49 -07:00
Tony Tam
ce14c225e5
added patch
2014-06-10 10:36:46 -07:00
Tony Tam
b78721826e
regenerated client
2014-06-10 10:36:13 -07:00
Tony Tam
85113df113
regenerated client
2014-06-10 08:41:44 -07:00
Tony Tam
607b56cb87
removed println
2014-06-10 08:40:19 -07:00
Tony Tam
2dbf8b7d41
regenerated
2014-06-10 08:40:03 -07:00
Tony Tam
7d4c10043d
updated client
2014-06-10 08:22:40 -07:00
Tony Tam
64604124c9
added array support
2014-06-10 08:22:08 -07:00
Tony Tam
50f20ad836
updated templates
2014-06-10 08:21:51 -07:00
Tony Tam
ac40283501
updated samples
2014-06-10 08:01:53 -07:00
Sergey Gonimar
e03d4fc1a5
Unused local variable 'json_data'.
...
The value of the variable is not used anywhere.
2014-06-10 19:25:00 +06:00
Rob Blair
05e9443db5
coerce API names of class and file valid Java names
...
* Swagger allows names of apis to include characters like '-' Java does not like that
* use same replace strings as used in toVarName
2014-06-09 17:04:57 -07:00
Tony Tam
1250cc758f
updated version
2014-06-09 16:34:42 -07:00
Tony Tam
a18784da6c
updated file maps
2014-06-09 15:05:23 -07:00
Tony Tam
c87d637edd
regenerated
2014-06-06 00:27:40 -07:00
Tony Tam
bf4a4e5296
fixed imports, nesting
2014-06-06 00:27:15 -07:00
Tony Tam
4f7b80dad2
added debug, fixed headers
2014-06-05 22:49:09 -07:00
Tony Tam
8a2f9bc7bb
compatibility
2014-06-05 20:08:59 -07:00
Tony Tam
b9806c183b
fixed case
2014-06-05 20:08:37 -07:00
Tony Tam
5aa4c4c999
made snapshot
2014-05-31 16:04:19 -07:00
Tony Tam
424cfac80f
updated config
2014-05-30 16:27:54 -07:00
Ivan Porto Carrero
715913f3b4
Update slightly add some test files
2014-05-30 15:17:53 -07:00
Tony Tam
1c2c4fdcd3
removed function override
2014-05-30 15:03:10 -07:00
Ivan Porto Carrero
2ea6c2a3a7
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-05-30 14:25:57 -07:00
Tony Tam
d91da857a0
removed unused code
2014-05-30 09:59:27 -07:00
Tony Tam
31e65969b3
removed printlns, cruft
2014-05-30 07:53:27 -07:00
Tony Tam
df250bc056
fixed model mapping, refactoring the processing of apiMap and modelMap so it's executed just once
2014-05-30 07:29:19 -07:00
Tony Tam
1569274684
fixed package
2014-05-20 00:14:01 -07:00
Tony Tam
6d8f751da4
added model package
2014-05-19 23:23:23 -07:00
Tony Tam
c2dd00a4ab
fixed return type
2014-05-19 15:08:44 -07:00
Tony Tam
9e6ae6eef8
added opts for input
2014-05-15 08:51:41 -04:00
Tony Tam
58b985ba02
moved packages to address collisions with swagger-core per #145
2014-05-14 18:23:32 -04:00
Tony Tam
b4f3143c8c
Merge pull request #159 from yanoosh/php-fix-sanitize
...
PHP - Improved/fixed serialization and deserialize.
2014-05-01 20:31:13 -07:00
Tony Tam
84ad6b5d50
rebuilt docs
2014-05-01 20:19:40 -07:00
Tony Tam
32c14af5ce
added resize
2014-05-01 20:18:23 -07:00
Tony Tam
46023c47f5
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-05-01 20:17:53 -07:00
Tony Tam
71212e5f68
reverted to artifactVersion
2014-05-01 20:16:46 -07:00
Tony Tam
6d1c34048c
fix for #176
2014-05-01 20:16:27 -07:00
Tony Tam
f67006057e
updated version
2014-05-01 20:14:41 -07:00
Tony Tam
e1e397a7b5
Merge pull request #179 from j-unior/scala-2.10
...
Added scala 2.10 support in generated maven profile.
2014-05-01 18:03:22 -07:00
Tony Tam
0f35799a77
fixed start script #188
2014-04-29 09:46:49 -07:00
Tony Tam
be44221d98
Merge pull request #187 from earldouglas/return-generated-files
...
Return files generated from BasicGenerator#generateClientWithoutExit
2014-04-24 16:06:12 -07:00
James Earl Douglas
94ad254a58
Return files generated from BasicGenerator#generateClientWithoutExit
2014-04-24 15:14:41 -07:00
James Earl Douglas
666a4be1f2
Return files generated from Codegen#writeSupportingClasses
2014-04-24 15:12:11 -07:00
James Earl Douglas
e542fbd0a2
De-duplicate code from Codegen#writeSupportingClasses
2014-04-24 15:07:45 -07:00
Pat
f4b2d13aa4
Update README.md
2014-04-09 10:15:08 -07:00
j-unior
abcae6da96
Added scala 2.10 support in generated maven profile. You can enable it with mvn install -P scala_2.10 on generated client
2014-04-01 16:56:08 +03:00
Tony Tam
1b9b3eaa8e
Merge pull request #175 from STEAMULO/master
...
Filename misprint for Android generation
2014-03-25 11:33:03 -07:00
aansel
0babc4f192
Filename misprint for Android generation
2014-03-25 18:44:05 +01:00
webron
e51ffb37b4
Update README.md
2014-03-23 13:16:02 +02:00
Tony Tam
2fba96713c
Merge pull request #172 from giovannibotta/master
...
Minor change to map used when generating supporting files
2014-03-19 08:27:49 -07:00
giodude
dccf8edc25
Minor change to map used when generating supporting files.
2014-03-19 11:18:23 -04:00
webron
d98aeac818
Create LICENSE
2014-03-19 16:08:55 +02:00
webron
62bfc4ea19
Update README.md
...
Updated license year.
2014-03-19 16:08:38 +02:00
Tony Tam
8d74029fba
Merge pull request #170 from hsanjuan/master
...
Issue #168 : Let runscala.sh run from everywhere without breaking
2014-03-18 18:54:28 -07:00
Hector Sanjuan
809cb5cf1f
Issue #168 : Let runscala.sh run from everywhere without breaking and correctly
...
setting the classpath
2014-03-17 16:21:36 +01:00
Tony Tam
a4196609c9
added friendly error message when SSL validation fails
2014-03-06 08:29:02 -08:00
Tony Tam
e7eedcf48d
removed printlns
2014-03-05 07:54:12 -08:00
Tony Tam
8bf042b153
updated sample with form param support
2014-03-05 07:54:03 -08:00
Tony Tam
8325a12faf
fixed hasMore
2014-03-04 20:05:16 -08:00
Tony Tam
03abccd8e8
fix for #154
2014-03-04 19:48:13 -08:00
Janusz Jablonski
19e79fedb2
Added backslash before DateTime object.
2014-03-03 00:40:45 +01:00
Tony Tam
71eacaa3b1
Merge pull request #160 from yanoosh/php-removed-escape
...
PHP - Removed escapeReservedWord method.
2014-03-02 13:30:08 -08:00
Janusz Jablonski
7cfa46d838
Removed escapeReservedWord method.
2014-03-02 18:31:35 +01:00
Janusz Jablonski
7989e78460
Improved/fixed serialization and deserialize.
2014-03-02 14:44:46 +01:00
Tony Tam
08466f615f
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-02-25 12:54:12 -08:00
Tony Tam
880d14990f
added patch support
2014-02-25 12:53:11 -08:00
Tony Tam
39ac8f6d46
added patch support
2014-02-25 12:52:49 -08:00
Tony Tam
685fc7066f
Update README.md
2014-02-22 07:21:13 -08:00
Tony Tam
127600e728
Update README.md
2014-02-21 17:29:22 -08:00
Tony Tam
d764328026
updated readme
2014-02-21 17:22:48 -08:00
Tony Tam
cae8296999
updated readme
2014-02-21 17:21:56 -08:00
Tony Tam
86efb71124
updated readme
2014-02-21 17:21:50 -08:00
Tony Tam
0899b08b8c
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-02-21 17:20:16 -08:00
Tony Tam
a770db9d3e
added readme
2014-02-21 17:20:06 -08:00
Tony Tam
87b5c43166
Merge pull request #158 from mkantor/objc-safe-var-names
...
Prevent ObjC generator from producing invalid var names.
2014-02-21 13:41:26 -08:00
Matt Kantor
d14ab2aeff
Prevent ObjC generator from producing invalid var names.
2014-02-21 13:35:13 -08:00
Tony Tam
5e95362542
added files
2014-02-20 21:09:48 -08:00
Tony Tam
e92d4e6258
updated sample
2014-02-19 16:46:11 -08:00
Tony Tam
641aada8a8
updated templates
2014-02-19 15:08:06 -08:00
Tony Tam
c8c59fe93a
manual merge of https://github.com/wordnik/swagger-codegen/pull/135
2014-02-19 14:30:49 -08:00
Tony Tam
450746f94d
updated jodatime version, added groupId and artifactId params
2014-02-19 14:30:20 -08:00
Tony Tam
827f03f272
Merge pull request #157 from df-jsykes/master
...
fix for broken links when using file system to browse
2014-02-19 12:40:03 -08:00
Jason Sykes
de6f949c64
fix for broken links when using file system to browse
2014-02-19 15:37:07 -05:00
Tony Tam
82cdec7197
Merge pull request #107 from SimonKaluza/patch-1
...
Update Objective-C's run-time type-check in SWGApiClient to allow NSArrays
2014-02-19 12:30:32 -08:00
Tony Tam
ab7e152877
Merge pull request #139 from cb372/pass-version-to-mustache
...
Add the API version to the Mustache model when generating supporting files
2014-02-19 12:24:09 -08:00
Tony Tam
0ec694940e
fixed target directory
2014-02-19 12:16:31 -08:00
Tony Tam
5a4af29f0e
fix for #156
2014-02-19 12:15:50 -08:00
Tony Tam
d72578e492
removed .yml suffix
2014-02-19 12:13:51 -08:00
Tony Tam
405e8b1786
Merge pull request #151 from yanoosh/accepts-header
...
Added consumes and produces to php templates.
2014-02-11 22:32:29 -08:00
Janusz Jabłoński
8909bd4ba1
Added consumes and produces to php templates.
2014-02-11 12:42:30 +01:00
Tony Tam
e9af56eb87
Update README.md
2014-02-06 18:14:17 -08:00
Tony Tam
ee361e9ae2
Merge pull request #150 from msolujic/master
...
Added 'char' and 'short' to alowed special words for Java generator.
2014-02-06 18:07:22 -08:00
msolujic
a580c38fed
Added 'char' and 'short' to alowed special words for Java generator.
2014-02-07 02:53:09 +01:00
Tony Tam
668059a2c4
added travis build file
2014-02-05 09:08:14 -08:00
Tony Tam
31a53d5842
fix for #147
2014-02-05 08:59:28 -08:00
Tony Tam
e4e768062a
Merge pull request #142 from bkowalik/master
...
BasicGenerator refactoring
2014-02-03 23:16:05 -08:00
Tony Tam
3192240dc0
Merge pull request #126 from cb372/joda-time-dependency
...
Add joda-time support to BasicJavaGenerator
2014-02-03 22:36:39 -08:00
Tony Tam
2d9a011f82
Merge pull request #133 from giodude/master
...
Explicitly defined type of a few properties
2014-02-03 22:36:01 -08:00
Tony Tam
476aed7f5b
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-02-03 17:31:35 -08:00
Tony Tam
09580c2d87
added publish fat jar
2014-02-03 17:31:19 -08:00
Bartosz Kowalik
48a07d031e
BasicGenerator refactoring
2014-01-30 10:36:36 +01:00
Tony Tam
7414a9d56a
Merge pull request #141 from radius314/master
...
Fix for non-GET verbs
2014-01-29 17:37:07 -08:00
Tony Tam
91e08b5524
fix for #140
2014-01-29 17:14:28 -08:00
Danny Gershman
8abb6521b4
removed line break
2014-01-29 19:45:24 -05:00
Danny Gershman
6394e5448c
the verb wasn’t being set for web client, thus non GETs would probably always fail
2014-01-29 19:35:54 -05:00
Chris Birchall
2f5651d988
Add the API version to the Mustache model when generating supporting files.
...
This makes it easy to generate a client with version numbering in sync
with the server's advertised API version.
2014-01-28 15:44:38 +09:00
Tony Tam
a7afbd106f
Merge pull request #138 from radonsky/add_getter_and_setter_to_parameters
...
added “getter” and “setter” to operation parameter properties
2014-01-27 14:31:48 -08:00
Marek Radonsky
d67774d90f
added “getter” and “setter” to operation parameter properties
2014-01-27 13:56:28 -08:00
Tony Tam
07f36d3500
Merge pull request #137 from radonsky/clone_required_parameters
...
clone the parameter map when creating list of required parameters
2014-01-27 13:22:06 -08:00
Marek Radonsky
cc1bcf7989
clone the parameter map when creating list of required parameters
2014-01-27 13:11:20 -08:00
Tony Tam
096653daf7
removed old pom
2014-01-27 07:50:38 -08:00
Tony Tam
773a6b50eb
fixed scala-reflect library inclusion
2014-01-27 07:50:23 -08:00
Tony Tam
bb3bd0d357
regenerated clients
2014-01-27 07:49:58 -08:00
Tony Tam
16eb944d2f
Merge branch 'master' of github.com:wordnik/swagger-codegen
2014-01-27 07:48:44 -08:00
Tony Tam
74df3ab4f7
fix for csharp array response type
2014-01-27 07:48:29 -08:00
Chris Birchall
d18e75bbf1
Fixup: change spaces to tab
2014-01-26 11:34:04 +09:00
Chris Birchall
b7cffe4121
Add and register Jackson Joda-Time module
2014-01-26 11:31:08 +09:00
Tony Tam
5180b09acb
Merge pull request #134 from bkowalik/master
...
Lack of models description bugfix
2014-01-24 10:44:45 -08:00
Bartosz Kowalik
6fad954147
Lack of models description bugfix
2014-01-24 19:33:50 +01:00
Giovanni Botta
3b1eac0e50
Explicitly defined type of a few properties
...
As per [this issue](https://github.com/wordnik/swagger-codegen/issues/130 ) this change makes the signature of those three properties consistent with their superclass so that traits assuming that signature can be mixed in.
2014-01-24 09:37:03 -05:00
Tony Tam
7715dbf0f2
Merge pull request #132 from gyeh/master
...
Fix docs to point to correct swagger spec URL
2014-01-22 13:45:48 -08:00
gyeh
bbb682c13d
Fix docs to point to correct swagger spec URL
2014-01-22 12:01:44 -08:00
Tony Tam
42a8514c22
updated to scalatra 2.3
2014-01-21 09:40:42 -08:00
Tony Tam
ffca1e2969
updated listings
2014-01-21 09:39:30 -08:00
Tony Tam
1aa65bc14b
Merge pull request #131 from cb372/fix-auth-deser
...
Fix deserialization of "authorizations" fields
2014-01-21 09:36:56 -08:00
Chris Birchall
1f46819b61
Fix deserialization of "authorizations" fields
...
Deserializer should expect a Map[String, AuthorizationType], not a
List[String].
2014-01-21 20:17:34 +09:00
Tony Tam
5892fdb2bb
manual merge of #125
2014-01-16 20:34:26 -08:00
Tony Tam
32d792de01
Merge pull request #122 from vaelen/android-ignore-ssl-certificates
...
Update android target to work with self signed certificates if needed.
2014-01-16 20:30:19 -08:00
Tony Tam
82646f34ca
Merge pull request #108 from backstop/generate-client-without-exit
...
Extract actual work from generateClient so that we can call it without killing the JVM.
2014-01-16 20:29:27 -08:00
Tony Tam
4f25ea7e6b
Merge pull request #127 from cb372/fix-pom-fields
...
Improve groupId, artifactId, name in generated pom.xml
2014-01-16 20:19:25 -08:00
Chris Birchall
146f5c4c2a
Improve groupId, artifactId, name in generated pom.xml
...
1. Replace hardcoded groupId (`com.wordnik`) with `package` variable.
2. artifactId and name were using non-existent variable `artifactId`.
This results in an empty artifactId, which makes Maven puke.
Replaced them with a sensible hardcoded value, "api-client".
2014-01-17 11:39:22 +09:00
Chris Birchall
6b9cba1411
Add joda-time support to BasicJavaGenerator
...
* Add joda-time as a dependency in pom.xml
* Add import mappings for commonly used joda-time classes
2014-01-17 10:34:19 +09:00
Tony Tam
a413efc3ca
Merge pull request #121 from vaelen/fix-android-param-names
...
Fixes a bug where the wrong name was being used for header parameters in the Android code generator.
2014-01-16 13:36:57 -08:00
Tony Tam
6c8aed5dcc
Merge pull request #112 from vaelen/fix-no-content
...
Updated Java client to handle the case of a NO_CONTENT response.
2014-01-16 13:36:06 -08:00
Andrew Young
52905fd6de
Adds http scheme back in.
2014-01-08 16:32:30 -08:00
Andrew Young
f8807c7440
Code cleanup.
2014-01-08 16:32:13 -08:00
Andrew Young
755591f9e5
Updates the android target to use a version of HttpClient that is closer
...
to the version shipped with Android. Also adds support for skipping SSL
certificate verifcation. This allows the client to be used with self
signed certificates.
Conflicts:
src/main/resources/android-java/apiInvoker.mustache
2014-01-08 16:31:50 -08:00
Andrew Young
896d0d4b54
[ #61769706 ] Fixes a bug where the wrong name was being used for header
...
parameters in the Android code generator.
2014-01-06 22:54:42 -08:00
Tony Tam
cf95d4e59e
added android sample
2014-01-06 12:27:57 -08:00
Tony Tam
b503994577
added android sample
2014-01-06 12:27:31 -08:00
Tony Tam
569f77b512
added yml2swagger
2013-12-20 16:42:59 -08:00
Tony Tam
773fb89acb
Merge pull request #111 from RobBlairInq/issues/67
...
Issues/67 - generate expected exceptions in java templates when parameters are missing
2013-12-04 23:32:11 -08:00
Tony Tam
890b1ee3c2
updated package
2013-12-03 12:15:20 -08:00
Andrew Young
bfb5b721c5
Merge remote-tracking branch 'upstream/master' into fix-no-content
...
Conflicts:
samples/client/petstore/java/src/main/java/com/wordnik/client/ApiInvoker.java
2013-12-02 13:42:15 -08:00
Robert Blair
9b6995f28c
Merge branch 'master' into issues/67
2013-11-29 10:49:48 -08:00
Tony Tam
1b8bb4a0a6
rebuilt client
2013-11-28 13:28:26 -10:00
Tony Tam
7f35b875a4
Merge branch 'issues/91' of git://github.com/RobBlairInq/swagger-codegen into RobBlairInq-issues/91
2013-11-28 10:56:36 -10:00
Tony Tam
b5d2ed0322
Merge pull request #113 from RobBlairInq/issues/rebuildall
...
add script to run all the sample build scripts
2013-11-28 11:01:37 -08:00
Robert Blair
a7b78a6210
add script to run all the sample build scripts
2013-11-27 20:30:31 -08:00
Robert Blair
90c14fd116
issue/91 - and also check in the generated fils
2013-11-27 20:04:57 -08:00
Robert Blair
830ad87fcb
issues/91 - enum in model commented out by default
2013-11-27 18:03:57 -08:00
Rob Blair
3a8928f869
issues/91 - regenerate petstore java files
2013-11-27 14:19:56 -08:00
Rob Blair
f883c5e77c
issues/91 - allow enum and min/max to be used in templates
...
* parse numeric min / max values, include in parameters
* pass along the allowable values in the model used by templates
* ensure ‘hasMore’ is set for more parameter lists used by templates
* java model now includes min / max in comment, and allowed enum values as model children
* note: enums in spec can contain non-java characters, so the User.java in examples does not compile presently.
2013-11-27 14:18:35 -08:00
Andrew Young
8cc83d180d
Fixed spacing issue.
2013-11-27 12:58:58 -08:00
Andrew Young
65cc529ec6
Updated to handle the case of a NO_CONTENT response.
2013-11-27 12:52:38 -08:00
Andrew Young
9686ceed2d
Updated sample code to reflect changes.
2013-11-27 12:52:38 -08:00
Robert Blair
2c73efa536
And rebuild the samples for android-java
2013-11-27 08:02:42 -08:00
Robert Blair
800312361f
Also android-java templates:
...
Rebuild wording sample ApiInvoker from latest.To throw expected ApiException instead of NullPointerException, check required parameters before use
2013-11-27 08:02:03 -08:00
Robert Blair
59897c19a9
Rebuild wording sample ApiInvoker from latest.
2013-11-27 01:16:58 -08:00
Robert Blair
08a3e9e881
Rebuild generated java samples with ApiException checking properly located
2013-11-27 01:16:21 -08:00
Robert Blair
1e2f7cb1f8
To throw expected ApiException instead of NullPointerException, check required parameters before use
2013-11-27 01:13:51 -08:00
Robert Blair
17c38115e6
rebuild java files before changes to template
2013-11-27 01:05:13 -08:00
Robert Blair
0ee6531fcd
Version mapping for scala 2.10.* should be consistent.
2013-11-27 01:02:04 -08:00
George Shakhnazaryan
87c12c155d
Extract actual work from generateClient so that we can call it without killing the JVM.
2013-11-19 15:55:06 -06:00
SimonKaluza
b373e4312e
Fixed SWGApiClient.m's run-type type checking to allow NSArrays to be passed (for Swagger-generated methods that rely on List parameters in the HTTP body)
2013-11-12 23:26:09 -05:00
Ivan Porto Carrero
b39a609226
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-11-09 12:18:42 -08:00
Ivan Porto Carrero
d25f64cca0
change to return transpor client in async scala client
2013-11-09 12:18:20 -08:00
Tony Tam
0d40a53e06
Merge pull request #101 from joeltgf/master
...
Change "success" response status code in Java ApiInvoker to all 2xx responses vs. just 200.
2013-11-04 09:57:09 -08:00
Joel Caplin
c779905163
Rationalize response status code check. Ensure that all bona fide 2xx responses are treated in the same way that "200 OK" is.
...
Previously, was explicitly checking for response code 200 (ClientResponse.Status.OK).
Now, checks the family of the response to make sure it is successful (Family.SUCCESSFUL). This enables us to POST to resources that return 201 created - without having to handle a checked ApiException.
2013-10-31 18:23:44 -07:00
Tony Tam
59da358eb5
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-10-22 12:08:56 -07:00
Tony Tam
b815ffa403
formatting
2013-10-22 12:08:43 -07:00
Tony Tam
27a8be2381
upped version for release
2013-10-22 12:08:31 -07:00
Tony Tam
d5b53a1778
updated templates
2013-10-22 02:24:37 -07:00
Tony Tam
01b745c366
added hack to support writing json models in 1.1 format
2013-10-22 02:23:50 -07:00
Russell Horton
af96f33e6f
regenerated python, python3 and php clients
2013-10-18 16:24:08 -07:00
Tony Tam
2dda926cb6
added path to spec files
2013-10-18 16:05:50 -07:00
Tony Tam
8fb6fc847c
fix for #81
2013-10-18 15:26:20 -07:00
Tony Tam
11d1b8fcd4
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-10-18 14:46:21 -07:00
Tony Tam
5076d76a74
updated scripts to detect scala version and use appropriate library if possible
2013-10-18 14:46:03 -07:00
Tony Tam
044621b325
fixed import issue for objc
2013-10-18 14:45:45 -07:00
Tony Tam
5a3426dee6
renamed to use SWG as default prefix
2013-10-18 14:45:29 -07:00
Tony Tam
b6b28bb1a2
added version checking to avoid runtime scala incompatibilities
2013-10-18 14:45:05 -07:00
Tony Tam
189569518d
updated to use afnetworking, cocoapods
2013-10-18 14:44:44 -07:00
Tony Tam
731fddbc30
regenerated client
2013-10-18 14:44:02 -07:00
Tony Tam
c4990b773d
regenerated client
2013-10-18 14:43:26 -07:00
Tony Tam
d56c5e3b44
regenerated client
2013-10-18 14:42:57 -07:00
Tony Tam
6f1a4a2f82
Merge pull request #70 from sibblegp/fix_python_obj_type
...
Only check in lists and dictionaries
2013-10-18 08:25:10 -07:00
Tony Tam
a96d49f045
Merge pull request #100 from JanxSpirit/master
...
more descriptive exception message than MatchError
2013-10-16 20:21:11 -07:00
Gregg Carrier
ee19dfadf1
more descriptive exception message than MatchError
2013-10-16 22:11:15 -04:00
Tony Tam
2c5524476e
Merge pull request #98 from markac/master
...
Fix Java Generator to always generate valid Java variable names
2013-10-07 22:10:28 -07:00
Mark Crowther
7bde2ffd6e
Fix Java Generator to always generate valid Java variable names
2013-10-03 15:59:40 +01:00
Ivan Porto Carrero
f17654cd96
adds bodyParamRequired
2013-10-01 20:17:11 -07:00
Tony Tam
0a47fc23a3
Merge pull request #96 from df-jsykes/master
...
Fix for sidebar never scrolling in static docs, preventing the user from seeing all operations.
2013-09-30 15:04:06 -07:00
Jason Sykes
13eb435138
removed trigger
2013-09-30 17:56:39 -04:00
Jason Sykes
329f2817c2
Fix to scroll left side of sample docs
2013-09-30 17:50:36 -04:00
Tony Tam
609cef0b65
added android client
2013-09-20 12:34:12 -07:00
Tony Tam
cfa1f1a3c1
formatting
2013-09-19 08:13:50 -07:00
Tony Tam
e851262875
Merge pull request #95 from canadaduane/http_lc
...
Add an 'httpMethodLowerCase' property
2013-09-18 15:02:43 -07:00
Duane Johnson
7956ccc979
Add an 'httpMethodLowerCase' property
...
Some libraries use lower case httpMethod names for method calls. For
example, Ruby's Faraday library uses 'get', 'put', 'post', 'delete'.
Rather than this unweildy Ruby code produced by a mustache template:
self.send("GET".downcase, path, request_opts)
This patch would allow for a more tidy output such as:
get(path, request_opts)
2013-09-18 15:47:41 -06:00
Tony Tam
13bc111bd6
added some logging for fatal container issues
2013-09-18 12:55:12 -07:00
Tony Tam
cc0a30edf8
added header support, suppressed println
2013-09-18 11:55:45 -07:00
Tony Tam
0ffc6cb7a0
added header passing for codegen
2013-09-17 13:44:45 -07:00
Tony Tam
6a2f53f07d
added type modification
2013-09-16 17:35:15 -07:00
Tony Tam
930b1ea0ea
updated java example
2013-09-16 17:35:01 -07:00
Tony Tam
8e8e5308b6
added validation error if response not specified
2013-09-16 16:25:19 -07:00
Tony Tam
8f71d3fc50
added form params
2013-09-16 16:25:00 -07:00
Tony Tam
a123d8f066
added set mapping
2013-09-16 16:24:44 -07:00
Tony Tam
ea15cad8d5
fixes for position, and null arg removal
2013-09-16 16:24:24 -07:00
Tony Tam
e4a4f25f22
updated test to match changes in petstore as deployed
2013-09-16 16:23:56 -07:00
Tony Tam
93677742d3
Merge pull request #93 from canadaduane/swagger_config
...
Fix Ruby Request class: no access to inject_format on Class object
2013-09-12 17:33:26 -07:00
Duane Johnson
389765c113
Fix Ruby Request class: no access to inject_format on Class object
2013-09-12 16:05:59 -06:00
Tony Tam
5ef5fa7296
fixed container type translation
2013-09-12 13:57:03 -07:00
Tony Tam
4e408e6d80
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-09-12 13:42:01 -07:00
Tony Tam
a140ea2b9d
fixed response type with array of simple types
2013-09-12 13:41:53 -07:00
Ivan Porto Carrero
b920881490
allow api level config of default imports in async scala
2013-09-09 18:51:04 -07:00
Tony Tam
56d5167a27
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-09-09 17:53:11 -07:00
Tony Tam
ddf81948a8
fixed bug where inner simple types were not being processed
2013-09-09 17:52:49 -07:00
Tony Tam
6652028d71
fixed bug where inner simple types were not being processed
2013-09-09 17:52:30 -07:00
Tony Tam
c9fccc5c75
removed lc array
2013-09-09 17:52:06 -07:00
Tony Tam
f766937ac7
added set support
2013-09-09 17:51:48 -07:00
Tony Tam
54f0823ec4
Update README.md
2013-09-09 15:25:38 -07:00
Tony Tam
5f61d20610
fixed build error
2013-09-09 13:59:55 -07:00
Ivan Porto Carrero
7ed2df2722
one more qualified type
2013-09-07 10:15:28 -07:00
Ivan Porto Carrero
a8a2a41315
Fill out qualified type when it's provided in the json
2013-09-06 22:14:48 -07:00
Ivan Porto Carrero
676283875b
add the ability to exclude packages for models in the async scala codegen
2013-09-06 20:52:14 -07:00
Ivan Porto Carrero
4f95550977
fix set generation in async client
2013-09-05 21:58:24 -07:00
Ivan Porto Carrero
7056081605
fix Array[long] to List[Long]
2013-09-05 21:45:19 -07:00
Tony Tam
c90083855f
added set test
2013-09-05 17:15:36 -07:00
Tony Tam
2f997e6b29
added fix for set
2013-09-05 17:15:10 -07:00
Tony Tam
8ad07d069c
Merge pull request #87 from canadaduane/rubyclean
...
Change ruby generation to be a little more ruby-esque
2013-09-02 21:17:15 -07:00
Tony Tam
51e29cdfaf
Merge pull request #88 from silentdth/master
...
documentation for compiling on Windows
2013-09-02 21:05:20 -07:00
Ivan Porto Carrero
811425a15f
Revert "use position property in json to preserve ordering across generations"
...
This reverts commit 9ee361df5b .
2013-08-31 19:57:54 -07:00
Ivan Porto Carrero
9ee361df5b
use position property in json to preserve ordering across generations
2013-08-31 19:46:14 -07:00
Benjamin Dodd
c1df192f09
documentation for compiling on Windows
2013-08-31 19:58:04 +12:00
Duane Johnson
7d6660d56c
Change ruby generation to be a little more ruby-esque
...
Cleaned up some very long lines, added indentation, and shortened
the repetitive parts of the model mustache template.
2013-08-30 17:07:11 -06:00
Tony Tam
450b3c7ed5
fixed array with simple types, added test
2013-08-28 17:28:52 -07:00
Ivan Porto Carrero
e1e95fc1d2
remove redundant brace
2013-08-27 20:22:22 -07:00
Mike O'Connor
8365270134
bump version
2013-08-27 20:22:34 -04:00
Mike O'Connor
33163cd253
options should be unwrapped
2013-08-27 17:04:09 -04:00
Ivan Porto Carrero
2b04a5a127
Fix using the typeMappings
2013-08-26 17:55:28 -07:00
Ivan Porto Carrero
baa0a45537
add array type mapping
2013-08-26 02:05:39 -07:00
Ivan Porto Carrero
6747e3eb0b
update to sbt 0.13.0
2013-08-25 18:20:23 -07:00
Ivan Porto Carrero
bad8d7c4b3
build.sbt edit
2013-08-24 19:42:51 -07:00
Ivan Porto Carrero
2610ac7fc3
update async scala client to use type classes for serializing and deserializing
2013-08-24 19:36:43 -07:00
Ivan Porto Carrero
e2730ae34e
fix async scala client generator
2013-08-22 15:31:42 -07:00
Tony Tam
beeeb133e6
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-08-22 13:18:13 -07:00
Tony Tam
01dc29d789
fix for jsonschema format in model property with array
2013-08-22 13:18:03 -07:00
Ivan Porto Carrero
21085b472a
bump version
2013-08-22 10:09:22 -07:00
Tony Tam
5483ba5ae7
fix for type
2013-08-20 22:53:13 -07:00
Tony Tam
4a50bb3183
updated to 1.2 spec support
2013-08-17 10:10:37 -07:00
Tony Tam
daeb964bfc
updated import
2013-08-16 21:22:14 -07:00
Tony Tam
ad4bf57535
updated prefix
2013-08-16 21:22:06 -07:00
Tony Tam
83ff341e5e
fix for #83
2013-08-16 17:53:03 -07:00
Tony Tam
701d4c15a9
updated to 1.2
2013-08-16 17:43:02 -07:00
Tony Tam
01ff7be020
updated to 1.2
2013-08-16 17:22:02 -07:00
Tony Tam
a7bf8b6314
fixes for inner types, spec 1.2 conversion
2013-08-16 17:16:20 -07:00
Tony Tam
c386edb2e4
fixes for inner types, spec 1.2 conversion
2013-08-16 17:16:04 -07:00
Cody Allen
9e12191a64
Fix wrapping default values in an Option for optional params
2013-08-16 09:26:33 -07:00
Ivan Porto Carrero
feb6c188d3
Fix isNotRequired/required on models
2013-08-14 23:16:50 -07:00
Tony Tam
1e245583c9
updated docs
2013-08-14 17:56:08 -07:00
Tony Tam
0e03509cbc
added checking
2013-08-14 17:56:03 -07:00
Tony Tam
3bf486e49d
updated script
2013-08-14 17:19:20 -07:00
Tony Tam
2497e3a8cf
fix for serializer
2013-08-14 17:19:03 -07:00
Tony Tam
d798725d9e
added file
2013-08-14 14:49:10 -07:00
Tony Tam
f0517880e7
updated converter args, serializer
2013-08-14 14:43:13 -07:00
Tony Tam
dd68c31fb4
fixed tests
2013-08-14 14:41:35 -07:00
Tony Tam
f6622fbb59
added spec converter
2013-08-14 13:52:19 -07:00
Tony Tam
aa1fbb680b
updates for response class to 1.2 spec
2013-08-11 15:36:16 -07:00
Tony Tam
93067a0ce0
updated 1.2 tests
2013-08-11 09:42:53 -07:00
Tony Tam
5a064d6bad
updated 1.2 tests
2013-08-11 09:26:32 -07:00
Tony Tam
feb5a2ff3b
updated to 1.2 spec
2013-08-10 09:55:30 -07:00
Tony Tam
73a70a65ff
added 1.2 spec tests
2013-08-10 09:54:37 -07:00
Tony Tam
3b81d81143
added 1.2 spec tests
2013-08-10 09:54:14 -07:00
Tony Tam
74543f75f9
merged pom + invoker changes, added correct mapping for list
2013-08-08 16:18:57 -07:00
Tony Tam
d9d6cc1e76
fixed filePath
2013-08-08 16:18:33 -07:00
Tony Tam
a3f5c0c688
fixed content type for java client
2013-08-08 16:05:05 -07:00
Tony Tam
17b63b2be8
more refactoring to support 1.2 spec
2013-08-08 15:32:37 -07:00
Tony Tam
558a9cbf64
updated support for relative base paths
2013-08-08 13:53:14 -07:00
Tony Tam
021f269d9d
prep for swagger-1.2 support
2013-08-08 12:13:27 -07:00
Tony Tam
7f73007ec4
prep for swagger-1.2 support
2013-08-08 12:13:08 -07:00
Tony Tam
1a1bfd2c7c
added logger per #273
2013-08-01 18:21:19 -07:00
Tony Tam
90b34333f5
changed response code
2013-07-31 20:43:29 -07:00
Tony Tam
fa59f168a7
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-07-30 23:55:57 -07:00
Tony Tam
9102a333e3
moved files to version-specific
2013-07-30 23:55:43 -07:00
Tony Tam
43bc3f5be2
formatting
2013-07-30 23:55:19 -07:00
Tony Tam
fbc09aa77b
renamed to separate spec versions
2013-07-30 23:55:05 -07:00
Russell Horton
03619b19a1
in PHP client, add query params for all methods, not just GET
2013-07-23 17:50:07 -07:00
Tony Tam
422e79dd01
Update README.md
2013-07-21 10:07:14 -07:00
Tony Tam
b9a60649a8
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-07-20 23:13:23 -07:00
Tony Tam
a06dd72989
added exit to quit template engine
2013-07-20 23:13:12 -07:00
Tony Tam
932dc843f9
updated urls per #75
2013-07-20 23:12:58 -07:00
Tony Tam
c45c8d251a
Merge pull request #73 from victorgit/master
...
Code that generates a groovy plugin based on the swagger resources
2013-07-18 07:41:08 -07:00
Victor Trakhtenberg
ea6a9305be
Groovy client generation
2013-07-18 14:31:47 +03:00
Victor Trakhtenberg
c82a5c8aaa
Groovy client generation
2013-07-18 13:30:16 +03:00
Victor Trakhtenberg
8135cd65dc
Groovy client generation
2013-07-18 13:27:22 +03:00
Tony Tam
db68a3acbd
Merge pull request #63 from geoffreys/master
...
C# template compiler error for non-string parameters
2013-07-16 21:50:16 -07:00
George Sibble
0628c63b15
Check for None Type
...
Signed-off-by: George Sibble <gsibble@gmail.com >
2013-07-16 14:32:17 -07:00
George Sibble
4d05b5d81f
Only check in lists and dictionaries
...
The "in" operator also works on strings which can cause problems with this line if the attribute and the object are named the same thing.
Signed-off-by: George Sibble <gsibble@gmail.com >
2013-07-16 14:20:49 -07:00
Tony Tam
24af6a00c6
added 2.9.1 launcher support
2013-07-09 16:01:34 -07:00
Tony Tam
fd72c1b9f1
fix for #69 , fixed test output
2013-07-03 13:48:35 -07:00
Tony Tam
885cd36165
added support for swagger 1.2 spec
2013-06-30 21:36:52 -07:00
Ivan Porto Carrero
a31780e08f
Make the launcher scripts use the assembly generated jar
2013-06-25 20:10:48 -07:00
Ivan Porto Carrero
dc3a4b4eb5
allow adding typeMappings and includes through config
2013-06-23 18:35:48 -07:00
Tony Tam
c1e018947d
changed to staging repo
2013-06-23 08:55:47 -07:00
Ivan Porto Carrero
4a3321f253
use sonatype repos for publishing
2013-06-22 22:34:47 -07:00
Ivan Porto Carrero
c9614ab795
force maven style publishing
2013-06-22 22:34:21 -07:00
Ivan Porto Carrero
500262bd03
allow using Map[String, List[String]]
2013-06-22 22:01:43 -07:00
Ivan Porto Carrero
4467fe66c6
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-06-22 17:45:02 -07:00
Geoff Steffens
981ce3d990
Support non-string parameters in querystring
2013-06-19 14:47:40 +10:00
Tony Tam
936387d1df
fix for #61
2013-06-17 21:33:40 -07:00
Tony Tam
d14f74b82c
removed primitives from reserved words
2013-06-17 20:58:06 -07:00
Tony Tam
85b1fb71c2
Merge pull request #60 from radius314/feature/code-comments
...
Feature/code comments
2013-06-05 08:53:19 -07:00
Tony Tam
9e8f817a6b
Merge pull request #59 from radius314/feature/escaping-forward-slash-windows
...
fixing replaceAll bug on windows with escaping paths, changed replaceAll...
2013-06-05 08:18:19 -07:00
Tony Tam
697f6dc7c7
updated names
2013-06-04 11:08:34 -07:00
Danny Gershman
d038ef4799
needed to update the compile file for documentation
2013-06-04 01:15:47 -04:00
Danny Gershman
3a2d7adc35
code comment templating added
2013-06-03 19:02:09 -04:00
Ivan Porto Carrero
0e8274ff3b
use latest swagger async http client
2013-06-02 18:28:10 -07:00
Tony Tam
a335fe008d
added groupId
2013-06-01 12:15:23 -07:00
Tony Tam
251384bb47
added groupId
2013-06-01 12:15:14 -07:00
Tony Tam
54ec7f2bb2
added artifact id
2013-06-01 12:11:59 -07:00
Tony Tam
2199d08e72
added support for artifact id
2013-06-01 12:11:12 -07:00
Danny Gershman
e9fa4434f2
fixing replaceAll bug on windows with escaping paths, changed replaceAll() to replace()
2013-05-30 15:35:47 -04:00
Tony Tam
154b2fdeca
Merge pull request #56 from radius314/feature/csharp-templates
...
created CSharp codegen templating
2013-05-28 11:50:54 -07:00
Danny Gershman
cf05602924
removed property name cleanup due to naming conflicts
2013-05-28 14:42:28 -04:00
Danny Gershman
9a73eb8994
created CSharp codegen templating
2013-05-28 14:17:41 -04:00
Tony Tam
181e7a8b55
Update README.md
2013-05-20 14:26:09 -06:00
Tony Tam
6635616826
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-05-20 13:24:30 -07:00
Tony Tam
71426e58a3
added screenshot
2013-05-20 13:24:22 -07:00
Tony Tam
00d279ccd5
Merge pull request #54 from sibblegp/master
...
Make injection of .format in Ruby optional
2013-05-18 15:02:29 -07:00
Mike
a4cd839c1e
Make the injection of '.{format}' into the root path component optional
2013-05-18 20:25:55 +00:00
George Sibble
4354002bce
Merge branch 'master' of git://github.com/wordnik/swagger-codegen
2013-05-18 16:10:37 -04:00
George Sibble
106e2b7cb9
Merge branch 'master' of github.com:sibblegp/swagger-codegen
2013-05-18 16:09:42 -04:00
George Sibble
8443e7a749
Remove "Content-Type" Header from requests with no request body
2013-05-18 16:09:28 -04:00
Tony Tam
3f3471997e
removed swagger-core deps
2013-05-18 16:09:28 -04:00
Tony Tam
90fbbec405
removed swagger-core deps
2013-05-18 16:09:28 -04:00
David M. Lee
384ac98295
Display an error when an API fails to parse.
2013-05-18 16:09:28 -04:00
David M. Lee
53f1394c25
Corrected typo in statis HTML API docs
2013-05-18 16:09:28 -04:00
Tony Tam
5eff3fd976
added CORS filter
2013-05-18 16:09:28 -04:00
Tony Tam
f4c859aede
removed unused files
2013-05-18 16:09:28 -04:00
Tony Tam
65f2ec1f79
updated links
2013-05-18 16:09:28 -04:00
Tony Tam
c3cb548fb3
updated links
2013-05-18 16:09:28 -04:00
Tony Tam
996e605008
fixed typo
2013-05-18 16:09:28 -04:00
Tony Tam
92ac02e6c6
added java sample
2013-05-18 16:09:27 -04:00
Tony Tam
ffc6a2fc9e
updated to snapshot
2013-05-18 16:09:27 -04:00
Tony Tam
36bf178947
updated readme
2013-05-18 16:09:27 -04:00
Tony Tam
a757416a0e
removed commented out block
2013-05-18 16:09:27 -04:00
Tony Tam
f167959a38
updated example
2013-05-18 16:09:27 -04:00
Tony Tam
e8e8c18c8f
added field
2013-05-18 16:09:27 -04:00
Tony Tam
e91df944cc
formatting
2013-05-18 16:09:27 -04:00
Tony Tam
cc4fecb217
formatting
2013-05-18 16:09:27 -04:00
Tony Tam
2443d3d91b
updated readme
2013-05-18 16:09:27 -04:00
Tony Tam
f2f33b98f7
updated to scalatra 2.2.0
2013-05-18 16:09:27 -04:00
Tony Tam
184a9d0d5c
added README
2013-05-18 16:09:27 -04:00
Eugen Anghel
90aa2ab4eb
made Models optional
2013-05-18 16:09:27 -04:00
Tony Tam
2fab0b46c8
added files
2013-05-18 16:09:27 -04:00
Tony Tam
bff8736889
added file upload support
2013-05-18 16:09:27 -04:00
Tony Tam
37e5571965
added file upload support
2013-05-18 16:09:27 -04:00
Tony Tam
6c3935f7ea
added file support
2013-05-18 16:09:27 -04:00
Tony Tam
dbf42de407
added file upload support
2013-05-18 16:09:26 -04:00
Tony Tam
900fbe6e75
removed files
2013-05-15 15:21:50 -07:00
Tony Tam
fe4af50fb0
added more logic for static files
2013-05-15 15:21:11 -07:00
Ivan Porto Carrero
81c103b12d
use async http client with service locator
2013-05-12 20:13:58 -07:00
Ivan Porto Carrero
023013b6fe
have an empty body param for setting a different value for write requests
2013-05-12 17:18:15 -07:00
Ivan Porto Carrero
dfdd8cac94
fixes #52 : running the validator now uses the sbt-assembly generated jar
2013-05-09 20:43:55 -06:00
Tony Tam
d30441dd27
Merge pull request #51 from spatex/master
...
fixes for error messages in Java/JaxRS generated code
2013-05-06 12:46:18 -07:00
Ivan Porto Carrero
bd565be660
update logback in generated client and use package as organization
2013-05-05 22:38:59 -07:00
Ivan Porto Carrero
ad81434310
integrate with sbt assembly generated jar
2013-05-05 22:06:59 -07:00
Ivan Porto Carrero
965df0bc2a
Adds shell script for generating async scala client
2013-05-05 21:57:24 -07:00
Tony Tam
cb1c36721c
added files
2013-05-05 15:31:21 -07:00
Tony Tam
fede9e97e4
updated templates
2013-05-05 15:29:40 -07:00
Tony Tam
617baa29cd
updated docs
2013-05-05 15:29:01 -07:00
Tara Neier
645109111e
adding handling for api error messages in java-jaxrs template
2013-05-04 20:30:01 -07:00
Tony Tam
24aa603230
regenerated client
2013-04-22 09:50:02 -07:00
Tony Tam
8b8a956155
regenerated sample
2013-04-22 09:49:45 -07:00
Tony Tam
5e801dd1d7
updated repos, removed scala runtime
2013-04-22 09:49:15 -07:00
Ivan Porto Carrero
98200e6b39
add logger
2013-04-10 18:39:41 +02:00
Ivan Porto Carrero
f3405bcf29
really fix stackoverflow
2013-04-09 19:33:22 +02:00
Ivan Porto Carrero
1724c9328e
Make recurseModel method tail-recursive, fix stack overflow error
2013-04-09 17:20:08 +02:00
Ivan Porto Carrero
025502efad
Adds async scala client generation
2013-04-09 16:28:47 +02:00
George Sibble
397ebd4bdb
Remove "Content-Type" Header from requests with no request body
2013-04-06 13:54:59 -07:00
Tony Tam
6adf368c08
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-04-04 22:18:03 -07:00
Tony Tam
871e0e30f1
removed swagger-core deps
2013-04-04 22:17:25 -07:00
Tony Tam
07ab7d98a6
removed swagger-core deps
2013-04-04 22:16:52 -07:00
Tony Tam
69d4c2a27b
Merge pull request #47 from leedm777/parse-failures
...
Display an error when an API fails to parse.
2013-04-03 13:26:59 -07:00
David M. Lee
0b4fa11486
Display an error when an API fails to parse.
2013-04-03 15:12:57 -05:00
Tony Tam
7929dbfee1
Merge pull request #46 from leedm777/static-docs-typo
...
Corrected typo in statis HTML API docs
2013-04-03 12:52:03 -07:00
David M. Lee
73b234fd23
Corrected typo in statis HTML API docs
2013-04-03 14:44:49 -05:00
Tony Tam
df333fdfb5
added CORS filter
2013-04-03 00:27:51 -07:00
Tony Tam
99c292a7ad
removed unused files
2013-04-03 00:27:41 -07:00
Tony Tam
8cd540e2e1
updated links
2013-04-03 00:22:33 -07:00
Tony Tam
9bef2a8ac6
updated links
2013-04-03 00:20:32 -07:00
Tony Tam
e3ac63da93
fixed typo
2013-04-03 00:19:27 -07:00
Tony Tam
958206c469
added java sample
2013-04-03 00:19:21 -07:00
Tony Tam
98f1941b30
updated to snapshot
2013-03-22 11:03:21 -07:00
Tony Tam
812dc0f528
updated readme
2013-03-21 21:50:42 -07:00
Tony Tam
9fa5737f54
removed commented out block
2013-03-21 21:47:01 -07:00
Tony Tam
0188c719d0
updated example
2013-03-21 21:44:19 -07:00
Tony Tam
45ac101779
added field
2013-03-21 21:43:53 -07:00
Tony Tam
a75a406e05
formatting
2013-03-20 22:27:03 -07:00
Tony Tam
80b031710e
formatting
2013-03-20 22:26:24 -07:00
Tony Tam
87b1d71f72
updated readme
2013-03-20 21:38:23 -07:00
Tony Tam
9a86b1df8b
updated to scalatra 2.2.0
2013-03-20 21:35:41 -07:00
Tony Tam
b86eb53256
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-03-20 16:17:15 -07:00
Tony Tam
9f5be1cf5a
added README
2013-03-20 16:17:04 -07:00
Tony Tam
a1da95c9a5
Merge pull request #40 from eugen/make-models-optional
...
made Models optional
2013-03-20 07:18:48 -07:00
Eugen Anghel
cb422950f8
made Models optional
2013-03-20 09:49:56 +02:00
Tony Tam
af5f8909a6
added files
2013-03-13 23:47:05 -07:00
Tony Tam
0a7e606650
added file upload support
2013-03-13 23:45:26 -07:00
Tony Tam
c47e553425
added file upload support
2013-03-13 23:45:10 -07:00
Tony Tam
7659ab5a47
added file support
2013-03-13 20:06:48 -07:00
Tony Tam
a31ae97ea0
added file upload support
2013-03-13 19:59:15 -07:00
Ivan Porto Carrero
3cbf2abc5c
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-03-08 23:02:03 +01:00
mrjf
d92294695d
Merge pull request #37 from sibblegp/master
...
Fix Object Type Detection
2013-03-07 12:53:29 -08:00
George Sibble
d7e93cbda9
Fix Object Type Detection to Not Incorrectly Convert Booleans and 0 Integers to None
...
Prior to this patch, zero integers and False booleans were being converted to None since both evaluate the origin if statement (it not obj) to True.
Signed-off-by: George Sibble <gsibble@gmail.com >
2013-03-07 12:43:46 -06:00
mrjf
a9e0635d31
Merge pull request #34 from sibblegp/master
...
Add URL query parameters to all calls, not just GET
2013-03-06 22:35:28 -08:00
mrjf
f22dbc510d
Merge pull request #36 from mrjf/master
...
in Swagger.php, use dirname instead of grepping for slash, which could be / or \
2013-03-06 10:08:13 -08:00
Russell Horton
16aa731867
in Swagger.php, use dirname instead of grepping for slash, which could be / or \
2013-03-06 10:06:35 -08:00
Tony Tam
e1f295398e
added files per #35
2013-03-05 17:44:21 -08:00
George Sibble
d00c5d0ad8
Fix typo in python template
2013-03-04 20:05:11 -06:00
George Sibble
29a132496e
Fix My Own Mistake (GET Triggered an error)
...
Signed-off-by: George Sibble <gsibble@gmail.com >
2013-03-04 19:58:59 -06:00
George Sibble
c032b3c2d4
Move URL Query Parameters into All HTTP Verbs
...
HTTP Spec states that URL query parameters can be in all verbs. Should probably check all languages to make sure that query parameters are always passed even if it is not a GET call.
Signed-off-by: George Sibble <gsibble@gmail.com >
2013-03-04 19:30:24 -06:00
Tony Tam
68ce5d78f9
added test to verify nested List objects are recursed
2013-03-01 14:37:28 -08:00
Tony Tam
70fef15f81
name clean-up
2013-02-28 20:22:02 -08:00
Tony Tam
7b651dedcd
removed null guards
2013-02-28 20:19:04 -08:00
Tony Tam
a6af380833
removed println
2013-02-28 17:28:15 -08:00
Tony Tam
b0993379ee
added model test
2013-02-28 17:27:56 -08:00
Tony Tam
7e7005abe2
Merge pull request #33 from sibblegp/master
...
Bug Fix: Null JSON value breaks integer conversion
2013-02-28 17:27:06 -08:00
George Sibble
55cf01d9f7
Also for Python 3
2013-02-28 15:06:59 -08:00
George Sibble
7354d6722f
Include TypeError Detection
...
Check for NoneType in Python
2013-02-28 15:04:35 -08:00
Ivan Porto Carrero
8e7c3b7164
update sbt script
2013-02-25 10:27:31 +01:00
Tony Tam
c33358d48f
updated docs
2013-02-22 19:15:17 -08:00
Tony Tam
ea541a6cf7
updated docs
2013-02-22 19:12:35 -08:00
Tony Tam
9a067c7821
added sample output docs
2013-02-22 19:04:01 -08:00
Tony Tam
67d48e4e35
fixed data type
2013-02-22 19:03:43 -08:00
Tony Tam
1b89879a47
updated output path
2013-02-22 19:03:32 -08:00
Tony Tam
79c4a09181
changed to use java
2013-02-22 19:03:22 -08:00
Tony Tam
ea35f2cf0e
disabled parallel tests
2013-02-22 18:55:13 -08:00
Tony Tam
828607c67b
added static doc script
2013-02-22 18:23:27 -08:00
Tony Tam
64ffd7be36
removed fail on warning
2013-02-22 18:19:01 -08:00
Tony Tam
4003a0d61c
turned model into map
2013-02-22 18:18:17 -08:00
Tony Tam
631b44fee2
updated path
2013-02-22 18:16:59 -08:00
Tony Tam
c2c1bbc417
Merge pull request #23 from mrjf/master
...
wordnik.com api clients for python, python3 and php
2013-02-21 11:07:02 -08:00
Tony Tam
10c5a8346f
Merge pull request #31 from ceraslabs/master
...
Fixed compilation error
2013-02-21 11:03:57 -08:00
Hongbin Lu
c0c2f0bebc
Fixed an error that escaping a non-string object
2013-02-21 17:33:37 +00:00
Hongbin Lu
85e8ead0cf
Fixed a ArrayList cannot be resolved error
2013-02-21 17:19:16 +00:00
Tony Tam
2e0ac79f0c
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-02-21 00:24:32 -05:00
Tony Tam
b7dae2a846
cleaned up compiler warnings
2013-02-21 00:24:20 -05:00
Ivan Porto Carrero
cf470009ba
update to sbt 0.12.2
2013-02-20 18:26:11 +01:00
Russell Horton
434102550f
update php wordnik sample app
2013-02-10 13:24:39 -08:00
Russell Horton
00ac23c462
separate PHP query, header and path param serialization and encoding
2013-02-10 13:24:01 -08:00
Tony Tam
402266e65b
removed optional name field for models
2013-02-06 17:03:30 -08:00
Tony Tam
852eb0bf49
added error handling
2013-02-06 17:03:19 -08:00
Tony Tam
84e17c7707
made public
2013-02-06 16:39:44 -08:00
Tony Tam
fb4a6c968c
better error messages
2013-02-06 16:39:31 -08:00
Tony Tam
b3076d95b2
began adding friendly validation messages
2013-02-05 17:52:17 -08:00
Tony Tam
a2bff39427
added credentials for publish
2013-01-14 14:22:15 -08:00
Tony Tam
0d82786715
fixed scalate deps for mvn build
2013-01-14 13:49:16 -08:00
Tony Tam
17a433fb59
Merge pull request #24 from wordnik/sbtify
...
use sbt for building, only use json4s-jackson
2013-01-14 13:41:23 -08:00
Ivan Porto Carrero
55ce19a233
also build for 2.10
2013-01-14 01:56:19 +01:00
Ivan Porto Carrero
59d74a83af
use sbt for building, only use json4s-jackson
2013-01-14 01:06:19 +01:00
Tony Tam
dea4b746b7
Merge branch 'master' of github.com:wordnik/swagger-codegen
2013-01-04 11:08:49 -08:00
Tony Tam
61f5031f8a
updated with npm-managed swagger package
2013-01-04 11:08:20 -08:00
Tony Tam
5d60632aa6
updated with npm-managed swagger package
2013-01-04 11:07:12 -08:00
ramesh
fe30ed3580
Fixed issue in configuring output path for supporting files.
2013-01-03 14:27:43 -08:00
Tony Tam
7370354535
fixed repo
2012-12-26 21:22:50 -08:00
Tony Tam
b2890a00a3
removed println
2012-12-26 20:06:29 -08:00
Tony Tam
f329b94625
fixed string bug
2012-12-26 20:02:03 -08:00
Russell Horton
62352a126e
removing unneeded capitalized data types
2012-12-21 11:27:48 -08:00
Russell Horton
16be3a7f54
added sample readmes
2012-12-20 15:32:05 -08:00
Russell Horton
1de97d204d
updated env var documentation
2012-12-20 14:53:51 -08:00
Russell Horton
2bc8cc01a5
tests for python3 wordnik.com api client
2012-12-20 14:38:15 -08:00
Russell Horton
6266a94857
generated python3 client for wordnik.com api
2012-12-20 14:35:48 -08:00
Russell Horton
bd19ef489c
python3 wordnik.com api client generation
2012-12-20 14:35:27 -08:00
Russell Horton
a7b9a930e5
tests for python wordnik.com api client
2012-12-20 14:35:10 -08:00
Russell Horton
39659d8c36
generated python wordnik.com api client
2012-12-20 14:34:33 -08:00
Russell Horton
22ebb85c35
python wordnik.com api generation
2012-12-20 14:34:01 -08:00
Russell Horton
30109204d9
generated php client for wordnik.com api
2012-12-20 14:33:45 -08:00
Russell Horton
3cd48e17d2
php tests for wordnik.com api client
2012-12-20 14:32:51 -08:00
Russell Horton
da5c7a77c3
php wordnik.com api client generation
2012-12-20 14:32:29 -08:00
Russell Horton
43708f6395
map lower case type names as well as upper
2012-12-20 14:26:19 -08:00
Russell Horton
29cec989b2
better escaping for path parameters
2012-12-20 14:25:47 -08:00
Russell Horton
93c0134da9
better url escaping for path values
2012-12-20 14:25:14 -08:00
Russell Horton
5840120124
added Scrabble score method and model
2012-12-20 14:24:42 -08:00
Tony Tam
9d014e89bc
added distro target
2012-12-18 23:25:27 -08:00
Tony Tam
15a3e15f2f
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-12-18 22:54:12 -08:00
Tony Tam
95d77807c2
cleaned up toApiName to strip bad chars
2012-12-18 22:53:46 -08:00
Tony Tam
28221b5f5a
added more lenient int extraction, optional basepath
2012-12-18 22:53:25 -08:00
Tony Tam
c9397ce1e7
changed to use paramName instead of baseName to support the toParamName method
2012-12-18 22:53:03 -08:00
Tony Tam
a1f8bcd0ae
Update README.md
2012-12-08 21:16:40 -08:00
Tony Tam
f1f466b69f
made extracter smarter with bool, int, string
2012-12-08 12:52:03 -08:00
Tony Tam
df48f4d8a9
added models to map
2012-12-05 07:38:10 -08:00
Tony Tam
4c6cea87f1
[maven-release-plugin] prepare for next development iteration
2012-12-04 17:55:57 -08:00
Tony Tam
828cc5d1bf
[maven-release-plugin] prepare release swagger-codegen_2.9.1-2.0.1
2012-12-04 17:55:50 -08:00
Tony Tam
59328ae65a
added scaladocs
2012-12-04 17:53:09 -08:00
Tony Tam
6d76738427
updated from new codegen
2012-12-04 17:23:38 -08:00
Tony Tam
0f3087cbd6
forcing allowableListValues to be String
2012-12-04 17:06:34 -08:00
Tony Tam
4c19ff30ed
added special handling for parameter ordering
2012-12-04 15:42:00 -08:00
Tony Tam
a38fbe8d21
updated with latest codegen
2012-12-04 15:39:27 -08:00
Tony Tam
8c1539ab24
updated templates
2012-12-04 15:38:50 -08:00
Tony Tam
af3b3eb323
removed path
2012-12-04 11:21:44 -08:00
Tony Tam
c8f6d8a7f2
updated to lateest codegen
2012-12-04 11:04:26 -08:00
Tony Tam
cf52e7d788
updated order of wordlist
2012-12-04 10:37:07 -08:00
Tony Tam
8eb34c5141
updated to latest codegen
2012-12-04 10:36:45 -08:00
Tony Tam
2a9cf7c06d
updated to latest codegen
2012-12-04 10:36:12 -08:00
Tony Tam
f4cd02283b
updated with latest codegen
2012-12-04 10:20:59 -08:00
Tony Tam
99cca5d249
updated with latest codegen
2012-12-04 10:20:04 -08:00
Tony Tam
5d8877a679
updated to proper model property order
2012-12-04 08:40:25 -08:00
Tony Tam
d18cc2d3e4
updated samples with correct property ordering
2012-12-04 08:32:23 -08:00
Tony Tam
0ae00dc79c
fixed filemap args
2012-12-04 07:50:23 -08:00
Tony Tam
e1bfdfbc5e
removed println
2012-12-04 07:08:50 -08:00
Tony Tam
c2d332ce20
updated scripts
2012-12-04 07:08:35 -08:00
Tony Tam
35a4039955
fixed npes from extraction
2012-12-04 00:48:01 -08:00
Tony Tam
b7368654f1
updated deps
2012-12-04 00:24:20 -08:00
Tony Tam
87bad7b36d
migrated to json4s
2012-12-04 00:15:55 -08:00
Tony Tam
25837e3367
updated serializers, tests
2012-12-03 22:12:40 -08:00
Tony Tam
61a9cc6e6a
fixed formats
2012-12-03 13:52:25 -08:00
Tony Tam
8b5e638409
detabbed
2012-12-03 13:48:00 -08:00
Tony Tam
69fe17380c
added serializer test
2012-12-03 13:46:41 -08:00
Tony Tam
98ca711e44
added to support json4s
2012-12-03 13:45:14 -08:00
Tony Tam
b9ec912698
added json4s
2012-12-03 13:45:04 -08:00
Tony Tam
bc0fd47522
renamed to avoid collisions
2012-12-03 13:44:58 -08:00
Cody Allen
3e527e3141
Add missing slash in ApiInvoker path
2012-11-30 19:59:46 -08:00
Tony Tam
ed423a4a8e
added filename to supporting file writer
2012-11-30 14:14:44 -08:00
Tony Tam
f88b500ee8
added filename to supporting file writer
2012-11-30 14:02:01 -08:00
Tony Tam
32d645572c
updated resource path
2012-11-26 09:00:27 -08:00
Tony Tam
4a6ab18b73
updated resource path
2012-11-26 09:00:09 -08:00
Tony Tam
8ec999089a
updated resource path
2012-11-26 08:59:49 -08:00
Tony Tam
1a07c0796f
updated resource path
2012-11-26 08:59:32 -08:00
Tony Tam
d4baff8d90
updated resource path
2012-11-26 08:59:15 -08:00
Tony Tam
8aa414360e
updated resource path
2012-11-26 08:58:58 -08:00
Tony Tam
3b7de86b99
updated resource path
2012-11-26 08:58:39 -08:00
Tony Tam
feb6c5928f
updated resource path
2012-11-26 08:58:17 -08:00
Tony Tam
d9c3277f9e
Update README.md
2012-11-26 07:27:24 -08:00
fehguy
1d33b33f28
Update README.md
2012-10-11 20:18:58 -07:00
fehguy
e51179ed0f
Update README.md
2012-10-11 11:54:12 -07:00
Tony Tam
3a8db77200
[maven-release-plugin] prepare for next development iteration
2012-10-11 10:54:23 -07:00
Tony Tam
55bb1f2a76
[maven-release-plugin] prepare release swagger-codegen_2.9.1-2.0.0
2012-10-11 10:54:09 -07:00
Tony Tam
cb534047ee
added class for remote urls to avoid Source.io
2012-10-11 10:49:39 -07:00
Tony Tam
735f5c61b3
updated scala plugin
2012-10-11 10:49:27 -07:00
Tony Tam
73a2fc216e
added null checks
2012-10-09 17:53:07 -07:00
Tony Tam
46323fae7c
updated to new scalatra allowable values
2012-10-09 09:37:49 -07:00
Tony Tam
7fde848680
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-10-07 09:49:06 -07:00
Tony Tam
aef4190624
added support for copying directories
2012-10-07 09:46:58 -07:00
Tony Tam
4be326152f
removed old ref
2012-10-06 05:49:55 -07:00
Tony Tam
51437245e4
removed old refs
2012-10-05 21:12:31 -07:00
Tony Tam
36f4239c93
removed old refs
2012-10-05 21:08:55 -07:00
Tony Tam
87ebc8a7f3
added java-wordnik-api script
2012-10-06 05:57:58 +02:00
Tony Tam
a4afa9bac2
updated to use case classes, removed swagger-core deps
2012-10-06 05:57:21 +02:00
Tony Tam
7af8b0de18
added java sample
2012-10-06 05:56:52 +02:00
Tony Tam
66dd67597c
added readme, sample
2012-09-27 11:38:41 -07:00
Tony Tam
f5fae2df48
added readme, sample
2012-09-27 11:36:52 -07:00
Tony Tam
adbadfe500
added tests
2012-09-27 11:29:18 -07:00
Tony Tam
f7b1e25453
removed comments
2012-09-26 22:23:56 -07:00
Tony Tam
a0b0e7bcb7
added wordnik api script
2012-09-26 22:16:41 -07:00
Tony Tam
6aa5b8f089
added license info
2012-09-26 22:16:31 -07:00
Tony Tam
e9ef124f59
removed old file
2012-09-26 22:16:25 -07:00
Tony Tam
5d2ae3d353
formatting
2012-09-26 22:16:09 -07:00
Tony Tam
031dd20072
removed raw
2012-09-26 22:15:52 -07:00
Tony Tam
67ce62c622
added license info
2012-09-26 22:15:28 -07:00
Tony Tam
b4efa892a1
added objc wordnik sample
2012-09-26 22:15:16 -07:00
Tony Tam
ddc94bcb7c
removed comments
2012-09-26 22:12:55 -07:00
Tony Tam
bee14e82b2
updated tests
2012-09-26 22:08:51 -07:00
Tony Tam
4765c56b2a
removed raw value
2012-09-26 22:07:41 -07:00
Tony Tam
0b7db0ce2d
clean up of formatting
2012-09-26 14:01:57 -07:00
Tony Tam
68436f6cbe
removed println
2012-09-26 13:52:50 -07:00
Tony Tam
444de037bc
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-09-26 13:43:47 -07:00
Tony Tam
ce1b4ec347
added contianer check to simplify models
2012-09-26 13:43:38 -07:00
fehguy
b65de5466c
added objc, ruby to examples
2012-09-26 13:07:57 -07:00
Tony Tam
58cfacc4cf
added ruby sample
2012-09-26 13:02:27 -07:00
Tony Tam
cbb61b1002
updated package
2012-09-26 13:01:52 -07:00
Tony Tam
62c3a70843
added tests back
2012-09-26 11:53:39 -07:00
Tony Tam
e0d8a75441
updated settings
2012-09-26 11:51:20 -07:00
Tony Tam
687eff49a5
updated settings
2012-09-26 11:50:03 -07:00
Tony Tam
9f2a90722b
added files
2012-09-26 11:33:19 -07:00
Tony Tam
90b5490f00
added test supporting files
2012-09-26 11:32:31 -07:00
Tony Tam
0bdf466e32
restored files
2012-09-26 11:20:56 -07:00
Tony Tam
a8109930ed
moved folders
2012-09-26 11:12:12 -07:00
Tony Tam
a3f08e87fd
moved folders
2012-09-26 11:10:14 -07:00
Tony Tam
e65e5a730d
moved folders
2012-09-26 11:09:40 -07:00
Tony Tam
8d4afdf5ad
fixed string escape, comma encoding
2012-09-26 11:09:24 -07:00
Tony Tam
0a7f8f1055
added api file test
2012-09-25 22:32:21 -07:00
Tony Tam
93b11410a9
updated location for writing api invoker
2012-09-25 22:32:06 -07:00
Tony Tam
667b1cf7a5
fixed default values
2012-09-25 22:31:52 -07:00
Tony Tam
93d81b84dc
updated location for writing api invoker
2012-09-25 22:31:39 -07:00
Tony Tam
3f55736f33
detabbed
2012-09-25 22:31:20 -07:00
Tony Tam
91c2af2a98
moved template files to base class
2012-09-25 22:31:08 -07:00
Tony Tam
548b86aef1
fixed package
2012-09-25 22:30:47 -07:00
Tony Tam
7baae391eb
added objc files
2012-09-25 22:30:35 -07:00
Tony Tam
22783f8f0a
updated package
2012-09-25 22:29:49 -07:00
Tony Tam
55d60aca50
added tests
2012-09-25 22:29:18 -07:00
Tony Tam
dd88a6b0ac
added apiToMap test
2012-09-25 11:30:33 -07:00
Tony Tam
b0c15d1c9b
added wordnik api sample
2012-09-25 09:21:11 -07:00
Tony Tam
7a379a7b40
fixed whitespace
2012-09-24 23:03:32 -07:00
Tony Tam
674fdff35b
added objc sample
2012-09-24 22:59:37 -07:00
fehguy
94919895bc
added objc script
2012-09-24 22:57:17 -07:00
Tony Tam
c4e2515c8f
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-09-24 22:55:30 -07:00
Tony Tam
85a0a728de
added objc sample
2012-09-24 22:55:17 -07:00
Tony Tam
89ec4010e2
moved path util tests into separate file
2012-09-24 22:52:29 -07:00
Tony Tam
b3d5b49e90
added config for model name prefix
2012-09-24 22:51:59 -07:00
fehguy
dbfeb59820
Update README.md
2012-09-23 20:25:17 -07:00
fehguy
3ce7dbd960
Update README.md
2012-09-23 20:24:20 -07:00
fehguy
cef535f380
Update README.md
2012-09-23 20:23:07 -07:00
Tony Tam
3d1678a087
added ingores for server generator
2012-09-23 20:14:33 -07:00
Tony Tam
ac9cff08d4
updated to match templates
2012-09-23 20:13:05 -07:00
Tony Tam
5671bcf746
formatting
2012-09-23 20:12:44 -07:00
Tony Tam
31fa05599e
added python3 runnable
2012-09-23 20:12:26 -07:00
Tony Tam
f20748f0d5
moved to client folder
2012-09-23 20:12:13 -07:00
Tony Tam
155251951b
formatting
2012-09-23 20:11:20 -07:00
Tony Tam
e2dbe61adf
updated to use swagger 1.1.0
2012-09-23 18:43:14 -07:00
Tony Tam
236a9697ad
moved to client folder
2012-09-23 18:41:54 -07:00
Tony Tam
2f93e37645
moved to client folder
2012-09-23 18:41:29 -07:00
Tony Tam
56abce3fbd
moved to client folder
2012-09-23 18:41:09 -07:00
Tony Tam
b6b80474b7
moved to client folder
2012-09-23 18:40:47 -07:00
Tony Tam
bab5973dd0
moved to client folder
2012-09-23 18:38:27 -07:00
Tony Tam
a29c580205
updated links in readme
2012-09-23 16:38:32 -07:00
Tony Tam
dec7bdfb82
moved to client dir
2012-09-23 16:35:47 -07:00
Tony Tam
b6a85a4b2e
moved to client dir
2012-09-23 16:35:19 -07:00
Tony Tam
611cc6075b
moved to client dir
2012-09-23 16:34:59 -07:00
Tony Tam
1e8c4668b7
moved to client folder
2012-09-23 16:26:46 -07:00
Tony Tam
84fb24ada5
updated swagger version dep, added json4s
2012-09-23 16:13:22 -07:00
Tony Tam
1077e48e7e
moved to client subdirectory
2012-09-23 16:12:56 -07:00
Tony Tam
ad5d44769b
updated script location
2012-09-23 16:12:24 -07:00
Tony Tam
e2c383bd80
made more testable, changed to use case classes + native scala lists
2012-09-23 16:11:47 -07:00
Tony Tam
44d018b642
added scala json mapper
2012-09-23 16:11:16 -07:00
Tony Tam
cec3fa5810
refactored to make more testable
2012-09-23 12:18:22 -07:00
Ivan Porto Carrero
d6cf7fc9aa
fix the scalatra sample
2012-09-20 23:38:47 -07:00
Ivan Porto Carrero
256e746364
fix the scalatra sample
2012-09-20 23:38:08 -07:00
Tony Tam
0504f68b41
updated defaults
2012-09-20 23:04:52 -07:00
Tony Tam
21265454ab
updated files
2012-09-20 23:04:21 -07:00
Tony Tam
cdc1bbc133
split up for testability
2012-09-20 22:13:09 -07:00
Tony Tam
2579ed311a
added tests
2012-09-20 18:01:41 -07:00
Tony Tam
cdfbedb0ea
implemented tests
2012-09-20 18:01:27 -07:00
Tony Tam
46249530a3
made extraction logic more testable
2012-09-20 18:01:00 -07:00
Tony Tam
7881786fe8
added java codegen test
2012-09-20 16:04:37 -07:00
Tony Tam
5a9979633c
added tests
2012-09-20 14:19:58 -07:00
Tony Tam
3d379c82d1
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-09-20 14:19:27 -07:00
Tony Tam
77141cd55a
added default value
2012-09-20 14:16:51 -07:00
Tony Tam
26bcc80ae3
removed unused method
2012-09-20 14:16:34 -07:00
Tony Tam
59cd5380aa
added default value for key
2012-09-20 14:16:20 -07:00
Tony Tam
c3b36c6944
removed overridden methods
2012-09-20 14:15:44 -07:00
Tony Tam
f85c06628b
removed overridden methods
2012-09-20 14:15:32 -07:00
Gregg
7c55dddf43
fixed a null pointer exception bug
2012-09-20 12:12:54 -07:00
Tony Tam
374c68d8da
fixed return type inside containers
2012-09-12 09:52:14 -07:00
Tony Tam
de1ef1dde3
added looking into 2nd-level objects
2012-09-12 09:51:53 -07:00
Tony Tam
f5a69a5a3b
removed println
2012-09-12 06:37:09 -07:00
Tony Tam
5afd4b260a
formatting
2012-09-12 06:37:00 -07:00
Tony Tam
b648f84980
moved to samples dir
2012-09-12 06:36:45 -07:00
Tony Tam
bc28ee97da
moved to samples dir
2012-09-12 06:36:29 -07:00
Tony Tam
a647576c97
moved to samples dir
2012-09-12 06:35:54 -07:00
Tony Tam
45e4c1a53d
added null check, override
2012-09-11 21:32:15 -07:00
Tony Tam
6e4e375589
formatting
2012-09-11 21:31:51 -07:00
Tony Tam
3e5e85509d
moved override
2012-09-11 21:28:29 -07:00
Tony Tam
92c0fc5afb
added override
2012-09-11 21:27:14 -07:00
Tony Tam
5e90e2a24a
reduced type specification
2012-09-11 21:26:27 -07:00
Russell Horton
53c612c13b
can't pass JAVA_OPTS directly to Scala compiler
2012-09-10 01:56:02 -07:00
Russell Horton
2a1b1817c5
update ignored files to add generated-code, python compilcation results
2012-09-10 01:55:10 -07:00
Russell Horton
e9a8a8d755
add readme to PHP sample app
2012-09-10 01:53:49 -07:00
Russell Horton
9a6392a758
reorganize and update python sample app
2012-09-10 01:53:13 -07:00
Russell Horton
0fbae2736d
add README to python sample app
2012-09-10 01:52:11 -07:00
Russell Horton
85a4aacefa
add datetime conversion to python
2012-09-10 01:50:54 -07:00
Russell Horton
5189a85966
add JSON header
2012-09-10 00:35:13 -07:00
Russell Horton
4d15674803
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-09-10 00:28:08 -07:00
Russell Horton
274b9e7c43
added python3 sample app
2012-09-10 00:25:31 -07:00
Russell Horton
cf53a24271
added python3 support
2012-09-09 23:48:30 -07:00
Russell Horton
4c0cd15a40
updated and restructed PHP petstore sample app
2012-09-09 09:01:42 -07:00
fehguy
6829014393
Update samples/server-generator/scalatra/README.md
2012-09-07 14:18:04 -07:00
fehguy
2647f96c81
Update samples/server-generator/sinatra/README.md
2012-09-07 14:17:06 -07:00
Tony Tam
bbcdee8b28
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-09-07 14:13:56 -07:00
Tony Tam
8d79437c8d
added readme
2012-09-07 14:13:46 -07:00
fehguy
a4c9e26018
Update samples/server-generator/sinatra/output/README.md
2012-09-07 07:39:23 -07:00
Russell Horton
a38fc6eb06
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-09-06 15:16:34 -07:00
Tony Tam
b6a070e604
added gemfile
2012-09-06 09:19:13 -07:00
Tony Tam
e9146234c7
updated sinatra sample
2012-09-06 09:12:11 -07:00
Tony Tam
1e73944722
added ruby generator stub
2012-09-06 09:11:34 -07:00
Tony Tam
f37f284605
updated to make names friendly
2012-09-06 09:09:47 -07:00
Tony Tam
a7156e6f00
removed println
2012-09-06 09:09:28 -07:00
Tony Tam
7c812c2426
updated script
2012-09-06 09:09:12 -07:00
Tony Tam
2dcfebea98
added sinatra samples
2012-09-05 17:48:37 -07:00
Tony Tam
812213164f
added sinatra samples
2012-09-05 17:45:07 -07:00
Tony Tam
4b43e70555
added sinatra samples
2012-09-05 17:43:21 -07:00
Tony Tam
5662891d62
added sinatra server generator
2012-09-05 17:25:01 -07:00
Russell Horton
a7f38e40c4
Merge branch 'master' of github.com:wordnik/swagger-codegen
2012-09-01 22:47:19 -07:00
Tony Tam
66f98ebaa8
updated readme
2012-08-29 17:52:40 -07:00
Tony Tam
3c53c13685
added readme
2012-08-29 17:49:50 -07:00
Tony Tam
ae271fb57a
reverted basePart injection
2012-08-29 17:26:41 -07:00
Tony Tam
53721239f4
added main app, now validates with 51756c1d8e
2012-08-29 16:57:47 -07:00
Tony Tam
6636acf2d3
updated with dataType in paths, now validates
2012-08-29 16:56:13 -07:00
Tony Tam
b7ed61b8f9
updated sample
2012-08-29 16:55:40 -07:00
Tony Tam
02b5a929ac
added main app
2012-08-29 16:54:48 -07:00
Tony Tam
5482cb7822
updated to support raw swagger types
2012-08-29 16:54:14 -07:00
Tony Tam
6113826180
updated versions
2012-08-29 10:40:12 -07:00
Tony Tam
de1a4059b1
updated some formatting
2012-08-29 09:32:12 -07:00
Tony Tam
267ecec8f2
removed unneeded files
2012-08-29 09:28:41 -07:00
Tony Tam
07addb366e
added scalatra server generator (WIP)
2012-08-29 09:27:55 -07:00
Tony Tam
21848c3cf3
updated swagger-core version
2012-08-29 09:25:49 -07:00
Tony Tam
45745f6f14
formatting, added more params for server generators
2012-08-29 09:25:30 -07:00
Tony Tam
f7a929bd02
renamed template dir
2012-08-28 16:52:18 -07:00
Tony Tam
cb55d38a38
formatting
2012-08-28 16:31:24 -07:00
Tony Tam
5eb1372e08
updated license
2012-08-28 16:30:51 -07:00
Tony Tam
73b15dce53
excluding default models
2012-08-28 16:30:36 -07:00
Tony Tam
9227d7b046
added null check for item refs
2012-08-28 15:53:12 -07:00
Russell Horton
de0dffe83f
cast to string for query param replacements in case ids are submitted as int, long, etc
2012-08-28 15:18:21 -07:00
Russell Horton
3550309544
faciliatate serialization to JSON of deeply nested objects
2012-08-28 15:17:25 -07:00
Russell Horton
153de3077e
account for possibly empty / null list-type attributes
2012-08-28 15:16:28 -07:00
Russell Horton
bbb7e7138c
added DateTime support to PHP
2012-08-28 15:15:53 -07:00
Russell Horton
c777640f04
add lowercase long field map
2012-08-28 13:55:47 -07:00
Tony Tam
6df5008310
changed to use class instead of script
2012-08-28 01:01:46 -07:00
Tony Tam
37efc32374
changed to use class instead of script
2012-08-28 01:00:24 -07:00
Tony Tam
275098a8ef
updated template
2012-08-28 00:58:04 -07:00
Tony Tam
52a9195411
added invoker param
2012-08-28 00:57:49 -07:00
Tony Tam
5f81594f03
updated instructions
2012-08-27 21:15:05 -07:00
Tony Tam
f295fe698a
added readme
2012-08-27 21:14:05 -07:00
Tony Tam
8805a7acbb
added sample, README
2012-08-27 21:05:03 -07:00
Tony Tam
b4485b1196
added server generator
2012-08-27 20:33:10 -07:00
Tony Tam
a929fce3a0
renamed method
2012-08-27 20:24:58 -07:00
Tony Tam
f4c8dd9dec
added invoker package, updated writing supporting files
2012-08-27 17:30:25 -07:00
Tony Tam
79f2be422b
made prettier
2012-08-25 18:20:20 -05:00
Tony Tam
b92a84eed8
added notes about generating your own files
2012-08-24 22:41:35 -07:00
Tony Tam
a50f0627f9
updated instructions
2012-08-24 20:42:28 -07:00
Tony Tam
d6f5231e93
updated instructions, package
2012-08-24 20:32:28 -07:00
Tony Tam
6a9ba75640
added package
2012-08-24 20:32:15 -07:00
Tony Tam
95f6b00704
added flash generator
2012-08-24 19:59:19 -07:00
Tony Tam
00fce59737
added php codegen
2012-08-24 19:49:23 -07:00
Tony Tam
384a549807
added python files
2012-08-24 19:39:34 -07:00
Tony Tam
af41b43c56
added validator documentation, script
2012-08-24 19:33:23 -07:00
Tony Tam
b146310c1a
fixed path in readme
2012-08-24 19:24:06 -07:00
Tony Tam
7138a3f8c2
fixed path in readme
2012-08-24 19:23:39 -07:00
Tony Tam
038402abb3
added java petstore sample
2012-08-24 19:21:40 -07:00
Tony Tam
52587de715
added license info
2012-08-24 18:37:03 -07:00
Tony Tam
5773626d53
added petstore sample
2012-08-24 18:31:09 -07:00
Tony Tam
2d45c80415
added petstore sample
2012-08-24 18:29:06 -07:00
Tony Tam
432965fa0e
changed output directory
2012-08-24 18:22:35 -07:00
Tony Tam
63f2075410
updated invoker for quoted strings
2012-08-24 18:22:24 -07:00
Tony Tam
f1c9e6c64e
added file
2012-08-24 15:32:50 -07:00
Tony Tam
05ccb75ebf
updated pom.xml
2012-08-24 15:31:49 -07:00
Tony Tam
58ce2a1298
updated to 2.0
2012-08-24 15:29:26 -07:00
Tony Tam
7e823f879e
updated to 2.0
2012-08-24 15:27:27 -07:00
Tony Tam
9e3fc6603f
updated to 2.0
2012-08-24 15:27:18 -07:00
Tony Tam
aa162b9393
updated to 2.0
2012-08-24 15:27:08 -07:00
fehguy
a33df3ac33
added license info
2012-07-30 09:50:35 -07:00
fehguy
c0aecff3dc
Merge pull request #10 from marek-stoj/master
...
added support for C# (thanks @marek-stoj)
2012-05-14 08:50:14 -07:00
Marek Stój
43d15d4d00
Fixed CSharpDataTypeMappingProvider for string type.
2012-05-12 10:56:59 +02:00
Marek Stój
2633eb77e2
Fix in readme.md.
2012-05-12 09:41:49 +02:00
Marek Stój
094a1f2040
Added support for the C# language.
2012-05-12 09:39:52 +02:00
mrjf
fc7c8c6a8f
Merge pull request #9 from gthomas/master
...
Fix python VersionChecker template
2012-05-08 17:29:09 -07:00
Grant Thomas
404c5ab8c3
Really fix indentation. Github browser-editor fail\!
2012-05-08 07:05:12 -07:00
Grant Thomas
6db5c15037
Ensure correct indentation.
2012-05-08 07:01:48 -07:00
Grant Thomas
94ab81c1a2
Now it is Python!
2012-05-08 06:57:42 -07:00
Tony Tam
e2d8f97e13
removed repositories
2012-04-12 17:50:43 -07:00
Tony Tam
9be7a3f53c
[maven-release-plugin] prepare for next development iteration
2012-04-12 17:41:22 -07:00