Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6842 commits
Select commit Hold shift + click to select a range
ed9c00f
[JaxrsResteasy] Improvements for Resteasy for Jboss EAP 4512 (#4712)
jfiala Feb 28, 2017
1e4f268
add creator of JAX-RS RestEasy (JBoss EAP)
wing328 Mar 1, 2017
7c76dda
updated parser version
fehguy Mar 1, 2017
9a0cc53
updated core versions
fehguy Mar 1, 2017
fcb529b
Merge pull request #4880 from swagger-api/update-parser
fehguy Mar 1, 2017
9518920
Merge branch 'master' into swagger-lib-versions
fehguy Mar 1, 2017
99fcbe2
rebuilt
fehguy Mar 1, 2017
4a2ce4f
rebuilt
fehguy Mar 1, 2017
3efdea6
rebuilt
fehguy Mar 1, 2017
99ed598
rebuilt
fehguy Mar 1, 2017
5076787
rebuilt
fehguy Mar 1, 2017
c5d205e
rebuilt
fehguy Mar 1, 2017
319c034
rebuilt
fehguy Mar 1, 2017
a691e4e
rebuilt
fehguy Mar 1, 2017
514f564
rebuilt
fehguy Mar 1, 2017
1891b49
trigger a build
fehguy Mar 1, 2017
bb82844
add missing dependency to jaxrs pom
wing328 Mar 1, 2017
140b0df
update jackson dependency and fix closing xml tag in jaxrs pom
wing328 Mar 1, 2017
eb00839
fixed missing dep
fehguy Mar 1, 2017
72dbf1c
Merge branch 'swagger-lib-versions' of github.com:swagger-api/swagger…
fehguy Mar 1, 2017
cb6f2d2
Merge pull request #4881 from swagger-api/swagger-lib-versions
fehguy Mar 1, 2017
38bdc8f
remove timestamp
fehguy Mar 1, 2017
702986c
rebuilt
fehguy Mar 1, 2017
ac463e2
Merge pull request #4888 from swagger-api/remove-inflector-timestamp
fehguy Mar 1, 2017
86d0919
update to release versions
fehguy Mar 1, 2017
3b08129
Merge pull request #4889 from swagger-api/release-prepare
fehguy Mar 1, 2017
3b7ebf9
update url to 2.2.2 release
wing328 Mar 2, 2017
a3e1970
fixed ApiException's methods return types (#4845)
baartosz Mar 2, 2017
415ed0e
update version to 2.2.3-SNAPSHOT (#4894)
wing328 Mar 2, 2017
5a754a8
add 2.2.3 to the table
wing328 Mar 2, 2017
c7dab86
[Bash] Bugfix default curl options fix (#4832)
bkryza Mar 2, 2017
30e117d
Remove maven-api dependencies on swagger-codegen module (#4840)
otrosien Mar 2, 2017
3742577
fixes progress for file upload with alamofire / swift3
Daxten Mar 2, 2017
abf06a5
Update spring samples with current code. (#4874)
ePaul Mar 3, 2017
572c48f
Fix for #1219 (#4875)
ePaul Mar 3, 2017
281b127
better python flask readme (#4844)
wing328 Mar 3, 2017
5bf42c1
Encode form paramerers properly\n (#4836)
hamedrnik Mar 3, 2017
5b068e4
[PHP][Silex] use original path name for path variable naming (#4817)
wing328 Mar 3, 2017
3dd6dbd
Adjust Date ISO Dateformat for Query Parameters: ISSUE 4745 (#4812)
gigo1980 Mar 3, 2017
0a26ca8
fix path variable in ts angular2 (#4756)
wing328 Mar 3, 2017
ce1deb9
Feature/issue 4698 rxjava2 support (#4743)
ber4444 Mar 3, 2017
49efa8b
replaced SWG by classPrefix and ran tests (#4871)
patulacci Mar 3, 2017
df7c6a0
[JavaScript] Added *WithHttpInfo methods in 'usePromises' mode to pro…
frol Mar 3, 2017
16db8b9
Improved ExampleGenerator (#4797)
Mar 3, 2017
dc2b6f4
add product hunt page
wing328 Mar 3, 2017
aa1ace2
fix issue with pom dep in jaxrs jersey1 (#4904)
wing328 Mar 3, 2017
3bdd913
Make the CodegenConfigurator serializable (#4890)
JLLeitschuh Mar 3, 2017
c93fd22
add jackson dependencies to pom #4924
jfiala Mar 5, 2017
69083ad
Update samples after 2.2.2 (#4901)
ePaul Mar 5, 2017
0ebd831
[Ruby] Can only use content-type application/json with ruby-client #4…
Mar 5, 2017
196f1af
Update samples for MSF4J after 2.2.2. (#4915)
ePaul Mar 5, 2017
dbd513c
Fixes #4913 (#4914)
sonallux Mar 5, 2017
b369a9f
change jackson jaxrs version to 2.8.4 #4924
jfiala Mar 5, 2017
7c33b01
Merge pull request #4925 from jfiala/cxf_swagger-core_4924
fehguy Mar 5, 2017
a0473d8
Update samples for Scalatra after 2.2.2. (#4910)
ePaul Mar 6, 2017
ef79370
[JAXRS-CXF] [bug #4422] use java.util.Date when selecting dateLibrary…
MatanRubin Mar 6, 2017
b6f53fb
Fix #4898 for spring-cloud. (#4919)
ePaul Mar 6, 2017
613b4dc
Port the optional/enum template logic from async-scala to the regular…
paul-english Mar 6, 2017
99b8eae
[JavaScript] Do not parse null and undefined as type. (#4933)
Mar 6, 2017
d2951f3
Merge branch 'fixqt5cppstaticlib' of https://github.com/fortiumant/sw…
wing328 Mar 6, 2017
c7ca4ba
Merge branch 'fortiumant-fixqt5cppstaticlib'
wing328 Mar 6, 2017
19c679d
Add hashdata to user list (#4935)
Mar 6, 2017
0a01366
[Swift] add batch files for swift 2,3 to generate petstore samples (#…
wing328 Mar 6, 2017
ad279c7
Merge branch 'topic/swagger_fix' of https://github.com/Daxten/swagger…
wing328 Mar 6, 2017
b90086c
update petstore sample for swift3
wing328 Mar 6, 2017
91f4b03
Merge branch 'Daxten-topic/swagger_fix'
wing328 Mar 6, 2017
2d5b631
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Mar 6, 2017
d925cc7
Fix #4898 for jaxrs (#4918)
ePaul Mar 6, 2017
64c57fb
In case if basePath equals to / we should not append it to url, behav…
yehor-masalitin Mar 6, 2017
38f5ed6
Updated readme with latest maven URL (#4945)
josiahpeters Mar 6, 2017
378669d
Fix typo (#4956)
vpolouchkine Mar 7, 2017
e6758fc
[python] Triple quote strings with new lines in default values (#4941)
jdevera Mar 7, 2017
a980583
Implicit headers for SpringCodegen (#4858)
huningd Mar 7, 2017
eba5daf
[Python][Flask] Fix inconsistency between model name and file name (#…
wing328 Mar 7, 2017
59b6f2c
fix (partially) #4898 for MSF4J. (#4917)
ePaul Mar 7, 2017
556e7ec
Fix (partially) #4898 for swift3 (#4916)
ePaul Mar 7, 2017
af1c5cd
fix path/query parameters (#4959)
stevecookform3 Mar 7, 2017
879aa74
minor formatting fix
wing328 Mar 7, 2017
35842f5
update beanvalidation templates and sample for jersey2 #4719 (#4735)
jfiala Mar 7, 2017
ba6e0ec
update beanvalidation templates #4719 (#4734)
jfiala Mar 7, 2017
7935d1d
[Jaxrs-spec] Merge beanValidation/beanValidationParams.mustache (#4731)
jfiala Mar 7, 2017
9089bab
update beanvalidation templates + samples #4719 (#4733)
jfiala Mar 7, 2017
725022b
update beanvalidation templates and samples jersey2 #4719 (#4732)
jfiala Mar 7, 2017
976410f
update templates and samples for spring-boot #4719 (#4736)
jfiala Mar 7, 2017
270d386
Add proxy support to fix #4639 (#4946)
krmaxwell Mar 8, 2017
eac35a4
Add support for saving/returning cookies (#4192)
delenius Mar 8, 2017
114a99e
[JavaScript] fix issues with boolean CLI options (#4974)
wing328 Mar 8, 2017
96a08a3
use convertPropertyToBooleanAndWriteBack in some generators (#4975)
wing328 Mar 8, 2017
dc92357
[Java] Fix for issue #3365: Support for gzip compression (#4967)
michaelkourlas Mar 8, 2017
8ed6641
[PHP] error when deserializing enums #4032 (#4886)
baartosz Mar 8, 2017
b6da336
remove default format (json) from c# api (#4980)
wing328 Mar 8, 2017
0d2790f
Remove default format (JSON) from API operations (#4987)
wing328 Mar 9, 2017
eee2866
minor improvements to Configuration php template (#4989)
baartosz Mar 9, 2017
25d9455
[TypeScript][Angular2] better code indentation, update Petstore sampl…
wing328 Mar 9, 2017
e41c148
Update Spring Fox dependency version to 2.6.1. This fixes a defect wh…
Mar 9, 2017
1abd154
Make java spring controller constructor public. (#4972)
pablograna Mar 9, 2017
4039010
JS files were replaced in the lib folder; include new (#4985)
bardware Mar 9, 2017
4423686
updated parser
fehguy Mar 10, 2017
592ee23
Improve HTML output for model titles, default responses (#4991)
Mar 10, 2017
2029f21
Java Play Framework Server Generator (#4943)
JFCote Mar 10, 2017
58c04d7
Update travis.yml to cover Java-related server stubs (#4992)
wing328 Mar 10, 2017
20bc249
Change build call visibility
Mar 10, 2017
403e898
added type check
fehguy Mar 10, 2017
dadf5e2
matched key to actual value
fehguy Mar 10, 2017
e132f9f
Merge pull request #4999 from swagger-api/issue-4998
fehguy Mar 10, 2017
9edeeb2
Update exception message to use operationId
ravinikam Mar 10, 2017
3f28e73
null out the string `null` in examples. Rebuilt java clients and mad…
fehguy Mar 10, 2017
1f2aaf5
Merge pull request #5017 from swagger-api/issue-5016
fehguy Mar 10, 2017
275f0f1
Updated parser to release version
fehguy Mar 11, 2017
1d810e1
cache module directory to improve CI performance (#5025)
wing328 Mar 11, 2017
9e0e762
fix handleResponse to not leak okhttp connections (#4997)
xuxinkun Mar 11, 2017
1281015
remove indentation of the comment (#5011)
ePaul Mar 11, 2017
2029fbe
do not map UUID as model in java (#5026)
wing328 Mar 11, 2017
823fbd4
Merge branch 'patch-2' of https://github.com/ravinikam/swagger-codege…
wing328 Mar 11, 2017
700a731
update cpprest petstore sample
wing328 Mar 11, 2017
dd5ebc8
Merge branch 'ravinikam-patch-2'
wing328 Mar 11, 2017
9891e44
Add missing number type mapping (#5013)
ravinikam Mar 11, 2017
32d22c5
Ultra minor spelling fix (#5029)
krmaxwell Mar 12, 2017
05a65ad
Fix (partially) #4898 for flash (#5022)
ePaul Mar 12, 2017
7fac46e
[Jaxrs-cxf] add ApiResponse/s to operation #4718 (#4920)
jfiala Mar 12, 2017
2cf436d
fix (partially) #4898 for dart. (#5019)
ePaul Mar 12, 2017
4f29808
Build and upload Swagger Codegen CLI Docker image on release (#4912)
arnested Mar 12, 2017
4d0a1e4
Update link to maven jar
wing328 Mar 12, 2017
78b4e8a
Merge branch '2-call-visibility' of https://github.com/jdupouy/swagge…
wing328 Mar 12, 2017
45edb27
update java okhttp petstore sample
wing328 Mar 12, 2017
abffcb2
Merge branch 'jdupouy-2-call-visibility2'
wing328 Mar 12, 2017
7c103fe
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Mar 12, 2017
f2ecea3
add ivy2 to cache sbt install
wing328 Mar 12, 2017
0c3cea4
fix shippable config due to JAVA_HOME issue in openjdk8 (#5031)
wing328 Mar 12, 2017
068728f
Fix wrong Docker Hub repo in README (#5033)
arnested Mar 13, 2017
af20dac
Issue 4759: Import complex type for body parameters (#4775)
Mar 13, 2017
772a41c
update clojure test cases after restoring to petstore.json (#5043)
wing328 Mar 13, 2017
7e1883f
Fix (partially) #4898 for groovy (#5030)
ePaul Mar 13, 2017
d8749a9
use oracle jdk instead in shippable config (#5045)
wing328 Mar 13, 2017
fcbfdc3
make bin/java-play-framework-petstore-server.sh executable
wing328 Mar 13, 2017
5398dd6
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Mar 13, 2017
8799524
Fixes ListBuffer import-mapping for scala
Mar 13, 2017
2ffe587
Add support for typescript-jquery (typescript-based API calls using j…
bherila Mar 14, 2017
e9e12d5
add jquery template creator
wing328 Mar 14, 2017
cffab9a
[Swift] Detect file type in Swift codegen
Mar 14, 2017
8f2579e
Allow for UUID types in akka-scala (#5069)
rmalleman Mar 15, 2017
448afff
Use deterministic randomness in ExampleGenerator. (#5068)
ePaul Mar 15, 2017
2be17b5
add ci for ts jquery petstore (#5070)
wing328 Mar 15, 2017
f39f2b9
Updated companies/projects using swagger codegen
sebastianhaas Mar 15, 2017
464f00c
Merge pull request #5076 from sebastianhaas/patch-1
wing328 Mar 15, 2017
786a103
add ci for akka-scala client (#5073)
wing328 Mar 15, 2017
a7c9b44
Merge pull request #5049 from jostick/fix-scala-listbuffer
wing328 Mar 15, 2017
25d960b
override escape quotation mark in async scala generator (#5078)
wing328 Mar 15, 2017
b66b328
Fix Issue #5063 (deleting wrong sample files) (#5064)
ePaul Mar 15, 2017
ba5ac8c
Do not escape HTML for java.
spr3nk3ls Mar 16, 2017
d64a7ed
Escape exampletext.
spr3nk3ls Mar 16, 2017
9da271a
fix link to Cummins
wing328 Mar 16, 2017
6c54e5c
Update wordnik.yaml
fehguy Mar 16, 2017
94cf24d
Update wordnik.yaml
fehguy Mar 16, 2017
9efada7
add https://github.com/christopheradams/elixir_style_guide
wing328 Mar 17, 2017
2a5417b
add https://github.com/inaka/erlang_guidelines
wing328 Mar 17, 2017
2f0e693
[Haskell] Fix broken client/server compilation errors (#5097)
mandrean Mar 17, 2017
2198391
Merge pull request #5065 from ibm-bluemix-mobile-services/issue-4764
wing328 Mar 17, 2017
e2ad6e4
Add Selective Generation support to the Maven plugin. (#5036)
wonderslug Mar 18, 2017
37cbd12
Update petstore samples for scala client. (#5092)
ePaul Mar 18, 2017
7e6b508
Fix sample script to set the correct artifact ID in the generated POM…
ePaul Mar 18, 2017
962fdce
Update samples for C#/SwaggerClientWithPropertyChanged. (#5095)
ePaul Mar 18, 2017
2c350e3
Swift3 enum: number variable names fix (#5060)
rcilia Mar 18, 2017
d2b0458
add jackson dependencies to pom for cxf-client #4924 (#5032)
jfiala Mar 18, 2017
7655bc9
add petstore sample for jaxrs-cxf-client, update travis ci (#5111)
wing328 Mar 18, 2017
d7af53a
fix path with {{{ .. }}} in c# api mustache file (#5112)
wing328 Mar 18, 2017
45433a1
Updated feign library to use latest version of OpenFeign and Jackson.…
oteichmann Mar 19, 2017
1a4d9da
[JAVA][jaxrs-spec] Add @DefaultValue for query parameters in API (#50…
foxx1337 Mar 20, 2017
c314787
Fix (partially) #4898 for elixir (#5021)
ePaul Mar 20, 2017
1a04b1f
Updating samples for swift. (#5120)
ePaul Mar 20, 2017
8e3b6e5
[C#] Adding support for generating .NET Standard 1.3 client library (…
Gronsak Mar 20, 2017
d054827
Not using files from template folders with libraries inside them (#4628)
eblis Mar 20, 2017
27dadbb
fix #2159 dataformatter error for iOS Swift (#5008)
Mar 21, 2017
4ee23bb
solves issue #4752 (#5127)
fabito Mar 21, 2017
0601cc4
Update samples for javascript-closure-angular. (#5117)
ePaul Mar 21, 2017
849286e
Ensure identifiers get sanitized; Ensure model names also have the sa…
paul-english Mar 21, 2017
9470ab3
[C#][aspnetcore] Fix broken Docker build option & documentation (#5128)
mandrean Mar 21, 2017
c01576c
Fix Bug/4952 by explicitly implementing IValidatableObject (#4954)
bherila Mar 21, 2017
8ce7c54
add json-formatter-js library. (#5125)
michalyao Mar 21, 2017
a60df3b
add gradle cache
wing328 Mar 21, 2017
9282472
Merge branch 'add_gradle_cache'
wing328 Mar 21, 2017
d5f2de7
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Mar 21, 2017
93b52e0
update html2 sample
wing328 Mar 21, 2017
602058d
update dynamic html sample
wing328 Mar 21, 2017
b8a9cb1
[Java][Play] update CI (travis) to cover Play framework petstore serv…
wing328 Mar 21, 2017
4eed20d
Add docker support to python flask (#5133)
fabito Mar 21, 2017
684a25f
Merge branch 'master' of https://github.com/techlogix/swagger-codegen…
wing328 Mar 21, 2017
88bbeb7
update sample for spring boot
wing328 Mar 21, 2017
caa58a9
[TypeScript] fix class filename in TS Angular2 template (#5131)
wing328 Mar 21, 2017
fb41328
Merge branch 'techlogix-master'
wing328 Mar 22, 2017
add1801
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Mar 22, 2017
e42235b
update csharp generator help text (#5140)
wing328 Mar 22, 2017
6c610ff
fix missing code marker in README.md (#5145)
ePaul Mar 22, 2017
df9d8cb
fix pattern in python flask (#5155)
wing328 Mar 22, 2017
7b8c4e1
Use unescaped path in API client templates (#5154)
wing328 Mar 22, 2017
9cab490
[Java][Play] Remove swagger play dependency, cleanup (#5159)
wing328 Mar 22, 2017
e5ae6b6
Fix selective generation in successive Maven plugin executions (#5152)
heapoutofspace Mar 22, 2017
636ca0d
Update maven-bundle-plugin version in POM (#5158)
msymons Mar 22, 2017
eb0820e
use unescaped path in server stub templates (#5157)
wing328 Mar 23, 2017
6868561
use base name for parameters in the curl command (#5173)
wing328 Mar 23, 2017
d00d9c6
#5142: Add @QueryMap support for Feign API (#5143)
bbdouglas Mar 23, 2017
bb35544
Add support for Markdown in -l html (#5144)
Mar 23, 2017
c06a65f
include bin/java-petstore-jersey2-java6.sh in java-petstoreall.sh
wing328 Mar 23, 2017
5a3bc7f
Update samples for java/jersey2-java6 (and fix artifact ID) (#5118)
ePaul Mar 23, 2017
a5dd34a
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Mar 23, 2017
055c9b5
[Jaxrs-cxf] Add method-level cascaded beanvalidation (@Valid) (#4921)
jfiala Mar 23, 2017
42de119
replace tab with 4 spaces (#5174)
wing328 Mar 23, 2017
9d258bf
add back java play to travis ci
wing328 Mar 23, 2017
b450483
Merge branch 'add_back_play_ci'
wing328 Mar 23, 2017
61d86a0
commented out jdk7 test in shippable ci config
wing328 Mar 23, 2017
4badbb6
Modify retrofit OAuth templates for #5039 (#5082)
ThatJoeMoore Mar 23, 2017
b567f4c
Update README.md (#5184)
vpolouchkine Mar 24, 2017
ed7231a
Fixes a bug in #5142 for multi-word parameters (#5185)
bbdouglas Mar 24, 2017
c345736
[Java][PlayFramework] Added some CLI Options + many fixes (#5180)
JFCote Mar 25, 2017
8398640
Update samples for Swift3. (#5200)
ePaul Mar 26, 2017
70132df
Update samples for ObjC&core-data. (#5202)
ePaul Mar 26, 2017
73b4ba9
Issue #3084: remove timestamps from C# .NET2 samples. (#5197)
ePaul Mar 26, 2017
4b497af
Issue #3084: hide generation timestamp for HTML2 samples. (#5193)
ePaul Mar 26, 2017
4dee552
Binary support for javascript client (#5194)
jdupouy Mar 26, 2017
3ab4c58
Update samples for JaxRS/CXF. (#5201)
ePaul Mar 26, 2017
ccbbcd7
Issue #3084: remove timestamps from bash samples. (#5192)
ePaul Mar 26, 2017
358aaf3
Update samples flask connexion (#5203)
ePaul Mar 26, 2017
b92ac08
[JAXRS-CXF] Respect default values for query parameters (#4778)
MatanRubin Mar 26, 2017
5331808
update jaxrs-cxf sample
wing328 Mar 26, 2017
4efc1b6
[C#] Issue #5196: make package GUID non-random for the C# samples. (#…
ePaul Mar 27, 2017
5bfd120
add comments to csharp methods (#5206)
wing328 Mar 27, 2017
f5a082f
[Go] #3084: remove timestamps from go server (#5218)
ePaul Mar 27, 2017
0db2a42
Update samples for clojure + dynamic-html. (#5217)
ePaul Mar 27, 2017
de19950
Update samples for QT5. (#5216)
ePaul Mar 27, 2017
6741584
[nancyfx] Issue #5196: make package GUID nonrandom for nancyfx sample…
ePaul Mar 27, 2017
d87f47c
[ASP.NET] Issue #5196: add packageGuid parameter to AspNetCoreServerC…
ePaul Mar 27, 2017
3eff9d4
Update samples for Ruby-Client + Rails server. (#5214)
ePaul Mar 27, 2017
38e1037
[java][msf4j] Update msf4j samples (and fix artifact name) (#5210)
ePaul Mar 27, 2017
d745986
Update samples for Java Inflector. (#5204)
ePaul Mar 27, 2017
884cfea
Update samples for okhttp-gson-parcelableModel. (#5208)
ePaul Mar 27, 2017
479b13f
Update samples for Undertow. (#5207)
ePaul Mar 27, 2017
a7ec0bf
Update samples for JaxRS/RestEasy/Joda. (#5205)
ePaul Mar 27, 2017
6847581
Updating samples for JaxRS servers: Spec + CXF-CDI. (#5213)
ePaul Mar 27, 2017
549288d
add ci test for msf4j server (#5220)
wing328 Mar 27, 2017
24a6368
[Erlang] pretty print swagger json (#5215)
ePaul Mar 27, 2017
03fe279
export top level enumeration types in typescript-fetch mode (#4820)
tzneal Mar 27, 2017
50e56db
Updating samples for spring-stubs, springboot-delegate, springboot-de…
ePaul Mar 27, 2017
230f4ec
fix retrofit2 indentation (#5221)
wing328 Mar 27, 2017
e04a4f1
add comments to csharp methods (#5222)
wing328 Mar 27, 2017
246c692
fix c# docstring typo (#5223)
wing328 Mar 27, 2017
4e62a2f
fix msf4j bin script
wing328 Mar 28, 2017
9c76c63
Merge branch 'fix_msf4j_sh'
wing328 Mar 28, 2017
f7780da
add port 80 to swagger spec (#5232)
wing328 Mar 28, 2017
c81aaac
Issue #3084: remove timestamps from undertow samples (#5231)
ePaul Mar 28, 2017
b97eae7
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
spr3nk3ls Mar 28, 2017
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.
26 changes: 26 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.git/
*.iml
out/
*.ipr
*.iws
classpath.txt
version.properties
.project
.classpath
lib/*
build/*
generated-files/*
generated-sources/*
generated-code/*
*.swp
*.swo
*.bak
project/
samples/*
target/
.idea/
.lib/
.DS_Store

# Not needed in a linux container
bin/windows/*
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
Please follow the issue template below for bug reports and feature requests.
Also please indicate in the issue title which language/library is concerned. Eg: [JAVA] Bug generating foo with bar
-->

##### Description

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

##### Swagger-codegen version

<!-- which version of swagger-codegen are you using, is it a regression? -->

##### Swagger declaration file content or url

<!-- if it is a bug, a json or yaml that produces it.
If you post the code inline, please wrap it with
```yaml
(here your code)
```
(for YAML code) or
```json
(here your code)
```
(for JSON code), so it becomes more readable. If it is longer than about ten lines,
please create a Gist (https://gist.github.com) or upload it somewhere else and
link it here.
-->

##### Command line used for generation

<!-- including the language, libraries and various options -->

##### Steps to reproduce

<!-- unambiguous set of steps to reproduce the bug.-->

##### Related issues

<!-- 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

<!-- if you can't fix the bug yourself, perhaps you can point to what might be
causing the problem (line of code or commit) -->

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 guidelines](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)

139 changes: 130 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,148 @@ out/
*.iws
classpath.txt
version.properties
!modules/swagger-codegen-cli/src/main/resources/version.properties
.project
.classpath
lib/*
build/*
generated-files/*
generated-sources/*
generated-code/*
*.swp
*.swo
target
.idea
.lib
atlassian-ide-plugin.xml
.DS_Store
packages/
.pub
.packages
.vagrant/

.settings

*.mustache~
*.java~
*.pm~
*.xml~
*.t~

/target
/generated-files
/nbactions.xml
*.pyc
__pycache__
nbactions.xml

# scalatra
samples/server-generator/scalatra/output
samples/server-generator/node/output/node_modules
samples/server-generator/scalatra/target
samples/server-generator/scalatra/output/.history

target
.idea
.lib
atlassian-ide-plugin.xml
.DS_Store
# nodejs
**/node_modules
samples/server-generator/node/output/node_modules
samples/server/petstore/nodejs/node_modules
samples/server/petstore/nodejs-server/node_modules

# qt5 cpp
samples/client/petstore/qt5cpp/PetStore/moc_*
samples/client/petstore/qt5cpp/PetStore/*.o
samples/client/petstore/qt5cpp/build-*
samples/client/petstore/qt5cpp/PetStore/PetStore
samples/client/petstore/qt5cpp/PetStore/Makefile
samples/client/petstore/qt5cpp/PetStore/PetStore.pro.user

#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/
samples/client/petstore/java/jersey2/.gradle/
samples/client/petstore/java/jersey2/build/
samples/client/petstore/java/okhttp-gson/.gradle/
samples/client/petstore/java/okhttp-gson/build/
samples/client/petstore/java/feign/build/
samples/client/petstore/java/retrofit/build/
samples/client/petstore/java/retrofit2/build/
samples/client/petstore/java/retrofit2rx/build/
samples/client/petstore/java/default/build/
samples/client/petstore/scala/build/

#PHP
samples/client/petstore/php/SwaggerClient-php/composer.lock
samples/client/petstore/php/SwaggerClient-php/vendor/
samples/client/petstore/silex/SwaggerServer/composer.lock
samples/client/petstore/silex/SwaggerServer/venodr/
**/vendor/
**/composer.lock

# Perl
samples/client/petstore/perl/deep_module_test/

# Objc
samples/client/petstore/objc/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata
samples/client/petstore/objc/default/SwaggerClientTests/Build
samples/client/petstore/objc/default/SwaggerClientTests/Pods
samples/client/petstore/objc/default/SwaggerClientTests/SwaggerClient.xcworkspace
samples/client/petstore/objc/default/SwaggerClientTests/Podfile.lock

samples/client/petstore/objc/core-data/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata
samples/client/petstore/objc/core-data/SwaggerClientTests/Build
samples/client/petstore/objc/core-data/SwaggerClientTests/Pods
samples/client/petstore/objc/core-data/SwaggerClientTests/SwaggerClient.xcworkspace
samples/client/petstore/objc/core-data/SwaggerClientTests/Podfile.lock

# Swift
samples/client/petstore/swift/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata
samples/client/petstore/swift/SwaggerClientTests/SwaggerClient.xcworkspace/xcuserdata
samples/client/petstore/swift/SwaggerClientTests/Pods/Pods.xcodeproj/xcuserdata
samples/client/petstore/swift/SwaggerClientTests/Pods/Pods.xcodeproj/xcshareddata/xcschemes
samples/client/petstore/swift/**/SwaggerClientTests/Podfile.lock

# C#
*.csproj.user
samples/client/petstore/csharp/SwaggerClient/IO.Swagger.userprefs
samples/client/petstore/csharp/SwaggerClientTest/.vs
samples/client/petstore/csharp/SwaggerClientTest/obj
samples/client/petstore/csharp/SwaggerClientTest/bin
samples/client/petstore/csharp/SwaggerClientTest/packages
samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/
samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/
samples/client/petstore/csharp/SwaggerClientTest/TestResult.xml
samples/client/petstore/csharp/SwaggerClientTest/nuget.exe
samples/client/petstore/csharp/SwaggerClientTest/testrunner/
samples/client/petstore/csharp/SwaggerClient/.vs
samples/client/petstore/csharp/SwaggerClient/nuget.exe
samples/client/petstore/csharp/SwaggerClient/obj
samples/client/petstore/csharp/SwaggerClient/bin
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
__pycache__
samples/client/petstore/python/dev-requirements.txt.log
samples/client/petstore/python/swagger_client.egg-info/SOURCES.txt
samples/client/petstore/python/.coverage
samples/client/petstore/python/.projectile
samples/client/petstore/python/.venv/

# ts
samples/client/petstore/typescript-node/npm/node_modules
samples/client/petstore/typescript-node/**/typings
samples/client/petstore/typescript-angular/**/typings
samples/client/petstore/typescript-fetch/**/dist/
samples/client/petstore/typescript-fetch/**/typings
samples/client/petstore/typescript-angular2/npm/npm-debug.log
samples/client/petstore/typescript-node/npm/npm-debug.log

# aspnetcore
samples/server/petstore/aspnetcore/.vs/

57 changes: 57 additions & 0 deletions .travis.objc_swift_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
sudo: required
language: objective-c
osx_image: xcode7.3

cache:
directories:
- $HOME/.m2
- $HOME/.gem
- $HOME/.rvm
- $HOME/.cocoapods
- swagger-api/swagger-codegen/samples/client/petstore/objc/default/SwaggerClientTests/Pods
- swagger-api/swagger-codegen/samples/client/petstore/objc/core-data/SwaggerClientTests/Pods
- swagger-api/swagger-codegen/samples/client/petstore/swift/default/SwaggerClientTests/Pods
- swagger-api/swagger-codegen/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods

services:
- docker

addons:
hosts:
- petstore.swagger.io

before_install:
- export SW=`pwd`
# show host table to confirm petstore.swagger.io is mapped to localhost
- cat /private/etc/hosts
#- rvm install 2.2.2 > /dev/null 2>&1
- rvm use 2.2.4
- gem environment
- gem install cocoapods -v 1.0.1 -N --no-ri --no-rdoc
- gem install xcpretty -N --no-ri --no-rdoc
- pod --version
- pod setup --silent > /dev/null
# xctool already pre-installed
#- brew install xctool
- git clone https://github.com/wing328/swagger-samples
- cd swagger-samples/java/java-jersey-jaxrs && sudo mvn -q jetty:run &

install:

script:
# test default objc client
- cd $SW/samples/client/petstore/objc/default/SwaggerClientTests && pod install && xctool -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient-Example" -destination platform='iOS Simulator',OS=8.4,name='iPhone 6' test -test-sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
# test objc client with coredata
- cd $SW/samples/client/petstore/objc/core-data/SwaggerClientTests && pod install && xctool -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient-Example" -destination platform='iOS Simulator',OS=8.4,name='iPhone 6' test -test-sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
- set -o pipefail
# test swift client with promisekit
- cd $SW/samples/client/petstore/swift/promisekit/SwaggerClientTests && pod install && xcodebuild clean test -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty
# test default swift client
- cd $SW/samples/client/petstore/swift/default/SwaggerClientTests && pod install && xcodebuild clean test -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty
# test swift3 client with promisekit
- cd $SW/samples/client/petstore/swift3/promisekit/SwaggerClientTests && pod install && xcodebuild clean test -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty
# test default swift3 client
- cd $SW/samples/client/petstore/swift3/default/SwaggerClientTests && pod install && xcodebuild clean test -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty

env:
- DOCKER_IMAGE_NAME=swaggerapi/swagger-generator
75 changes: 74 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,77 @@
sudo: required
language: java
script: mvn verify
jdk:
- oraclejdk7
- oraclejdk8

cache:
directories:
- $HOME/.m2
- $HOME/.ivy2
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/samples/client/petstore/php/SwaggerClient-php/vendor
- $HOME/samples/client/petstore/ruby/venodr/bundle
- $HOME/samples/client/petstore/python/.venv/
- $HOME/samples/client/petstore/typescript-node/npm/node_modules
- $HOME/samples/client/petstore/typescript-node/npm/typings/
- $HOME/samples/client/petstore/typescript-fetch/tests/default/node_modules
- $HOME/samples/client/petstore/typescript-fetch/tests/default/typings
- $HOME/samples/client/petstore/typescript-fetch/builds/default/node_modules
- $HOME/samples/client/petstore/typescript-fetch/builds/default/typings
- $HOME/samples/client/petstore/typescript-fetch/builds/es6-target/node_modules
- $HOME/samples/client/petstore/typescript-fetch/builds/es6-target/typings
- $HOME/samples/client/petstore/typescript-fetch/builds/with-npm-version/node_modules
- $HOME/samples/client/petstore/typescript-fetch/npm/with-npm-version/typings
- $HOME/samples/client/petstore/typescript-angular/node_modules
- $HOME/samples/client/petstore/typescript-angular/typings

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
# Add bats test framework and cURL for Bash script integration tests
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get update -qq
- sudo apt-get install -qq bats
- sudo apt-get install -qq curl

# show host table to confirm petstore.swagger.io is mapped to localhost
- cat /etc/hosts
# show java version
- java -version

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:
# fail fast
- set -e
# fail if templates/generators contain carriage return '\r'
- /bin/bash ./bin/utils/detect_carriage_return.sh
# fail if generators contain tab '\t'
- /bin/bash ./bin/utils/detect_tab_in_java_class.sh
# run integration tests defined in maven pom.xml
- mvn --batch-mode verify -Psamples
# docker: build generator image and push to Docker Hub
- if [ $DOCKER_HUB_USERNAME ]; then docker login --email=$DOCKER_HUB_EMAIL --username=$DOCKER_HUB_USERNAME --password=$DOCKER_HUB_PASSWORD && docker build -t $DOCKER_GENERATOR_IMAGE_NAME ./modules/swagger-generator && if [ ! -z "$TRAVIS_TAG" ]; then docker tag $DOCKER_GENERATOR_IMAGE_NAME:latest $DOCKER_GENERATOR_IMAGE_NAME:$TRAVIS_TAG; fi && if [ ! -z "$TRAVIS_TAG" ] || [ "$TRAVIS_BRANCH" = "master" ]; then docker push $DOCKER_GENERATOR_IMAGE_NAME; fi; fi
# docker: build cli image and push to Docker Hub
- if [ $DOCKER_HUB_USERNAME ]; then docker login --email=$DOCKER_HUB_EMAIL --username=$DOCKER_HUB_USERNAME --password=$DOCKER_HUB_PASSWORD && docker build -t $DOCKER_CODEGEN_CLI_IMAGE_NAME ./modules/swagger-codegen-cli && if [ ! -z "$TRAVIS_TAG" ]; then docker tag $DOCKER_CODEGEN_CLI_IMAGE_NAME:latest $DOCKER_CODEGEN_CLI_IMAGE_NAME:$TRAVIS_TAG; fi && if [ ! -z "$TRAVIS_TAG" ] || [ "$TRAVIS_BRANCH" = "master" ]; then docker push $DOCKER_CODEGEN_CLI_IMAGE_NAME; fi; fi

env:
- DOCKER_GENERATOR_IMAGE_NAME=swaggerapi/swagger-generator DOCKER_CODEGEN_CLI_IMAGE_NAME=swaggerapi/swagger-codegen-cli
Loading