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

Update master branch with upstream #2

Merged
merged 2,686 commits into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2686 commits
Select commit Hold shift + click to select a range
5d1e183
Prepare 6.6.0-SNAPSHOT (#15100)
wing328 Apr 1, 2023
938c72c
trigger build
wing328 Apr 1, 2023
033b946
[cpp-ue4] Series of fixes for cpp-ue4 (#15068)
Kahncode Apr 1, 2023
3d7c173
update ue4 c++ client
wing328 Apr 1, 2023
3b11187
made escaped regex be not literal strings (#15107)
devhl-labs Apr 4, 2023
b409ceb
respect api visibility for oneof enum (#15122)
tbarbugli Apr 4, 2023
07227d4
add support for union of strictfloat and strictint (#15124)
wing328 Apr 6, 2023
ba2c42e
add override to java native pojo (#15125)
wing328 Apr 6, 2023
bd7bc9a
[python-nextgen] Add bytearray, none_type as primitive type (#15130)
wing328 Apr 7, 2023
bda2e4a
fix NPE in simplifyOneOfAnyOf (#15142)
wing328 Apr 7, 2023
e8e62cc
simplify enum of string & string to enum of string (#15149)
wing328 Apr 7, 2023
b2be167
fix link, add links to posts (#15153)
wing328 Apr 7, 2023
f40433d
qt ctest (#14968)
MartinDelille Apr 7, 2023
a5bc7f1
[typescript] Make TypeScriptClientCodegen extend AbstractTypeScriptCl…
lwj5 Apr 9, 2023
b57d35b
bumped package versions
devhl-labs Apr 9, 2023
4a83c91
fix(python-nextgen): Use spec format for authors in pyproject (#15170)
ditsuke Apr 10, 2023
a4f5a74
fix(python-nextgen): dependency incompatiblity (#15167)
ditsuke Apr 10, 2023
5e3bb7e
[Ruby] fix RSpec documentation URL (#15164)
tksmasaki Apr 10, 2023
1e2f16e
[csharp-netcore] Explicitly implement IValidatableObject (#15160)
devhl-labs Apr 10, 2023
5d490d7
Add Flipkart as a company using OpenAPI Generator (#15175)
amrith92 Apr 10, 2023
e9e0f50
Update customization.md (#15172)
martin-mfg Apr 10, 2023
a17bb59
Added useSwashBuckle condition (#15157)
leonluc-dev Apr 10, 2023
2b796d5
[Go] Format error message only when Kind is Struct (#15154)
gcatanese Apr 11, 2023
8ce990d
[go-server] Add ability to handle parameters of `number` type (#15079)
lwj5 Apr 11, 2023
81cafdc
[go] Fix: reservedWordsMappings not checked for reserved word (#15083)
lwj5 Apr 11, 2023
792c49a
[go-server] Change Routes type from `[]Route` to `map[string]Route` (…
lwj5 Apr 11, 2023
f8cb5fd
Add tests for aspnetcore 6.0 useSwashBuckle option (#15176)
wing328 Apr 11, 2023
448cbfd
[python-nextgen] Limit allowed pydantic version range (#15189)
robertschweizer Apr 12, 2023
ff48f80
udpate vertx to newer version 3.5.2 (#15197)
wing328 Apr 12, 2023
0b41ee1
Issue #15095: Improve gradle task documentation (#15193)
GoGoris Apr 12, 2023
0fff964
Add blog Mustache templates with OpenAPI generator (#15198)
gcatanese Apr 12, 2023
e852cec
add lwj5 to go tech comm (#15199)
wing328 Apr 12, 2023
0444118
[go-server] Update dependencies and use generics (#15087)
lwj5 Apr 12, 2023
c0322b1
Improve Go Github workflow (#15200)
wing328 Apr 12, 2023
935146d
Merge remote-tracking branch 'origin/master' into 7.0.x
wing328 Apr 12, 2023
8a426b2
allow to specify the useOneOfInterfaces option for java (#15042)
robbertvanwaveren Apr 12, 2023
1163b9c
[go-server] Fix: name declared and not used (#15201)
lwj5 Apr 13, 2023
60e6d2d
fix Jsonb issue for Helidon SE Client generator (#15146)
aserkes Apr 13, 2023
241d649
Fix list of type not including correct import (#15171)
Qluxzz Apr 13, 2023
53d9d30
For microprofile java - use {{rootJavaEEPackage}} instead of {{javaxP…
barnabycourt Apr 13, 2023
b247ad7
[java] Add public static version field (#15108)
snago Apr 13, 2023
90b78fe
Jersey2/3 - Probe content type for multipart upload parts (#14965)
jdimeo Apr 14, 2023
6a67551
Issue 3175 - using @objcMembers to expose all props and funcs to ObjC…
tsanidas Apr 14, 2023
5832731
[java] Update undertow to newer version (#15222)
wing328 Apr 15, 2023
c5a8faf
remove deprecated warning (#15223)
wing328 Apr 15, 2023
9ad695d
better npe in processUseAllOfRefAsParent (openapi normalizer) (#15224)
wing328 Apr 15, 2023
7a41231
minor bug fix to openapi normalizer (#15225)
wing328 Apr 15, 2023
cbf5598
Fix generated code when a list is actually a set. (#15027)
noordawod Apr 16, 2023
03359ae
[pub] Add repository and publish_to as configurable option in pubspec…
IchordeDionysos Apr 16, 2023
738beb4
[java][jersey] Fix UUID path parameters (#15114) (#15229)
snago Apr 16, 2023
70a6106
add null check in string with regular expression (#15233)
wing328 Apr 16, 2023
096aabd
Fix printing empty notes (#15238)
Qluxzz Apr 17, 2023
91815bf
[java] Fix anyof generics (#15210) (#15230)
snago Apr 17, 2023
58425f5
Add workflow for gradle enterprise (#15211)
wing328 Apr 18, 2023
1ac39c7
add Pinterest to the user list (#15247)
wing328 Apr 18, 2023
1881100
use png version of pinterest logo
wing328 Apr 18, 2023
f5b4490
[python-nextgen] Fix dict of dict of object in python-nextgen (#15239)
wing328 Apr 18, 2023
9b2917f
Fix issue 12341 (#15234)
rodrigoma3 Apr 18, 2023
e3fdac0
rename hasBearerMethods to hasHttpBearerMethods (#15259)
yateeshc Apr 19, 2023
0176957
[python-nextgen] better sample code (#15248)
wing328 Apr 19, 2023
fdf53ac
update mvn in workflow to use gradle enterprise (#15256)
wing328 Apr 19, 2023
90d7da0
fix travis badge in readme
wing328 Apr 20, 2023
564a86c
fix: set final query parameter value to enum value (#15133)
vidurb Apr 20, 2023
ede1c9c
update samples
borsch Apr 20, 2023
2c78ff7
Fix issue 15264 - Replace @Controller with @RestController when using…
rodrigoma3 Apr 20, 2023
e6c64d3
Fix multi collection format has duplicated prefix (#15260)
nullbus Apr 21, 2023
2679819
[Ruby] Client: fix base_url when no server_operation_index is defined…
Confusion Apr 21, 2023
33e0c67
Update beanValidationCore.mustache (#13631) (fix #3519)
matheustf Apr 21, 2023
b5745e6
[python-nextgen] Fix enum query parameter (#15278)
wing328 Apr 22, 2023
e51908f
[openapi-normalizer] Fix nullable boolean check in oneOf schema (#15276)
wing328 Apr 22, 2023
98c2794
[Kotlin-Spring] add Kotlin based Spring-cloud openfeign generator (#1…
gr4cza Apr 24, 2023
52417f0
use Field(...) for required properties in python-nextgen (#15290)
wing328 Apr 24, 2023
d6e19f8
fix minus sign in enum naming in python-nextgen (#15291)
wing328 Apr 24, 2023
de27749
[cpp-ue4] Fix byte array writing in JSON to be valid base64 string (#…
nullbus Apr 24, 2023
6f24ad3
[JAVA] OkHttp-GSON deprecated field only deprecates getter method (#1…
gcatanese Apr 26, 2023
b8ccd25
[python-nextgen] Various fixes reported by pylint (#15309)
wing328 Apr 26, 2023
b847140
[C++][Pistache] Generate API generalization interface (#15279)
CTerasa-ep Apr 26, 2023
e0f4296
add missing documentation for maven and gradle options (#15322)
martin-mfg Apr 27, 2023
e211e14
update extension to 1.17, update config (#15326)
wing328 Apr 27, 2023
da96058
[kotlin] cleanup documentation (#15307)
tiffmaelite Apr 27, 2023
1f23b01
[Spring] fix Paginated without params (#15315) (fix #15265)
borsch Apr 27, 2023
f4e0eb9
Update git-commit-id maven plugin to newer version (#15332)
wing328 Apr 28, 2023
f4c041e
fix to_json, to_dict in python nextgen (#15337)
wing328 Apr 28, 2023
2bd1a15
[python-nextgen] fix empty dict in body parameter (#15336)
wing328 Apr 28, 2023
64c3be9
fix URL to 6.6.0 snapshot version
wing328 Apr 28, 2023
e070697
[JAVA] Enumeration comparison in Java using equalsIgnoreCase when Str…
rodrigoma3 Apr 28, 2023
1f4d323
fix enum support in oneof/anyof in python-nextgen (#15340)
wing328 Apr 29, 2023
ab819b9
mark python-nextgen as stable (#15360)
wing328 Apr 29, 2023
5f8c4ec
[swift5] cleanup documentation (#15351)
tiffmaelite Apr 30, 2023
c7c5dd2
remove unused file
wing328 May 1, 2023
961980f
[python-nextgen] add support for StrictBytes (#15365)
wing328 May 1, 2023
42fa07d
[Elm] Add support for petstore spec (#15257)
Qluxzz May 2, 2023
fefbfd6
Drop default value when unnecessary. (#15368)
noordawod May 2, 2023
e356b77
[dart][dart-dio] Fix property deprecation and add parameter deprecati…
kuhnroyal May 2, 2023
f8d5c54
Add urls to ktor and Vert.x in README (#15369)
albina-astr May 2, 2023
6686fb8
Remove CXF imports and dependency (#15364)
zUniQueX May 2, 2023
502a8a8
Fix request parameter encode call (#15313)
mwohlert May 2, 2023
8a9afab
https://github.com/OpenAPITools/openapi-generator/issues/14599 (#15388)
vanwobe May 3, 2023
bec32ae
update samples
wing328 May 3, 2023
021d3a3
[python-nextgen] Add ApiResponse object (#15367)
wing328 May 3, 2023
92bcdea
Revert "Remove CXF imports and dependency (#15364)" (#15392)
wing328 May 3, 2023
61aadb3
[GO] Add go.mod in go-gin-server generator (#15339)
gcatanese May 3, 2023
45a3fe0
Add Xojo client generator (#15194)
Topheee May 3, 2023
4e8d41b
Fix circleci test failures (#15317)
wing328 May 3, 2023
0a4648f
fix(python-nextgen): Date query params typo (#15395)
robertschweizer May 3, 2023
0cbf118
add surefire rerun tests (#15390)
wing328 May 3, 2023
a834700
Support language N4JS (#15089)
May 3, 2023
aea7cef
Revert "Support language N4JS (#15089)" (#15396)
wing328 May 3, 2023
db478c3
Support language N4JS (2nd) (#15397)
May 3, 2023
a0b79d8
Minor improvement to the N4JS client generator (#15414)
wing328 May 4, 2023
bc6d308
add copyright, remove unused import (#15394)
wing328 May 4, 2023
854afc9
Update elm workflow to cover more tests (#15415)
wing328 May 4, 2023
6fa089a
Add @deprecated to methods in python-nextgen (#15380)
wing328 May 4, 2023
182240e
[csharp-netcore] Better regular expression (#15378)
wing328 May 4, 2023
76c05b2
Add property generateClientAsBean for config creation of ApiClient.ja…
jorgerod May 5, 2023
7259d81
[csharp-netcore] Better handling of oneOf/anyOf with duplicated data …
wing328 May 5, 2023
737cb36
add option, update doc (#15419)
wing328 May 5, 2023
56495d1
Python Allow clients to define TLS Server name when using (#15283)
tigrato May 5, 2023
cc620d8
fix incorrect mustache tag (#15424)
wing328 May 5, 2023
c6b31a3
removed extra line break (#15438)
devhl-labs May 8, 2023
72cb03b
[python-nextgen] fix typing for bytes with validations (#15437)
tomplus May 8, 2023
b4eb707
[python-nextgen] support constructor with position argument in oneOf/…
wing328 May 8, 2023
3d2ec72
[JAVA] Okhttp-gson: blank line between annotations and method signatu…
gcatanese May 8, 2023
5d602c6
Add Python 3.11 to github-workflow.mustache (#15442)
dcermak May 8, 2023
f82a311
update samples
wing328 May 8, 2023
3d722c1
[dart-dio] fix endpoints returning null (#15433)
ahmednfwela May 8, 2023
3685c0c
[dart] cleanup documentation (#15344)
tiffmaelite May 8, 2023
ff9b384
Fix repository url in pyproject.toml (#15444)
dcermak May 8, 2023
7bc10b0
[csharp-netcore][generichost] Move deserialization to method (#15454)
devhl-labs May 9, 2023
3cf646c
[csharp-netcore] fix back slash in regex (#15441)
wing328 May 9, 2023
fb059c2
[BUG][JAVA][restTemplate] ApiClient is not compatible with spring-web…
jorgerod May 9, 2023
ba8ca1e
[R] fix documentation of API authorization in README files (#15354)
tiffmaelite May 9, 2023
63913f2
[c] fix documentation of API authorization in README files (#15341)
tiffmaelite May 9, 2023
e32da0e
[apex] fix documentation of API authorization in README files (#15348)
tiffmaelite May 9, 2023
2b19d5f
[Ruby] fix documentation of API authorization in README files (#15353)
tiffmaelite May 9, 2023
be651e7
[powershell] cleanup documentation (#15355)
tiffmaelite May 9, 2023
55e9f66
[JavaScript] fix documentation of API authorization in README files (…
tiffmaelite May 9, 2023
adfb963
[objc] fix documentation of API authorization in README files (#15347)
tiffmaelite May 9, 2023
4deaad5
[Go] fix documentation of API authorization in README files (#15345)
tiffmaelite May 9, 2023
9cb14ae
[php] fix documentation of API authorization in README files (#15306)
tiffmaelite May 9, 2023
1443dd9
[perl] fix documentation of API authorization in README files (#15356)
tiffmaelite May 9, 2023
76fd2a2
[Scala] cleanup documentation (#15304)
tiffmaelite May 9, 2023
ef35e6d
[rust] fix documentation of API authorization in README files (#15352)
tiffmaelite May 9, 2023
da9ad4a
[kotlin][client] Small improvements (#15429)
WonderCsabo May 9, 2023
25aba72
[kotlin][client] Use Kotlin code style in parameter enum class names …
WonderCsabo May 9, 2023
c251202
[Python] cleanup documentation (#15301)
tiffmaelite May 9, 2023
4e27041
Add microprofile OpenApi annotations to JavaRxSpec (quarkus library).…
miguelborges99 May 9, 2023
b4d2c14
Update scala versions to 2.13.10 and 2.12.17 (#15459)
jatcwang May 9, 2023
ef5dc1c
[Julia] Cleanup README docs (#15295)
tiffmaelite May 10, 2023
f9937e7
[csharp C#] cleanup documentation (#15305)
tiffmaelite May 10, 2023
8a6c708
[Java] Cleanup documentation (#15300)
tiffmaelite May 10, 2023
0c3460f
Merge remote-tracking branch 'origin/master' into 7.0.x
wing328 May 10, 2023
9ace780
update samples
wing328 May 10, 2023
6e74725
Initial OIDC support (#15417)
jtama May 10, 2023
edc589a
update doc
wing328 May 10, 2023
bb8098a
add --quite to mvn cmd in travis.ci
wing328 May 10, 2023
1d2d56a
Merge remote-tracking branch 'origin/master' into 7.0.x
wing328 May 10, 2023
7f8b853
Prepare 6.6.0 release (#15466)
wing328 May 11, 2023
f8e15f1
Merge remote-tracking branch 'origin/7.0.x'
wing328 May 11, 2023
4384198
update README with v7.0.0
wing328 May 11, 2023
fc71f98
[typescript] Add missing types field to export declaration (#15403)
bodograumann May 11, 2023
977de5b
moved deserialization to template (#15474)
devhl-labs May 11, 2023
e152799
[JAVA] fix "text/plain" with charset specifications (#15399)
martin-mfg May 11, 2023
c84b949
Encode a `Set` in `toJson()` properly (#15435)
noordawod May 11, 2023
3371e88
Decommission python-legacy, python-prior client generators (#15475)
wing328 May 12, 2023
aeecd9c
Correct script in PULL_REQUEST_TEMPLATE.md (#15480)
gcatanese May 12, 2023
78bffff
[Go] Update API naming to follow Golang standard pkg (1 line change) …
lwj5 May 13, 2023
cc2dc65
fixed the order to match the constructor (#15500)
devhl-labs May 13, 2023
780d266
Decommission python client generator (#15486)
wing328 May 14, 2023
fd20632
[csharp] Changed enums to start from 0 (#15503)
devhl-labs May 14, 2023
f0519eb
Fix Go client tests (#15505)
wing328 May 14, 2023
b6b8883
use go-petstore.yaml in debugging test
wing328 May 14, 2023
66caaf9
[kotlin-spring] interfaceOnly=true flag skips spring-boot plugin repa…
zaenk May 15, 2023
54cb33c
[Spring] remove deprecated annotation from no-args constructor (#15512)
borsch May 15, 2023
dd6ccaa
import @Valid in Spring delegates (#15330) (fix #15213)
martin-mfg May 15, 2023
01ed597
rename python-nextgen to python (#15504)
wing328 May 16, 2023
d02679b
rename method to avoid code analysis error (#15508)
wing328 May 16, 2023
c5a1dbe
[openapi-normalizer] enable some rules by default (#15501)
wing328 May 16, 2023
cc1226c
[csharp-netcore] Zero based inner enum sample (#15506)
devhl-labs May 16, 2023
25620e7
removed extra line break (#15507)
devhl-labs May 16, 2023
8b64fa5
Update index.mustache (#15481)
jvmlet May 16, 2023
1c56b07
update c# samples
wing328 May 16, 2023
5ffa233
update asciidoc samples
wing328 May 16, 2023
6d56a19
add new file
wing328 May 16, 2023
fbf42de
Fix JsonNullable issue for Helidon generators (#15423)
aserkes May 16, 2023
edad90e
Bugfixes/12952 fix newtonsoft using (#15515)
JFCote May 16, 2023
1c6decb
minor enhancements to the aspnetcore server generator (#15518)
wing328 May 16, 2023
016507c
[javascript] fix use of isBasicBasic and isBasicBearer conditions (#1…
tiffmaelite May 16, 2023
48d257b
[C++][Pistache] Generate empty JSON object instead of a null value (#…
sjoubert May 16, 2023
3a172c3
[C++][Pistache] Add missing 'override' on virtual methods (#15469)
sjoubert May 16, 2023
87ea870
Update modelbase-header.mustache (#15453)
SuperGNUS May 16, 2023
0d1f562
update c++ samples
wing328 May 16, 2023
1210229
Merge branch 'version-bump' of https://github.com/devhl-labs/openapi-…
wing328 May 16, 2023
63ac3e1
[Spring] fix use of isBasic condition (#15530)
tiffmaelite May 16, 2023
842ca3d
Fix warning when building because of the missing documentation (#15543)
JFCote May 16, 2023
0067687
add HTTP signature to SecurityFeature (#15542)
tiffmaelite May 16, 2023
aa0d637
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 May 16, 2023
b35ffd3
add missing security schemes to new generator README template (#15536)
tiffmaelite May 16, 2023
9c968e8
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 May 16, 2023
ab4a05a
Postman Collection Generator (#15294)
gcatanese May 16, 2023
be9f1b6
fix#14119 property generateApis=false not working (#14126)
iWantUss May 16, 2023
6a742fe
update doc
wing328 May 16, 2023
d3f63ca
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 May 16, 2023
44ad6d5
[go-server] Support min/max/defaults for values (#15185)
rledisez May 16, 2023
04b34e7
update doc
wing328 May 16, 2023
d60b108
[Gradle] add `inputSpecRootDirectory` for generate task (#15548) (fix…
borsch May 17, 2023
c7d185d
[dart][dio] fix features of dart-dio generator (#15537)
tiffmaelite May 18, 2023
b7dc6ce
[Aspnetcore] Fix nullable warnings part 1 (#15555)
JFCote May 18, 2023
d8ed253
update C# samples
wing328 May 18, 2023
4a54379
added OrDefault method (#15551)
devhl-labs May 18, 2023
0818408
fix typo in go-server codegen (#15557)
dvitiuk-opensource May 18, 2023
bba9815
Add workflow to test builds and Gradle plugin on Windows (#15562)
wing328 May 18, 2023
54c8bf8
[go-server] Add tests for boolean query parameter (#15563)
wing328 May 18, 2023
1204662
undo changes to petstore.yaml
wing328 May 18, 2023
2250aae
[kotlin-server] fix bean validation site targets (#14997)
stephan-strate May 18, 2023
f5f382c
Improve build time (#15566)
wing328 May 19, 2023
f0d439f
[kotlin-spring] Fix inheritance compile error because of missing use-…
superbob May 19, 2023
7443c95
[lua] fix use of isBasic condition (#15529)
tiffmaelite May 20, 2023
2d8ec8b
[xojo] fix use of isBasic condition (#15526)
tiffmaelite May 20, 2023
b754688
[eiffel] fix use of isBasic condition (#15533)
tiffmaelite May 20, 2023
9d6f80a
[android] fix use of isBasic condition (#15528)
tiffmaelite May 20, 2023
b7a9373
[powershell] fix use of isBasic condition (#15525)
tiffmaelite May 20, 2023
7eeb7f6
[PHP] fix use of isBasic condition (#15520)
tiffmaelite May 20, 2023
e83640c
[perl] fix use of isBasic condition (#15524)
tiffmaelite May 20, 2023
3e10c5d
[bash] fix use of isBasic condition (#15521)
tiffmaelite May 20, 2023
89e4b24
[Ada] [Java] fix Codegen copies (#15513)
tiffmaelite May 20, 2023
e7039f4
[cpp C++] fix use of isBasic condition (#15535)
tiffmaelite May 20, 2023
08bb0f4
Fixed additional property omitGradleWrapper for kotlin generator (#15…
stefankoppier May 20, 2023
e758e4a
Improve Appveyor tests (#15585)
wing328 May 21, 2023
6142315
Revert "fix#14119 property generateApis=false not working (#14126)" (…
wing328 May 21, 2023
5018d3c
Update to JDK11 (#15553)
wing328 May 21, 2023
5e800d9
Update pom.xml with new plugin, setting (#15590)
wing328 May 21, 2023
7881482
[Ktor] Update generator to latest Ktor version #14061 (#14296)
rsinukov May 21, 2023
605cc7b
Set maven to 3.9 in Github workflow (#15592)
wing328 May 22, 2023
2af661d
used default cancellation token (#15594)
devhl-labs May 22, 2023
ad5cc82
remove fullJavaUtil (#15033)
martin-mfg May 22, 2023
216e2c4
[dart] fix use of isBasic condition (#15523)
tiffmaelite May 22, 2023
cbcf3d3
[Java] [Kotlin] (#14876) fix use of isBasic conditions - do not use H…
tiffmaelite May 22, 2023
273be46
Update Enforcer (maven plugin) rule (#15575)
wing328 May 22, 2023
5299935
[csharp-netcore] Removed .netcore 3.1 (#15605)
devhl-labs May 23, 2023
9358ab9
[kotlin] New 'jvm-spring-webclient' library (#15568)
stefankoppier May 23, 2023
833f649
[Kotlin] minor enhancements, remove KotlinServerDeprecatedGenerator (…
wing328 May 23, 2023
f5903bc
[swift5] fix use of isBasic condition (#15613)
tiffmaelite May 23, 2023
1a483b2
fix variable name (#15623)
changhc May 24, 2023
358397f
[rust] fix use of isBasic condition (#15532)
tiffmaelite May 24, 2023
5b5cb1f
[groovy] support enum generation in groovy client (#15619)
dyadyaJora May 24, 2023
48ef91a
[python] Add test for nullable property with pattern (#15625)
wing328 May 24, 2023
9890f07
[kotlin-server] add support for jakarta ee namespace (#15593)
stephan-strate May 24, 2023
0e8d997
[rust-client]: fix for collectionFormat=multi (#15626)
wing328 May 24, 2023
15604b3
fix go server string compare (#15589)
wing328 May 24, 2023
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.
317 changes: 209 additions & 108 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,118 +1,219 @@
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
- run:
name: Install Headless Chrome dependencies
command: |
sudo apt-get update && sudo apt-get install -yq \
gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \
libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates \
fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm1
# 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: java -version
- 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
- ~/.nvm
- ~/.pyenv
- ~/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
- ~/.nvm
- ~/.pyenv
- ~/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: 3
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
47 changes: 47 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"name": "OpenAPIGenerator",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "11",
"installMaven": true
},
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"java.configuration.runtimes": [
{
"name": "JavaSE-11",
"path": "/usr/local/sdkman/candidates/java/11.0.16.1-ms",
"sources": "/usr/local/sdkman/candidates/java/11.0.16.1-ms/lib/src.zip",
"javadoc": "https://docs.oracle.com/en/java/javase/11/docs/api",
"default": true
}
]
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vscjava.vscode-java-pack",
"attilabuti.mustache-syntax-vscode",
"formulahendry.code-runner",
"visualstudioexptteam.vscodeintellicode",
"42crunch.vscode-openapi",
"mermade.openapi-lint"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "mvn clean package -DskipTests",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
Loading