3620 Commits

Author SHA1 Message Date
wing328
1e80455d82 add swagger codege ignore to ts node npm 2016-05-20 00:34:31 +08:00
wing328
71176a84ba skip integration test 2016-05-20 00:08:40 +08:00
Marcin Stefaniuk
e7781d0d91 Handling enum properties and nullability. 2016-05-19 15:06:08 +02:00
Marcin Stefaniuk
8f2523c448 Generation of enum types for parameters and properties. 2016-05-19 14:41:47 +02:00
wing328
624e8ae41f Merge pull request #2899 from jimschubert/feature/codegen-ignore
Feature/codegen ignore
2016-05-19 18:02:23 +08:00
Igor Markov
c245f2199f [Objc] fixed code generation for collection parameter 2016-05-19 11:50:57 +03:00
wing328
a31f78b454 Merge branch 'swift/enums' of https://github.com/jaz-ah/swagger-codegen into jaz-ah-swift/enums
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/SwiftCodegen.java
2016-05-19 16:10:47 +08:00
wing328
2dda6a6e9a Merge pull request #2640 from fabdslv/issue-2531
[Swift] Enum parameters are now handled
2016-05-19 15:46:25 +08:00
Marcin Stefaniuk
be44df44a5 Fix of model builder validation method. 2016-05-19 09:08:02 +02:00
Marcin Stefaniuk
f5f5a359e0 Fix of model builder validation method. 2016-05-19 08:59:29 +02:00
wing328
2ea40ada8b Merge pull request #2882 from Vrolijkx/feature/integration-test
Adding correct code generation for additional properties in typescript angular2.
2016-05-19 14:37:30 +08:00
Joseph Zuromski
9bdf7c4bbb move back to alamofire 3.1.5 because alamofire 3.2.x and up cause issues speaking to the petstore service - has to do w/ Accept/content type changes 2016-05-18 09:48:12 -07:00
wing328
22413855cd remove try-catch block from objc sample code 2016-05-18 23:51:52 +08:00
Joseph Zuromski
98385aa746 checkpoint updating pod dependencies/moving to cocoapods1.0 2016-05-18 08:51:29 -07:00
Marcin Stefaniuk
dba662da59 Code formatting. 2016-05-18 15:09:39 +02:00
Jakub Malek
6564df79de NancyFx: With() method added for model classes 2016-05-18 15:03:47 +02:00
Marcin Stefaniuk
cdb9ab826e Fix of model template. 2016-05-18 14:59:16 +02:00
Jakub Malek
806e22deb5 NancyFx: Template for immutable model classes with builders 2016-05-18 14:54:40 +02:00
Jim Schubert
21e2b7bb2a [feature] Support for .swagger-codegen-ignore
Adds a .swagger-codegen-ignore file with instructions and examples.
The .swagger-codegen-ignore file is treated as a supporting file.

Every project will generate a .swagger-codegen-ignore file containing
instructions and examples.

This also adds support for 'common' files (defaults like
.swagger-codegen-ignore). In the case of the ignore file, a generator
may include a compiled template ignore file which outputs to the
outputDir folder as .swagger-codegen-ignore and the default file
generation will honor the already generated file.

