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
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
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
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
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
Mikolaj Przybysz
041c5d1d34
Replaced \n with PHP_EOL
2016-05-24 14:25:16 +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
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
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
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
zhenjun115
359c4b0e53
gradle wrapper mustache for java api client;
2016-05-20 21:44:32 +08:00
zhenjun115
f2a2014ef4
add gradle wrapper mustache for android api client;
2016-05-20 20:24:22 +08: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
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
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
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
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
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
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
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
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