Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1001 commits
Select commit Hold shift + click to select a range
73b38dd
#3904 Inheritance support java client retrofit gson (#4729)
konopski Oct 8, 2017
41b7950
Fix class path for DeferredResult (#6452)
sasavilic Oct 8, 2017
81e0357
fix NPE reported in #6519 (#6635)
wing328 Oct 8, 2017
164f5bb
fix underscore to handle spaces (#6637)
wing328 Oct 9, 2017
07c71e3
add link to ada's article
wing328 Oct 9, 2017
e90a40b
use japanese name of taxpon
wing328 Oct 9, 2017
e6d4362
Fix for regression in issue: https://github.com/swagger-api/swagger-c…
JFCote Oct 9, 2017
3b13431
add java version to pom in resteasy eap java8
wing328 Oct 9, 2017
d054a43
update java server samples
wing328 Oct 9, 2017
39ae041
Merge branch 'update_java_server_samples'
wing328 Oct 9, 2017
676af62
Updated feign library dependency to io.github.openfeign (#6652)
jihlee Oct 10, 2017
1bdb104
Add Serializable import to JaxRS-spec models if serializableModel is …
Oct 10, 2017
02d25f5
Swift4: Fix inline enum issue (#6640)
ehyche Oct 10, 2017
dc88ed9
[angular-typescript] fix using form data (#6574)
macjohnny Oct 10, 2017
db67840
[haskell-http-client] bug fixes; path & newtype generation issues (#6…
jonschoning Oct 10, 2017
b5a01b5
comment out swift test due to build image changes
wing328 Oct 11, 2017
30a1761
revise wordings for powershell generator
wing328 Oct 11, 2017
02a053e
Update README.md (#6656)
juntaki Oct 12, 2017
3bd24c3
Updated api client, Required parameters {{#required}} .. {{/required}…
jvelilla Oct 12, 2017
590754f
[kotlin] Fix syntax errors on localVariableHeader in api.mustache (#6…
ejithon Oct 12, 2017
b716b37
Swift4: Add additional initializer for initializing model object with…
ehyche Oct 12, 2017
5ffdee4
[PHP][Symfony] Generate valid PHP code (#6578)
naelrashdeen Oct 12, 2017
278bcfe
add Edubits to swift tech comm
wing328 Oct 12, 2017
e9f49ab
add back petstore test (#6663)
wing328 Oct 12, 2017
b22fb30
add jaz-ah to swift, android tech committee
wing328 Oct 12, 2017
eb45379
golang: trailing whitespace fails gofmt (#6669)
vbatts Oct 13, 2017
96444d3
update go petstore samples
wing328 Oct 13, 2017
027fb2f
- Removed unnecessary line in in Restbed Codegen Constructor (#6675)
stkrwork Oct 15, 2017
1f97caf
Included Open Systems International in the list of companies using Sw…
gustavoapaz Oct 16, 2017
3f7f6b8
Add operationId as nickname to @ApiOperation (#6688)
wingsofovnia Oct 16, 2017
3067da2
Swagger eiffel:fix (#6674)
jvelilla Oct 16, 2017
8bcceb4
[kotlin] Fix causing NoClassDefFoundError at runtime on Android devic…
ejithon Oct 16, 2017
12a85bb
Add enum support for flask (#6684)
lpatino10 Oct 16, 2017
619c391
update python flask petstore samples
wing328 Oct 16, 2017
8b70f24
There was no validation when a required field was null, creating cras…
JFCote Oct 16, 2017
1050aa9
Added support for enums in Dart. (#6516)
pylaligand Oct 16, 2017
488aa98
Adding a new Scala client codegen (#6572)
Oct 16, 2017
1545075
add tbrown1979 as template creator for scalaz
wing328 Oct 16, 2017
62794c1
add scalaz to cirleci
wing328 Oct 16, 2017
5c14f90
add beta to scalaz generator
wing328 Oct 16, 2017
381acd2
Add http://www.nttdata.com (#6713)
int128 Oct 17, 2017
07b408a
[PHP] Fix #5338: InvalidArgumentException (#6685)
ackintosh Oct 17, 2017
62627f2
[Elixir Client]Improve elixir client typings (#6665)
niku Oct 17, 2017
5143fb5
revise go header, minor formatting fix (#6695)
wing328 Oct 17, 2017
abe1be1
JAXRS-SPEC: fix container return type (#6659)
carnevalegiacomo Oct 17, 2017
d093a34
add jaxrs-spec-interface to circle ci
wing328 Oct 17, 2017
27850d9
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Oct 17, 2017
be3e33f
[C++] Sanitize operation ids. (#6664)
fvarose Oct 17, 2017
ff9c723
ContentType selection fix for csharp. (#6633)
alex-fisher Oct 17, 2017
c4d5ba1
Prefix local vars to prevent conflict with params (#6717)
masaeedu Oct 18, 2017
c783ec1
update all petstore security samples
wing328 Oct 18, 2017
7f9ae63
add resteasy-all shell script
wing328 Oct 18, 2017
1ac04ae
new files genreated by security shell scripts
wing328 Oct 18, 2017
5219035
[haskell-http-client] handle Alias models + refactoring. (#6712)
jonschoning Oct 18, 2017
e4abddf
Fix spring api operation annotation (#6700)
wneild Oct 18, 2017
d378941
[Java][JAX-RS-CXF] Add JsonProperty to POJO (#6710)
gustavoapaz Oct 19, 2017
1d89ab6
[New Generator] Rust API client/server generator (#6613)
BenjaminGill-Metaswitch Oct 19, 2017
3472c68
bug fixes (#6743)
ramnov Oct 19, 2017
be7daa0
update R petstore sample
wing328 Oct 19, 2017
f0b7dae
[Rust] rename rust2 to rust-server (#6747)
wing328 Oct 19, 2017
8a5c361
Bugfix/6750 name clash between npm request and parameter called reque…
pgrm Oct 20, 2017
d0ec683
revert changes to fakes yaml (#6758)
jonschoning Oct 20, 2017
b0823c8
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Oct 20, 2017
649811d
[JavaScript] Handle custom request.agent (#6737)
kinok Oct 20, 2017
e9ad20a
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Oct 20, 2017
36f14ab
update JS petstore samples
wing328 Oct 20, 2017
4d994a2
update ruby petstore samples
wing328 Oct 20, 2017
af20897
Fixed link to open issues (correct label is 'help wanted') (#6779)
giuliopulina Oct 21, 2017
d2eb7cb
remove unused files from Ruby petstore client
wing328 Oct 22, 2017
7cbd36e
[Java][JAXRS-CXF] Improve API documentation in the CXF Server stub an…
gustavoapaz Oct 22, 2017
c71aa9d
Add Metaswitch to list of companies (#6773)
bjgill Oct 22, 2017
18b16c7
Update README.md (#6783)
kinok Oct 23, 2017
c6b6249
Fixed Python client docstrings (#6780)
arcward Oct 23, 2017
a63e3f1
[TypeScript-Angular] Path URI Encoding Update (#6769)
defmonk0 Oct 23, 2017
b034e44
[PHP][Symfony] Enhancements (#6615)
naelrashdeen Oct 23, 2017
fe5c2e6
Allow using help command with run-in-docker.sh (#6706)
tgifford-webfirst Oct 23, 2017
f7471ad
Fixed spacing in model.mustache (#6788)
kenisteward Oct 24, 2017
6981495
fix r body parameter null issue (#6786)
wing328 Oct 24, 2017
1f9dc4d
Fix required bug (#6733)
korkut89 Oct 24, 2017
66cbab1
Bugfix/6649 angular http client empty body (#6754)
macjohnny Oct 24, 2017
98e5612
Update README.md (#6797)
kenisteward Oct 25, 2017
f4ac6fe
Bugfix/6727 import http client module (#6757)
macjohnny Oct 25, 2017
ab338f8
Erlang-server: fix dialyzer; fix min and max checks (#6752)
velzevur Oct 25, 2017
044bfda
Fix #6166 by adding @Deprecated annotations in Java jersey2, okhttp-g…
brian-byungsookim Oct 25, 2017
f42a4a5
[javascript] Use babel-preset-env instead of es2015 and upgrade babel…
hisener Oct 25, 2017
49974c5
Change return type from any -> Response (#6774)
masaeedu Oct 25, 2017
6814530
fix enum in path parameter (spring) (#6810)
wing328 Oct 25, 2017
681b1c2
[Scala][Finch] Fix interpretation of queryParams and headers (#6809)
jfraudeau Oct 26, 2017
4f3c86a
Adding forRoot instead of forConfig and forcing only 1 instantiation …
kenisteward Oct 26, 2017
f78d958
Fix ruby model generation with objects and additionalProperties (#6816)
Oct 26, 2017
54b670b
[python-flask] Create main function and entrypoint (#6814)
kenjones-cisco Oct 26, 2017
f472b62
Fix RefProperty bug for flattening MapProperty's inner properties. (#…
korkut89 Oct 26, 2017
28d14e3
[python-flask] Apply template tweaks to improve lint results (#6826)
kenjones-cisco Oct 27, 2017
f14e072
Fix #6391. Avoid Retrofit crashing because of @Path params defined af…
giuliopulina Oct 27, 2017
fe2ed67
Remove Accept request header from api signature (#6704)
cbornet Oct 27, 2017
cab4fc0
add support for csharp net40 (#6792)
wing328 Oct 27, 2017
18ba90f
[JavaPlayFramework] Add parameters for beanValidation in the applicat…
JFCote Oct 27, 2017
c566963
Topic resteasy queryparams defaultvalue (#6726)
andreaformica Oct 27, 2017
b259f3b
remove newline from query parameter template (resteasy)
wing328 Oct 27, 2017
4fc52c5
[haskell-http-client] add support for enums (#6803)
jonschoning Oct 28, 2017
bc302f7
[Elixir Client]Improve elixir client typings (#6821)
niku Oct 28, 2017
622f478
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Oct 29, 2017
1c201fe
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Oct 29, 2017
95ef1bf
Swift3: properly percent-escape path parameters (#6705)
ehyche Oct 30, 2017
16e7bc0
use travis_wait to avoid no output error
wing328 Oct 31, 2017
9272b3e
[Ruby] Fix "build_from_hash" function for Ruby enums (#6812)
Nov 1, 2017
7755c7d
Update README.md (#6859)
jimschubert Nov 1, 2017
c97b63d
[Rust] Implement 'object' type conversion (#6846)
euank Nov 1, 2017
8fec429
[NancyFx] Support Async (#6755)
craffael Nov 1, 2017
eba4aff
fix async option in C# nancyfx generator
wing328 Nov 1, 2017
74f70a1
[python-client] Modify python templates to resolve linting errors (#6…
kenjones-cisco Nov 1, 2017
1c19891
make nancyfx-petstore-server-async.sh executable
wing328 Nov 1, 2017
81d6b18
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 2, 2017
e863563
[PHP] Fix #6770: Debug flag is not passed (#6808)
ackintosh Nov 2, 2017
980dd7c
Add TypeScript default value mappers (#6828)
eriktim Nov 2, 2017
86b266b
[TS][Anuglar] Update Travis CI to cover TS Angular 4.3 petstore clien…
wing328 Nov 2, 2017
e7594c4
[kotlin] Nested enum naming fix, and naming options via CLI (#6858)
jimschubert Nov 2, 2017
16373b9
Fix the fake endpoint example. Now all cases are handled by the java …
JFCote Nov 2, 2017
0ee46c3
[all] Better error message for missing libraries (#6856)
jimschubert Nov 2, 2017
c2eb53a
[Java] Templates to support google-api-client library (#6838)
charlescapps Nov 3, 2017
cf5eba8
update circleci to cover java google-api client, update Java petstore
wing328 Nov 3, 2017
4dafa5b
Updated version (2.2.3) in swagger-codegen-maven-plugin example in RE…
giuliopulina Nov 3, 2017
659e642
- Updated cpp generators to name boolean getter functions with an is …
stkrwork Nov 4, 2017
7b269ea
Kotlin sanitize model names 6864 (#6874)
jimschubert Nov 4, 2017
b6699f6
[python] Convert unicode to six.u (#6881)
kenjones-cisco Nov 4, 2017
a558604
Implemented fix for #6006. Mime-type support (#6751)
gupbeheer Nov 4, 2017
cd1c2b1
[haskell-http-client] refactor & promote accept mimetype to request; …
jonschoning Nov 4, 2017
37184a1
Minor fix to body parameter in required parameter list (#6885)
wing328 Nov 5, 2017
2bce479
minor code format enhancement to ts angualr (#6888)
wing328 Nov 5, 2017
cf813f5
Feature/replace isomorphic fetch with portable fetch (#6739)
jeff-99 Nov 5, 2017
626fa75
[TypeScript][Angular] Attempts to fix issues that causes enums that a…
kenisteward Nov 5, 2017
39a9c55
[Typescript][Node] Fixes inccorect enum generation for enumsMap when …
kenisteward Nov 6, 2017
92a1c3a
[issue-6860] fix NPE of Could not generate api (#6868)
shijinkui Nov 7, 2017
fbc2879
[PHP][Symfony] Update Controller.mustache (#6842)
cydrickn Nov 9, 2017
8b25155
update php symfony petstore, remove spaces in empty line
wing328 Nov 9, 2017
92ac1ed
[csharp] Treat enum models consistently (#6851)
jimschubert Nov 9, 2017
7a83081
[CppRest] Remove U macro (#6903)
fvarose Nov 9, 2017
485b186
[CppRest] Unique header guards (#6904)
fvarose Nov 9, 2017
9dea435
add kenjonese-cisco to python tech committee
wing328 Nov 9, 2017
3355c92
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 9, 2017
9a44512
@JsonProperty annotation for jaxrs-spec server model classes (#6911) …
afrolovsky Nov 9, 2017
141fc7e
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 9, 2017
372a087
adding "Read Timeout" getters and setters for the Jersey and OkHttp (…
normana400 Nov 10, 2017
b404daf
Issue 6694 2.3.0 (#6845)
gustavoapaz Nov 10, 2017
f921f4f
[Scala] Default case class Option types to None for non-required fiel…
gmarz Nov 10, 2017
d76e372
add link to ebook
wing328 Nov 11, 2017
fd22014
Switch Travis image from MacOS to Linux (#6937)
wing328 Nov 12, 2017
0d55c12
add back php client test
wing328 Nov 12, 2017
b9651e5
WIP: initial commit for Erlang client generator (#6502)
tsloughter Nov 12, 2017
6739481
add tsloughter as owner erlang
wing328 Nov 12, 2017
ca58053
Fixes Issue #6841, Map for accessing additionalProperties is generate…
etherealjoy Nov 12, 2017
c515dd8
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 12, 2017
444a05c
minor formatting change
wing328 Nov 12, 2017
2ef65d1
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 12, 2017
f34aca6
skip "all" shell script
wing328 Nov 12, 2017
4a38ee2
Merge branch 'test_php'
wing328 Nov 12, 2017
053061e
[TypeScript][Node] Resolve TS2532 error (#6932)
S64 Nov 13, 2017
63d28cf
Fix PHP passes response body to ApiException (#6923)
Alex-D Nov 13, 2017
4e967e6
[Python/tornado] add integration tests and fix bugs (#6925)
tomplus Nov 13, 2017
90a0b7a
add python tornado test to travis
wing328 Nov 13, 2017
62444a7
Binary mode for file deserialization in python (#6936)
g-bon Nov 13, 2017
9ca9887
[PHP] Improve docs and README (#6935)
ackintosh Nov 13, 2017
28e2fce
[csharp] fix enum serialization of first value (#6873)
jimschubert Nov 13, 2017
dff463f
minor typo fix
wing328 Nov 13, 2017
473dfde
fix typo: crediential => credential
wing328 Nov 13, 2017
b3133a2
[haskell-http-client] fix bug when generating models-only (#6931)
jonschoning Nov 13, 2017
5af788c
[Swift4] Allow for custom dateformatter to be used (#6672)
DawidvanGraan Nov 13, 2017
d719daa
Updated swagger-ui wget url to https (#6954)
kenisteward Nov 14, 2017
47f1865
[Java][google-api-client] Fix minor bugs in google api client (#6951)
charlescapps Nov 14, 2017
744c7d9
remove spaces, empty lines from qt5cpp client (#6956)
wing328 Nov 14, 2017
4e482ee
add a docker build tag for pushing docker image instead of just lates…
jebentier Nov 15, 2017
970de01
[Swift4] Add throw to reserved words (#6952)
nascob Nov 15, 2017
d676cd1
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 15, 2017
2c9f98c
[csharp] clean boolean additional properties 6784 (#6899)
jimschubert Nov 15, 2017
372f16d
Revert "Docker image tags" (#6973)
wing328 Nov 16, 2017
818ff8f
Add readTimeout field (#6961)
bmordue Nov 16, 2017
85b0d0f
[TypeScript][Node] Resolve errors for strict compile (#6933)
S64 Nov 16, 2017
17bbb25
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 16, 2017
0c0da42
Better instruction for Windows users
wing328 Nov 16, 2017
d04d280
update java petstore samples
wing328 Nov 16, 2017
c6ffbd3
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 16, 2017
73cb68e
[python] fix tests, tornado ssl fix (#6968)
tomplus Nov 17, 2017
15bbb52
check for dot in path and throw exception if found (#6986)
wing328 Nov 17, 2017
18e0b67
Added Company using Sawgger in Readme.md (#6988)
shashank734 Nov 17, 2017
9be12f9
Removed harmful content-type check (#6977)
Usnul Nov 17, 2017
da1702d
update petstore sample
wing328 Nov 17, 2017
79bac2c
Fix typo. (#6991)
peterstuart Nov 18, 2017
ec0da35
regenerate package.json, tsconfig.json for ts node (#6987)
wing328 Nov 18, 2017
6476c0a
add @tsloughter to erlang tech committee
wing328 Nov 18, 2017
181680b
- fix duplicate problem (#6981)
JacC510 Nov 20, 2017
404b526
update resttempalte java petstore samples
wing328 Nov 20, 2017
04ee374
[TypeScript][Angular] fix problem with strict compilation (#6978)
topce Nov 20, 2017
ebb96cb
[docker] Update root Dockerfile (#6870)
jimschubert Nov 20, 2017
0c36882
add my slide to README.md (#7006)
maeharin Nov 21, 2017
b06ccec
[csharp] Update JsonSubTypes to 1.1.3 and use nuget dependency (#6969)
manuc66 Nov 21, 2017
a5e4abe
[Swift4]Update templates for swift 4 (#6921)
Nov 21, 2017
63fce58
[Java][Spring] Resolve serialization warning from RFC3339DateFormat (…
kenjones-cisco Nov 21, 2017
32abb72
[LagomScala] Add Scala API generator for lagomframework #6900 (#6901)
gmkumar2005 Nov 21, 2017
5e76b22
add gmkumar2005 as scala lagom template creator
wing328 Nov 21, 2017
573b551
[Scala][Lagom] minor enhancements (#7011)
wing328 Nov 21, 2017
803f337
[Scala][Lagom] rename generator from scala-lagom to scala-lagom-serve…
wing328 Nov 21, 2017
d9cea0f
[CppRest] Support optional parameters (#6959)
fvarose Nov 22, 2017
acefe3f
[CppRest] Add `Object` and fix modelbase includes (#6905)
fvarose Nov 22, 2017
65bb761
Fix: Resolve problem with UUID class not found if there is almost one…
sparta15 Nov 22, 2017
ed705e9
add link to d-date's presentation (#7021)
Nov 22, 2017
0f92bae
Inheritance support java client okhttp gson (#6636)
konopski Nov 22, 2017
5ea3499
fix swager typo (#7028)
kgeis Nov 23, 2017
ebfdc05
[Akka-Scala] Add readme file (#7027)
ramzimaalej Nov 23, 2017
10107ac
Upgrade to resteasy-jackson2-provider (#7017)
iamolivinius Nov 23, 2017
a4531b6
use python client toOperationId logic (#7035)
wing328 Nov 23, 2017
8eb33f9
[Typescript][Angular]Issue #6902 Return Client Response for Angular 4…
kenisteward Nov 23, 2017
57b42a5
add fvarose to c++ tech comm
wing328 Nov 23, 2017
8a0de97
Remove rxjs operators (#6989)
topce Nov 24, 2017
8cc8c1e
Add GMO Pepabo (#7049)
ackintosh Nov 24, 2017
7a15121
Adding Cloudsmith to Swagger users (#7055)
lskillen Nov 25, 2017
3d3a30a
[Erlang] erlang client: properly handle optional parameters (#7042)
tsloughter Nov 27, 2017
a565a94
Removed wrong import of StrictJsonDeserializationVisitor (#6948)
Nov 27, 2017
5d59dd1
[PHP][Symfony] Further enhancements (#7001)
naelrashdeen Nov 27, 2017
1b90a05
[Scala][Finch] Adding security definitions to Finch (#6891)
erikwj Nov 27, 2017
fc5ec62
[NancyFx] Fix for issue #7024, date field mapped to ZonedDateTime (#7…
craffael Nov 27, 2017
0c3c4cc
Use maven plugin to set required maven version (#7032)
ramzimaalej Nov 27, 2017
75c2d5e
[Scala] Default Option parameters to None (#6538)
gmarz Nov 27, 2017
088eef5
update petstore samples
wing328 Nov 27, 2017
a8642db
[Java][Spring][Server] Issue #4680 (#6890)
MZinchenko Nov 27, 2017
02bcc55
Do not apply content-type header if no request body (#6648)
bmordue Nov 27, 2017
dca7a15
As per documentation https://docs.spring.io/spring-framework/docs/cur…
demtnt Nov 27, 2017
55410a3
update spring petstore sample
wing328 Nov 27, 2017
efe16fd
[python/tornado] ssl improvements (#7061)
tomplus Nov 28, 2017
adda792
#7026 [Swift] tvos support added (#7034)
shoshins Nov 28, 2017
1472b60
Added a Blog Post Entry (#7069)
philicious Nov 28, 2017
9a95f2f
update swift petstore samples
wing328 Nov 28, 2017
28467a5
add antihax to go technical committee
wing328 Nov 28, 2017
9a2e024
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 29, 2017
ce11e03
fix spring cloud config variable names (#7068)
yelhouti Nov 29, 2017
9fae2d7
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
wing328 Nov 29, 2017
80cc90c
update spring petstore samples
wing328 Nov 29, 2017
d2a2292
Update samples using latest codegen and templates (#7071)
ehyche Nov 29, 2017
5994a2f
use {{{mediaType}} instead of {{mediaType}} (#7073)
wing328 Nov 29, 2017
831e8d7
[Go] Add context to all requests for tracing, logging, cancellations,…
antihax Nov 29, 2017
8baa677
comment out ruby in circleci as already covered by travis
wing328 Nov 30, 2017
76d3cb5
Swift4: Fix issue 6746 - problem with arrays of primitives (#7072)
ehyche Dec 1, 2017
61e706b
[Akka-Scala] Add build.sbt to Akka-scala (#7076)
ramzimaalej Dec 1, 2017
a4fbbb5
Pass optional as null (#7066)
Sridhar-1987 Dec 4, 2017
ffa0151
fix msf4j return type annotation (#7110)
wing328 Dec 5, 2017
5f9f6e5
revised C# support in readme
wing328 Dec 5, 2017
645d71e
Operation now returns StatusCode Stubs as well (#7098)
knom Dec 5, 2017
40f1de8
[Typescript jQuery] Add README.md (#7113)
JFCote Dec 6, 2017
e75523a
[AspNetCore SERVER] Added support for ASP.NET Core 2.0 (#7114)
knom Dec 6, 2017
a7da5d8
add a link to IT World article
wing328 Dec 7, 2017
d508044
Merge branch 'master' into fix-nullables
Manny651 Dec 7, 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.
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

- [ ] Read the [contribution guidelines](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md).
- [ ] Ran the shell 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). Windows batch files can be found in `.\bin\windows\`.
- [ ] Filed the PR against the correct branch: master for non-breaking changes and `2.3.0` branch for breaking (non-backward compatible) changes.
- [ ] Filed the PR against the correct branch: `3.0.0` branch for changes related to OpenAPI spec 3.0. Default: `master`.
- [ ] Copied the [technical committee](https://github.com/swagger-api/swagger-codegen/#swagger-codegen-technical-committee) to review the pull request if your PR is targeting a particular programming language.

### Description of the PR

Expand Down
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode
*.iml
out/
*.ipr
Expand Down Expand Up @@ -73,6 +74,7 @@ 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/retrofit2/hello.txt
samples/client/petstore/java/retrofit2rx/build/
samples/client/petstore/java/default/build/
samples/client/petstore/scala/build/
Expand All @@ -88,6 +90,11 @@ samples/client/petstore/silex/SwaggerServer/venodr/
**/vendor/
**/composer.lock

#PHP-Symfony
samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/cache/
samples/server/petstore/php-symfony/SymfonyBundle-php/Tests/logs/


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

Expand Down Expand Up @@ -158,7 +165,25 @@ 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
samples/client/petstore/typescript-aurelia/**/dist/
samples/client/petstore/typescript-angular/tsd-debug.log

# aspnetcore
samples/server/petstore/aspnetcore/.vs/
effective.pom
# kotlin
samples/client/petstore/kotlin/src/main/kotlin/test/
\?

# haskell
.stack-work
.cabal-sandbox
cabal.project.local

# R
.Rproj.user

# elixir
samples/client/petstore/elixir/_build/
samples/client/petstore/elixir/deps/
samples/client/petstore/elixir/mix.lock
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oracle64-1.8.0.152
75 changes: 30 additions & 45 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
sudo: required
language: objective-c
osx_image: xcode8.2
language: java
jdk:
- oraclejdk8

cache:
directories:
- $HOME/.m2
Expand All @@ -22,66 +24,48 @@ cache:
- $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
- $HOME/.cocoapods/repos/master
# note: docker is not yet supported in iOS build
#services:
# - docker

services:
- docker

# comment out the host table change to use the public petstore server
addons:
hosts:
- petstore.swagger.io

before_install:
- export SW=`pwd`
- rvm list
- rvm use 2.2.5
- gem environment
- gem install bundler -N --no-ri --no-rdoc
- gem install cocoapods -v 1.2.1 -N --no-ri --no-rdoc
- gem install xcpretty -N --no-ri --no-rdoc
- pod --version
# comment out below to avoid errors
#- pod repo update
- pod setup --silent > /dev/null
# required when sudo: required for the Ruby petstore tests
- gem install bundler
- npm install -g typescript
- npm install -g npm
- npm config set registry http://registry.npmjs.org/
- brew install sbt
- brew install leiningen
- brew install bats
- brew install curl
- brew install python3
- pip install virtualenv
# start local petstore server
- git clone -b docker --single-branch https://github.com/wing328/swagger-samples
- cd swagger-samples/java/java-jersey-jaxrs
- sudo mvn jetty:run &
- cd $SW
# NOTE: iOS build not support docker at the moment
- 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
- 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
# comment out below as installation failed in travis
# Add rebar3 build tool and recent Erlang/OTP for Erlang petstore server tests.
# - Travis CI does not support rebar3 [yet](https://github.com/travis-ci/travis-ci/issues/6506#issuecomment-275189490).
# - Rely on `kerl` for [pre-compiled versions available](https://docs.travis-ci.com/user/languages/erlang#Choosing-OTP-releases-to-test-against). Rely on installation path chosen by [`travis-erlang-builder`](https://github.com/travis-ci/travis-erlang-builder/blob/e6d016b1a91ca7ecac5a5a46395bde917ea13d36/bin/compile#L18).
# - . ~/otp/18.2.1/activate && erl -version
#- curl -f -L -o ./rebar3 https://s3.amazonaws.com/rebar3/rebar3 && chmod +x ./rebar3 && ./rebar3 version && export PATH="${TRAVIS_BUILD_DIR}:$PATH"

# show host table to confirm petstore.swagger.io is mapped to localhost
- cat /etc/hosts
# show java version
- java -version
# show brew version
- brew --version
# show xcpretty version
- xcpretty -v
# show go version
- go 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"
- 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
Expand All @@ -94,17 +78,18 @@ script:
- /bin/bash ./bin/utils/detect_tab_in_java_class.sh
# run integration tests defined in maven pom.xml
- mvn -q --batch-mode verify -Psamples
### docker-related tasks have been moved to CircleCI
# Below has been moved to CircleCI
# 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

after_success:
# push a snapshot version to maven repo
- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "master" ]; then
mvn clean deploy --settings .travis/settings.xml;
echo "Finished mvn clean deploy";
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
fi;

env:
- DOCKER_GENERATOR_IMAGE_NAME=swaggerapi/swagger-generator DOCKER_CODEGEN_CLI_IMAGE_NAME=swaggerapi/swagger-codegen-cli
37 changes: 37 additions & 0 deletions .travis.yml.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
sudo: required
language: java
jdk:
- openjdk8

cache:
directories:
- $HOME/.m2
- $HOME/.ivy2

services:
- docker

addons:
hosts:
- petstore.swagger.io

before_install:
# 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

script:
# fail fast
- set -e
# run integration tests defined in maven pom.xml
- cp pom.xml.bash pom.xml
- mvn --batch-mode verify -Psamples
8 changes: 7 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,31 @@ For a list of variables available in the template, please refer to this [page](h

### Style guide
Code change should conform to the programming style guide of the respective languages:
- Ada: https://en.wikibooks.org/wiki/Ada_Style_Guide/Source_Code_Presentation
- Android: https://source.android.com/source/code-style.html
- Bash: https://github.com/bahamas10/bash-style-guide
- C#: https://msdn.microsoft.com/en-us/library/vstudio/ff926074.aspx
- C++: https://google.github.io/styleguide/cppguide.html
- C++ (Tizen): https://wiki.tizen.org/Native_Platform_Coding_Idiom_and_Style_Guide#C.2B.2B_Coding_Style
- Clojure: https://github.com/bbatsov/clojure-style-guide
- Elixir: https://github.com/christopheradams/elixir_style_guide
- Eiffel: https://www.eiffel.org/doc/eiffel/Coding%20Standards
- Erlang: https://github.com/inaka/erlang_guidelines
- Haskell: https://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md
- Java: https://google.github.io/styleguide/javaguide.html
- JavaScript: https://github.com/airbnb/javascript/
- Kotlin: https://kotlinlang.org/docs/reference/coding-conventions.html
- Groovy: http://groovy-lang.org/style-guide.html
- Go: https://github.com/golang/go/wiki/CodeReviewComments
- ObjC: https://github.com/NYTimes/objective-c-style-guide
- Perl: http://perldoc.perl.org/perlstyle.html
- PHP: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
- PowerShell: https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx
- Python: https://www.python.org/dev/peps/pep-0008/
- R: https://google.github.io/styleguide/Rguide.xml
- Ruby: https://github.com/bbatsov/ruby-style-guide
- Scala: http://docs.scala-lang.org/style/
- Swift: https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/TheBasics.html
- Swift: [Apple Developer](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/TheBasics.html)
- TypeScript: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines

For other languages, feel free to suggest.
Expand Down Expand Up @@ -87,3 +92,4 @@ To start the CI tests, you can run `mvn verify -Psamples` (assuming you've all t
- 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)
- Recommended git settings
- `git config --global core.autocrlf input` to tell Git convert CRLF to LF on commit but not the other way around
- To close an issue (e.g. issue 1542) automatically after a PR is merged, use keywords "fix", "close", "resolve" in the PR description, e.g. `fix #1542`. (Ref: [closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
23 changes: 16 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
FROM jimschubert/8-jdk-alpine-mvn:1.0

ENV GEN_DIR /opt/swagger-codegen

RUN set -x && \
apk add --no-cache bash

RUN mkdir /opt
ENV GEN_DIR /opt/swagger-codegen
WORKDIR ${GEN_DIR}
VOLUME ${MAVEN_HOME}/.m2/repository

ADD . ${GEN_DIR}
# Required from a licensing standpoint
COPY ./LICENSE ${GEN_DIR}

VOLUME ${MAVEN_HOME}/.m2/repository
# Required to compile swagger-codegen
COPY ./google_checkstyle.xml ${GEN_DIR}

WORKDIR ${GEN_DIR}
# Modules are copied individually here to allow for caching of docker layers between major.minor versions
# NOTE: swagger-generator is not included here, it is available as swaggerapi/swagger-generator
COPY ./modules/swagger-codegen-maven-plugin ${GEN_DIR}/modules/swagger-codegen-maven-plugin
COPY ./modules/swagger-codegen-cli ${GEN_DIR}/modules/swagger-codegen-cli
COPY ./modules/swagger-codegen ${GEN_DIR}/modules/swagger-codegen
COPY ./pom.xml ${GEN_DIR}

# Pre-compile swagger-codegen-cli
RUN mvn -am -pl "modules/swagger-codegen-cli" package

# This exists at the end of the file to benefit from cached layers when modifying docker-entrypoint.sh.
COPY docker-entrypoint.sh /usr/local/bin/

ENTRYPOINT ["docker-entrypoint.sh"]

CMD ["build"]
CMD ["help"]
Loading