The rules for .swagger-codegen-ignore are a simple subset of what you'd
find in .gitignore or .dockerignore. It supports recursive matching
(**), simple matching (*), matching files in the project root
(/filename), matching against directories (dir/), negation rules
(!previously/excluded/**/file).
2016-05-18 08:34:52 -04:00
Jakub Malek
123a441257 NancyFX:
- Utility methods for obtaining value from header and path parameter added to requestExtensions.mustache template
- Added support of parsing arrays (IEnumerable, ICollection, IList, List, ISet, Set, HashSet) for query, header and path parameters
2016-05-18 14:23:17 +02:00
Kristof Vrolijkx
816ba6fb39 Code review remarks 2016-05-18 08:42:37 +02:00
wing328
d299f18f16 Merge pull request #2883 from scottrw93/requirements
Add requirments.txt and tox.ini
2016-05-18 09:54:40 +08:00
Guo Huang
b519015f61 fixed travis build error 2016-05-17 13:53:12 -07:00
Scott Williams
af64746870 Fix tox for 2.7 tests 2016-05-17 19:50:03 +01:00
wing328
1b4a3e72dd Merge pull request #2878 from mateuszmackowiak/objc/common_api_protocol
[Objc] - Common protocol for Api
2016-05-17 23:45:53 +08:00
zhenjun115
a093e7b74d gradle wrapper for java api client; 2016-05-17 23:40:57 +08:00
wing328
c649e63e74 Merge pull request #2808 from mikolajprzybysz/broken-repo-path
[PHP] Fixing bug with composer project path in generated sdk
2016-05-17 23:30:02 +08:00
wing328
89614af25d Merge pull request #2890 from cbornet/retrofit2_oauth_loop
[Retrofit2] Don't retry if the access token doesn't change
2016-05-17 22:31:30 +08:00
Marcin Stefaniuk
1a670391ed Respecting packageName option. 2016-05-17 15:33:36 +02:00
wing328
a6068a585f Merge branch 'feature/patch-2' of https://github.com/zlx/swagger-codegen into zlx-feature/patch-2
Conflicts:
	samples/client/petstore/ruby/README.md
2016-05-17 21:05:37 +08:00
Newell Zhu
6c626ccc7a remove tailing spaces 2016-05-17 19:53:36 +08:00
wing328
d161389599 Merge pull request #2879 from wing328/csharp_move_test_cases
[C#] move existing test cases to auto-generated test files
2016-05-17 19:30:42 +08:00
Jakub Malek
34a8374531 Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into nancyfx-codegen 2016-05-17 13:01:43 +02:00
Jakub Malek
e30e1d9a9e RequestExceptions utility class template for NancyFx
Fixed package name to case-sensitive in GoClientOptionsTest, GoModelTest, LumenServerOptionsTest and SpringBootServerOptionsTest
2016-05-17 13:01:16 +02:00
Marcin Stefaniuk
3a2cbd8904 Added nuget packages, handling empty return types and fixes. 2016-05-17 12:58:50 +02:00
cbornet
596a076077 fix wrong method call 2016-05-17 10:35:37 +02:00
cbornet
fc1d06d810 update retrofit2 samples 2016-05-17 10:25:52 +02:00
cbornet
69d956f16b don't retry if the access token doesn't change
See #1541
2016-05-17 09:45:42 +02:00
Aditya Kajla
5633fdfb3d Java: Add basic junit test templates for api clients 2016-05-16 17:55:29 -07:00
Scott Williams
ad6b347170 Add requirments.txt and tox.ini 2016-05-16 22:16:56 +01:00
Kristof Vrolijkx
66a49e7b11 always use es6 Promise syntax 2016-05-16 21:08:03 +02:00
Kristof Vrolijkx
b61abf79c6 Merge branches 'feature/integration-test' and 'master' of https://github.com/Vrolijkx/swagger-codegen 2016-05-16 20:57:40 +02:00
Kristof Vrolijkx
ca2174f079 small code movement 2016-05-16 20:42:42 +02:00
Kristof Vrolijkx
5b1c779e57 fix unit test 2016-05-16 20:33:49 +02:00
Kristof Vrolijkx
b36290f88a adding node-es5-spec (still failing) 2016-05-16 20:12:44 +02:00
Kristof Vrolijkx
ec65eb5975 some small optimizations 2016-05-16 17:58:06 +02:00
Kristof Vrolijkx
68d47be9fd remove not needed peer dependencies and add any type too additional properties if also other properties defined. 2016-05-16 17:51:00 +02:00
wing328
5af4156c02 Merge pull request #2866 from jimschubert/cs/ignore_model_tests_option
[generator] Individual options to exclude tests and docs for apis and models
2016-05-16 23:10:41 +08:00
Marcin Stefaniuk
874509a592 Introducing service interface and some validation. 2016-05-16 16:27:03 +02:00
Marcin Stefaniuk
37e76f4c68 Main files of nancyfx generator. 2016-05-16 16:27:03 +02:00