18059 Commits

Author SHA1 Message Date
wing328
a58e645372 add apache 2 config generator 2018-03-27 22:50:48 +08:00
wing328
4a8db17077 add apache2 config generator 2018-03-27 22:50:36 +08:00
wing328
aa5a7ad540 add scala client generators 2018-03-27 22:45:21 +08:00
akihito.nakano
e3ba2d9936 Merge branch 'oas3_support2' into tweak 2018-03-27 23:09:56 +09:00
wing328
e7743da0e9 add android generator 2018-03-27 21:50:41 +08:00
wing328
545823e39b add PowerShell generator 2018-03-27 21:43:12 +08:00
wing328
f89ba9950a add perl generator 2018-03-27 21:35:54 +08:00
wing328
fb20a6e075 add elixir generator 2018-03-27 21:16:36 +08:00
wing328
19c16fd572 add Dart generator 2018-03-27 20:49:50 +08:00
wing328
2cfde8bd65 add go generators 2018-03-27 20:40:30 +08:00
wing328
852b5b02bd add R client generator 2018-03-27 16:55:16 +08:00
wing328
24cb0f619f add ruby sinatra server generator 2018-03-27 16:41:54 +08:00
wing328
15bb50d822 add php silex generator 2018-03-27 15:24:10 +08:00
wing328
d2ebefd4d5 add php lumen generator 2018-03-27 15:15:08 +08:00
wing328
b799d694f0 add php slim generator 2018-03-27 14:55:46 +08:00
wing328
7cc6591ef9 Merge branch 'oas3_support2' of https://github.com/wing328/generate_test into oas3_support2 2018-03-27 14:34:33 +08:00
wing328
1e634257fe update gitignore 2018-03-27 14:34:01 +08:00
wing328
9e0a3ff069 migrate rails generator 2018-03-27 14:31:38 +08:00
William Cheng
18b2aaec2c
Merge pull request #1 from ackintosh/oas3_support2
Fix missing version.properties
2018-03-27 14:18:40 +08:00
akihito.nakano
adee16e073 Bump up version of sample spec file 2018-03-27 02:04:29 +09:00
wing328
1c22ec363b add python generator and tests 2018-03-26 23:56:56 +08:00
akihito.nakano
b41774fd87 Fix missing version.properties 2018-03-27 00:30:00 +09:00
wing328
9cec2b3673 add back ruby tests 2018-03-26 23:17:33 +08:00
wing328
7fbc8fa31e add haskell generator 2018-03-26 22:39:27 +08:00
wing328
246ed57547 restore objc reserved word: property 2018-03-26 17:28:50 +08:00
wing328
0e9dff995c add objc generator and test 2018-03-26 15:50:50 +08:00
wing328
0e6da5bbd5 add original objc geneator and test 2018-03-26 12:00:55 +08:00
Akihito Nakano
d58835e571 [PHP] Improve: Make validation strict (#7724)
* Add test case which reproduce the problem

refs https://github.com/swagger-api/swagger-codegen/pull/7686#issuecomment-368200011
> 1. We should pass true as 3rd argument of in_array()

* Add test case for setter

* Strict validation

* Update samples

* Tweak expected value according to changes in #7723
2018-03-25 23:17:46 +08:00
Akihito Nakano
6d88d073ca [NodeJS] make serverPort configurable via CLI option (#7899)
* Add "serverPort" option

* Use port number passed via CLI option if specified

* Replace hand-written param name with the constant

* Rename serverPort -> defaultServerPort

* Fix failed test

https://travis-ci.org/swagger-api/swagger-codegen/builds/357674590
2018-03-25 23:12:15 +08:00
Jeremy Bohrer
fc7e083467 Add interfaces option (#7831)
[TypeScript][Fetch] Add interfaces option
2018-03-25 23:01:18 +08:00
davidbilge
40c30dd2f1 Fix inputSpec for multi module builds (#7883)
Prefix path to `inputSpec` with maven's `${project.basedir}`. The codegen-maven-plugin will look inside the current working directory so whether a relative path works or not is depending on where the maven build is invoked from. Using `${project.basedir}` makes the path absolute.
2018-03-25 22:51:40 +08:00
wing328
b5da183668 add bash generator and test cases 2018-03-25 16:39:50 +08:00
wing328
af4dcb9cbb add back php test cases 2018-03-25 13:51:17 +08:00
wing328
5326152ccd add option to reorder form/body parameter 2018-03-24 18:47:56 +08:00
wing328
6dc5f7f37b add OAI 3.0 spec for petstore and fake petstore 2018-03-24 16:25:12 +08:00
wing328
aafaf64268 add back resource test files for openapi-generator 2018-03-24 16:14:39 +08:00
wing328
01161abe71 rename openapi-generator-cli test folder 2018-03-24 16:03:51 +08:00
wing328
5f9a9bda00 fix array of body parameter type 2018-03-24 00:04:07 +08:00
wing328
1d09962996 fix file, binary array 2018-03-23 21:17:05 +08:00
wing328
7d07458b45 fix issues with form parameter 2018-03-23 18:25:08 +08:00
wing328
ce6efcf5bb fix security 2018-03-23 01:27:41 +08:00
Ben Wells
ea2474d707 Fix strict class initialisation in auth classes (#7860) 2018-03-23 01:12:28 +08:00
wing328
a8c64f458f fix NPE with requestbody 2018-03-22 21:57:56 +08:00
etherealjoy
3b031ed2b8 [qt5cpp] delete callback data allocated before signal emission (#7840)
* Small fixes to prevent crash when empty json body is provided.

* Add deleteLater wrapper for pointers passed to user code to prevent memory leak.

* Updates to move Object Wrapper to separate file

* Add Prefix to class name
2018-03-21 20:51:17 +08:00
Philippe M
d1850091a7 Improve JMeter Template : Fix Issue 7773 (#7774)
* Improve JMeter Template:
In CSV DataSet ignore first line as it contains headers
Share CSV for Thread-Group instead of doing it across all threads
Use scheduler
Add variables definable through properties for:
- Rampup
- Duration
- Threads
Drop HttpClient 3.1 customization
Remove in Test Plan Element host and port as they are defined in User
Variables

* Improve JMeter Template : Fix Issue 7773
This comment #7773
As per request update samples
2018-03-21 20:46:47 +08:00
HugoMario
22f0b8db43
Merge pull request #7882 from swagger-api/issue-7839-null-fields
removed null fields
2018-03-20 21:07:26 -05:00
Hugo Mercado
74fa3b1e13 removed null fields 2018-03-20 18:07:26 -05:00
Martin Delille
fedfb0cda7 Factorize addOption/addSwitch method (#7814) 2018-03-21 00:31:01 +08:00
etherealjoy
73bd24db7d [cpprest] Add support for nested vectors (#7820)
* Small fixes to prevent crash when empty json body is provided.

* cpprest : Add toJson and toHttpContent array support.

* petstore : Run script.

* cpprest : Fix toHttpContent function header.

* petstore : Run script.

* cpprest : Add support for primitive response without enclosing item.

* cpprest : Fix spaces.

* cpprest : Fix build if bodyParam is optional.

* cpprest : Fix vector of vector param.

* Small updates to use utf encoding
Add * operator for ^required
2018-03-21 00:30:17 +08:00
Daiki Matsudate
3b7230b170 [Swift 4] Fix APIHelper to accept array parameter (#7821)
* fix typo

* use URLComponents instead of NSURLComponents

* add encode method for any type

* Add public initializer for modelObject

* change id to _id

* fix APIHelper funcs for array query parameters

* make public to write unit test

* add APIHelperTests

* fix typo

* fix regression
2018-03-21 00:23:47 +08:00