Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
705 commits
Select commit Hold shift + click to select a range
d8406c0
add PR template (#3669)
wing328 Aug 29, 2016
224fd20
Various python cleanups (#3650)
scop Aug 30, 2016
dd1ed12
Make connection failures visible with generated Ruby SDKs (#3640)
DanGe42 Aug 30, 2016
8f98a6d
php: Do not HTML escape patterns
scop Aug 29, 2016
a95ade6
php: Update petstore
scop Aug 29, 2016
cfe1b7a
lumen: Do not HTML escape pattern
scop Aug 29, 2016
77a2973
lumen: Update petstore
scop Aug 29, 2016
a4dbd76
python: Fix escaping of quote in patterns
scop Aug 29, 2016
cdcc61b
python: Do not HTML escape patterns
scop Aug 29, 2016
fa0e0f4
python: Update petstore
scop Aug 30, 2016
343ca03
Merge branch 'issue-3647' of https://github.com/zbiro/swagger-codegen…
wing328 Aug 30, 2016
afe028b
Merge branch 'zbiro-issue-3647'
wing328 Aug 30, 2016
9c8e4f6
clearer wording
wing328 Aug 31, 2016
429bc46
Merge branch 'python-patterns' of https://github.com/scop/swagger-cod…
wing328 Aug 31, 2016
3ec6ee1
Merge branch 'scop-python-patterns'
wing328 Aug 31, 2016
2ced9e1
Don't HTML escape PHP pattern output (#3672)
wing328 Aug 31, 2016
ebfddd0
remove unnecessary changes for python codegen
wing328 Aug 31, 2016
4ea4488
remove unnecessary change for ruby codegen
wing328 Aug 31, 2016
da45cb7
remove unnecessary changes for php codegen
wing328 Aug 31, 2016
322862c
add hided timestamp option to swfit codegen
wing328 Aug 31, 2016
5804fbc
remove unnecesary change in JS codegen
wing328 Aug 31, 2016
8523c57
remove unnecessary change in JS closure codegen
wing328 Aug 31, 2016
eb59e29
remove unnecessary change for c# codegen
wing328 Aug 31, 2016
d464bfb
fix JS auth issue due to missig comma
wing328 Aug 31, 2016
e044f9d
Remove unnecessary change when generating API clients (#3684)
wing328 Aug 31, 2016
8e7d3d1
Python fixes (#3689)
scop Sep 1, 2016
062e6fc
Added functionality to handle optional parameters for Scala (#3683)
Sep 1, 2016
e7ec360
Added 'modelPropertyNaming' option for Scala (#3685)
Sep 1, 2016
e52a8e3
Spelling fixes
scop Sep 1, 2016
0363858
java: Javadoc fixes
scop Sep 1, 2016
5467c41
Merge pull request #3698 from scop/spelling
wing328 Sep 1, 2016
11ae12b
[Scalatra] replace {} with : in scalatra path (#3694)
wing328 Sep 1, 2016
b909252
Merge pull request #3699 from scop/java
wing328 Sep 1, 2016
6bb0ea2
ruby: Fix syntax error when pattern contains a single quote
scop Sep 1, 2016
2af8226
php: Fix syntax error when pattern contains a single quote
scop Sep 1, 2016
c43286c
Python collection formatting fixes/support (#3697)
scop Sep 2, 2016
7a4a430
Merge pull request #3702 from scop/ruby
wing328 Sep 2, 2016
8183d96
#3690 adding RequestURL, Method, Operation and Payload fields to APIR…
neilotoole Sep 2, 2016
1539986
[PHP] Corrected PHPDoc type declarations (#3710)
Sep 3, 2016
43bac10
Merge pull request #3700 from scop/php
wing328 Sep 3, 2016
92aa8ed
[Ruby] Fix ambiguous regex (#3716)
camelmasa Sep 5, 2016
e68b364
update ruby regular expression to use \A
wing328 Sep 5, 2016
730eda0
Merge pull request #3721 from wing328/update_ruby_re
wing328 Sep 5, 2016
f751e50
Issue #3687 silence resty logging [Go] (#3705)
neilotoole Sep 5, 2016
59891c7
fix map usage in api generation #3694 (#3714)
ataraxus Sep 6, 2016
ddc5b80
[Lumen, PHP, Python, Ruby] Implement exclusiveMinimum/Maximum (#3717)
scop Sep 6, 2016
fb3b915
add back test cases for java jersey1 client
wing328 Sep 6, 2016
23283cb
Merge pull request #3728 from wing328/java_default_test
wing328 Sep 6, 2016
91b7494
Spelling fixes
scop Sep 6, 2016
f436f0e
python: Fix model maxLength validation error message
scop Sep 6, 2016
92eb722
[ruby] Add gemspec required_ruby_version setting. (#3718)
cliffano Sep 6, 2016
3d1f621
Merge pull request #3729 from scop/spelling
wing328 Sep 7, 2016
b8e8c7c
Various code cleanups (#3709)
scop Sep 7, 2016
892c9e0
Merge pull request #3730 from scop/python-maxlength-msg
wing328 Sep 7, 2016
326b802
fix property name 'result' for android using "this"
wing328 Sep 7, 2016
47e75cb
Merge pull request #3740 from wing328/android_fix_result
wing328 Sep 7, 2016
4f0f128
fix enum value issue for jaxrs cxf
wing328 Sep 8, 2016
735390f
[Python, Ruby, PHP] Validate min/maxItems (#3734)
scop Sep 8, 2016
ddd0b86
Merge pull request #3750 from wing328/fix_jaxrs_cxf_model
wing328 Sep 8, 2016
65ca059
Issue #3738: regenerate Scala samples (no code changes).
ePaul Sep 8, 2016
c171ca5
Merge pull request #3752 from ePaul/feature/#3738-regenerate-scala-sa…
wing328 Sep 8, 2016
a553d47
Added anchor tag in README.mustache issue #3748.
lunat Sep 8, 2016
f90626a
[Erlang] Add Erlang server generator (#3758)
galaxie Sep 9, 2016
f05c7aa
add Erlang Server | @galaxie
wing328 Sep 9, 2016
7850ecd
rearrange erlang server
wing328 Sep 9, 2016
dcdea19
erlang update readme, add petstore samples
wing328 Sep 9, 2016
8af3396
Merge pull request #3763 from wing328/erlang_server_improve
wing328 Sep 9, 2016
f55a9ce
Merge pull request #3756 from lunat/csharp_documentation_relative_anchor
wing328 Sep 9, 2016
81e9bd0
add tips for filing better PR
wing328 Sep 9, 2016
b6e2c5a
Update CONTRIBUTING.md
wing328 Sep 9, 2016
06144f0
add cli switch for beanvalidation #2549
jfiala Sep 10, 2016
f9d1f24
Fix appveyor maven environment variable (#3769)
wing328 Sep 11, 2016
bd3a15e
Feature/#3738 extract abstract scala codegen (#3755)
ePaul Sep 11, 2016
2dfc291
move beanvalidation into separate subtemplate and reuse for cxf
jfiala Sep 11, 2016
4b7c322
add beanValidation java template
jfiala Sep 11, 2016
ac69f45
better format of model properties
wing328 Sep 11, 2016
1d7d374
Fix for issue #3743 (#3744)
ataraxus Sep 11, 2016
d3eedaf
Issue #3738: introduce the sourceFolder property for all Scala "langu…
ePaul Sep 8, 2016
245b63a
corrected path to mustache file
jfiala Sep 11, 2016
72e051a
Feature/remove unused variables in html codegens (#3739)
ePaul Sep 12, 2016
6d6832e
Fix for #3712 - invalid enum array validation in Python client mustac…
bkryza Sep 12, 2016
77d3130
Merge pull request #3757 from ePaul/feature/#3738-add-sourceFolder-pr…
wing328 Sep 12, 2016
5bb2035
Merge pull request #3772 from wing328/scala_model_indent
wing328 Sep 12, 2016
bc2f614
apiInvoker : in getInstance, if instance is null initialize instance …
Richou Sep 12, 2016
0c59aef
Make InlineModelResolver resolve vendorExtensions correctly for Schem…
zhengcan Sep 12, 2016
314bfde
Add last response code and headers (#3760)
Sep 12, 2016
3e0a1be
update typescript-angular2 petstore sample
wing328 Sep 12, 2016
153397e
Merge pull request #3778 from wing328/update_ts_angular2_petstore
wing328 Sep 12, 2016
907db0d
[Scala] enhancement to indention and null check (#3775)
wing328 Sep 13, 2016
0cba285
Merge branch 'jimschubert-csharp/INotifyPropertyChanged'
wing328 Sep 13, 2016
e14cf8a
Merge branch 'csharp_fix_enum' of https://github.com/wing328/swagger-…
wing328 Sep 13, 2016
07eff71
Merge branch 'wing328-csharp_fix_enum'
wing328 Sep 13, 2016
19047c2
[C#] fix the location of FodyWeavers.xml (#3782)
wing328 Sep 13, 2016
1b1fe95
[jersey] configure jackson to use rfc3339 dates
cbornet Sep 14, 2016
1dd9ee3
[C#] Add CI tests to cover C# Petstore client with "PropertyChanged" …
wing328 Sep 14, 2016
31a3436
Added !is_null condition in setter conditions for non-required proper…
xaviapa Sep 14, 2016
e6049d6
Merge pull request #3797 from xaviapa/bugfix/issue-3783
wing328 Sep 14, 2016
b7f2b28
[resteasy] configure jackson to use rfc3339 dates
cbornet Sep 14, 2016
5aff601
[jmeter] #3800 Fixing testCases and paramName
richardfriedman Sep 14, 2016
fe7acab
add authentication to typescript-angular2 (#3781)
timadamson Sep 14, 2016
1e4f30e
Fixed bug for handling optional header parameters (#3776)
geetikagupta16 Sep 15, 2016
61bd023
Fix NullPointerException if there are no other properties
Sep 16, 2016
945c9a1
[typescript-angular2] npm publish missing files (#3791)
savcha Sep 19, 2016
f41a3b8
Merge pull request #3809 from j4velin/master
wing328 Sep 19, 2016
76d3ec9
Merge pull request #3801 from richardfriedman/issue-3800
wing328 Sep 19, 2016
e479255
add petstore jmeter sample
wing328 Sep 19, 2016
1be134f
Merge branch 'csharp/property-validations' of https://github.com/jims…
wing328 Sep 19, 2016
8a61f92
Merge pull request #3822 from wing328/jmeter_bin
wing328 Sep 19, 2016
1d748e4
fix copmile for C# model annotation
wing328 Sep 19, 2016
4293dff
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Sep 19, 2016
e96b177
Use triple mustache for vendorExtensions.extraAnnotation
wienczny Sep 19, 2016
d74a1fb
Add a new language generator for undertow-server framework (#3820)
stevehu Sep 19, 2016
3073ed0
add gotransverse
wing328 Sep 20, 2016
daa068a
Fixed typo in Readme
vkotovv Sep 20, 2016
f69d150
[Python][Flask] use tags to organize Python Flask controllers (#3767)
wing328 Sep 20, 2016
14bcbcb
Merge pull request #3834 from vkotovv/readme-typo-fix
wing328 Sep 20, 2016
6ac5a2c
Merge pull request #3825 from wienczny/tripleMustacheExtraAnnotation
wing328 Sep 20, 2016
72058c2
Fix NullPointerException when the oauth flow is missing
0xced Sep 20, 2016
ff90954
Merge pull request #3840 from 0xced/fix-oauth-flow-npe
wing328 Sep 21, 2016
d11c7ad
fix typescript angular2 model - optional/required
wing328 Sep 21, 2016
cfed530
Merge pull request #3843 from wing328/fix_ts_angular2_model_optional
wing328 Sep 21, 2016
70ed52c
add default value to swift podspec
wing328 Sep 22, 2016
9bb097f
[PHP] Correct Composer license identifier (#3848)
kimsondrup Sep 22, 2016
e3b891a
Merge pull request #3850 from wing328/fix_swift_pod_file
wing328 Sep 22, 2016
12fb4be
Fix custom generator execution example
Sep 22, 2016
b8843ab
Update README.md
jvosantos Sep 23, 2016
116bf3f
Merge pull request #3854 from jvosantos/patch-1
wing328 Sep 23, 2016
569997b
Merge pull request #3853 from mattalexx/proposed
wing328 Sep 23, 2016
fee23f2
Support cpprest on Linux (#3847)
rustamserg Sep 23, 2016
9301db6
redundant quotation mark (#3837)
Sep 23, 2016
d1c1c9d
fix typescript-fetch base path by removing ending slash
wing328 Sep 23, 2016
83916f2
Merge pull request #3855 from wing328/ts_fetch_basepath_fix
wing328 Sep 23, 2016
110c22e
Merge branch 'issue-3690-additional-fields' of https://github.com/nei…
wing328 Sep 23, 2016
84f03e6
Merge branch 'neilotoole-issue-3690-additional-fields'
wing328 Sep 23, 2016
f47208a
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Sep 23, 2016
dce532e
fix trailing comma in go api client
wing328 Sep 23, 2016
b2344e1
Merge pull request #3857 from wing328/go_fix_trailing_comma
wing328 Sep 23, 2016
fedb0cc
add title, description to HTML output (#3860)
Sep 24, 2016
2155b7b
[JaxRS]Show correct default value on CLI option description (#3862)
y-higuchi Sep 24, 2016
bee27ae
[swfit] fix url param with base name
wing328 Sep 26, 2016
1dc09f3
Merge pull request #3868 from wing328/swift_fix_url_param
wing328 Sep 26, 2016
fa12cd3
Replace ^M with new line (\r) in mustache template (#3865)
wing328 Sep 26, 2016
9e54dce
[Swift] Use thread safe manager dictionary
jgavris Sep 23, 2016
8b681df
Mention security script in pull request template
arnested Sep 26, 2016
0f25501
Merge pull request #3873 from ButterflyNetwork/swift-thread-safe-manager
wing328 Sep 26, 2016
70fa2fb
[PHP] Better PSR2 compatibility (#3863)
dkarlovi Sep 27, 2016
a090ce0
Merge pull request #3875 from arnested/mention-security-script-in-pul…
wing328 Sep 28, 2016
ec25bd7
[Java] Remove duplicated model description in Spring, JAX-RS models (…
wing328 Sep 28, 2016
10d3dea
[PHP] fix PHPUnit invocation, add basic phpunit.xml.dist (#3864)
dkarlovi Sep 28, 2016
a7ed1ad
fix warning in html generator
wing328 Sep 29, 2016
3452585
Merge pull request #3897 from wing328/fix_html_warnings
wing328 Sep 29, 2016
19f1c7e
feature(PHP QA) add initial PHP client template tweaks to improve emi…
dkarlovi Sep 29, 2016
f59c28d
escape callback parameter for java(okhttp) and python
wing328 Sep 29, 2016
3d231e4
Merge pull request #3900 from wing328/escape_callback
wing328 Sep 29, 2016
07df71e
Issue#3829. Objective-C client code, discriminator generated in both …
AlexNolasco Sep 29, 2016
b2e2643
[Cpprest] Fixing issue #3773 (#3876)
sdrichter Sep 30, 2016
d4f9a16
Cgardens nested object regex (#3879)
cgardens Oct 2, 2016
40a1879
Bugfix/issue 3723 (#3726)
bkryza Oct 2, 2016
b7708a4
[aspnet5] Fix basePath application to operations (#3911)
jimschubert Oct 2, 2016
4a74e78
fix python flask controller without tag (default_controller)
wing328 Oct 3, 2016
1840956
Merge pull request #3913 from wing328/python_flask_no_tags
wing328 Oct 3, 2016
e633073
Add a new cli command to output version information (2nd attempt) #38…
MiguelGL Oct 3, 2016
00cc060
Merge pull request #3637 from cbornet/fix_multi_inheritance
wing328 Oct 3, 2016
2aadbee
validate(s)_presence_of
Sep 30, 2016
3ca9893
add undertow
wing328 Oct 4, 2016
677f5f9
Merge pull request #3909 from apanzerj/apanzerj/fixupRails5Server
wing328 Oct 4, 2016
ed4200f
add http://onedata.org
wing328 Oct 5, 2016
1aeceea
[Java] Make generated models Parcelable for okhttp-gson if the -Dparc…
GriffinSchneider Jul 7, 2016
0844496
[Java] Fix bug in generated code if parcelableModel and serializableM…
GriffinSchneider Jul 7, 2016
8ce8082
fix bug with parcelable
wing328 Oct 5, 2016
c915f8e
update pom to test java okhttp-gson parcelable models
wing328 Oct 5, 2016
8db0ec8
fix pom duplicated id issue
wing328 Oct 5, 2016
6ef0209
add back java okhttp petstore client
wing328 Oct 5, 2016
41772a1
Merge pull request #3928 from wing328/parcelable-models
wing328 Oct 5, 2016
515fe33
add more info about test with latest master
wing328 Oct 6, 2016
cd6b5fe
[Android][Volley] add serializeModel support to Android (#3933)
wing328 Oct 6, 2016
24b1dc8
Merge pull request #3903 from alexandern/issue-3829
wing328 Oct 6, 2016
94cd2cb
[Objc] Added support for lower case discriminator (#3927)
sylvain-abadie Oct 6, 2016
81a2b2c
support number enum for swift
wing328 Oct 6, 2016
5743495
fix number format for dart model
wing328 Oct 6, 2016
9f9875b
Merge pull request #3942 from wing328/fix_dart_number
wing328 Oct 7, 2016
7aaa837
Merge pull request #3941 from wing328/swfit_fix_num_enum
wing328 Oct 7, 2016
0ca6035
required tag is used in model, allows null values (#3923)
Oct 7, 2016
65f925f
fix python required property check and validation for optional proper…
wing328 Oct 7, 2016
04070b3
Merge pull request #3944 from wing328/python_fix_required_check
wing328 Oct 7, 2016
d21613c
Bugfix/3929 do not set multipart (#3932)
triptec Oct 8, 2016
c1a6bbb
[Python][Flask] fix python2 support in Flask (#3952)
wing328 Oct 9, 2016
a94a273
[aspnet] Fix .sln/.xproj guids
jimschubert Oct 9, 2016
0712ebc
Merge pull request #3954 from jimschubert/aspnet/3680
wing328 Oct 10, 2016
1006b0c
added package paths for retrofit class names
punksta Oct 10, 2016
dc2b8c2
Add a new JAX-RS server generator - jaxrs-cxf-cdi (#3940)
nickcmaynard Oct 10, 2016
26faf6c
remove newline char in *.mustache; added generated code
punksta Oct 10, 2016
522e27b
add template owner jax-rs cxf cdi
wing328 Oct 10, 2016
2680995
[Java/Jackson] use a jdk6 compatible DateFormat for java.util.Date (#…
cbornet Oct 10, 2016
6f2c139
[Spring] Format datetime in rfc3339 (#3777)
cbornet Oct 10, 2016
671f73b
Merge branch 'jersey_dates' of https://github.com/cbornet/swagger-cod…
wing328 Oct 10, 2016
11d0c87
Merge branch 'cbornet-jersey_dates'
wing328 Oct 10, 2016
ba3f2ea
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Oct 10, 2016
d921a2b
Merge branch 'resteasy_dates' of https://github.com/cbornet/swagger-c…
wing328 Oct 10, 2016
d48ce8b
Merge branch 'cbornet-resteasy_dates'
wing328 Oct 10, 2016
2d8b8a9
fix AbstractOptionsTest, add default false for USE_BEANVALIDATION
jfiala Oct 10, 2016
504f8f1
2208 fix Objc Mapping Generation (#3894)
ClayAtWork Oct 11, 2016
da6e829
issue-890 correct fix for deprecated Jersey method
Oct 11, 2016
0a2d62a
[Swift] Add / as enum separator
jgavris Oct 11, 2016
823ce72
jaxrs-cxf-cdi POM template (#3958)
nickcmaynard Oct 12, 2016
a276c51
Merge branch 'master' of https://github.com/punksta/swagger-codegen i…
wing328 Oct 12, 2016
47d3c3a
update retrofit1,2 samples
wing328 Oct 12, 2016
12ccdcd
Merge branch 'punksta-master'
wing328 Oct 12, 2016
bd696eb
Merge pull request #3898 from dkarlovi/feature/php-improved-code-quality
wing328 Oct 12, 2016
acfd257
Merge pull request #3965 from ButterflyNetwork/swift-enum
wing328 Oct 12, 2016
59502bb
Merge pull request #3963 from olivervidovic/issue-890
wing328 Oct 12, 2016
0efa5ca
Revert "[WIP] Improve PHP client emitted code quality"
wing328 Oct 12, 2016
3fe4562
Merge pull request #3968 from swagger-api/revert-3898-feature/php-imp…
wing328 Oct 12, 2016
a76d695
[html]Group api index by operations.baseName (#3953)
wy-z Oct 12, 2016
34f1e36
Sanitize tuples properly (#3949)
hamedrnik Oct 13, 2016
d0f3cd6
fix missing () in python doc
wing328 Oct 13, 2016
f63cae8
Merge pull request #3977 from wing328/python_fix_doc
wing328 Oct 13, 2016
47c3874
fix required prop check for ruby client
wing328 Oct 13, 2016
4b0d58a
fix hasHeaderParams tag
wing328 Oct 13, 2016
5b58aff
Merge pull request #3984 from wing328/fix_query_parameter_tag
wing328 Oct 13, 2016
e101d22
typo relesae -> release
xpavlic4 Oct 13, 2016
2780be1
Merge pull request #3985 from xpavlic4/patch-1
wing328 Oct 13, 2016
7df89e6
Added OrderCloud.io to list of companies using swagger-codegen (#3971)
feda12 Oct 13, 2016
7bbe3dc
Merge pull request #3982 from wing328/ruby_check_required_attr
wing328 Oct 13, 2016
6199c5d
Updates to html2 templates to use security headers in curl examples (…
bshamblen Oct 14, 2016
03ed192
[Android] fix URL encoding for Android API client (#3992)
wing328 Oct 14, 2016
cc0e942
add pom-file to cxf including cxf-client #2017
jfiala Jul 2, 2016
008c558
adapt pom sourceFolder in pom.mustache to gen/java #2017
jfiala Jul 2, 2016
8dab093
add test templates for CXF #2017
jfiala Jul 2, 2016
b34db72
optimize mustache template structure, remove tabs #3280 #2549
jfiala Jul 2, 2016
fa02f47
refined dependency to swagger-jaxrs #2017
jfiala Jul 2, 2016
4786f25
refined annotations and line breaks #2549
jfiala Jul 2, 2016
b26aaa8
fix tabs instead of spaces...
jfiala Jul 3, 2016
52ca86f
move annotations from getter to field for server model
jfiala Jul 3, 2016
681ac8d
cleanup tabs
jfiala Jul 3, 2016
320f7b6
add example for gzipping #2017
jfiala Jul 3, 2016
a8811c3
add complete WAR to cxf-server #2017
jfiala Jul 3, 2016
4da6712
add readme + rework pom #2017
jfiala Jul 3, 2016
4df86dc
add cli switch for beanvalidation #2549
jfiala Sep 10, 2016
fb6fed9
move beanvalidation into separate subtemplate and reuse for cxf
jfiala Sep 11, 2016
6aa5cd6
add beanValidation java template
jfiala Sep 11, 2016
94cacdc
corrected path to mustache file
jfiala Sep 11, 2016
d99929c
fix AbstractOptionsTest, add default false for USE_BEANVALIDATION
jfiala Oct 10, 2016
a960003
Merge branch 'jaxrs_cxf_2017' of https://github.com/jfiala/swagger-co…
jfiala Oct 14, 2016
fc2b3ee
add beanvalidation to okhttp-gson library #2549
jfiala Oct 14, 2016
e62a357
cleanup api.mustache for cxf #3281
jfiala Oct 14, 2016
a57947f
temporary fix for invalid BeanValidation-pattern with / #2549
jfiala Oct 14, 2016
65e87f2
temporary fix for invalid BeanValidation-pattern with / #2549
jfiala Oct 14, 2016
82df5e6
temporary solution for pattern - move to AbstractJavaCodegen #2549
jfiala Oct 14, 2016
c0e56fe
remove jaxrs-annotations from implementation classes #3281
jfiala Oct 14, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Also please indicate in the issue title which language/library is concerned. Eg:

##### Description

<!-- describe what is the issue and why this is a problem for you. -->
<!-- describe what is the question, suggestion or issue and why this is a problem for you. -->

##### Swagger-codegen version

Expand Down Expand Up @@ -37,7 +37,7 @@ Also please indicate in the issue title which language/library is concerned. Eg:

##### Related issues

<!-- has a similar issue been reported before? -->
<!-- has a similar issue been reported before? Please do a search in https://github.com/swagger-api/swagger-codegen/issues?utf8=%E2%9C%93&q=is%3Aissue%20 -->

##### Suggest a Fix

Expand Down
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### PR checklist

- [ ] Read the [contribution guildelines](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md).
- [ ] Ran the shell/batch script under `./bin/` to update Petstore sample so that CIs can verify the change. (For instance, only need to run `./bin/{LANG}-petstore.sh` and `./bin/security/{LANG}-petstore.sh` if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
- [ ] Filed the PR against the correct branch: master for non-breaking changes and `2.3.0` branch for breaking (non-backward compatible) changes.

### Description of the PR

(details of the change, additional tests that have been done, reference to the issue for tracking, etc)

10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ out/
*.iws
classpath.txt
version.properties
!modules/swagger-codegen-cli/src/main/resources/version.properties
.project
.classpath
lib/*
Expand Down Expand Up @@ -33,7 +34,7 @@ packages/

/target
/generated-files
/nbactions.xml
nbactions.xml

# scalatra
samples/server-generator/scalatra/output
Expand All @@ -56,6 +57,9 @@ samples/client/petstore/qt5cpp/PetStore/Makefile
#Java/Android
**/.gradle
samples/client/petstore/java/hello.txt
samples/client/petstore/java/okhttp-gson/hello.txt
samples/client/petstore/java/jersey1/hello.txt
samples/client/petstore/java/jersey2-java8/hello.txt
samples/client/petstore/android/default/hello.txt
samples/client/petstore/android/volley/.gradle/
samples/client/petstore/android/volley/build/
Expand Down Expand Up @@ -121,6 +125,7 @@ samples/client/petstore/csharp/SwaggerClient/obj/Debug/
samples/client/petstore/csharp/SwaggerClient/bin/Debug/
samples/client/petstore/csharp/SwaggerClient/packages
samples/client/petstore/csharp/SwaggerClient/TestResult.xml
samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/IO.Swagger.userprefs

# Python
*.pyc
Expand All @@ -138,3 +143,6 @@ samples/client/petstore/typescript-angular/**/typings
samples/client/petstore/typescript-fetch/**/dist/
samples/client/petstore/typescript-fetch/**/typings

# aspnet5
samples/server/petstore/aspnet5/.vs/

18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,34 @@ jdk:
- oraclejdk7
- oraclejdk8

cache:
directories:
- $HOME/.m2

services:
- docker

addons:
hosts:
- petstore.swagger.io

before_install:
# required when sudo: required for the Ruby petstore tests
- gem install bundler
- npm install -g typescript
- sudo pip install virtualenv
# to run petstore server locally via docker
- docker pull swaggerapi/petstore
- docker run -d -e SWAGGER_HOST=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore
- docker ps -a
# show host table to confirm petstore.swagger.io is mapped to localhost
- cat /etc/hosts

install:
# Add Godeps dependencies to GOPATH and PATH
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.4 bash)"
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"

script:
- mvn verify -Psamples
Expand Down
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

- If you're not using the latest master to generate API clients or server stubs, please give it another try by pulling the latest master as the issue may have already been addressed. Ref: [Getting Started](https://github.com/swagger-api/swagger-codegen#getting-started)
- Search the [open issue](https://github.com/swagger-api/swagger-codegen/issues) and [closed issue](https://github.com/swagger-api/swagger-codegen/issues?q=is%3Aissue+is%3Aclosed) to ensure no one else has reported something similar before.
- File an [issue ticket](https://github.com/swagger-api/swagger-codegen/issues/new) by providing all the required information.
- File an [issue ticket](https://github.com/swagger-api/swagger-codegen/issues/new) by providing all the required information.
- Test with the latest master by building the JAR locally to see if the issue has already been addressed.
- You can also make a suggestion or ask a question by opening an "issue".

## Before submitting a PR

- Search the [open issue](https://github.com/swagger-api/swagger-codegen/issues) to ensure no one else has reported something similar and no one is actively working on similar proposed change.
- If no one has suggested something similar, open an ["issue"](https://github.com/swagger-api/swagger-codegen/issues) with your suggestion to gather feedback from the community.
- It's recommended to **create a new git branch** for the change
- It's recommended to **create a new git branch** for the change so that the merge commit message looks nicer in the commit history.

## How to contribute

Expand Down Expand Up @@ -72,3 +73,4 @@ To start the CI tests, you can run `mvn verify -Psamples` (assuming you've all t
- Add test case(s) to cover the change
- Document the fix in the code to make the code more readable
- Make sure test cases passed after the change (one way is to leverage https://travis-ci.org/ to run the CI tests)
- File a PR with meaningful title, description and commit messages. A good example is [PR-3306](https://github.com/swagger-api/swagger-codegen/pull/3306)
61 changes: 46 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Swagger Code Generator

[![Build Status](https://travis-ci.org/swagger-api/swagger-codegen.svg)](https://travis-ci.org/swagger-api/swagger-codegen)
[![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
[![Run Status](https://img.shields.io/shippable/5782588a3be4f4faa56c5bea.svg?label=Mustache%20Template%20Test)](https://app.shippable.com/projects/5782588a3be4f4faa56c5bea)
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/swagger-api/swagger-codegen?branch=master&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/WilliamCheng/swagger-codegen-wh2wu)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-codegen-project/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-codegen-project)
[![PR Stats](http://issuestats.com/github/swagger-api/swagger-codegen/badge/pr)](http://issuestats.com/github/swagger-api/swagger-codegen) [![Issue Stats](http://issuestats.com/github/swagger-api/swagger-codegen/badge/issue)](http://issuestats.com/github/swagger-api/swagger-codegen)

Expand All @@ -11,7 +13,7 @@
:warning: If the OpenAPI/Swagger spec is obtained from an untrusted source, please make sure you've reviewed the spec before using Swagger Codegen to generate the API client, server stub or documentation as [code injection](https://en.wikipedia.org/wiki/Code_injection) may occur :warning:

## Overview
This is the swagger codegen project, which allows generation of client libraries automatically from a Swagger-compliant server.
This is the swagger codegen project, which allows generation of API client libraries, server stubs and documentation automatically given an [OpenAPI Spec](https://github.com/OAI/OpenAPI-Specification).

Check out [Swagger-Spec](https://github.com/OAI/OpenAPI-Specification) for additional information about the Swagger project, including additional libraries with support for other languages and more.

Expand Down Expand Up @@ -58,8 +60,10 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20

Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
-------------------------- | ------------ | -------------------------- | -----
2.2.0-SNAPSHOT | | 1.0, 1.1, 1.2, 2.0 | [master](https://github.com/swagger-api/swagger-codegen)
2.1.6 (**current stable**) | 2016-04-06 | 1.0, 1.1, 1.2, 2.0 | [tag v2.1.6](https://github.com/swagger-api/swagger-codegen/tree/v2.1.6)
2.3.0 (upcoming minor release) | TBD | 1.0, 1.1, 1.2, 2.0 | Minor release with breaking changes
2.2.2 (upcoming patch release) | TBD | 1.0, 1.1, 1.2, 2.0 | Patch release (without breaking changes)
2.2.1 (**current stable**) | 2016-08-07 | 1.0, 1.1, 1.2, 2.0 | [tag v2.2.1](https://github.com/swagger-api/swagger-codegen/tree/v2.2.1)
2.1.6 | 2016-04-06 | 1.0, 1.1, 1.2, 2.0 | [tag v2.1.6](https://github.com/swagger-api/swagger-codegen/tree/v2.1.6)
2.0.17 | 2014-08-22 | 1.1, 1.2 | [tag v2.0.17](https://github.com/swagger-api/swagger-codegen/tree/v2.0.17)
1.0.4 | 2012-04-12 | 1.0, 1.1 | [tag v1.0.4](https://github.com/swagger-api/swagger-codegen/tree/swagger-codegen_2.9.1-1.1)

Expand All @@ -68,7 +72,7 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
If you're looking for the latest stable version, you can grab it directly from maven central (you'll need java 7 runtime at a minimum):

```
wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.1.6/swagger-codegen-cli-2.1.6.jar -O swagger-codegen-cli.jar
wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.1/swagger-codegen-cli-2.2.1.jar -O swagger-codegen-cli.jar

java -jar swagger-codegen-cli.jar help
```
Expand Down Expand Up @@ -97,7 +101,7 @@ export PATH=${JAVA_HOME}/bin:$PATH

After cloning the project, you can build it from source with this command:
```
mvn package
mvn clean package
```

### Docker
Expand Down Expand Up @@ -147,7 +151,7 @@ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
```
(if you're on Windows, replace the last command with `java -jar modules\swagger-codegen-cli\target\swagger-codegen-cli.jar generate -i http://petstore.swagger.io/v2/swagger.json -l php -o c:\temp\php_api_client`)

You can also download the JAR (latest relesae) directly from [maven.org]( http://central.maven.org/maven2/io/swagger/swagger-codegen/2.1.6/swagger-codegen-2.1.6.jar)
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.1/swagger-codegen-cli-2.2.1.jar )

To get a list of **general** options available, please run `java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar help generate`

Expand Down Expand Up @@ -375,7 +379,7 @@ To control the specific files being generated, you can pass a CSV list of what y
-Dmodels=User -DsupportingFiles=StringUtil.java
```

To control generation of docs and tests for api and models, pass false to the option. For api, these options are `-DapiTest=false` and `-DapiDocs=false`. For models, `-DmodelTest=false` and `-DmodelDocs=false`.
To control generation of docs and tests for api and models, pass false to the option. For api, these options are `-DapiTests=false` and `-DapiDocs=false`. For models, `-DmodelTests=false` and `-DmodelDocs=false`.
These options default to true and don't limit the generation of the feature options listed above (like `-Dapi`):

```
Expand Down Expand Up @@ -495,8 +499,15 @@ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
-o samples/client/petstore/java \
-c path/to/config.json
```
Supported config options can be different per language. Running `config-help -l {lang}` will show available options. **These options are applied
by passing them with `-D{optionName}={optionValue}**.
and `config.json` contains the following as an example:
```
{
"apiPackage" : "petstore"
}
```

Supported config options can be different per language. Running `config-help -l {lang}` will show available options.
**These options are applied via configuration file (e.g. config.json) or by passing them with `-D{optionName}={optionValue}**. (If `-D{optionName}` does not work, please open a [ticket](https://github.com/swagger-api/swagger-codegen/issues/new) and we'll look into it)

```
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar config-help -l java
Expand Down Expand Up @@ -738,18 +749,25 @@ Here are some companies/projects using Swagger Codegen in production. To add you
- [Avenida Compras S.A.](https://www.avenida.com.ar)
- [beemo](http://www.beemo.eu)
- [bitly](https://bitly.com)
- [Bufferfly Network](https://www.butterflynetinc.com/)
- [Cachet Financial](http://www.cachetfinancial.com/)
- [CloudBoost](https://www.CloudBoost.io/)
- [Conplement](http://www.conplement.de/)
- [Cummins] (http://www.cummins.com/)
- [Cupix](http://www.cupix.com)
- [DBBest Technologies](https://www.dbbest.com)
- [DBBest Technologies](https://www.dbbest.com)
- [DecentFoX](http://decentfox.com/)
- [DocuSign](https://www.docusign.com)
- [Ergon](http://www.ergon.ch/)
- [EMC](https://www.emc.com/)
- [eureka](http://eure.jp/)
- [everystory.us](http://everystory.us)
- [Expected Behavior](http://www.expectedbehavior.com/)
- [Finder](http://en.finder.pl/)
- [FH Münster - University of Applied Sciences](http://www.fh-muenster.de)
- [Gear Zero Network](https://www.gearzero.ca)
- [Germin8](http://www.germin8.com)
- [goTransverse](http://www.gotransverse.com/api)
- [GraphHopper](https://graphhopper.com/)
- [Gravitate Solutions](http://gravitatesolutions.com/)
- [IMS Health](http://www.imshealth.com/en/solution-areas/technology-and-applications)
Expand All @@ -760,20 +778,26 @@ Here are some companies/projects using Swagger Codegen in production. To add you
- [Kabuku](http://www.kabuku.co.jp/en)
- [Kuroi](http://kuroiwebdesign.com/)
- [Kuary](https://kuary.com/)
- [Mindera](http://mindera.com/)
- [Mporium](http://mporium.com/)
- [nViso](http://www.nviso.ch/)
- [Okiok](https://www.okiok.com)
- [Onedata](http://onedata.org)
- [OrderCloud.io](http://ordercloud.io)
- [OSDN](https://osdn.jp)
- [PagerDuty](https://www.pagerduty.com)
- [Pepipost](https://www.pepipost.com)
- [Plexxi](http://www.plexxi.com)
- [Pixoneye](http://www.pixoneye.com/)
- [PostAffiliatePro](https://www.postaffiliatepro.com/)
- [QuantiModo](https://quantimo.do/)
- [Rapid7](https://rapid7.com/)
- [Reload! A/S](https://reload.dk/)
- [REstore](https://www.restore.eu)
- [Revault Sàrl](http://revault.ch)
- [Royal Bank of Canada (RBC)](http://www.rbc.com/canada.html)
- [SCOOP Software GmbH](http://www.scoop-software.de)
- [Skurt](http://www.skurt.com)
- [SmartRecruiters](https://www.smartrecruiters.com/)
- [StyleRecipe](http://stylerecipe.co.jp)
- [Svenska Spel AB](https://www.svenskaspel.se/)
Expand All @@ -787,7 +811,7 @@ Here are some companies/projects using Swagger Codegen in production. To add you

# Swagger Codegen Core Team

Swaagger Codegen core team members are contributors who have been making signficiant contributions (review issues, fix bugs, make enhancements, etc) to the project on a regular basis.
Swagger Codegen core team members are contributors who have been making significant contributions (review issues, fix bugs, make enhancements, etc) to the project on a regular basis.

## API Clients
| Languages | Core Team (join date) |
Expand All @@ -800,6 +824,7 @@ Swaagger Codegen core team members are contributors who have been making signfic
| Groovy | |
| Go | @guohuang (2016/05/01) @neilotoole (2016/05/01) |
| Java | @cbornet (2016/05/01) @xhh (2016/05/01) @epaul (2016/06/04) |
| Java (Spring Cloud) | @cbornet (2016/07/19) |
| NodeJS/Javascript | @xhh (2016/05/01) |
| ObjC | @mateuszmackowiak (2016/05/09) |
| Perl | @wing328 (2016/05/01) |
Expand All @@ -818,8 +843,8 @@ Swaagger Codegen core team members are contributors who have been making signfic
| C# ASP.NET5 | @jimschubert (2016/05/01) |
| Go Server | @guohuang (2016/06/13) |
| Haskell Servant | |
| Java Spring Boot | |
| Java SpringMVC | @kolyjjj (2016/05/01) |
| Java Spring Boot | @cbornet (2016/07/19) |
| Java Spring MVC | @kolyjjj (2016/05/01) @cbornet (2016/07/19) |
| Java JAX-RS | |
| NancyFX | |
| NodeJS | @kolyjjj (2016/05/01) |
Expand Down Expand Up @@ -855,14 +880,20 @@ Here is a list of template creators:
* Server Stubs
* C# ASP.NET5: @jimschubert
* C# NancyFX: @mstefaniuk
* Erlang Server: @galaxie
* Go Server: @guohuang
* Haskell Servant: @algas
* Java Undertow: @stevehu
* Java Spring Boot: @diyfr
* JAX-RS RestEasy: @chameleon82
* JAX-RS CXF: @hiveship
* JAX-RS CXF: @hiveship
* JAX-RS CXF (CDI): @nickcmaynard
* PHP Lumen: @abcsum
* PHP Slim: @jfastnacht
* Ruby on Rails 5: @zlx
* Documentation
* HTML Doc 2: @jhitchcock
* Confluence Wiki: @jhitchcock

## How to join the core team

Expand Down
42 changes: 42 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# for CI with appveyor.yml
# Ref: http://www.yegor256.com/2015/01/10/windows-appveyor-maven.html
version: '{branch}-{build}'
os: Windows Server 2012
hosts:
petstore.swagger.io: 127.0.0.1
install:
- ps: |
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path -Path "C:\maven" )) {
(new-object System.Net.WebClient).DownloadFile(
'http://www.us.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip',
'C:\maven-bin.zip'
)
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
}
- cmd: SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH%
- cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
- cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
- cmd: SET M2_HOME=C:\maven\apache-maven-3.2.5
- git clone https://github.com/wing328/swagger-samples
- ps: Start-Process -FilePath 'C:\maven\apache-maven-3.2.5\bin\mvn' -ArgumentList 'jetty:run' -WorkingDirectory "$env:appveyor_build_folder\swagger-samples\java\java-jersey-jaxrs"
build_script:
# build C# API client
- nuget restore samples\client\petstore\csharp\SwaggerClient\IO.Swagger.sln
- msbuild samples\client\petstore\csharp\SwaggerClient\IO.Swagger.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
# build C# API client (with PropertyChanged)
- nuget restore samples\client\petstore\csharp\SwaggerClientWithPropertyChanged\IO.Swagger.sln
- msbuild samples\client\petstore\csharp\SwaggerClientWithPropertyChanged\IO.Swagger.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
# install swagger codegen locally
- mvn clean install --batch-mode
test_script:
# test c# API client
- nunit-console samples\client\petstore\csharp\SwaggerClient\src\IO.Swagger.Test\bin\Debug\IO.Swagger.Test.dll --result=myresults.xml;format=AppVeyor
# test c# API client (with PropertyChanged)
- nunit-console samples\client\petstore\csharp\SwaggerClientWithPropertyChanged\src\IO.Swagger.Test\bin\Debug\IO.Swagger.Test.dll --result=myresults.xml;format=AppVeyor

# generate all petstore clients
- .\bin\windows\run-all-petstore.cmd
cache:
- C:\maven\
- C:\Users\appveyor\.m2
31 changes: 0 additions & 31 deletions bin/akka-scala-petstore.sh

This file was deleted.

Loading