Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync master to 5.0.x #5968

Merged
merged 356 commits into from
Apr 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
356 commits
Select commit Hold shift + click to select a range
2d6311c
Change the Model template (#5222)
etherealjoy Feb 25, 2020
dbd89d5
Add a link to Xero blog post (#5426)
wing328 Feb 25, 2020
ece48d0
Removal of Encoding in the Query-Params in order to prevent double En…
dwlabcube Feb 25, 2020
8b64f4d
update java webclient sample
wing328 Feb 25, 2020
f6ef4fb
[kotlin][client] Add Jackson as serialization library (#5236)
herveDarritchon Feb 25, 2020
875ff05
include kotlin jackson in CI tests (#5438)
wing328 Feb 26, 2020
427adc7
[Ruby] Add error output (#5428)
ackintosh Feb 26, 2020
6ad9fbc
Update usage.md (#5443)
johnnypeck Feb 26, 2020
ba0d673
fix NPE for enum (#5445)
wing328 Feb 27, 2020
5f547b8
[Java][WebClient] better code format (#5433)
wing328 Feb 27, 2020
50d21cb
fix issue with online service (#5461)
wing328 Feb 27, 2020
b0b46d5
Support for additionalProperties in the C generator "Client: C" solve…
michelealbano Feb 28, 2020
ea2acf0
[docs] Enable Algolia search (#5472)
jimschubert Feb 28, 2020
a4fc319
Fix #5420 add headers from configuration object (#5422)
nibytes Feb 28, 2020
0edb628
[typescript] Clean up modelPropertyNaming across generators (#5427)
amakhrov Feb 28, 2020
ca94454
Added support for msvc builds in cpp-qt5-client generator (#5468)
onze Feb 28, 2020
36b1a61
[all] Move feature set setter (#5460)
jimschubert Feb 28, 2020
d325e8c
[Swift5] small improvements to Objc compatibility (#5410)
4brunu Feb 28, 2020
40cbbbf
[scala] [template] scala sttp client (#5429)
chameleon82 Feb 28, 2020
cc20eb8
[Ruby] Fix obsolete configuration of Rubocop and Rubocop's warns (#54…
autopp Feb 28, 2020
8425097
[scala] strip model class name for all scala generators (#5439)
chameleon82 Feb 28, 2020
4603061
[Scala][sttp] various improvements (#5475)
wing328 Feb 28, 2020
857a4bf
Use the dataType if the baseType is not set (#5372)
JustinBusschau Feb 28, 2020
9e59669
[python] Adds python oneOf/anyOf models + tests (#5341)
spacether Feb 28, 2020
0ed1b83
fix CVE-2020-8130 (#5483)
wing328 Feb 29, 2020
165ad45
[go] Add Ptr method to const enum values (#5257)
jirikuncar Feb 29, 2020
d094cca
fix rubocop warns in Ruby client's custom spec (#5488)
autopp Mar 1, 2020
10d5d27
[C-libcurl] The name in API parameter should not be escaped even thou…
ityuhui Mar 1, 2020
35e90a5
[go-experimental] Support aliasing of API keys (#4940)
jirikuncar Mar 1, 2020
a03f7a5
[java] Support aliasing of API keys (#4966)
jirikuncar Mar 1, 2020
f6f5c9b
[cli][gradle] Validate now uses parseOptions w/setResolve (#5471)
jimschubert Mar 1, 2020
015b404
[kotlin]Fix ktor doesn't generate nullable types (#5258)
yutaka0m Mar 1, 2020
4c6648f
[C++] Add an option to allow having lowercase variables in models, Pi…
muttleyxd Mar 1, 2020
21e285c
[BUG] [JAVA | Spring] Cookie in parameter is not correctly generated …
jorgerod Mar 1, 2020
a10452e
Add missing `@Generated` annotation. (#5384)
ChristianCiach Mar 1, 2020
6dd76d6
[scala] [template] scala model property style (#5486)
chameleon82 Mar 2, 2020
eabdafa
add Agoda as the user (#5494)
wing328 Mar 2, 2020
4ac054f
Hide timestamp in Scala Play server samples (#5495)
wing328 Mar 2, 2020
3565dcc
Add a link to tech blog tech.medpeer.co.jp (#5498)
wing328 Mar 2, 2020
3b94ce7
Add links to blog posts about OpenAPI Generator (#5508)
wing328 Mar 3, 2020
c27d400
Typescript array alias array (#4981)
bodograumann Mar 3, 2020
51cc7c2
[core] Sanitize/underscore/camelize cache expiry (#5484)
jimschubert Mar 3, 2020
1b98f80
Update README.md
wing328 Mar 3, 2020
440aaa4
Add a link to the conference paper (#5510)
wing328 Mar 3, 2020
39aeb4a
[Slim4] Add Data Mocker middleware (#4978)
ybelenko Mar 3, 2020
33129ca
[Java][Spring][Spring-Cloud] Fix #5144 - Use conditional package decl…
sakanaou Mar 4, 2020
3e5fb67
fix(php): no need to serialize collections, Guzzle does that, fix #22…
copypasta-g Mar 4, 2020
6db09f4
[php] replace $collectionFormat with $style (#5517)
wing328 Mar 4, 2020
a5c5b2f
[BUG][scala][template] scala generate java.math.BigDecimal instead of…
chameleon82 Mar 4, 2020
3588990
[PHP] complete support for form style (#5519)
wing328 Mar 5, 2020
0ffcbfe
update jackson dependency to newer version (#5527)
wing328 Mar 6, 2020
728d03b
Fix Swift4 CI tests (#5540)
wing328 Mar 6, 2020
68a291e
Test Dart petstore client in CircleCI (#5544)
wing328 Mar 6, 2020
2001119
Add serialization of ModelComposed (#5551)
sebastien-rosset Mar 7, 2020
67e3bf5
Fixes kwargs typos, removes E501s (#5552)
spacether Mar 7, 2020
a93186b
Update generic model to support nullable properties (#5568)
siada Mar 10, 2020
ce8cdcd
[DOC] Add link to integration test wiki in CONTRIBUTING.md (#5570)
sebastien-rosset Mar 10, 2020
f402126
[Kotlin][client] fix file upload (#5548)
4brunu Mar 10, 2020
9f70b7a
update doc
wing328 Mar 10, 2020
2ee4ad1
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Mar 10, 2020
6034c09
[Java] Fix exception when OAuth2 token URL is a relative URL (#5535)
sebastien-rosset Mar 10, 2020
b1aecad
[Java] fix runtime exception when there are multiple auth methods (#5…
sebastien-rosset Mar 10, 2020
de2753d
[markdown] Fix broken links when generating markdown (#5569)
h Mar 10, 2020
ddeef51
typescript-angular: fix zone-js version for angular 8 (#5585)
macjohnny Mar 12, 2020
f22efe3
Add a link to the slide (#5590)
ackintosh Mar 13, 2020
86159cb
[Swift] fix URLSession file upload (#5546)
4brunu Mar 13, 2020
fe02dfe
[swift] add option for API prefix (#5567)
4brunu Mar 13, 2020
972bd8e
[haskell-http-client] update stack; exclude problem time versions (#5…
jonschoning Mar 13, 2020
5e6a261
[go-experimental] Do not generate HTTP signature unit test for every …
sebastien-rosset Mar 14, 2020
fc9d458
PR to solve 2 open issues on enums: #5091 and #4293 (#5477)
michelealbano Mar 16, 2020
0a32726
Adds parseFlattenSpec (#5526)
spacether Mar 17, 2020
0cf5d35
Scala-Akka: Add missing body to PATCH requests (#5605)
mkubala Mar 17, 2020
d750d66
NodeJS - Adds missing keyword (#5606)
Anu-Reddy04 Mar 17, 2020
27175c7
[jaxrs-cxf-cdi] Support PATCH httpMethod (#5574)
selliera Mar 17, 2020
b40257f
fix default value for abstract scala and scalatra server impl (#5578)
chameleon82 Mar 17, 2020
a16079c
[Java] Generated API class has wrong dataType and does not compile Is…
sebastien-rosset Mar 17, 2020
9ba7c4a
[swift5] stop hiding network error (#5603)
4brunu Mar 17, 2020
5beccd1
[scala][templates] java 8 dates support (#5291)
chameleon82 Mar 17, 2020
691c46e
update doc
wing328 Mar 17, 2020
05cb1f8
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 Mar 17, 2020
e99b3e0
Adding Response Interceptor (#5500)
ctirs Mar 17, 2020
32e4361
[k6] Add blog post about using the k6 generator (#5608)
mostafa Mar 17, 2020
47e24af
[Kotlin] Remove kotlin-reflect dependency when not needed (#5502)
adamkaplan Mar 17, 2020
d42f27c
[typescript-fetch] add interfaces, withInterfaces (#5612)
larshp Mar 17, 2020
accacfe
[scala] Regenerate akka sample (#5622)
jimschubert Mar 18, 2020
6b984a9
scala-version 2.11.12 (#5618)
sullis Mar 18, 2020
dc36d59
micheleISEP->michelealbano (#5625)
jimschubert Mar 19, 2020
457aff8
[Powershell] refactor the client generator (#5629)
wing328 Mar 19, 2020
b1efe20
[PowerShell] minor improvements and bug fixes (#5635)
wing328 Mar 19, 2020
8af3d6d
Port client updates to server (#5634)
etherealjoy Mar 19, 2020
2c1d649
Revert "scala-version 2.11.12 (#5618)"
wing328 Mar 20, 2020
96038ad
update release date
wing328 Mar 20, 2020
5de9deb
Handle negative response from the server (#5649)
etherealjoy Mar 21, 2020
1065595
Fix integration tests (Travis, CircleCI) (#5672)
wing328 Mar 23, 2020
9e145f0
[PowerShell] Fixes typo (#5648)
vvb Mar 23, 2020
6ceb3ff
Solving issue #5623 and supporting bools for C client label:"Client: …
michelealbano Mar 23, 2020
57eb1a0
[PowerShell] Fix map type (#5638)
wing328 Mar 23, 2020
5549c1d
[powershell-experimental] Protects against stackoverflow when OAS spe…
vvb Mar 23, 2020
4de97a4
Adds configuration option to skip certificate check. Fixes a typo. Fi…
vvb Mar 23, 2020
b3b3941
[k6] bugfixes to improve the output script (#5614)
mostafa Mar 23, 2020
f7fe93b
[C][Client] Check the pointer before deleting operation to avoid core…
ityuhui Mar 24, 2020
6400ce2
[kotlin][client] Add Jackson to interface properties and remove extra…
mtraynham Mar 24, 2020
6bf432a
Remove scala version in parent pom (#5647)
wing328 Mar 24, 2020
dec57d3
[asciidoc] Allow the inclusion of additional documentation to t… (#5260)
LEZIER-S2 Mar 24, 2020
19862f8
[jaxrs-reasteasy-eap] Fix invalid Bean Validation annotations for Lon…
dommaes Mar 24, 2020
63c8f5f
[PowerShell] Test powershell petstore client in Appveyor (#5674)
wing328 Mar 24, 2020
eac18a7
[PowerShell][Experimental] Better docstring (#5688)
wing328 Mar 24, 2020
9d96ab0
Nodejs express js packages update (#5675)
YishTish Mar 24, 2020
4c5785d
[go-experimental] Fix nullable support (#5414)
Mar 24, 2020
ae66c33
[kotlin][client] make base path globally configurable (#5450)
4brunu Mar 24, 2020
b242b4a
Add michelealbano to C technical committee (#5692)
wing328 Mar 24, 2020
dcd7bed
[Go][Experimental] Rename extensions from x-basetype to x-go-base-typ…
wing328 Mar 24, 2020
76a2f69
comment out powershell petstore in uptodate script
wing328 Mar 24, 2020
f740379
remove processing of http_signature_test.mustache (#5696)
sebastien-rosset Mar 24, 2020
bb38bb0
Fix generation of oneOf interfaces for oneOf usage in properties (#5400)
Mar 25, 2020
928d065
use basic parsing (#5702)
wing328 Mar 25, 2020
625c734
[python/asyncio] explicitly close client session via async context ma…
tomplus Mar 25, 2020
256a431
[gradle] Include engine option for handlebars generation (#5686)
jimschubert Mar 25, 2020
2c1ca02
[codegen][Go] Fix compilation error of generated go code when schema …
sebastien-rosset Mar 26, 2020
527d5e4
[Java] Update version of maven-surefire-plugin (#5509)
sebastien-rosset Mar 26, 2020
ce49fe5
Generator for JavaScript/Apollo Client (#5645)
erithmetic Mar 26, 2020
419bcf0
Add yutaka0m to Kotlin Technical Committee (#5716)
ackintosh Mar 26, 2020
94b962e
Add Scala client scripts to ensure-uptodate process (#5712)
wing328 Mar 26, 2020
7a01062
Minor improvments to JS apollo generator (#5714)
wing328 Mar 26, 2020
cfe3b86
[Rust Server] Handle text/xml correctly (#5660)
richardwhiuk Mar 26, 2020
c224cf4
4.3.0 release (#5721)
wing328 Mar 27, 2020
a0ca253
update samples (#5722)
wing328 Mar 27, 2020
7baa187
5211 - Use allVars instead of vars for Kotlin client (#5396)
mtraynham Mar 27, 2020
bb2112f
[C++] [Qt5] fixed cpp-client-qt5 HttpRequestWorker requests crashing …
onze Mar 27, 2020
b49128f
Fix SSL setting in checkout script (#5725)
wing328 Mar 27, 2020
2f9c20a
[C] fix decode funtion (#5642)
zhemant Mar 27, 2020
2a11509
Update bump.sh to go SNAPSHOT to version (#5727)
jimschubert Mar 28, 2020
eecc05f
Fix CI failures (#5734)
wing328 Mar 28, 2020
57dc8a4
fix file path in release_version_update_docs (#5724)
wing328 Mar 28, 2020
53a230a
better appveyor test (#5739)
wing328 Mar 29, 2020
77c1907
better readme, type mapping, new option (#5740)
wing328 Mar 29, 2020
94152c4
Remove warning for unused camel case vendor extension for Qt5 client …
etherealjoy Mar 29, 2020
01f02f6
[PS][Experimental] Add multiple server support (#5741)
wing328 Mar 29, 2020
861fcce
add default headers support (#5746)
wing328 Mar 30, 2020
daa737d
[C][Client] Support SSL client authentication for the c client (#5719)
ityuhui Mar 30, 2020
603709e
[kotlin] Fix #5247 incorrect enum parameter type for arrays (#5435)
grEvenX Mar 30, 2020
7e22b4b
[Erlang-Server] security definition context changes don't propagate t…
ehansen31 Mar 30, 2020
3316f17
[PS][PowerShell] fix passthru, use switch instead of bool (#5768)
wing328 Mar 31, 2020
de40cfc
comment out kotlin vertx server test (#5767)
wing328 Mar 31, 2020
0fd5d46
add support for common verbs (#5771)
wing328 Mar 31, 2020
01d0769
fix request.on_complete message when tempfile is nil (#5745)
tpltn Mar 31, 2020
2451309
use prepare instead of new (#5773)
wing328 Apr 1, 2020
f58ebf6
use Initialize instead of prepare (#5777)
wing328 Apr 1, 2020
12440ca
add map example (#5778)
wing328 Apr 1, 2020
4623ec8
[PS][Experimental] Better common verb handling (#5783)
wing328 Apr 2, 2020
e14e5fc
[cli][docker] Better expose version/sha information of builds (#5736)
jimschubert Apr 2, 2020
2957dd4
[cli] Add --global-property for -D replacement (#5687)
jimschubert Apr 2, 2020
04160da
[dart-dio] Fixes --model-name-suffix having no effect (#5669)
josh-burton Apr 2, 2020
3f44577
[go-experimental][go][client] Remove unreachable code in go client AP…
Apr 2, 2020
8a82f48
please add openVALIDATION Project to readme (#5534)
thecodemonkey Apr 2, 2020
65eff3b
[Csharp-client] Complex form parameters are not serialized as applica…
Bouillie Apr 2, 2020
ea2fd0f
fix scala-akka java8 serializers (#5742)
chameleon82 Apr 2, 2020
7d35268
[typescript-axios][client] Unnecessary imports occurs when using with…
tanmen Apr 2, 2020
bc12ada
use write verbose in auth, better api doc (#5804)
wing328 Apr 3, 2020
281d154
[PS][Experimental] add withHttpInfo support, fix "null" return (#5811)
wing328 Apr 3, 2020
baeb1dd
[PS][Experimental] Add tests for array of object in response (#5814)
wing328 Apr 3, 2020
9c8fb9d
[codegen] Use once(LOGGER) to reduce amount of identical warning mess…
sebastien-rosset Apr 3, 2020
3d99c58
make name cache configurabl (#5775)
sebastien-rosset Apr 3, 2020
acae76b
[codegen] Cachesize config seconds (#5816)
sebastien-rosset Apr 3, 2020
242c2e8
[Python-experimental] Documentation enhancement for oneOf schema and …
sebastien-rosset Apr 4, 2020
42e87c8
rename hostsetting, validate base url (#5821)
wing328 Apr 4, 2020
00ec8fd
fix array return (#5822)
wing328 Apr 4, 2020
af85fab
Scala akka-http server (#5758)
Bouillie Apr 4, 2020
52018c4
Minor improvements to scala akka server (#5823)
wing328 Apr 5, 2020
8a12a81
Update swagger parser to 2.0.19 (#5413)
wing328 Apr 5, 2020
3b495ba
[jaxrs-cxf-cdi] fix allOf equals and hashCode (#5756)
selliera Apr 5, 2020
166aae6
[BUG] [KOTLIN] Fix default value generation for Kotlin Strings (#5776)
ahcub Apr 5, 2020
e9c1346
tests for models for C-libcurl generator (#5699)
michelealbano Apr 5, 2020
d893ee8
use allVars to cover all properties (#5835)
wing328 Apr 6, 2020
f1325e2
support enum in parameters (#5838)
wing328 Apr 6, 2020
6cbc442
[C++] [Qt5] [Client] fixed cpp-client-qt5 HttpRequestWorker contentCo…
natanlaverde Apr 6, 2020
5dd5720
minor fix to http basic auth (#5839)
wing328 Apr 6, 2020
6cdfb7c
Scala akka http server - normalization of some vendor extensions (#5829)
Bouillie Apr 6, 2020
ff0c730
Add Bouill to the Scala technical committee (#5843)
wing328 Apr 7, 2020
5fd724f
C client generator improvements to support petstore. Solves #5836 (#5…
michelealbano Apr 7, 2020
7efa651
Add openapi.yaml file to Java clients (#5765)
nmuesch Apr 7, 2020
2ff9be6
[codegen] Fix 'super.HashCode' for oneOf and allOf Implementations (r…
jburgess Apr 7, 2020
ceef040
update mysql samples
wing328 Apr 7, 2020
22f3e59
Add default case to handle response code (#5825)
wing328 Apr 7, 2020
6bf0183
fix user id in scala tc
wing328 Apr 7, 2020
73605a0
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Apr 7, 2020
55f928a
Fix for Issue #4840 [BUG][JAVA][spring-mvc] Generated Code for Map of…
emileonhardt Apr 7, 2020
41955b1
add parent for allOf only (#5851)
wing328 Apr 8, 2020
469b218
Add pythonSrcRoot option to python servers (aiohttp/flask/blueplanet)…
cognifloyd Apr 8, 2020
31ecf73
stop error globally (#5858)
wing328 Apr 8, 2020
d599527
[PS][Experimental] Add validations to model (#5842)
wing328 Apr 9, 2020
c73f3c5
Updates to allow the setting of the dateTime format string (#5763)
etherealjoy Apr 9, 2020
7342077
[PS] Select Content-Type in the response (#5872)
wing328 Apr 9, 2020
46f3b4a
various enhancement to ps exp generator (#5875)
wing328 Apr 9, 2020
6c153bd
[C#] dependency upgrade (#5870)
wing328 Apr 10, 2020
d221237
[Csharp-client] Complex form parameters are not serialized as applica…
Bouillie Apr 10, 2020
8eefbad
docs: removes Nico from technical committee (#5883)
nicokoenig Apr 10, 2020
5c2d1ea
[PS] better handle special variables (#5885)
wing328 Apr 10, 2020
b477341
update ps doc
wing328 Apr 10, 2020
59c3a31
[PS] add file post-processing to the PowerShell generator (#5864)
wing328 Apr 10, 2020
b7dfd3b
consolidate header selection functions (#5889)
wing328 Apr 10, 2020
e9d35c5
[Java-client] Add maven-compiler-plugin in pom.xml and enable linter …
sebastien-rosset Apr 10, 2020
07cb652
Update enum.mustache (#5793)
selankon Apr 11, 2020
58dc48d
Update modelGeneric.mustache (#5378)
shwetashukla Apr 11, 2020
64c9950
Fix Scala sttp generator packages (#5890)
bkowalik Apr 11, 2020
800293c
[Dart] Fix "basic" auth method and Add Bearer token support (#5743)
gasugesu Apr 12, 2020
6a158de
Add date time format annotation on pojo for model query parameters (#…
zalito12 Apr 12, 2020
1c51d41
[mysql] Add basic SQL queries (#5757)
ybelenko Apr 12, 2020
62c346f
[enhancement] [jaxrs-spec] Add builders to models (#4930)
shybovycha Apr 12, 2020
e82546f
Update generated build files for REST Assured (#5873)
joschi Apr 12, 2020
cc09118
[Java][Feign] Bug fix in @Param annotation (#5250)
Chr1st0ph Apr 13, 2020
d81c244
[Java] Increase java compiler stack size to handle large files (#5901)
sebastien-rosset Apr 13, 2020
54a350f
Added emineo to list of companies on website (#5905)
emileonhardt Apr 13, 2020
d8b46dc
add emineo to the list
wing328 Apr 13, 2020
7dd2d3c
[swift5] fix warning (#5900)
4brunu Apr 13, 2020
aca8089
update bitwise config (#5904)
wing328 Apr 13, 2020
8af6b74
[Java] Discriminator lookup should not be case insensitive by default…
sebastien-rosset Apr 13, 2020
a6f521c
minor fix to users.yml
wing328 Apr 13, 2020
2de0e6f
Add a link to optim blog post (#5922)
wing328 Apr 14, 2020
dc9f79d
[Java] Fix inclusive max validation (#5908)
Erikmolin Apr 14, 2020
4c64870
add bearer auth support to csharp netcore (#5921)
wing328 Apr 14, 2020
c479e51
[Python][aiohttp] create venv as rule (#5913)
nhomble Apr 14, 2020
131bd4f
Fix for Result Model Name collision (#5923)
sebohdev Apr 14, 2020
533d686
[Dart] Remove content type from header when content type is not speci…
gasugesu Apr 14, 2020
747cd08
update dependency for java client (#5926)
wing328 Apr 14, 2020
8a17ae6
Update axios dependency to the new minor version 0.19.0 (#5867)
chandra-gh Apr 14, 2020
33850a1
fixed README/doc of bearer auth support for csharp-netcore (#5931)
FaFre Apr 15, 2020
d57ceb8
fix duplicated semi-colon in c# model (#5934)
wing328 Apr 15, 2020
827904f
[Python-experimental] Use DER encoding for ECDSA signatures, add para…
sebastien-rosset Apr 15, 2020
91cfabd
[Python-experimental] Fix TypeError: unhashable type: 'list' (#5810)
sebastien-rosset Apr 16, 2020
7a02423
[python/asyncio] fix passing proxy parameters to aiohttp (#5943)
tomplus Apr 16, 2020
41664b3
[C][Client]Fix data lost when libcurl write-data callback function is…
ityuhui Apr 16, 2020
efae171
[typescript-axios][client] Allow apiKey type Promise. (#5953)
tanmen Apr 16, 2020
5acbbf8
Add YITU Technology to the user list (#5967)
wing328 Apr 17, 2020
896867b
Use model as body param for generateAliasAsModel (#4569)
bodograumann Apr 17, 2020
faf6f19
Merge remote-tracking branch 'origin/master' into 5.0-sync-master
wing328 Apr 17, 2020
8fa7684
resolve merge conflicts in the core generator files
wing328 Apr 17, 2020
1574250
fix merge conflicts in pom.xml
wing328 Apr 17, 2020
c1cea7f
Resolve Elm merge conflicts
eriktim Apr 20, 2020
3ad1646
[Rust Server] Fix up merge conflicts
richardwhiuk Apr 20, 2020
2cd5bc4
Update samples
richardwhiuk Apr 20, 2020
935f610
[Rust Server] Add debug log for rust-server-petstore.sh
richardwhiuk Apr 20, 2020
5a9b0fc
update samples
wing328 Apr 20, 2020
fc7dda8
update more samples
wing328 Apr 21, 2020
0f8b0ed
fix dart openapi-generator version
wing328 Apr 21, 2020
15d0982
remove deprecated c# files
wing328 Apr 21, 2020
f80a5b3
update meta codegen
wing328 Apr 21, 2020
98ea048
fix port in pom.xml
wing328 Apr 21, 2020
bf4c529
fix port in sample
wing328 Apr 21, 2020
ac5de91
update jaxrs cxf version
wing328 Apr 21, 2020
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.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ packages/
.vagrant/
.vscode/
**/.vs
bin
.factorypath

.settings
Expand Down
37 changes: 32 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ before_cache:
- rm -fr $HOME/.m2/repository/org/openapitools/

cache:
yarn: true
directories:
- $HOME/.m2
- $HOME/.ivy2
Expand Down Expand Up @@ -56,6 +57,8 @@ addons:
- petstore.swagger.io

before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.0
- export PATH="$HOME/.yarn/bin:$PATH"
# install rust
- curl https://sh.rustup.rs -sSf | sh -s -- -y -v
# required when sudo: required for the Ruby petstore tests
Expand Down Expand Up @@ -107,7 +110,7 @@ before_install:
gpg --keyserver keyserver.ubuntu.com --recv-key $SIGNING_KEY ;
gpg --check-trustdb ;
fi;
- pushd .; cd website; npm install; popd
- pushd .; cd website; yarn install; popd

install:
# Add Godeps dependencies to GOPATH and PATH
Expand Down Expand Up @@ -174,17 +177,41 @@ after_success:
fi;
fi;
## docker: build and push openapi-generator-online to DockerHub
- if [ $DOCKER_HUB_USERNAME ]; then echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin && docker build -t $DOCKER_GENERATOR_IMAGE_NAME ./modules/openapi-generator-online && 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 && echo "Pushed to $DOCKER_GENERATOR_IMAGE_NAME"; fi; fi
- if [ $DOCKER_HUB_USERNAME ]; then
echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin;
export cli_version=$(\mvn -o org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\[');
export build_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ");
docker build --label=org.opencontainers.image.created=$build_date --label=org.opencontainers.image.title=openapi-generator-online --label=org.opencontainers.image.revision=$TRAVIS_COMMIT --label=org.opencontainers.image.version=$cli_version -t $DOCKER_GENERATOR_IMAGE_NAME ./modules/openapi-generator-online;
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 && echo "Pushed to $DOCKER_GENERATOR_IMAGE_NAME";
fi;
fi;
## docker: build cli image and push to Docker Hub
- if [ $DOCKER_HUB_USERNAME ]; then echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin && cp docker-entrypoint.sh ./modules/openapi-generator-cli && docker build -t $DOCKER_CODEGEN_CLI_IMAGE_NAME ./modules/openapi-generator-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 && echo "Pushed to $DOCKER_CODEGEN_CLI_IMAGE_NAME"; fi; fi
- if [ $DOCKER_HUB_USERNAME ]; then
echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin;
cp docker-entrypoint.sh ./modules/openapi-generator-cli;
export cli_version=$(\mvn -o org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\[');
export build_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ");
docker build --label=org.opencontainers.image.created=$build_date --label=org.opencontainers.image.title=openapi-generator-cli --label=org.opencontainers.image.revision=$TRAVIS_COMMIT --label=org.opencontainers.image.version=$cli_version -t $DOCKER_CODEGEN_CLI_IMAGE_NAME ./modules/openapi-generator-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;
echo "Pushed to $DOCKER_CODEGEN_CLI_IMAGE_NAME";
fi;
fi;
## publish latest website, variables below are secure environment variables which are unavailable to PRs from forks.
- if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
cd website;
git config --global user.name "${GH_NAME}";
git config --global user.email "${GH_EMAIL}";
echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc;
npm install;
GIT_USER="${GH_NAME}" npm run-script publish-gh-pages;
yarn install;
GIT_USER="${GH_NAME}" yarn run publish-gh-pages;
fi;

env:
Expand Down
13 changes: 7 additions & 6 deletions CI/.drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ steps:
image: haskell:8.6.5
commands:
- (cd samples/client/petstore/haskell-http-client/ && stack --install-ghc --no-haddock-deps haddock --fast && stack test --fast)
# below dart tests moved to circle ci
# test Dart 2.x petstore client
- name: dart2x-test
image: google/dart
commands:
- (cd samples/client/petstore/dart-jaguar/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
- (cd samples/client/petstore/dart-jaguar/flutter_petstore/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
- (cd samples/client/petstore/dart2/petstore && pub get && pub run test)
#- name: dart2x-test
# image: google/dart
# commands:
# - (cd samples/client/petstore/dart-jaguar/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
# - (cd samples/client/petstore/dart-jaguar/flutter_petstore/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
# - (cd samples/client/petstore/dart2/petstore && pub get && pub run test)
# test Java 11 HTTP client
- name: java11-test
image: openjdk:11.0
Expand Down
31 changes: 12 additions & 19 deletions CI/bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ workflows:
mvn package -Dorg.slf4j.simpleLogger.defaultLogLevel=error
title: Build openapi-generator
- script@1.1.5:
title: Update Swift4 samples
title: Update Swift samples
inputs:
- content: |
#!/usr/bin/env bash

set -e

sh bin/swift4-all.sh
sh bin/swift5-all.sh
- script@1.1.5:
title: Run Swift4 tests
inputs:
Expand All @@ -49,15 +50,6 @@ workflows:

./samples/client/petstore/swift4/swift4_test_all.sh
./samples/client/test/swift4/swift4_test_all.sh
- script@1.1.5:
title: Update Swift5 samples
inputs:
- content: |
#!/usr/bin/env bash

set -e

sh bin/swift5-all.sh
- script@1.1.5:
title: Run Swift5 tests
inputs:
Expand All @@ -66,14 +58,15 @@ workflows:

set -e

./samples/client/petstore/swift5/swift5_test_all.sh
./samples/client/test/swift5/swift5_test_all.sh
- script@1.1.5:
title: Run all bin scripts
inputs:
- content: |-
#!/usr/bin/env bash

set -e
# comment out the following as it's causing timeout
# - script@1.1.5:
# title: Run all bin scripts
# inputs:
# - content: |-
# #!/usr/bin/env bash
#
# set -e
#
# ./bin/run-all-petstore

./bin/run-all-petstore
27 changes: 25 additions & 2 deletions CI/circle_parallel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,23 @@ NODE_INDEX=${CIRCLE_NODE_INDEX:-0}

set -e

function cleanup {
# Show logs of 'petstore.swagger' container to troubleshoot Unit Test failures, if any.
docker logs petstore.swagger # container name specified in circle.yml
}

trap cleanup EXIT

if [ "$NODE_INDEX" = "1" ]; then
echo "Running node $NODE_INDEX to test 'samples.circleci' defined in pom.xml ..."
#cp CI/pom.xml.circleci pom.xml
java -version
# Install golang version 1.14
go version
sudo mkdir /usr/local/go1.14
wget -c https://dl.google.com/go/go1.14.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local/go1.14
export PATH="/usr/local/go1.14/go/bin:$PATH"
go version

mvn --quiet verify -Psamples.circleci -Dorg.slf4j.simpleLogger.defaultLogLevel=error
mvn --quiet javadoc:javadoc -Psamples.circleci -Dorg.slf4j.simpleLogger.defaultLogLevel=error

Expand Down Expand Up @@ -43,13 +56,23 @@ elif [ "$NODE_INDEX" = "2" ]; then
# install curl
sudo apt-get -y build-dep libcurl4-gnutls-dev
sudo apt-get -y install libcurl4-gnutls-dev

# run integration tests
mvn --quiet verify -Psamples.misc -Dorg.slf4j.simpleLogger.defaultLogLevel=error
else
echo "Running node $NODE_INDEX to test 'samples.circleci.jdk7' defined in pom.xml ..."
sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
java -version
#cp CI/pom.xml.circleci.java7 pom.xml

# install dart2
sudo apt-get update
sudo apt-get install apt-transport-https
sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
sudo apt-get update
sudo apt-get install dart
export PATH="$PATH:/usr/lib/dart/bin"

mvn --quiet verify -Psamples.circleci.jdk7 -Dorg.slf4j.simpleLogger.defaultLogLevel=error
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OpenAPI Petstore

This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\

OpenAPI spec version: 1.0.0
The version of the OpenAPI document: 1.0.0

-->
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Expand Down Expand Up @@ -47,16 +47,16 @@ OpenAPI spec version: 1.0.0
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll</HintPath>
</Reference>
<Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>
Expand All @@ -72,7 +72,8 @@ OpenAPI spec version: 1.0.0
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="**\*.cs" Exclude="obj\**" />
<Compile Include="**\*.cs"
Exclude="obj\**"/>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand Down
Loading