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

Pull in latest upstream code #62

Merged
merged 757 commits into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
757 commits
Select commit Hold shift + click to select a range
2584c9d
add fromString() method to enums as required by JAX RS spec (#7494)
upachler Feb 14, 2022
73ed743
update samples
wing328 Feb 14, 2022
c937bae
fixes #11579: Java RestTemplate Mustache template doesn't use reserve…
amra Feb 14, 2022
140f633
[csharp-netcore] Nrt (nullableReferenceTypes) refactor (#11452)
devhl-labs Feb 14, 2022
dce8b80
[Python] fix api file name & api var name (#11051)
JoeCqupt Feb 14, 2022
5346d0b
update samples
wing328 Feb 14, 2022
ec51e9c
update samples
wing328 Feb 14, 2022
905e59c
[PHP] Allows passing filename to deserialize (#11582)
jtreminio Feb 14, 2022
380aaa5
Remove JDK7 support from Java Spring generators (#11561)
wing328 Feb 14, 2022
00e2349
Decomission threetenbp support. (#11608)
cachescrubber Feb 15, 2022
5c0d861
add link to presentation
wing328 Feb 15, 2022
7555018
Add default value (#11600)
matthiasloeu Feb 15, 2022
ba04720
fix #6134 by considering the type List<File> (#11361)
lschwahn Feb 15, 2022
a4fcd1c
avoid Double Brace Initialization (DBI) (#11609)
wing328 Feb 15, 2022
d7b812a
[charp-netcore] Constructor Improvements (#11502)
devhl-labs Feb 15, 2022
52e3265
[Java][RestTemplate] Use class level RestTemplate for uri encoding (#…
Feb 15, 2022
878f6e5
[General] Better code format (#11612)
wing328 Feb 15, 2022
5afec1f
Spring hide controller impl (#11611)
cachescrubber Feb 16, 2022
274e4b1
Bump ajv from 6.6.2 to 6.12.6 in /website (#11584)
dependabot[bot] Feb 16, 2022
5bc53ec
Bump shelljs from 0.8.3 to 0.8.5 in /website (#11324)
dependabot[bot] Feb 16, 2022
d0d0a05
Support email validation in kotlin-spring (#11617)
Feb 16, 2022
c7367c2
[kotlin] add missing import, better code format for kotlin generators…
wing328 Feb 16, 2022
035736f
[java] No @NotNull annotation for readOnly (required) attributes - fi…
daniel-sc Feb 16, 2022
b165d2d
[python-experimental] fn + method signature improvements (#11529)
spacether Feb 16, 2022
986446c
Migrate JAX-RS server tests to Github action (#11632)
wing328 Feb 17, 2022
0a68d83
[Java] move some client tests to Github actions (#11634)
wing328 Feb 17, 2022
b979ecc
Add Github action file to test Java clients (#11633)
wing328 Feb 17, 2022
6d9e349
Update kotlin vertx server dependencies (#11631)
wing328 Feb 17, 2022
f1ad3a8
[Protobuf-Schema] Add enum prefix (#11548)
Yurzel Feb 17, 2022
1b8dae1
typescript-fetch: Support deprecated parameters, operations (#11523)
ranhalprin Feb 17, 2022
d00a5c3
update samples
wing328 Feb 17, 2022
03cca89
:pencil2: Fixed typo error on java generator config-help command (#11…
rcebrian Feb 18, 2022
1f6b3eb
Remove go-deprecated generator (#11645)
wing328 Feb 18, 2022
9517a95
[java] enhance unit tests for JavaJerseyServerCodegen (#11643)
sullis Feb 18, 2022
d6a97b0
Remove dummy variable declaration for context.Context from generated …
moznion Feb 18, 2022
d45cb65
[Java][Native] Fix an issue leading to an altered String parameter wh…
Paul-Etienne Feb 18, 2022
0d4dba1
[Python] python regex validation generation (#11525)
aaronatbissell Feb 18, 2022
d030ac1
better code format in go generators (#11656)
wing328 Feb 19, 2022
d530e1b
minor enhancement to code format in go client (#11657)
wing328 Feb 19, 2022
c161358
[Csharp][aspnet] Aspnet 6.0 Support (#10619)
Blackclaws Feb 19, 2022
2918b87
better code format in c#, aspnet generators (#11662)
wing328 Feb 19, 2022
3a119b9
Add tests for Aspnet 6, minor bug fixes (#11663)
wing328 Feb 19, 2022
840f36a
maven-compiler-plugin 3.10.0 (#11660)
sullis Feb 19, 2022
4a7f46c
[java] openapi-generator-maven-plugin: add jaxrs-jersey2 test (#11658)
sullis Feb 19, 2022
3c8f249
[java] logback 1.2.10 (#11659)
sullis Feb 19, 2022
c5745f8
[java] jersey 2.35 (#11661)
sullis Feb 20, 2022
c8d0dd1
add print-nanny.com to project list (#11667)
leigh-johnson Feb 20, 2022
c8f075d
jackson 2.13.1 (#11669)
sullis Feb 20, 2022
4361790
[java] jaxrs swagger-core 1.6.5 (#11668)
sullis Feb 20, 2022
aec4a12
archunit 0.23.0 (#11670)
sullis Feb 21, 2022
636e875
update ArchUnit rules (#11671)
sullis Feb 21, 2022
bdb037c
kotlin 1.6.10 (#11673)
sullis Feb 21, 2022
df05e6f
Update parser to 2.0.29 (#11388)
wing328 Feb 21, 2022
735dae4
[#11323] Fixed wrong clearing of CodegenModel#hasEnum field (#11653)
Feb 21, 2022
8721999
add java spring technical committee
wing328 Feb 21, 2022
7997022
rollback curl_list_free keyword (#11677)
minerba Feb 22, 2022
7dcfe62
Properly encode exploded query params in url (#11682)
sorin-florea Feb 22, 2022
f59c07b
Add Model Docs to scala-akka generator as defined in its README (#11684)
nMoncho Feb 22, 2022
df39875
fix buils warning in java native client (#11688)
wing328 Feb 22, 2022
182fe93
[Java][Spring] fix unhandledException not working in combination wit…
daberni Feb 23, 2022
16457d0
test spring-boot-defaultInterface-unhandledException in github workflow
wing328 Feb 23, 2022
6e7c39e
validate pom.xml files (#11672)
sullis Feb 23, 2022
266cd5d
[swift5][client] remove apiResponseQueue in the clients that don't ha…
4brunu Feb 23, 2022
7bda473
Fix sonarqube warnings / code smells from the generated code. (#11702)
JFCote Feb 24, 2022
ab63786
[Python] remove default content-type in the request (#10782)
kevchentw Feb 24, 2022
d153134
Fixed RFC3999DateFormat clone NPE (#11705)
chriswhite199 Feb 24, 2022
ae86945
Add test for RFC3999DateFormat clone method (#11706)
wing328 Feb 24, 2022
c5213e3
Support arrays within deepobjects (#11699)
Reinhard-PTV Feb 24, 2022
237706d
[cpp-restsdk] Change build folder structure to match include folder s…
srgbtl Feb 24, 2022
2daa739
update polly to newer version 7.2.3 (#11714)
wing328 Feb 25, 2022
aa63ea0
Fix Perl client header params (#11713)
7474 Feb 25, 2022
2ff8bd9
comment out go-gin-api-server test
wing328 Feb 25, 2022
8b74053
[kotlin-spring] fix #9902 use coroutine Flow for arrays in delegate w…
giveadamakick Feb 25, 2022
258b605
Suppress double double quotes when generating query parameters (#11627)
bamapookie Feb 25, 2022
d170829
Bump actions/setup-dotnet from 1 to 2 (#11722)
dependabot[bot] Feb 26, 2022
d20a32f
fix: avoid generic NPE when refering to missing schema (#11718)
tomasbjerre Feb 26, 2022
f0fd944
Support validation for arrays for JavaJaxRS and a test to validate th…
Reinhard-PTV Feb 26, 2022
f774115
Bump url-parse from 1.5.3 to 1.5.10 in /website (#11723)
dependabot[bot] Feb 26, 2022
9a33f99
fix typos
wing328 Feb 26, 2022
51ecfcd
Expose proxy settings for Ruby Faraday (#11692)
sirwolfgang Feb 26, 2022
1cd4f3b
update ruby samples
wing328 Feb 26, 2022
0e14afc
fix maven-wrapper.properties filename typo (#11727)
wing328 Feb 26, 2022
5c673d8
[typescript-angular] only support Angular v9+ (#11726)
wing328 Feb 26, 2022
4d6b733
fix typo with camelUseDefaultValidationtErrorProcessor (#11728)
wing328 Feb 26, 2022
e35a127
Simplify forward declaration detection (#11490)
dschmidt Feb 26, 2022
03f3fd0
Bug Fix: Cast from QByteArray to std::runtime_error (#11594)
itay-grudev Feb 26, 2022
c3c8251
update samples for cpp-qt client
wing328 Feb 26, 2022
33ec054
fix typo in the comments (#11729)
wing328 Feb 26, 2022
f1d0724
[java] junit 4.13.2 (#11733)
sullis Feb 27, 2022
33b8914
[JavaSpring] Multipart causing HttpMediaTypeNotSupportedException whe…
redamessoudi Feb 27, 2022
b0877a1
fix oneOf discriminator lookup in java okhttp-gson client (#11735)
wing328 Feb 27, 2022
319ccbd
update samples
wing328 Feb 27, 2022
a1da4c9
Enhance scalatra server codegen to include openapi info and package d…
ravinallappan Feb 27, 2022
efe90de
fix java version in check-supported-versions worfklow
wing328 Feb 27, 2022
7d225aa
replace tabs with 4-spaces
wing328 Feb 27, 2022
5764469
[Java] Add useOneOfDiscriminatorLookup option (#11736)
wing328 Feb 27, 2022
6839848
update maven-javadoc-plugin to newer version (#11737)
wing328 Feb 27, 2022
67b3a3f
archunit 0.23.1 (#11739)
sullis Feb 27, 2022
433d130
openrewrite 7.19.0 (#11740)
sullis Feb 27, 2022
5b9efb6
[Java] Java class assert (#11738)
borsch Feb 27, 2022
76d224f
removed eol frameworks (#11532)
devhl-labs Feb 28, 2022
d2b8098
fix compilation errors in the C# client generator
wing328 Feb 28, 2022
9d86d1d
fix typo in java feign client (#11751)
wing328 Mar 1, 2022
bdfca5b
fix typo in cpp qt client (#11752)
wing328 Mar 1, 2022
a9c27b7
Fix slack join links in documentation (#11753)
erkkinen Mar 1, 2022
4daead1
[Java] Fix reactor-netty dependency (#11747)
micopiira Mar 1, 2022
a5952bf
[jaxrs-cxf-cdi] mark deprecated api methods (#11755)
selliera Mar 1, 2022
e374005
[Ada] New options to choose the Ada support library in client and ser…
stcarrez Mar 1, 2022
417d694
[scala-sttp] fix enumeration operator constant name collision (#10596)
bgong-mdsol Mar 1, 2022
dfc471d
LDS-2228 : remove undefined headers (#11757)
MarioBotDuComptoirDesPharmacies Mar 1, 2022
f03b1e7
[ruby] Allow boolean for discriminator value in oneOf handling (#11750)
ykitamura-mdsol Mar 1, 2022
1b6ab63
Add beanQualifiers option to kotlin-server (#11745)
vlsergey Mar 1, 2022
21f649e
[Rust] Support for withAWSV4Signature option (#11690)
jerome-jutteau Mar 1, 2022
6a7fc38
[#4650] Fix StackOverflowError for recursive composite schemas (#11620)
Mar 1, 2022
53c2c66
#8881: add ESM to typescript-fetch (#11720)
sdoeringNew Mar 2, 2022
c87f33d
remove typescript angular v6, v7 samples
wing328 Mar 2, 2022
6ffe28d
Bump actions/checkout from 2 to 3 (#11764)
dependabot[bot] Mar 2, 2022
fd114da
Bump follow-redirects from 1.14.7 to 1.14.9 in /website (#11762)
dependabot[bot] Mar 2, 2022
2130bf4
add davidgamero to typescript tc (#11769)
wing328 Mar 2, 2022
876f2fe
[typescript-angular] update package.json (v11) to address security al…
wing328 Mar 2, 2022
8c023fa
replace tabs with spaces in rust generator
wing328 Mar 2, 2022
5ad9f18
[DefaultCodegen] GetReferenceHeader for both calls of headerToCodegen…
Mar 2, 2022
00ec168
Bump actions/download-artifact from 2.1.0 to 3 (#11777)
dependabot[bot] Mar 3, 2022
3656ec5
[Java] remove samples & replace them with file asserts (#11773)
borsch Mar 3, 2022
9bccd43
Bump actions/upload-artifact from 2.3.1 to 3 (#11787)
dependabot[bot] Mar 4, 2022
2e0dc57
[Java][WebClient] allow sync requests (#11780)
borsch Mar 4, 2022
5128e88
Fix for issue #11779 (#11781)
pichlau Mar 4, 2022
79d9193
Confluence Wiki - Escape special characters (#11786)
chatelao Mar 4, 2022
23e44ab
Fix jaxrs-spec to run with JDK 17 (#11798)
jsyrjala Mar 5, 2022
31f0c65
Fix example generation when missing models (#11805)
impl Mar 5, 2022
877812d
[Java] use x-implements (#11784)
borsch Mar 6, 2022
9efda42
fixed csharp netcore conditional serialization (#11710)
emajo Mar 6, 2022
087c5a2
update c# samples
wing328 Mar 6, 2022
284fbdf
Fix list keyword (#11806)
minerba Mar 6, 2022
f33ace6
update c samples
wing328 Mar 6, 2022
a1862ff
Fix ClientCertificates plumbing for csharp config. (#11711)
paritoshgote-msft Mar 6, 2022
7987252
add tests, better code format (#11814)
wing328 Mar 6, 2022
03d4d75
update C# samples
wing328 Mar 6, 2022
188f37f
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 Mar 6, 2022
7466bc2
[Client:C] [C-libcurl] cmake support specify path (#11790)
katepangLiu Mar 6, 2022
be8567f
V4 Azure functions + some tweaks (#11345)
Abrhm7786 Mar 6, 2022
382e2a2
Document all used vendor extensions in specific generator (#11797)
borsch Mar 6, 2022
482032d
fix warnings due to incorrect docstring (#11815)
wing328 Mar 7, 2022
9a12bce
skip javadoc for jdk17 in tests
wing328 Mar 7, 2022
c22997b
Cleanup Jackson type info mess fixes (#9441) (#11691)
rpost Mar 7, 2022
1b045a6
skip tests for jdk17 in github actino
wing328 Mar 7, 2022
0e4eb50
Fix typo in supportAndroidApiLevel25AndBelow help (#11821)
skwasniak Mar 8, 2022
00ef435
[swift5][client] create comment to warn about android api version (#1…
4brunu Mar 8, 2022
16fd760
[Ruby] Add x-group-parameters support to Ruby client (#11825)
harmony7 Mar 8, 2022
b1c6513
[Ruby] Added Support for Building Models from Hashes with Strings as …
ckoegel Mar 8, 2022
94b1440
[Python] Add Support for Content-Disposition Header without filename …
ckoegel Mar 8, 2022
6bc50ee
Added outputAsLibrary, onlyInterfaces additional-properties to go-ser…
sdstolworthy Mar 8, 2022
a4e1717
Fix Go template for oneOfs with primitive types (#11826)
impl Mar 8, 2022
7ed7930
fixed wrong intendation error (#11834)
wirthual Mar 9, 2022
fd1ede6
[Python] Added Ability to Initialize Models by Passing in Dictionarie…
ckoegel Mar 9, 2022
26f65de
Add auto-generated doc to scala-akka client (#11840)
nMoncho Mar 10, 2022
cbdcf8c
update samples
wing328 Mar 10, 2022
fb2c41c
[Java] implicit headers regex (#11819)
borsch Mar 10, 2022
22a1906
[csharp-netcore] Upgrade to System.Text.Json (#11741)
devhl-labs Mar 10, 2022
6f37409
Fix nullable models embedded in allOf (#11804)
impl Mar 10, 2022
795db0c
Fix incorrect FileParameter deserialization in csharp-netcore (#11850)
NoTuxNoBux Mar 11, 2022
7ac90ed
[Go] add more tests to cover more cases (#11849)
wing328 Mar 11, 2022
a3c5bbb
Added field and class level annotations to the pojo.mustache (#11775)
jayfray12 Mar 13, 2022
266de25
[Python] Added Support for Validating and Converting Model Attributes…
ckoegel Mar 14, 2022
7ea5d15
[Go] fix oneOf naming (#11863)
wing328 Mar 15, 2022
2db3070
Update java (okhttp-gson) client dependencies to newer versions (#11877)
wing328 Mar 15, 2022
82b7dee
update java jersey2 dependencies to newer versions (#11878)
wing328 Mar 15, 2022
834b502
[typescript-angular] Prevent syntax error when using isDateTime=true …
HexagonSun Mar 15, 2022
213828d
[PHP] Fix deprecations in PHP 8.1 (#11743)
satackey Mar 15, 2022
5c4181d
[php-slim4] Tiny config comments (#11875)
ybelenko Mar 15, 2022
a44c7e0
[php-slim4] Add minimal GitHub Action config (#11874)
ybelenko Mar 15, 2022
47f0715
[Micronaut] Add support for OffsetDateTime for Micronaut generators (…
andriy-dmytruk Mar 15, 2022
ecbd164
fix missing type in StringToArrayModelMapping (#11856)
bgong-mdsol Mar 15, 2022
86281a2
[charp-netcore] Fixed property and parameter sorting (#11807)
devhl-labs Mar 15, 2022
941d484
minor fix to java okhttp-gson pom.xml
wing328 Mar 15, 2022
4e602b6
[Rust][Server] Upgrade to tokio v1 (#11873)
sransara Mar 16, 2022
9a1e6d7
[Java][okhttp-gson] update junit to 5.8.2 from 4.13.2 (#11882)
wing328 Mar 16, 2022
a0a1839
fix for typescript deno (#11887)
chibat Mar 16, 2022
03b24b5
MustacheTemplateUpdate csharp (#11870)
maciejcymanski132 Mar 16, 2022
a3fb571
update C# samples
wing328 Mar 16, 2022
e07c7d1
[Feature][Java/Spring] Support Discriminator Based OneOf Interface (#…
cachescrubber Mar 16, 2022
860b634
[Java] update list of vendor extensions (#11891)
borsch Mar 17, 2022
fa9c7a6
[java][native] add connection timeout (#11890)
bgong-mdsol Mar 18, 2022
a4d3204
fix warning, update build.gradle, build.sbt (#11896)
wing328 Mar 18, 2022
7cbdf4c
[java][jersey2] update junit from 4.x to 5.x (major upgrade) (#11898)
wing328 Mar 18, 2022
5d8b80a
[Java] rename x-contentType to x-content-type (#11895)
wing328 Mar 18, 2022
b00c9d5
rename extension to conform to kebab-case (#11894)
wing328 Mar 18, 2022
3b7ea5c
[Java][JaxRS-Spec] fix builder generation (#11892)
borsch Mar 18, 2022
8e68ff7
[swift5][client] fix non public visibility modifier for NullEncodable…
4brunu Mar 18, 2022
ffd758d
fix: [csharp-netcore]: oneOf fixes for Primitive types (#11427)
jafin Mar 18, 2022
0295839
fix test failure due to different error message based on jdk version …
wing328 Mar 18, 2022
1fe2eb6
Fix undefined object in Python model __copy__ template (#11792)
tuanchien Mar 19, 2022
571e635
[csharp][netcore] better tests for oneOf with primitive types (#11907)
wing328 Mar 19, 2022
56e7507
Fix typo in final Info message (#11914)
mgrojo Mar 19, 2022
0ee0999
Update maven plug-in dependencies to newer versions (#11915)
wing328 Mar 20, 2022
bc2624d
use jdk8 in msf4j code (#11918)
wing328 Mar 20, 2022
87a5182
[Python] - Migrate enable per request authentification in new python …
MarioBotDuComptoirDesPharmacies Mar 20, 2022
9ab664b
Remove myself from Python community (#11919)
Jyhess Mar 21, 2022
caa0ba0
only support jdk8+ (#11917)
wing328 Mar 21, 2022
f470048
fix the exception in python flask option handling (#11916)
wing328 Mar 21, 2022
8acc502
[C#/.NET] remove duplicate CLI option (#11925)
borsch Mar 21, 2022
5ee2de9
Remove ackintosh from core team and technical committee (#11928)
ackintosh Mar 21, 2022
0a48976
[BUG] KOTLIN URI gerneration for URIs with default value misses the p…
StefanMMS Mar 21, 2022
e159919
List/Map emptiness checking and stream variation (#11920)
rafgoncas1 Mar 21, 2022
ba76ec9
Potencial NullPointerException fixes (#11923)
Mar 21, 2022
5e32f0c
[java][resttemplate] using uriBuilderFactory to encode all template v…
samuelo Mar 21, 2022
2455c84
[Java][Spring] Fix Array response (#11909)
borsch Mar 21, 2022
7a78e35
Remove obsolete imports (#11899)
pmwmedia Mar 21, 2022
36f0dd0
Only allow v3 input specs into python-experimental (#11931)
spacether Mar 22, 2022
196b9f2
[php] use http_build_query for deepObject support (#11225)
nadar Mar 22, 2022
4f9950b
Update recommended .htaccess (#11939)
ybelenko Mar 22, 2022
8580e9f
Bump actions/cache from 2.1.7 to 3 (#11934)
dependabot[bot] Mar 22, 2022
61245fc
[Python] abbreviate dictionary membership testing idiom (#11905)
Smattr Mar 22, 2022
7b59e60
[php-slim4] Add lazy CORS implementation (#11941)
ybelenko Mar 23, 2022
2c4daea
[Ruby] Added Support for Binary Media Data Return (#11254)
ckoegel Mar 23, 2022
5581cbf
fix markdown table format (#11955)
chanjarster Mar 24, 2022
7370c4d
update java samples
wing328 Mar 24, 2022
eea5260
Add documentation for scoop installation (#11948)
MartinDelille Mar 24, 2022
85df431
Replace maps with models to reduce casting (#11913)
borsch Mar 24, 2022
7cc995a
[Typescript-node] fix handling of --model-name-prefix|suffix options …
ty-v1 Mar 24, 2022
db53fdf
Revert "[Typescript-node] fix handling of --model-name-prefix|suffix …
macjohnny Mar 24, 2022
5fa08b9
[Typescript-node] fix handling of --model-name-prefix|suffix options,…
ty-v1 Mar 25, 2022
50bf764
Spring Boot Dependency Upgrade (#11960)
cachescrubber Mar 26, 2022
8103ccd
[Java][Spring] default value for list parameter (#11961)
borsch Mar 26, 2022
411f512
remove PR checklist 4th item before the 6.0.0 release
wing328 Mar 27, 2022
36453bc
fix docs example command option (#11978)
mkusaka Mar 27, 2022
0a9429f
[C][Client] Free list or map memory when json parsing fails (#11866)
ityuhui Mar 27, 2022
efefbaf
[GoClient] Fixed StringIndexOutOfBoundsException when multiple proper…
kandaaaaa Mar 27, 2022
6c1b68d
[Java][okhttp-gson] better support for additional properties (#11964)
wing328 Mar 27, 2022
d86b484
update parser to 2.0.31 (#11981)
wing328 Mar 27, 2022
081619e
Bump minimist from 1.2.0 to 1.2.6 in /website (#11971)
dependabot[bot] Mar 27, 2022
956ad2a
[php] Fix JSON object deserialization (#8481)
ybelenko Mar 28, 2022
115e363
add links to blog post, youtube video
wing328 Mar 28, 2022
21c399f
[typescript-fetch] Add stringEnums option (#11976)
mkusaka Mar 28, 2022
4cac093
[Micronaut] [Server] Add support for security roles with extension (#…
andriy-dmytruk Mar 29, 2022
8493a4e
fix #11342 Use https://search.maven.org/ for Maven Central links (#11…
mikkomaunu Mar 29, 2022
69c69df
[CircleCI] update image (#11929)
wing328 Mar 29, 2022
9ce3d2b
Fix form serialization typo from #11225 (#11990)
ybelenko Mar 29, 2022
e268f46
Test PHP client in Travis CI (#11996)
wing328 Mar 29, 2022
b3079f0
Switch expected and actual params in PHPUnit tests (#11992)
ybelenko Mar 29, 2022
5eacc0d
undo changes to CI/circle_parallel.sh
wing328 Mar 29, 2022
c71bc25
[Java][Spring] use tag description from specification (#12000)
borsch Mar 30, 2022
6a3a385
convert header parameter to string (#11991)
bgong-mdsol Mar 30, 2022
40d3331
[csharp-netcore] Inject json options (#11862)
devhl-labs Mar 30, 2022
8eb818c
skip php 8.1.4 installation by using cache
wing328 Mar 30, 2022
bb12861
Add Mastercard to the company list (#12003)
jaaufauvre Mar 30, 2022
a6bcef5
[PYTHON] Setting default value for Required variables (#10809)
the-akhil-nair Mar 30, 2022
0c825ad
update exceptions output (#11989)
ckoegel Mar 30, 2022
a4e2dde
Fixes issue where object in query parameter generates a NPE (#12010)
spacether Mar 30, 2022
6debc0b
Merge branch 'master' of ssh://github.com/OpenAPITools/openapi-genera…
vvb Mar 31, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
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.
302 changes: 194 additions & 108 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,118 +1,204 @@
version: 2
version: 2.1
commands: # a reusable command with parameters
command_build_and_test:
parameters:
nodeNo:
default: "0"
type: string
steps:
# Restore the dependency cache
- restore_cache:
keys:
# Default branch if not
- source-v2-{{ .Branch }}-{{ .Revision }}
- source-v2-{{ .Branch }}-
- source-v2-
# Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
- checkout
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
# In many cases you can simplify this from what is generated here.
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
# This is based on your 1.0 configuration file or project settings
- run:
command: sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java; sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac; echo -e "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> $BASH_ENV
- run:
command: 'sudo docker info >/dev/null 2>&1 || sudo service docker start; '
- run:
command: |-
printf '127.0.0.1 petstore.swagger.io
' | sudo tee -a /etc/hosts
# - run: docker pull openapitools/openapi-petstore
# - run: docker run -d -e OPENAPI_BASE_PATH=/v3 -e DISABLE_API_KEY=1 -e DISABLE_OAUTH=1 -p 80:8080 openapitools/openapi-petstore
- run: docker pull swaggerapi/petstore
- run: docker run --name petstore.swagger -d -e SWAGGER_HOST=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore
- run: docker ps -a
- run: sleep 30
- run: cat /etc/hosts
# Test
- run: mvn --no-snapshot-updates --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- run:
name: "Setup custom environment variables"
command: echo 'export CIRCLE_NODE_INDEX="<<parameters.nodeNo>>"' >> $BASH_ENV
- run: ./CI/circle_parallel.sh
# Save dependency cache
- save_cache:
key: source-v2-{{ .Branch }}-{{ .Revision }}
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
- /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work
- ~/R
# save "default" cache using the key "source-v2-"
- save_cache:
key: source-v2-
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
- /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work
- ~/R
# Teardown
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# Save test results
- store_test_results:
path: /tmp/circleci-test-results
# Save artifacts
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
command_docker_build_and_test:
parameters:
nodeNo:
default: "0"
type: string
steps:
# Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
- checkout
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
# In many cases you can simplify this from what is generated here.
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
# This is based on your 1.0 configuration file or project settings
# - run:
# command: sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java; sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac; echo -e "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> $BASH_ENV
# - run:
# Test
# - run: mvn --no-snapshot-updates --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- run:
name: "Setup custom environment variables"
command: echo 'export CIRCLE_NODE_INDEX="<<parameters.nodeNo>>"' >> $BASH_ENV
- run: ./CI/circle_parallel.sh
# Teardown
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# Save test results
- store_test_results:
path: /tmp/circleci-test-results
# Save artifacts
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
jobs:
build:
# docker:
# #- image: openapitools/openapi-generator
# - image: swaggerapi/petstore
# environment:
# SWAGGER_HOST=http://petstore.swagger.io
# SWAGGER_BASE_PATH=/v2
node0:
machine:
image: ubuntu-2004:202201-02
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- command_build_and_test:
nodeNo: "0"
node1:
machine:
image: circleci/classic:latest
image: ubuntu-2004:202201-02
working_directory: ~/OpenAPITools/openapi-generator
parallelism: 4
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
# Restore the dependency cache
- restore_cache:
keys:
# Default branch if not
- source-v2-{{ .Branch }}-{{ .Revision }}
- source-v2-{{ .Branch }}-
- source-v2-
# Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
- checkout
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
# In many cases you can simplify this from what is generated here.
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
# This is based on your 1.0 configuration file or project settings
- run:
command: sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java; sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac; echo -e "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> $BASH_ENV
- run:
command: 'sudo docker info >/dev/null 2>&1 || sudo service docker start; '
- run:
command: |-
printf '127.0.0.1 petstore.swagger.io
' | sudo tee -a /etc/hosts
# Dependencies
# Install latest stable node for angular 6
- run:
name: Install node@stable (for angular 6)
command: |
set +e
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
export NVM_DIR="/opt/circleci/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install stable
nvm alias default stable

# Each step uses the same `$BASH_ENV`, so need to modify it
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV
- run: node --version
# - run: docker pull openapitools/openapi-petstore
# - run: docker run -d -e OPENAPI_BASE_PATH=/v3 -e DISABLE_API_KEY=1 -e DISABLE_OAUTH=1 -p 80:8080 openapitools/openapi-petstore
- run: docker pull swaggerapi/petstore
- run: docker run --name petstore.swagger -d -e SWAGGER_HOST=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore
- run: docker ps -a
- run: sleep 30
- run: cat /etc/hosts
# Test
- run: mvn --no-snapshot-updates --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- run: ./CI/circle_parallel.sh
# Save dependency cache
- save_cache:
key: source-v2-{{ .Branch }}-{{ .Revision }}
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
- /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work
- ~/R
# save "default" cache using the key "source-v2-"
- save_cache:
key: source-v2-
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
- /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work
- ~/R
# Teardown
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# Save test results
- store_test_results:
path: /tmp/circleci-test-results
# Save artifacts
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
- command_build_and_test:
nodeNo: "1"
node2:
machine:
image: ubuntu-2004:202201-02
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- command_build_and_test:
nodeNo: "2"
node3:
machine:
image: ubuntu-2004:202201-02
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- checkout
- command_build_and_test:
nodeNo: "3"
node4:
docker:
- image: fkrull/multi-python
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- checkout
- command_docker_build_and_test:
nodeNo: "4"
workflows:
version: 2
build:
jobs:
- node0
- node1
- node2
- node3
- node4
44 changes: 1 addition & 43 deletions .github/.test/samples.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@
"Documentation: Cwiki"
]
},
{
"input": "dart-jaguar-petstore.sh",
"matches": [
"Client: Dart"
]
},
{
"input": "dart-dio-petstore.sh",
"matches": [
Expand Down Expand Up @@ -223,12 +217,6 @@
"Server: Scala"
]
},
{
"input": "flash-petstore.sh",
"matches": [
"Client: Flash/ActionScript"
]
},
{
"input": "go-gin-petstore-server.sh",
"matches": [
Expand Down Expand Up @@ -722,18 +710,6 @@
"Schema: MySQL"
]
},
{
"input": "nancyfx-petstore-server-async.sh",
"matches": [
"Server: C-Sharp"
]
},
{
"input": "nancyfx-petstore-server.sh",
"matches": [
"Server: C-Sharp"
]
},
{
"input": "nodejs-petstore-google-cloud-functions.sh",
"matches": [
Expand Down Expand Up @@ -944,24 +920,6 @@
"Server: Spring"
]
},
{
"input": "spring-mvc-petstore-j8-async-server.sh",
"matches": [
"Server: Spring"
]
},
{
"input": "spring-mvc-petstore-j8-localdatetime.sh",
"matches": [
"Server: Spring"
]
},
{
"input": "spring-mvc-petstore-server.sh",
"matches": [
"Server: Spring"
]
},
{
"input": "spring-stubs.sh",
"matches": [
Expand Down Expand Up @@ -1401,4 +1359,4 @@
"matches": []
}
]
}
}
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example `./bin/generate-samples.sh bin/configs/java*`.
For Windows users, please run the script in [Git BASH](https://gitforwindows.org/).
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (5.3.0), `6.0.x`
- [ ] If your PR is targeting a particular programming language, @mention the [technical committee](https://github.com/openapitools/openapi-generator/#62---openapi-generator-technical-committee) members, so they are more likely to review the pull request.