Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6750 commits
Select commit Hold shift + click to select a range
a815666
new batch file to exec all JS petstore batch files
wing328 Jan 25, 2017
3875f25
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Jan 25, 2017
7d64574
Add support for read-only values in spring model (#4629)
JLLeitschuh Jan 25, 2017
d463324
tests, fix for #4647. Proper escaping project name per npmjs (#4648)
fehguy Jan 25, 2017
caebe42
add https://mailmojo.no/
wing328 Jan 25, 2017
c912bff
[Swift] two fixes to latest param mapping code (#4587)
jaz-ah Jan 25, 2017
42c3c46
add kubernetes
wing328 Jan 25, 2017
41ba982
Fixes #4655 (#4656)
amingilani Jan 26, 2017
6b655db
Merge branch 'master' of https://github.com/karnik/swagger-codegen in…
wing328 Jan 26, 2017
34bd70e
Merge branch 'karnik-master'
wing328 Jan 26, 2017
1ff6c98
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Jan 26, 2017
73ca4dd
[PHP] Validate parent's model first, if any (#4659)
nazieb Jan 26, 2017
3c9391c
[Spring] Add beanvalidation annotations (#4600)
jfiala Jan 26, 2017
ec07dcd
fix issue with pom.xml (spring cloud, boot)
wing328 Jan 26, 2017
8da9523
#4625 - Check if configOptions are set before trying to get the sourc…
eblis Jan 27, 2017
3f8ad2f
[Python] Improve model equality implementation (#4663)
fdanielsen Jan 27, 2017
6a910f6
add https://kurio.co.id
wing328 Jan 28, 2017
314bc27
[JavaScript] Fixed handling of empty arrays/empty strings/booleans/si…
frol Jan 28, 2017
f33e8d5
[WIP][Scala] Finch generator (#3905)
wing328 Jan 29, 2017
3360421
add finch
wing328 Jan 29, 2017
eb40de5
add core team for scala finch
wing328 Jan 29, 2017
36eb1ff
Fix Typescript errors with 'strictNullChecks' mode enabled (#4658)
megaboich Jan 29, 2017
1c7cf07
[WIP] Add elixir client (#4675)
niku Jan 30, 2017
7ede891
add elixir template owner
wing328 Jan 30, 2017
85fae86
add elixir to api client list
wing328 Jan 30, 2017
af8a584
escape unsafe characters/quotes in elixir generator (#4676)
wing328 Jan 30, 2017
8abe193
[JAXRS-CXF] [issue #4386] add builder-style methods to model classes …
MatanRubin Jan 31, 2017
9fec5b8
Copy dataformat if property field is an array. (#4661)
sreeshas Feb 1, 2017
d9d8779
Fixed issue #4665 [go] required object parameters are marked omitempt…
vvalchev Feb 1, 2017
ff418d5
Fixed issue #4664: [go] incorrect code generated, if there are more t…
vvalchev Feb 1, 2017
b10f339
Issue 3914 (#4678)
abaruni Feb 2, 2017
1de41e2
update go petstore sample
wing328 Feb 2, 2017
03859e2
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Feb 2, 2017
37ffcac
[aspnetcore] resolve source/packageName issues (#4699)
jimschubert Feb 3, 2017
3c1f4d9
Fix Issue #4611 by using {{unescapedDescription}} (#4641)
Feb 3, 2017
4191311
Merge branch 'php-client-invokerpkg-fix' of https://github.com/toomuc…
wing328 Feb 3, 2017
abeb0d0
Merge branch 'toomuchpete-php-client-invokerpkg-fix'
wing328 Feb 3, 2017
345c880
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Feb 3, 2017
423cd90
ISSUE#4391 - https://github.com/swagger-api/swagger-codegen/issues/43…
Feb 3, 2017
9072c61
[Python] update python requirement.txt and use single quote for safe …
wing328 Feb 3, 2017
04e5fe6
fix(jax-rs): fix package name in generated StringUtil.java to match w…
asgerjensen Feb 3, 2017
64e0516
Feature/4606 (#4607)
eamon316 Feb 3, 2017
9e23464
[Typescript-Angular2] Fixes #4703 (#4704)
27leaves Feb 4, 2017
36eccbc
[JAXRS-Spec|Resteasy|CXF] Issue 4315 - Fixed bug generating arrays of…
markus-wa Feb 5, 2017
ebbc414
[Jaxrs-cxf-cdi] Add beanvalidation annotations updated (#4615)
jfiala Feb 5, 2017
e6f0a81
[Jaxrs-cxf-cdi] merge beanvalidation templates to single one #4719 (#…
jfiala Feb 6, 2017
4177b5f
[JAXRS-CXF] Issue 4569 - Re-added usage of contextPath in api.mustach…
markus-wa Feb 6, 2017
0ccafcb
Merge branch 'jaxrs_beanval_final_4091' of https://github.com/jfiala/…
wing328 Feb 6, 2017
6ab8df4
Merge branch 'jfiala-jaxrs_beanval_final_4091'
wing328 Feb 6, 2017
018e057
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Feb 6, 2017
6707328
fix issue #4672 - XmlExampleGenerator does not properly handle proper…
jbhelm Feb 6, 2017
cbd085f
[csharp] Fix enum default value (#4681)
jimschubert Feb 6, 2017
d0b3769
add https://www.slamby.com/
wing328 Feb 6, 2017
d647e4a
Add "Simpfony" to list of companies using Swagger (#4726)
jbhelm Feb 6, 2017
4e00e42
add Hewlett Packard Enterprise (hpe.com)
wing328 Feb 7, 2017
5fd3fa3
add https and change order for HPE
wing328 Feb 7, 2017
84ea2a6
rx2 support (#4708)
ber4444 Feb 7, 2017
a0e07cd
Revert "rx2 support" (#4737)
wing328 Feb 7, 2017
167e937
[Java][Issue #1806] generate using java.util.UUID for UUIDs
MatanRubin Feb 7, 2017
0bf5aca
[Bash] Bash generator improvements (#4730)
bkryza Feb 7, 2017
69c67f8
Merge pull request #4487 from wy-z/dockerfile_update_base_image
fehguy Feb 7, 2017
aef27d3
[Jaxrs-spec] fix usage of Jersey templates in shellscript (#4722)
jfiala Feb 7, 2017
2cd1cce
update jaxrs spec petstore sample (mac)
wing328 Feb 7, 2017
402017f
add SPINEN
wing328 Feb 7, 2017
e7ef4b3
[Java-Feign] Fixed String comparison using equals instead of == opera…
CodeNinjai Feb 8, 2017
ca7af78
Merge branch 'uuid-type' of https://github.com/MatanRubin/swagger-cod…
wing328 Feb 8, 2017
ec845f1
update java petstore with new uuid mapping
wing328 Feb 8, 2017
60807e6
update java server stub samples with new uuid mapping
wing328 Feb 8, 2017
44a147c
Merge branch 'MatanRubin-uuid-type'
wing328 Feb 8, 2017
be7743b
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Feb 8, 2017
a58d562
[Java-retrofit] Fix for #4750 String comparison with equals (#4751)
CodeNinjai Feb 8, 2017
48d1b67
remove default temp folder during initalization (#4749)
wing328 Feb 9, 2017
81b72ed
merged
fehguy Feb 9, 2017
282afa4
Merge branch 'jimschubert-dockerfiles'
fehguy Feb 9, 2017
51ade35
show travis master status
wing328 Feb 11, 2017
8de5a6a
Added Fotition as a company using swagger-codegen (#4773)
Feb 11, 2017
8a9c05d
Update gitignore (#4767)
BastiOfBerlin Feb 13, 2017
b0f336b
Fix issue when the swagger model contains an 'Object' class (#4695)
Feb 13, 2017
1bbeff8
remove trailing whitespaces in java api client (#4784)
wing328 Feb 13, 2017
98fa98e
[Java] Change Boolean fields of CodegenParameter and CodegenResponse …
sreeshas Feb 13, 2017
ac0ce8e
Update DefaultGenerator.java (#4760)
soulfly Feb 13, 2017
c86e6bb
added QuickBlox to 'Companies/Projects using Swagger Codegen' section…
soulfly Feb 13, 2017
953a50e
Fix finch package name. (#4755)
clasnake Feb 13, 2017
8f5eaca
Issue 4742 (#4763)
abaruni Feb 14, 2017
c21f31d
update ts fetch petstore samples
wing328 Feb 15, 2017
0b5afd2
Merge branch 'update_ts_fetch_sample'
wing328 Feb 15, 2017
f48325e
Ensure that `ApiInvoker.scala` can support `UUID` types (#4807)
paul-english Feb 16, 2017
0107d46
remove unused files for nodejs gcf (#4808)
wing328 Feb 16, 2017
65a40fd
Fix minor spelling mistake in readme (#4818)
tristansokol Feb 20, 2017
da0aa05
Fix for #1940 - Show response headers (#4825)
sonallux Feb 20, 2017
dcaebc7
fix warning in swagger json/yaml generator (#4827)
wing328 Feb 20, 2017
d795bc1
Added include to qt5cpp to fix library compile
fortiumant Feb 22, 2017
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
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
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
ca2d9e8
Update feign depndencies
oteichmann Mar 17, 2017
e6cc6e8
Update feign depndencies
oteichmann Mar 17, 2017
7e75954
Merge branch 'issue-5107' of github.com:oteichmann/swagger-codegen in…
oteichmann Mar 17, 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
71 changes: 70 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,73 @@
sudo: required
language: java
script: mvn verify
jdk:
- oraclejdk7
- oraclejdk8

cache:
directories:
- $HOME/.m2
- $HOME/.ivy2
- $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

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