Commit Graph

3807 Commits

Author SHA1 Message Date
Leon Yu
a34373fe34 Update typings version
rebuild test target
2016-06-02 18:56:08 -04:00
clasnake
f4ba31964a Merge branch 'master' into 3006/sbt_for_java_scala
Conflicts:
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/ApiException.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Configuration.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Pair.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/ApiKeyAuth.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/OAuth.java
2016-06-03 00:43:43 +08:00
clasnake
f0d3bd8f21 Add sbt support for jersey2, fix dependency issue for okhttp-gson. 2016-06-03 00:37:53 +08:00
Jakub Malek
01145be00d NancyFx:
- Moved model enum definitions to model class to avoid name duplications
2016-06-02 16:06:47 +02:00
Pablo Gra\~na
328787186c Use UnsupportedOperationException.
Replaced NotImplementedException with UnsupportedOperationException. See
bug #3011.

Eclipse was throwing some errors related to differences in package names
vs file path. I renamed the packages io.swagger.codegen.Go to
io.swagger.codegen.go, io.swagger.codegen.slim to package
io.swagger.codegen.lumen and io.swagger.codegen.springBoot to
io.swagger.codegen.springboot in some test files.
2016-06-02 08:20:10 -03:00
Jakub Malek
460f8130db NancyFx:
- Fixed Query and Headers parameters parsing
2016-06-02 13:12:16 +02:00
Jakub Malek
9c8373aea2 NancyFx:
- Fixed model template
2016-06-02 11:53:25 +02:00
wing328
a3610f1c12 [Java] fix warning in pom.xml (java okhttp-gson) (#3023)
* fix warning in pom.xml

* minor fix to pom (okhttp-gson)
2016-06-02 17:37:11 +08:00
Jakub Malek
adb02a030f NancyFx:
- Skipping parsing nulls of nullable types
2016-06-02 11:18:51 +02:00
Jakub Malek
a458e53e25 NancyFx
- Detailed exception of not expected parse error
2016-06-02 11:14:05 +02:00
Jakub Malek
d1cf803e49 NancyFx:
- Yet another fix for nullable enums parsing
2016-06-02 11:05:40 +02:00
Jakub Malek
4c69e02a21 NancyFx:
- Fixed parsing nullable enums
2016-06-02 11:00:16 +02:00
Jakub Malek
d201d6331c NancyFx:
- Details exception for error of dynamic value of parameter
2016-06-02 10:52:21 +02:00
Jakub Malek
0996f8c930 NancyFx:
- Detailed exception of get parameter error
2016-06-02 09:53:42 +02:00
Jakub Malek
da5804d583 NancyFx:
- Using nullable enum types in API
2016-06-02 08:57:49 +02:00
Takuro Wada
91c35509b8 set 'None' to body for request if given body is 'None' ( issue #3020 ) (#3021) 2016-06-02 14:51:13 +08:00
wing328
23d2c56096 [JAX-RS] fix library setting "jersey2" (#3016)
* to fix #2981

* update sample, update ci to include jaxrs (jersey1, 2)

* avoid duplicated artifactId in pom (jaxrs jersey1)

* update jetty dependency for jersey1 jaxrs

* update bin to set proper artifact-id

* fix jersey1 jaxrs pom.xml

* fix dependency in jaxrs jersey2 pom

* downgrade jetty plugin to 9.3.0.v20150612

* update petstore sample for jaxrs jersey 1

* restore jetty to previous version. update test order

* downgrade jetty maven plugin version

* restore original version of jetty plugin
2016-06-02 14:33:08 +08:00
Jakub Malek
1cfb3d1c9c NancyFx:
- Changed enum class name format
- CodegenProperty parent and parentClass replaced by Booolen flag isInherited
2016-06-02 08:14:49 +02:00
wing328
85550285a1 Merge pull request #3017 from mateuszmackowiak/objc/user_agent
[Objc] Add customizable user-agent #2715
2016-06-02 14:11:15 +08:00
wing328
36a8ed2c37 Merge pull request #3013 from DavidBiesack/preserve-schema-name
use {{name}} not {{classname}} in HTML section header/anchors
2016-06-02 11:49:30 +08:00
Mateusz Mackowiak
7a87746af1 [Objc] Proper binary data handle 2016-06-01 16:43:35 +02:00
wing328
43fe3fa6d0 Merge pull request #3003 from Cosium/feign-disable-fail_on_unknwon_properties
Feign: disable FAIL_ON_UNKNOWN_PROPERTIES by default
2016-06-01 22:33:36 +08:00
wing328
8f82034a4f Merge pull request #2947 from mikolajprzybysz/version-check-mustache
[PHP] Check skipping artifiactVersion in other mustache templates, since it is not required anymore
2016-06-01 22:12:13 +08:00
Mateusz Mackowiak
2ead00c96d [Objc] Add customizable user-agent #2715 2016-06-01 15:51:52 +02:00
Jakub Malek
dbc6c2f163 Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into nancyfx-codegen 2016-06-01 15:04:41 +02:00
Jakub Malek
fc9b4501fc NancyFx:
- Fixed inheritance support
2016-06-01 15:04:18 +02:00
Mikolaj Przybysz
47576471e2 Replaced double quotes with singles 2016-06-01 10:57:20 +02:00
Mikolaj Przybysz
4f54e5cdc7 Improved formatting 2016-06-01 10:43:22 +02:00
Mikolaj Przybysz
37264b0bcf Removed printing artifactVersion if it is not set from debug information 2016-06-01 10:35:52 +02:00
Mikolaj Przybysz
ce2e994306 Removed printing artifactVersion if it is not set 2016-06-01 10:30:55 +02:00
wing328
7b6747e6f3 Merge pull request #2872 from dmytrobr/feature/issue-2868
use Title attribute as model name
2016-06-01 10:55:54 +08:00
David Biesack
147497ae34 use {{name}} not {{classname}} in HTML seaction head/anchors 2016-05-31 15:57:40 -04:00
Réda Housni Alaoui
5740de9cc7 Feign: disable FAIL_ON_UNKNOWN_PROPERTIES by default 2016-05-31 18:51:11 +02:00
Mateusz Mackowiak
fbd8deef46 [Objc] core data objc update license 2016-05-31 18:27:34 +02:00
wing328
73ab94dfbf fix sbt build for okhttp-gson 2016-05-31 22:22:54 +08:00
Marcin Stefaniuk
e1df89c8fa Formatting fix. 2016-05-31 13:49:45 +02:00
Jakub Malek
30b7eb7854 NancyFx:
- Omitting copyright and licenceurl tags i nuspec when not specified
2016-05-31 09:01:26 +02:00
Jakub Malek
849aa5064d NancyFx:
- Including dependencies in csproj
2016-05-31 08:50:36 +02:00
wing328
4f9b43b555 Merge pull request #2988 from wing328/objc_core_data_cherrypick2
[Objc] Basic Core data support [Optional]
2016-05-30 23:28:22 +08:00
wing328
14aefe786e Merge pull request #3000 from zlx/rails-5-license
Add LICENSE into rails5
2016-05-30 22:07:10 +08:00
Mateusz Mackowiak
a8daf94831 Remove nullability warnings 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
8aa777405a [Objc] CoreData pod spec add resources only if useCoreData is on 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
bfd71c1e29 [Objc] CoreData added test 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
5145beea05 [Objc] coraData cli option changed from y/n to true false 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
ceda86b9c3 [Objc] Basic Core data support 2016-05-30 22:02:16 +08:00
wing328
81b6ccfe1c Merge pull request #2999 from wing328/update_license
Add appendix to Apache license
2016-05-30 21:59:43 +08:00
Jakub Malek
16200ae424 NancyFx:
- Mutable model generation for option -Dimmutable-false
2016-05-30 15:49:37 +02:00
Newell Zhu
e7baa17ba0 Add LICENSE into rails5 2016-05-30 21:38:59 +08:00
wing328
867a4f80ee Merge pull request #2996 from wing328/package_json_license
Update nodejs/ts package.json use Apache-2.0 license
2016-05-30 21:34:24 +08:00
wing328
fb68f61a03 Merge pull request #2992 from jimschubert/swagger_codegen_ignore_docs
[codegen ignore] Add tests and docs, fix two minor issues
2016-05-30 21:34:12 +08:00
wing328
b6595f7a1c add appendix to license 2016-05-30 21:23:12 +08:00
Jakub Malek
c6d4df3e41 NancyFx:
- Handling class name mapping
2016-05-30 15:04:16 +02:00
Jakub Malek
c734a216af NancyFx:
- Handling importMapping
2016-05-30 13:21:55 +02:00
Jakub Malek
ba26df95e2 NancyFx:
- Added generation of .nuspec file
2016-05-30 12:09:00 +02:00
Jakub Malek
1d167b709d NancyFx:
- Including API docs
2016-05-30 11:21:21 +02:00
Jakub Malek
a72640ce9c NancyFx:
- Sealed class for generated Modules
- Empty constructor added to model classes
- Code cleanup
2016-05-30 10:33:22 +02:00
wing328
9d581a791d Merge pull request #2968 from zhenjun115/java_api_client
add markdown docs for java api client using retrofit2;
2016-05-30 11:15:32 +08:00
Darrell King
8a403a06e3 2983: Java Feign client generator: HTTP header name should be named Accept not Accepts 2016-05-29 21:14:59 +01:00
Jim Schubert
e0c3aa276d [codegen ignore] Lazy test setup
Moved temp directory preparation to occur at the start of tests and
added temp directory prefix to help avoid conflicts with other tests.
2016-05-29 09:47:47 -04:00
wing328
a1e9b8f81e Merge pull request #2990 from jimschubert/cs/number_to_decimal
[csharp] map number/no format to Decimal
2016-05-29 20:58:31 +08:00
wing328
4d8d4e6995 Merge pull request #2995 from wing328/feature/model_map_property
Fix spec for map and array
2016-05-29 18:10:48 +08:00
wing328
a27cda68ce update nodejs/ts package license to use Apache-2.0 2016-05-29 18:08:32 +08:00
wing328
6d1fd2c78d fix spec for map and array 2016-05-29 17:28:33 +08:00
wing328
4b74f6ccef add defaulat license (apache2.0) to all generators 2016-05-29 15:02:06 +08:00
wing328
e6825eaff4 Merge pull request #2989 from wing328/ts_querystring_cherrypick2
[Typescript-Node] Add Support for useQuerystring Request Option #2905
2016-05-29 12:01:56 +08:00
Jim Schubert
d172de260d [codegen ignore] Add tests, fix two minor issues
Tests are create to act on actual files to gauarantee functionality of
.swagger-codegen-ignore processing. Found two minor issues, one with
directory processing of files below the directory and another with
filename.* patterns reversing as *filename. for the pattern.

Added documentation to the README about .swagger-codegen-ignore file
support and syntax.
2016-05-28 22:25:45 -04:00
Jim Schubert
eccd4d5245 [csharp] map number/no format to Decimal 2016-05-28 15:09:50 -04:00
Malcolm Barclay
5777d21579 Merge remote-tracking branch 'upstream/master'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-05-28 18:47:41 +01:00
Alexander Fisher
449e74b873 Move changes to samples to source code. Build, run, test. 2016-05-29 01:30:37 +08:00
Alexander Fisher
7f2a16a78b Add ability to set useQuerystring on request globally for api. 2016-05-29 01:29:14 +08:00
wing328
063f83f18b Merge branch 'objc/License' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-objc/License 2016-05-28 10:16:57 +08:00
Jim Schubert
fafcd33e27 [csharp] Intercept hooks for req/res and ExceptionFactory 2016-05-27 22:10:06 -04:00
Guo Huang
6415018c8f removed tab in logger, added warnings for import 2016-05-27 09:42:08 -07:00
Guo Huang
4b41877419 updated read me and removed extra space 2016-05-27 09:18:23 -07:00
Mateusz Mackowiak
ef66f9622c Moved GlobalSupportingFile to separate file 2016-05-27 16:04:20 +02:00
Mateusz Mackowiak
d82c77da34 - [Objc] Fix test after removing license property
- Moved adding License file to DefaultGenerator
2016-05-27 12:46:09 +02:00
Guo Huang
ef71d50eee fixed spacing issue 2016-05-26 22:49:13 -07:00
Malcolm Barclay
a56d927b0c Added date format string #2935
Support decoding of RFC3339 compliant date-time strings with fractional seconds, but no timezone.
2016-05-27 06:48:39 +01:00
Guo Huang
db9684ff19 issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
wing328
f5ff62e685 Merge pull request #2972 from scottrw93/license
[Python] Include license in generated client
2016-05-27 11:54:47 +08:00
Scott Williams
c18241cffc Update license header 2016-05-26 21:44:40 +01:00
Scott Williams
23271d74ea Update license header 2016-05-26 21:42:37 +01:00
wing328
662d4efcaf Merge pull request #2957 from fabdslv/rm-force-unwrap
[Swift] Remove force unwrap in model constructor
2016-05-26 18:38:54 +08:00
wing328
aeaf60713f Merge branch 'feature/ruby_enum_support2' of https://github.com/zlx/swagger-codegen into zlx-feature/ruby_enum_support2
Conflicts:
	samples/client/petstore/ruby/README.md
	samples/client/petstore/ruby/lib/petstore/models/additional_properties_class.rb
	samples/client/petstore/ruby/lib/petstore/models/mixed_properties_and_additional_properties_class.rb
	samples/client/petstore/ruby/lib/petstore/models/read_only_first.rb
2016-05-26 17:20:49 +08:00
wing328
f448ec3728 Merge pull request #2969 from guohuang/license
[Go] add apache v2 LICENSE
2016-05-26 15:05:42 +08:00
Scott Williams
e0dbb44b37 Put license header in shared file 2016-05-25 22:35:38 +01:00
Scott Williams
349b727b2c Include license in genrated client 2016-05-25 22:20:08 +01:00
Arne Jørgensen
5c97d1b8f7 [PHP] Improve code style of generated code
Avoid trailing whitespace.
2016-05-25 22:53:01 +02:00
Arne Jørgensen
d9d3a41deb [PHP] add apache v2 license to PHP client
See #2963.
2016-05-25 22:53:01 +02:00
Guo Huang
7b57a26a97 added apache LICENSE 2016-05-25 10:11:52 -07:00
Mateusz Mackowiak
c68168fa27 - Remove optional license property
- License in all header files
2016-05-25 18:13:27 +02:00
zhenjun115
09a29063be add markdown docs for java api client using retrofit2; 2016-05-25 23:44:44 +08:00
wing328
9598974d45 Merge pull request #2908 from iomark/master
[Objc] fixed code generation for collection parameter
2016-05-25 21:57:00 +08:00
wing328
31aee5b3a7 Merge pull request #2950 from wing328/update_pom_220
Update pom.xml to use 2.2.0-SNAPSHOT
2016-05-25 21:10:43 +08:00
Mateusz Mackowiak
537ee960b6 [Objc] Add Apache v2 license to auto-generated files #2963 2016-05-25 15:09:05 +02:00
wing328
0a724a3008 update pom for swagger codegen module 2016-05-25 17:25:18 +08:00
Marcin Stefaniuk
c59f2b0322 Versioning of generated model (namespace, base context). 2016-05-25 11:23:11 +02:00
wing328
38a422212d Merge pull request #2948 from mikolajprzybysz/use-php-eol
[PHP] Replaced \n with PHP_EOL
2016-05-25 16:49:37 +08:00
wing328
8096308657 add apache v2 license to csharp api client 2016-05-25 14:41:17 +08:00
Fabien Da Silva
4404b907bc [Swift] Remove force unwrap in model constructor
Fix #2955
2016-05-24 21:54:46 +02:00
wing328
105b4b9199 new test case to cover model with array properties 2016-05-25 01:18:50 +08:00
wing328
29008b5802 add licence template for ruby api client 2016-05-25 00:48:31 +08:00
wing328
568fa4f514 add apache license to remaining ruby files (test, spec, etc) 2016-05-24 23:20:23 +08:00
Jakub Malek
bf68801295 NancyFx:
- Passing NancyContext to service instead of Request
2016-05-24 16:19:45 +02:00
Jakub Malek
bc6fcbdc7b NancyFx:
- Unnecessary dependencies removal
- Nancy version update
2016-05-24 16:07:22 +02:00
Jakub Malek
da3aa7214d NancyFx:
- Fixed Module classes naming (removed double 'Module' suffix)
- Using partial classes for generated Nancy modules
2016-05-24 15:17:27 +02:00
Mikolaj Przybysz
041c5d1d34 Replaced \n with PHP_EOL 2016-05-24 14:25:16 +02:00
Jakub Malek
cef6c9d8ba NancyFx:
- Using NodaTime for date types
2016-05-24 14:08:09 +02:00
Marcin Stefaniuk
d0e3b5cc71 Moving enum definition of model lists outside class. 2016-05-24 13:07:14 +02:00
wing328
d05d552b74 Merge pull request #2946 from wing328/ruby_license
[Ruby] update Ruby API client to use apache v2 license
2016-05-24 18:11:28 +08:00
wing328
c7110debee update ruby api client to use apache v2 license 2016-05-24 17:50:28 +08:00
Marcin Stefaniuk
4b2e3a01f9 Renaming request dispatcher to Nancy specific Module. 2016-05-24 11:31:27 +02:00
wing328
d82bbfdaf4 Merge branch 'java_api_client' of https://github.com/zhenjun115/swagger-codegen into zhenjun115-java_api_client 2016-05-24 16:36:33 +08:00
Jakub Malek
ba38a3b6cb NancyFx:
- Removed "Enum" suffix of Enum class name
2016-05-24 10:32:09 +02:00
Jakub Malek
c653aeec0b NancyFX:
- Fixed parsing enum parameters in NancyModule
2016-05-24 10:25:18 +02:00
Jakub Malek
57aa6d01d2 NancyFx:
- Using virtual interface implementation in AbstractService
 - Fixed namespace for module classes
 - Using Parameters utility for parsing parameters in NancyModule
 - Excluding obj folder from csproj
2016-05-24 10:14:22 +02:00
Jakub Malek
04af1cf2a7 NancyFx:
- Passing Nancy.Request to service interface
 - Generating AbstractService code
 - Removed null defaults from constructors in models
 - Fixed project namespace
2016-05-23 16:53:01 +02:00
Newell Zhu
24a0ced972 regenerate ruby spec file 2016-05-23 21:30:40 +08:00
Newell Zhu
942b015c8f Add normal class enum support 2016-05-23 20:54:30 +08:00
Marcin Stefaniuk
9354fc8b0f Retrieving enum params from api request. 2016-05-23 13:56:28 +02:00
Marcin Stefaniuk
36e94f7ed1 Enumerations on api input. 2016-05-23 13:40:12 +02:00
Urs Keller
91177cd536 typescript-angular2 query string fix 2016-05-23 10:55:54 +02:00
Alex Nolasco
3035aeb803 Misspellings
codition => condition
2016-05-22 15:15:06 -04:00
Alex Nolasco
4b4d5aeb2e Mispelling
initalise=> initialize
2016-05-22 14:08:23 -04:00
wing328
69ec14d628 fix csharp constructor for model with read-only 1st property 2016-05-21 22:42:37 +08:00
wing328
46fe27a6f6 Merge pull request #2929 from catinred2/basicAuth
show security defs
2016-05-21 18:26:54 +08:00
wing328
e1367ee743 Merge pull request #2917 from Vrolijkx/feature/typescript_angular2_should_generate_correct_output
Feature/typescript angular2 should generate correct output
2016-05-21 17:42:00 +08:00
wing328
bc44f74786 Merge pull request #2912 from zlx/feature/ruby_enum_support
Add Ruby enum support
2016-05-21 17:39:56 +08:00
wing328
aaca9a4b6f Merge pull request #2922 from zhenjun115/android_api_client
add gradle wrapper mustache for android api client;
2016-05-21 17:34:29 +08:00
Newell Zhu
a7ca3870df remove ruby model leading space 2016-05-21 17:18:53 +08:00
wing328
3ddff7da58 Merge pull request #2930 from wing328/fix_consumes_and_produces3
[Javascript][Clojure] Fix mediaType
2016-05-21 16:41:26 +08:00
xming
90cf56ab43 more comprehensible text 2016-05-21 16:37:00 +08:00
wing328
e903628993 Merge branch 'swift/podupdate' of https://github.com/jaz-ah/swagger-codegen into jaz-ah-swift/podupdate
Conflicts:
	samples/client/petstore/swift/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
2016-05-21 16:24:20 +08:00
wing328
42b08946d4 fix mediaType in clojure client 2016-05-21 16:18:44 +08:00
wing328
a1563ee6c6 unescape mediaType in JS 2016-05-21 16:12:42 +08:00
xming
e884b2e700 add basePathWithoutHost 2016-05-21 14:51:44 +08:00
xming
e44e9fd43a show security defs 2016-05-21 11:51:37 +08:00
Kristof Vrolijkx
cebaa6443c Fix array problem 2016-05-20 20:30:32 +02:00
zhenjun115
9a7e269de1 remove trailing spaces in the mustache template; 2016-05-20 22:39:53 +08:00
zhenjun115
87b25080c3 remove duplicated gradle wrapper mustache files from android api client; 2016-05-20 22:01:55 +08:00
Marcin Stefaniuk
e17b02183b Fix reference to subtemplate. 2016-05-20 15:56:35 +02:00
zhenjun115
359c4b0e53 gradle wrapper mustache for java api client; 2016-05-20 21:44:32 +08:00
Marcin Stefaniuk
f4c3b9ec9f Fixed operation parameter input enums generation. 2016-05-20 15:29:53 +02:00
zhenjun115
f2a2014ef4 add gradle wrapper mustache for android api client; 2016-05-20 20:24:22 +08:00
Marcin Stefaniuk
eaddc18537 Switching from custom exception to System.ArgumentException. 2016-05-20 14:22:48 +02:00
wing328
a96d38e223 Merge branch 'travis' of https://github.com/guohuang/swagger-codegen into guohuang-travis 2016-05-20 18:31:55 +08:00
wing328
c6f03806df Replaced {{mediaType}} with {{{mediaType}} to keep the original media 2016-05-20 17:48:47 +08:00
Marcin Stefaniuk
0005faf77d Handling collections of enumerables. 2016-05-20 10:43:40 +02:00
Newell Zhu
f45d6a4d60 Generate ruby enum 2016-05-20 08:44:53 +08:00
Kristof Vrolijkx
d84c1cdfd7 Fix any problem
+ added integration test
2016-05-19 22:25:56 +02:00
Kristof Vrolijkx
d5626d02da fix indentation 2016-05-19 20:22:53 +02:00
Kristof Vrolijkx
a776b37cb1 fix indentation 2016-05-19 20:21:24 +02:00
Kristof Vrolijkx
244794b6a2 fix integration tests 2016-05-19 20:14:27 +02:00
Kristof Vrolijkx
d583e179ba Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into feature/node-promise-cleanup 2016-05-19 20:08:34 +02:00
Kristof Vrolijkx
9070f1a0af Merge branches 'feature/integration-test' and 'master' of https://github.com/Vrolijkx/swagger-codegen
# Conflicts:
#	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java
2016-05-19 20:05:55 +02:00
Kristof Vrolijkx
7e3faed37b small code cleanump 2016-05-19 20:03:39 +02:00
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
wing328
44d64a8793 Merge pull request #2796 from guohuang/multi
Updat api_client.go to use the new SetMultiValueQueryParams method
2016-05-16 21:48:01 +08:00
Kristof Vrolijkx
aa8b253e38 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into feature/integration-test 2016-05-16 13:47:22 +02:00
Kristof Vrolijkx
c018936c15 add support for additional properties in codegen 2016-05-16 13:47:09 +02:00
Kristof Vrolijkx
37ae53c2cc add support for additional properties in codegen 2016-05-16 13:45:12 +02:00
wing328
373e5fbde2 fix indention in tostring and constructor, add existing test cases to
auto-generated test files
2016-05-16 16:35:25 +08:00
Mateusz Mackowiak
36135134cb [Objc] - Fixed undeclared selector 2016-05-16 09:19:36 +02:00
Mateusz Mackowiak
7e1b080e24 [Objc] - Default headers in shared configuration 2016-05-16 08:55:08 +02:00
wing328
3e17869804 Merge pull request #2857 from jimschubert/cs/client_api_base
[csharp] Add common IApiAccessor interface
2016-05-16 14:29:26 +08:00
Mateusz Mackowiak
db27498961 [Objc] Remove try catch form documentation. 2016-05-16 07:48:22 +02:00
Mateusz Mackowiak
5c8516ce24 [Objc] - Common protocol for Api and added NSParameterAssert if missing required param + calling completion block with error rather than throwing an exception 2016-05-16 07:30:25 +02:00
wing328
acfa393b6b Merge pull request #2871 from zlx/feature/rails5
Feature/rails5
2016-05-16 11:54:38 +08:00
wing328
f60bffe484 Merge pull request #2771 from taxpon/issue-2770
Update typescript-angular2 client to adapt to rc (#2770)
2016-05-16 11:37:56 +08:00
wing328
8103ef3f2c Merge pull request #2877 from cbornet/lib_versions
[JAVA]Update versions in java libraries descriptions
2016-05-15 22:38:55 +08:00
wing328
de1949c644 Merge branch 'php-generated-codestyle' of https://github.com/arnested/swagger-codegen into arnested-php-generated-codestyle 2016-05-15 22:11:19 +08:00
cbornet
b1572af65d update versions in java libraries descriptions 2016-05-15 16:08:43 +02:00
wing328
cda6bc380e update android volley dependencies, add source and target in pom.xml 2016-05-15 17:06:46 +08:00
wing328
d01305671f minor fix to android after switching default lib 2016-05-15 14:40:20 +08:00
zhenjun115
c5136e4dda change volley to the default http library for android (existing errors); 2016-05-15 13:43:08 +08:00
Newell Zhu
33a1d24e1e change better method call 2016-05-15 11:53:54 +08:00
Dmytro Kryvoshei
ea15b859b7 use Title attribute as model name
this allows to use names defined by user in Response model instead of
"inline_response". Also user could use title to have specific name for
request model instead of parameter name
2016-05-14 15:30:57 -04:00
wing328
a466844063 Merge branch 'patch-2' of https://github.com/JMDHo/swagger-codegen into JMDHo-patch-2 2016-05-15 01:21:47 +08:00
Newell Zhu
d0dcec85cc build route.mustache 2016-05-15 00:20:38 +08:00
Newell Zhu
da50a6e1f0 Complete controller mustache 2016-05-15 00:20:38 +08:00
Newell Zhu
8847462198 setup rails 5 basic structure 2016-05-15 00:20:38 +08:00
wing328
1520b90b0d Merge pull request #2812 from achew22/undefined_ts
Update TypeScript to do a better check for empty on basePath.
2016-05-14 22:22:26 +08:00
wing328
7253375b13 Merge pull request #2811 from achew22/injection_ts
Update the injector static variable to contain all injected values.
2016-05-14 22:17:20 +08:00
Arne Jørgensen
cc395fdf63 [PHP] Improve generated codestyle 2016-05-14 13:45:41 +02:00
wing328
b3a335f97b Merge pull request #2863 from cbornet/fix_feign_oauth
[Feign]Fix issue with expired token refreshing
2016-05-14 18:04:12 +08:00
wing328
31848a1920 Merge pull request #2867 from wing328/php_debug_message
[PHP] add debug switch to print out downloaded file info
2016-05-14 17:56:28 +08:00
wing328
2a11720b1d Merge pull request #2862 from mateuszmackowiak/master
[Objc] Moved the generated files to Api, Core and Model folders
2016-05-14 17:48:22 +08:00
wing328
0b7d0c34af add debug switch to print out downloaded file info 2016-05-14 17:11:48 +08:00
Jim Schubert
f6b42b1a4f [python] Excluded tests shouldn't write test init 2016-05-13 22:27:46 -04:00
Jim Schubert
96b98d22c5 [generator] Exclude api/model tests & docs via options
Adds support for system properties apiTests, modelTests, modelTests, modelDocs.
All accepting a boolean value to explicitly define whether or not these
should be generated.

These properties aren't considered "features", so specifying
-DmodelTests=false for example won't cause api or supportFiles to be ignored.

Includes additionalProperty excludeTests for when apiTests and modelTests are
both set to false.

Also includes update to csharp client generator to prevent generation of
the Test project or inclusion of the Test project when both api and
model tests are excluded.

see #2506
2016-05-13 22:04:45 -04:00
Leon Yu
885d3543df functional programming api for typescript-fetch 2016-05-13 17:59:01 -04:00
Guo Huang
492dbcb572 added travis yml to code gen 2016-05-13 13:29:51 -07:00
cbornet
f87d718836 fix issue with expired token refreshing 2016-05-13 16:23:51 +00:00
Mateusz Mackowiak
70cbe1042c [Objc] Moved the generated files to Api, Core and Model folders
- Added known response codes in comment
2016-05-13 17:46:49 +02:00
wing328
303aec7647 Merge branch 'cs/req_properties_2584' of https://github.com/jimschubert/swagger-codegen into jimschubert-cs/req_properties_2584
Conflicts:
	samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln
	samples/client/petstore/csharp/SwaggerClient/README.md
	samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger.Test/IO.Swagger.Test.csproj
	samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj
2016-05-13 21:49:16 +08:00
wing328
68d0e975f9 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-05-13 21:03:50 +08:00
wing328
1e00bbfb8d Merge branch 'typescript-fetch-basic-unit-test' of https://github.com/leonyu/swagger-codegen into leonyu-typescript-fetch-basic-unit-test 2016-05-13 18:02:38 +08:00
wing328
e24405e706 Merge pull request #2861 from BeneficialName/php-fix-prop-name-as-var
[PHP] list_invalid_properties now don't call undefined variables
2016-05-13 17:35:18 +08:00
wing328
406357e3b8 Merge pull request #2854 from BeneficialName/php-cleanup
[PHP] Cleanup to make coding style more consistent
2016-05-13 17:31:36 +08:00
Kim Sondrup
bf259a8065 Merge remote-tracking branch 'swagger/master' into php-cleanup 2016-05-13 11:00:34 +02:00
wing328
26aa8e7c05 Merge pull request #2852 from BeneficialName/php-model-change
[PHP] method list_invalid_properties change to camelCase
2016-05-13 16:55:17 +08:00
Kim Sondrup
e31c71f685 [PHP] list_invalid_properties now don't call undefined variables 2016-05-13 10:54:29 +02:00
wing328
e0ce491b44 Merge branch 'enum' of https://github.com/cjolif/swagger-codegen into cjolif-enum 2016-05-13 16:32:38 +08:00
wing328
48fbaa793a Merge pull request #2842 from mikolajprzybysz/allow-version-skip
[PHP] Allow version skip in composer.json
2016-05-13 15:51:53 +08:00
Leon Yu
aed31fbff3 basic integration test for typescript-fetch
fix postpublish script
2016-05-13 01:45:54 -04:00
abcsun
4d6d63754d add parameters validation from request & adjust the mustache output style 2016-05-13 11:43:29 +08:00
Jim Schubert
993a21ed5f [csharp] Add interface for API config aspects
This allows developers to gain access to each API's
Configuration and  GetBasePath without need for reflection.
2016-05-12 22:06:30 -04:00
Jim Schubert
726228a27d [csharp] Make APIs partial classes 2016-05-12 22:02:11 -04:00
Kim Sondrup
b2f5d8c060 [PHP] Made coding standard more consistent across template files 2016-05-13 01:47:59 +02:00
Kim Sondrup
6bb953d0aa [PHP] Remove trailing spaces from templates 2016-05-13 00:31:45 +02:00
Kim Sondrup
840adb8aa3 [PHP] model list_invalid_properties change to camelCase 2016-05-12 20:05:55 +02:00
wing328
153af0c6cb Merge pull request #2843 from zhenjun115/android_volley_api_client
Android volley api client
2016-05-13 00:21:44 +08:00
Christophe Jolif
154f85992e fix typo 2016-05-12 17:10:01 +02:00
zhenjun115
32a6099853 add gitignore.mustache and git_push.mustache for android api client using volley; 2016-05-12 23:04:43 +08:00
Mikolaj Przybysz
a06ba7d4b8 Enable skipping version in composer.json 2016-05-12 16:53:21 +02:00
Mikolaj Przybysz
bbb1c13b79 Modified code to be able to use composer properties and git properties alternatively and together 2016-05-12 16:38:13 +02:00
wing328
a05133bdc6 Merge branch 'objc/moved_logger_and_optimalizations' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-objc/moved_logger_and_optimalizations
Conflicts:
	samples/client/petstore/objc/README.md
	samples/client/petstore/objc/SwaggerClient.podspec
2016-05-12 22:38:06 +08:00
wing328
b61fa55e45 Merge branch 'objc/bump_podspec_versions' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-objc/bump_podspec_versions 2016-05-12 22:21:22 +08:00
Mikolaj Przybysz
329d22ec00 Revert "Fixing php sdk composer project path"
This reverts commit 4bbc911664.
2016-05-12 14:29:00 +02:00
Christophe Jolif
524ced1d9b Fix regression on swift enum name as well as make sure enum var name with colons ouput compiable swift. Add a test. fixes #2824, fixes #2835 2016-05-12 11:57:43 +02:00
Kristof Vrolijkx
6e000cc2a1 Merge branches 'feature/integration-test' and 'master' of https://github.com/Vrolijkx/swagger-codegen into feature/integration-test 2016-05-11 21:59:16 +02:00
Mateusz Mackowiak
ac37c43649 [Objc] Moved [request setHTTPShouldHandleCookies:NO]; to postProcessRequest method for easier override to modify request. 2016-05-11 18:20:15 +02:00
Mateusz Mackowiak
567c23a3df [Objc] Support for variations of application/json type 2016-05-11 17:39:28 +02:00
Takuro Wada
77428b8a83 Fix npm error & import error in generated code 2016-05-12 00:32:09 +09:00
kolyjjj
3948ae27a4 upgrade version and delete scala-test property 2016-05-11 18:28:01 +08:00
wing328
d6ad7dc0b0 Merge pull request #2831 from zhenjun115/master
a new pom.mustache for android api client using volley HTTP library;
2016-05-11 17:43:42 +08:00
Mateusz Mackowiak
6206785038 [Objc] bump AFNetworking version to 3 2016-05-11 10:40:43 +02:00
wing328
dfe7e33fa5 update mapping to use minus for - 2016-05-11 16:34:30 +08:00
wing328
2784db0604 fix escpaing " and \ 2016-05-11 16:14:03 +08:00
wing328
3c117d5857 refactor special mapping to defualt codegen 2016-05-11 15:44:06 +08:00
zhenjun115
ee15ef3579 a new pom.mustache for android api client using volley HTTP library; 2016-05-11 13:05:54 +08:00
Mateusz Mackowiak
fa7d3c9bad [Objc]
- Moved Logging to separate Logger file
- Moved selectHeaderAccept and selectHeaderContentType to sanitizer
- little optimizations
2016-05-10 22:06:50 +02:00
Mateusz Mackowiak
94f49d2275 [Objc] bump version of JSONModel to 1.2 and ISO8601 to 0.5 2016-05-10 21:53:14 +02:00
Mikolaj Przybysz
82f1a1bce5 Added gitUserId and gitRepoId to php config-help 2016-05-10 20:05:31 +02:00
wing328
745e1aba32 fix broken links in php doc 2016-05-11 00:03:14 +08:00
wing328
3c72547e27 Merge branch 'issue-2743' of https://github.com/mikolajprzybysz/swagger-codegen into mikolajprzybysz-issue-2743 2016-05-10 22:33:00 +08:00
wing328
4f28ed3cd3 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-05-10 20:02:33 +08:00
wing328
55746f01b1 Merge branch 'csharp-bug' of https://github.com/guohuang/swagger-codegen into guohuang-csharp-bug 2016-05-10 20:01:44 +08:00
wing328
5aaf570782 Merge pull request #2818 from wing328/bug/fix_2795
[C#] fix constructor with readonly property at the end
2016-05-10 19:08:17 +08:00
Jean-Michel Douliez
6178149f10 Update api.mustache 2016-05-10 12:46:30 +02:00
Jean-Michel Douliez
9f19a74123 Update APIHelper.mustache 2016-05-10 12:45:38 +02:00
wing328
62db8e854b Merge branch 'update_typings_json' of https://github.com/leonyu/swagger-codegen into leonyu-update_typings_json 2016-05-10 17:51:28 +08:00
wing328
1b36083afd fix #2795 2016-05-10 17:40:21 +08:00
wing328
5bbed79581 Merge pull request #2815 from wing328/ruby_move_test_case
[Ruby] update Ruby test cases
2016-05-10 15:22:01 +08:00
wing328
31daa2b092 update ruby test files 2016-05-10 14:56:14 +08:00
wing328
d54877b5d3 add ruby spec for configuration, api client, replace should with expect 2016-05-10 14:18:06 +08:00
Guo Huang
e7f68287c1 updated function to support multiple collection formats 2016-05-09 22:01:32 -07:00
Andrew Z Allen
0b8c936972 Update TypeScript to do a better check for empty on basePath.
In Angular if a value is not defined for injection it is passed as
undefined. That means that most of the time `if (value) {` is a
reasonable test. Unfortunately since `""` (empty string) is also falsey
by nature, an empty string will not trigger the if properly.

Instead you should check `if (value !== undefined) {`.
2016-05-09 22:59:25 -06:00
Andrew Z Allen
51ad775aee Update the injector static variable to contain all injected values.
In Angular.js, values are injected into service in one of two ways:

1) Inline (by name).
2) By a static injector variable.

The TypeScript generator uses the 2nd method. This method requires you
to explicitly enumerate all the values you would like to have injected.
If you fail to inject a value the Angular DI system will simply pass you
`undefined`. The constructor is expecting 3 values to be passed (the
final being basePath) but the injector static only defines 2 values.
This results in basePath always being undefined no matter what you
define it to be.

This change updates the injector variable to handle that properly.
2016-05-09 22:46:50 -06:00
Leon Yu
3185606124 Update typings
Expose type definition

Add readme
2016-05-09 20:33:24 -04:00
Mikolaj Przybysz
4bbc911664 Fixing php sdk composer project path 2016-05-09 19:56:20 +02:00
Mikolaj Przybysz
449d6b7d5f issue-2743 fixing docs path and composer autoloader-dev 2016-05-09 19:03:49 +02:00
wing328
d0529cffdb Merge branch 'php-fix-array-handling-2' of https://github.com/arnested/swagger-codegen into arnested-php-fix-array-handling-2
Conflicts:
	modules/swagger-codegen/src/main/resources/php/model.mustache
	samples/client/petstore/php/SwaggerClient-php/README.md
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Animal.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/AnimalFarm.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/ApiResponse.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Cat.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Category.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Dog.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumClass.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumTest.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/FormatTest.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Model200Response.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/ModelReturn.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Name.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Order.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Pet.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/SpecialModelName.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Tag.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/User.php
2016-05-10 00:29:13 +08:00
wing328
477f6f8d4d use modelPackage instead to import all models 2016-05-09 23:17:37 +08:00
wing328
b27d8c22c7 fix java import issue due to enum and inner model (array of array of
model)
2016-05-09 23:12:12 +08:00
wing328
28c7ea5426 Merge pull request #2799 from mateuszmackowiak/obj/ApiClient-Sanitizer
Sanitizer for separating sanitize and service logic
2016-05-09 18:01:36 +08:00
wing328
899af7a5fa Merge branch 'obj/Generic_List_and_Maps' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-obj/Generic_List_and_Maps 2016-05-09 17:33:05 +08:00
wing328
f30b32afc4 minor fix to mustache layout 2016-05-09 16:32:49 +08:00
wing328
cf6e8cffbb Merge branch 'php_parameter_validation' of https://github.com/abcsun/swagger-codegen into abcsun-php_parameter_validation
Conflicts:
	samples/client/petstore/php/SwaggerClient-php/README.md
	samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumClass.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumTest.php
2016-05-09 16:21:40 +08:00
Mateusz Mackowiak
ea87f95f77 Rebase obj/Generic_List_and_Maps 2016-05-09 10:08:28 +02:00
wing328
d1cc2488b1 Merge pull request #2773 from zhenjun115/master
add pom.xml based on build.gradle for android api client( using the v…
2016-05-09 16:06:39 +08:00
Mateusz Mackowiak
93a39242a6 Merge branch 'master' into obj/ApiClient-Sanitizer 2016-05-09 09:49:27 +02:00
wing328
e367a74504 Merge pull request #2791 from leonyu/typescript-fetch-package-json
Typescript fetch update
2016-05-09 12:45:26 +08:00
wing328
dbe8ef9df8 Merge pull request #2785 from wing328/bug/escape_unicode
Fix unicode issue in escapeText
2016-05-09 11:35:25 +08:00
wing328
1a2bf79d51 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
Conflicts:
	samples/client/petstore/objc/README.md
2016-05-09 11:22:25 +08:00
wing328
f28e2f2a1b Merge branch 'obj/SupportForByteArray' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-obj/SupportForByteArray 2016-05-09 11:21:21 +08:00
wing328
13b413151b Merge pull request #2797 from mateuszmackowiak/obj/ApiClient_AFNetworking3
Use AFHttpSessionManager instead of AFHTTPRequestOperationManager #1981
2016-05-09 11:19:04 +08:00
wing328
36ada7f5fc Merge branch 'validation' of https://github.com/scottrw93/swagger-codegen into scottrw93-validation 2016-05-09 10:51:23 +08:00
Scott Williams
4718c34984 Replace tabs with spaces 2016-05-09 01:25:13 +01:00
Scott Williams
25ebd5466d Update pattern to support Perl /pattern/modifiers convention 2016-05-09 01:11:29 +01:00
Mateusz Mackowiak
fbd6a95799 [Objc] Generator supports binary and BiteArray and maps data to NSData 2016-05-08 12:54:12 +02:00
Jim Schubert
618f4bdd39 [csharp] Constructor handling for serialization
Resolving an issue with serializing classes that contain required
properties. When the only constructor has defaulted parameters, no
parameterless constructor is generated but JSON.Net attempts to call
the missing constructor on deserialization (because of DataContract).

See: https://manski.net/2014/10/net-serializers-comparison-chart/

The fix here is to create a protected constructor, annotate it with
JsonConstructorAttribute to inform JSON.Net it is the constructor to use
during serialization, then provide settings that explicitly allow
JSON.Net to access non-public constructors during serialiazation.
2016-05-07 22:22:48 -04:00
zhenjun115
6709a92cbc remove pom.mustache from android api client using volley HTTP library; 2016-05-07 23:38:05 +08:00
Mateusz Mackowiak
74c233e194 Sanitizer for separating sanitize and service logic 2016-05-07 15:18:10 +02:00
Mateusz Mackowiak
07b466a291 Objective c generator converts map and array properties to proper format using generics 2016-05-07 14:13:25 +02:00
Mateusz Mackowiak
81c6edcdd4 Merge commit '084f15fc2e6db460b037b08708a3713b8ef61be6' into obj/ApiClient_AFNetworking3 2016-05-07 13:57:15 +02:00
wing328
084f15fc2e Merge pull request #2786 from mateuszmackowiak/objc/responseDeserializer
[Objc] ResponseDeserializer for separating deserialization and service logic
2016-05-07 19:50:34 +08:00
Mateusz Mackowiak
a71d8d935a Use AFHttpSessionManager instead of AFHTTPRequestOperationManager #1981 2016-05-07 12:16:05 +02:00
abcsun
9efef02d5f formate the module.mustache 2016-05-07 18:12:28 +08:00
wing328
7d33e1655d Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
Conflicts:
	samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/README.mustache
2016-05-07 17:55:39 +08:00
wing328
2ab315fa6f Merge branch 'csharp_default_paths' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp_default_paths
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCSharpCodegen.java
	samples/client/petstore/csharp/SwaggerClient/README.md
	samples/client/petstore/csharp/SwaggerClient/docs/FormatTest.md
	samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/FormatTest.cs
	samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/InlineResponse200.cs
	samples/client/petstore/csharp/SwaggerClientTest/SwaggerClientTest.csproj
	samples/client/petstore/csharp/SwaggerClientTest/SwaggerClientTest.userprefs
	samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.csproj.FilesWrittenAbsolute.txt
2016-05-07 17:30:40 +08:00
abcsun
df1d36cf47 modify the properties from container array 2016-05-07 15:55:38 +08:00
abcsun
0695708594 sync from origin master & do the parameters validation in model 2016-05-07 15:43:19 +08:00
Guo Huang
0bc34dcae8 updated api_client.go to use the new SetMultiValueQueryParams method 2016-05-06 23:48:46 -07:00
zhenjun115
101f9a4086 add generated markdown files to android api client for default and volley; 2016-05-07 14:33:47 +08:00
zhenjun115
3629fbac44 add pom.mustache for android api client(using volley HTTP library);update android api client samples(using volley HTTP library); 2016-05-07 14:12:19 +08:00
Scott Williams
fed22a1f72 Add regex support 2016-05-06 22:52:44 +01:00
Arne Jørgensen
f5a802d9af [PHP] Fix default values in derived classes
Fixes flaw in 9f40a82310.
2016-05-06 23:48:52 +02:00
Leon Yu
b3937c2656 Package management option
ES6 target

Fix enum
2016-05-06 15:59:07 -04:00
Guo Huang
5bb1853018 added support for multi 2016-05-06 11:48:20 -07:00
xhh
020a9fcdc0 Fix enum model docs for JS and Java clients 2016-05-06 18:41:15 +08:00
Mateusz Mackowiak
fa68f84ec6 - Remove petsotre demo leftovers
- Moved description method to basic class
2016-05-06 12:35:02 +02:00
xhh
3dbab1b893 JavaScript client: fix exporting of outer enum model 2016-05-06 17:45:03 +08:00
Mateusz Mackowiak
385bf6d9ea Additional UnknownResponseObjectErrorCode if response object expected type is an unknown type 2016-05-06 11:41:30 +02:00
wing328
db65a1526f Merge pull request #2761 from kolyjjj/upgradeswaggertools
[koly] update swagger tools to 0.10.1
2016-05-06 17:18:32 +08:00
wing328
ce4a976916 Merge pull request #2775 from guohuang/tests
fixed array return type return as pointer issue
2016-05-06 17:07:02 +08:00
Mateusz Mackowiak
75cc10fdfa Fix typo 2016-05-06 10:51:59 +02:00
wing328
d3e77a4104 Merge pull request #2784 from catinred2/htmlDocs_response
Html docs response
2016-05-06 16:46:44 +08:00
Mateusz Mackowiak
65d85b7760 ResponseDeserializer for separating deserialization and service logic 2016-05-06 10:46:03 +02:00
wing328
3a80a4ff1e fix double byte characters in description, upgrade to lang3 2016-05-06 16:36:45 +08:00
xming
70d6e64a8d add link to param type 2016-05-06 15:31:09 +08:00
Takuro Wada
724c25728e Move @angular dependencies to peerDependencies 2016-05-06 16:04:24 +09:00
wing328
1dd8faf8b7 Merge pull request #2783 from GriffinSchneider/patch-1
Replace 'BEARER' with 'Bearer' everywhere for RFC6750 compliance.
2016-05-06 15:01:22 +08:00
xming
ea14b3b559 Merge branch 'master' into htmlDocs_response 2016-05-06 13:57:27 +08:00
wing328
ac2cb647b5 Merge branch 'php-fix-array-handling' of https://github.com/arnested/swagger-codegen into arnested-php-fix-array-handling
Conflicts:
	modules/swagger-codegen/src/main/resources/php/model.mustache
	samples/client/petstore/php/SwaggerClient-php/README.md
	samples/client/petstore/php/SwaggerClient-php/docs/FormatTest.md
	samples/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Animal.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/ApiResponse.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Cat.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Category.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Dog.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/FormatTest.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Model200Response.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/ModelReturn.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Name.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Order.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Pet.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/SpecialModelName.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Tag.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/User.php
2016-05-06 10:46:36 +08:00
xming
0f1842bb06 add datatype link under responses 2016-05-06 10:35:45 +08:00
Griffin Schneider
e5ab34b658 Replace 'BEARER' with 'Bearer' everywhere.
RFC6750 indicates that the correct header format is 'Bearer <token>',
not 'BEARER <token>'.
2016-05-05 16:14:45 -04:00
Guo Huang
ebdf12bcd4 fixed code gen using {{#isListContainer}}*{{/isListContainer}} field 2016-05-05 11:41:58 -07:00
wing328
e04c4ec640 add typescript-fetch client generator 2016-05-05 17:12:28 +08:00
wing328
e0ec38df72 Merge branch 'typescript-fetch' of https://github.com/leonyu/swagger-codegen into leonyu-typescript-fetch 2016-05-05 16:43:30 +08:00
wing328
3dccc7d2a1 Merge branch 'SpringBootServer' of https://github.com/diyfr/swagger-codegen into diyfr-SpringBootServer 2016-05-05 15:28:10 +08:00
abcsun
22ea2d87e0 add validation to model 2016-05-05 11:41:14 +08:00
Jim Schubert
9b1d43c6f5 [csharp] default optionalProjectFileFlag to true
Possible breaking change.

optionalProjectFileFlag handles the generation of csproj and sln
files. Not modifying the plurality of the option to reduce the
impact of the breaking change for existing settings:

optionalProjectFileFlag=true
    => generates additional .sln file
optionalProjectFileFlag=false
    => no change
unspecified
    => additional files (csproj, sln) may overwrite existing files
2016-05-04 21:44:52 -04:00
Guo Huang
82770e9566 Issue #2756: add null checking to avoid null exception 2016-05-04 13:22:46 -07:00
Leon Yu
bbeb1a3f6f add dev-dependencies 2016-05-04 14:36:04 -04:00
Guo Huang
41b7649e62 fixed array return type return as pointer issue 2016-05-04 10:39:30 -07:00
diyfr
8209653fb0 Add SpringBoot server generator 2016-05-04 16:38:36 +02:00
Takuro Wada
366c7d6917 Add Opeiontal decorator to basePath 2016-05-04 18:38:54 +09:00
abcsun
f4ef2b0325 add valid function and validation to each setter 2016-05-04 16:56:56 +08:00
Takuro Wada
949da93a05 Update typescript-angular2 client to adopt to rc 2016-05-04 17:19:00 +09:00
abcsun
c8f2715edc fix the minLength validation 2016-05-04 14:52:12 +08:00
wing328
4117608654 Merge pull request #2749 from guohuang/pointer
changed go client to return object pointer
2016-05-04 10:17:07 +08:00
wing328
dc262a3567 Merge pull request #2765 from Vrolijkx/master
Reverting remove of client.ts in typescript-node
2016-05-04 09:57:21 +08:00
wing328
8181720397 Merge branch 'bherila-typescript-es6-promises' of https://github.com/wing328/swagger-codegen into wing328-bherila-typescript-es6-promises
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java
2016-05-04 09:54:42 +08:00
Kristof Vrolijkx
a98c58a76f Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-05-03 20:55:28 +02:00
Kristof Vrolijkx
9fb85ae8fe removing comment 2016-05-03 20:36:24 +02:00
Guo Huang
a5b08a8ce7 fixed merge conflict 2016-05-03 10:16:47 -07:00
kolyjjj
0ce6fd7b36 [koly] update swagger tools to 0.10.1 2016-05-03 22:18:43 +08:00
wing328
bed21e418b Merge pull request #2508 from wing328/php_enum
[PHP][C#] better enum support
2016-05-03 20:09:51 +08:00
diyfr
9604257649 #2742 Issue multiple methods if use multi tags 2016-05-03 13:45:31 +02:00
wing328
2c41451b67 add new java file for enum mustache template 2016-05-03 18:24:25 +08:00
wing328
bfdd49a2b2 add new JS enum mustache template 2016-05-03 18:24:00 +08:00
wing328
3346c84a1f better enum support for typescript 2016-05-03 18:23:08 +08:00
wing328
982a035cc1 add better enum support to swift 2016-05-03 18:12:35 +08:00
wing328
6b0b343b92 add option to support ES6 2016-05-03 16:42:02 +08:00
wing328
333a5edeae Merge branch 'typescript-es6-promises' of https://github.com/bherila/swagger-codegen into bherila-typescript-es6-promises 2016-05-03 14:29:52 +08:00
wing328
0bce28cff2 add back ts resource folder with new folder name 2016-05-03 14:09:08 +08:00
wing328
5c97717fc8 temporary remove ts resource folder 2016-05-03 14:08:02 +08:00
wing328
acb34e3db0 better JS enum class support 2016-05-03 11:21:17 +08:00
wing328
d35e30d578 better enum support for JS 2016-05-03 11:21:17 +08:00
wing328
6e8a19bc5b fix enum for jaxrs and resteasy 2016-05-03 11:20:45 +08:00
wing328
6370165912 fix retrofit 1, 2 java sample 2016-05-03 11:19:59 +08:00
wing328
3913388331 fix java okhttp enum mismatche tab 2016-05-03 11:19:59 +08:00
wing328
0310d95800 fix csharp enum issue after rebase 2016-05-03 11:19:19 +08:00
xhh
4419e71d4b improve enum support in java okhttp-gson client 2016-05-03 11:16:05 +08:00
xhh
8588c5ce0a add enum support to java 2016-05-03 11:16:05 +08:00
wing328
be83c0cc3c add new enum file for csharp and php 2016-05-03 11:16:05 +08:00
wing328
f5bee0c1b7 fix java docstring 2016-05-03 11:16:05 +08:00
wing328
2942ef8b73 add double enum support to C# 2016-05-03 11:16:05 +08:00
wing328
a7ca0ad11f add enum number support to php 2016-05-03 11:16:05 +08:00
wing328
531b536ffb add enum number support to C# 2016-05-03 11:15:40 +08:00