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

[phpnextgen] Add ClientBuilder supporting file #1

Open
wants to merge 648 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
648 commits
Select commit Hold shift + click to select a range
8faa77c
fix(typescript-angular): make sure basePath is defined before assignm…
jase88 Apr 29, 2024
bd02e65
[Java] Update Java version in GitHub actions (#18513)
ErkoRisthein Apr 30, 2024
81fab15
[PYTHON] Fix for failing to lookup discriminator value using AllOf a…
zishunwei Apr 30, 2024
e361720
fix: ExampleGenerator for composed child schemas and array schemas (#…
phpinhei-te Apr 30, 2024
a4cf255
Add useSingleRequestParameter to typescript-nestjs generator (#18476)
arivanandan Apr 30, 2024
0768ddc
[swift] support content type application json variants (#18539)
4brunu Apr 30, 2024
98d0261
feat(php): allow to pass raw boolean to api (#18520)
simPod May 1, 2024
2a1b4f9
Add new option `allArgConstructor` for java client, spring generators…
wing328 May 1, 2024
5e40fe7
scala-sttp4: fix for issue 15785 api returns unit. (#18536)
dwischolek-modulon May 1, 2024
afd3a78
scala-sttp: fix for issue 15785 api returns unit. (#18537)
dwischolek-modulon May 1, 2024
10897ca
[go-server] fix imports with go generation (#18514)
darkrift May 1, 2024
230e8ce
[go-server] add field name in parsing error messages (#18533)
rledisez May 1, 2024
9f57684
[PHP] Update php.md - marked Multiserver as true (#18545)
wing328 May 1, 2024
d573f00
update go samples
wing328 May 1, 2024
ef2fa03
[Java][Client] Add support for the new Spring RestClient (#18522)
Nicklas2751 May 1, 2024
30dc35d
[kotlin][client] fix warning (#18560)
stefankoppier May 3, 2024
8cb23db
[html2] Fix rendering of arrays of objects in html2 docs (#18561)
Aniokrait May 3, 2024
67a504a
[typescript-fetch] Remove a cycle in the discriminator dependency gra…
jyasskin May 3, 2024
0e809d4
[typescript-fetch] Support fileNaming option (#18283) (#18284)
En0s0und May 3, 2024
06b00e6
Support optional singleRequestParameter (#18467)
angelaki May 3, 2024
73f2d82
fix(typescript-axios): Correct the content type for a list of objects…
Kavan72 May 3, 2024
38b8f60
Update broken JSON schema links (#18565)
Philzen May 4, 2024
d3b156d
Add .sdkmanrc for easy Java and Maven version management (#18552)
Philzen May 4, 2024
fde8c77
[BUG] [C++][Pistache] cpp-pistache-server generating API include unde…
mlebihan May 4, 2024
296a6ac
[typescript-fetch] Restore pre-es2017 compatibility in modelEnum temp…
manuel-covas May 5, 2024
f145b89
[kotlin-client] Update Gradle and dependencies (#18571)
stefankoppier May 5, 2024
57c42d1
Merge remote-tracking branch 'upstream/master' into phpnextgen_client…
ybelenko May 5, 2024
b1fac19
Fix #18572 rust server: Silence clippy lints by refactoring (#18575)
myz-dev May 6, 2024
cefbf62
[go-server] Fix: missing quotes for string default value (#18546)
lwj5 May 6, 2024
a8a81c2
Merge remote-tracking branch 'upstream/master' into phpnextgen_client…
ybelenko May 7, 2024
228b47a
[go-server] Fix: missing sample changes from previous commit (#18546)…
keyjh2 May 7, 2024
2fb41ac
[JAVA] Fix generation of remove method of map entries (#18562)
rehand May 7, 2024
dc63444
update samples
wing328 May 7, 2024
dec8a43
[Microprofile] Add option to use tags a client keys and server genera…
kiwi-oss May 7, 2024
be94c22
[C++][Pistache] Compile error when nesting references (#16711) (#18586)
keyjh2 May 7, 2024
9929d35
[refactor] Use getType in ModelUtils (#18577)
wing328 May 7, 2024
2d967cc
[Rust-Axum] Fix uuid in header params causing compilation errors (#18…
myz-dev May 7, 2024
0649960
[RUST-AXUM] Fix #18580: disableValidation does not create superfluous…
myz-dev May 7, 2024
8f6a286
[go-server] Fix: error handling and linting (#18550)
lwj5 May 7, 2024
ac649b2
Disable clippy::too_many_arguments in generated Rust client code. (#1…
maxnachlinger May 8, 2024
9db0e32
[php-flight] fix: always set http status in streaming response and us…
daniel-sc May 8, 2024
8226ff8
[python-flask] deference parameter schemas before further processing …
wing328 May 8, 2024
4441ab3
[jaxrs-spec] fix nullable import, migrate tests to 3.0 spec (#18606)
wing328 May 8, 2024
b67a019
upgrade apache-httpclient to junit5 (#18616)
thorstenhirsch May 9, 2024
03389df
Bump Rust edition to 2021 and a few crates (#18608)
maxnachlinger May 9, 2024
89c2664
updating config options (#18614)
iamrita May 9, 2024
5614eef
upgrade openapi poms and codegen tests to junit5 (#18619)
thorstenhirsch May 9, 2024
98f9c07
update meta-codegen pom.xml
wing328 May 9, 2024
75dd531
upgrade swagger-parser to latest version (#18436)
ctreatma May 9, 2024
29cfa33
update python fastapi dependencies (#18624)
wing328 May 9, 2024
d35f080
[php-nextgen] Split files into different folders
ybelenko May 9, 2024
c366840
Merge remote-tracking branch 'upstream/master' into phpnextgen_client…
ybelenko May 9, 2024
854e521
upgrade java native to junit5 (#18617)
thorstenhirsch May 10, 2024
3805cf3
upgrade resteasy to junit5 (#18615)
thorstenhirsch May 10, 2024
4368eb4
update kotlin version to 1.9.0 (#18638)
wing328 May 11, 2024
40c7adc
[gradle plug-in] update jvm target (#18639)
wing328 May 11, 2024
65bdb99
update java version in build.gradle (#18640)
wing328 May 11, 2024
4253693
downgrade gradle to 7.6.4 (#18641)
wing328 May 11, 2024
4637658
fix: Upgrade testng to avoid CVE-2022-4065 (#18635)
EstebanDugueperoux2 May 11, 2024
3d96a40
[html2] Support alias types (#18579)
Aniokrait May 11, 2024
2a3f63f
[html2] Support oneOf (#18642)
Aniokrait May 11, 2024
d4d4c77
[BUG] [Java] Invalid code generation for oneof types. (#18544)
Bethibande May 11, 2024
eec30f2
update sha256 for JSONTest.java
wing328 May 11, 2024
365fcd3
Fix the post processing of enums in the Python generator, such that i…
0xMattijs May 11, 2024
9704246
Use Display instead of ToString in Rust generators (#18633)
dani-garcia May 12, 2024
4b56fd2
[Go] uses sanitized model name instead of the name (#18644)
vvb May 12, 2024
0e05cf2
Add support for Helidon 4 MP client and server generation (#18627)
tjquinno May 12, 2024
cefeded
[BUG][JAVA] oneOf/anyOf multiple constructors with same erasure #1854…
Bethibande May 13, 2024
2f9b487
Fixes incorrect Jackson imports in Java templates used in ApiClient.j…
JochemKuijpers May 13, 2024
b23dcbd
[Java] [VertX] Handle hyphen-separated security scheme in input spec …
rohitsanj May 13, 2024
2a15270
[KOTLIN] Kotlinx serialization, use first party retrofit converter fa…
larst-ingka May 13, 2024
4a872a8
Prevent generating "pattern" and "size" to ENUM (#18658)
jorgerod May 13, 2024
edbb021
skip setting output folder in online service (#18652)
wing328 May 14, 2024
2f73451
fix: Null example values generated for enum properties (#18623)
alexrjones May 14, 2024
51ef868
[java] implement #18032 add builder pattern to java client and spring…
wing328 May 14, 2024
d5559d5
Remove @Valid even for enum types defined in components (#18451)
CREKD127 May 14, 2024
926a07f
Add tests for @Valid (enum) (#18664)
wing328 May 14, 2024
ed33b86
Use pascal case instead of double lambda (#18667)
rohitsanj May 14, 2024
09be19c
upgrade okhttp-gson and google-api-client to junit5 (#18668)
wing328 May 14, 2024
cc5c50b
update cpp-restsdk to use 3.0 petstore spec (#18670)
wing328 May 14, 2024
4e61738
upgrade microprofile to junit5 (#18669)
wing328 May 14, 2024
1fa2d47
[[BUG][C][cpp-restsdk] Missing Set.h when trying to generate from Twi…
mlebihan May 15, 2024
a9b1f93
clean up samples, update test spec (cpp-restsdk) (#18675)
wing328 May 15, 2024
affb6bc
[GO] Add assert constraints checks for complex types in the model tem…
avivlevitski-vlz May 15, 2024
014cd2c
typescript-axios: withSeparateModelsAndApi - use import types properl…
m1k1o May 15, 2024
70130ed
Properties with custom types inheritance fix (#18052)
dreambrother May 15, 2024
7e94c87
Add typescript 5.x as an allowed version. (#18674)
jyasskin May 15, 2024
2fe397c
synn beea validation template (jaxrs) (#18697)
wing328 May 17, 2024
62238c6
[typescript-fetch] Make instanceOf infer type and check for undefined…
rickyrombo May 17, 2024
57dceae
Improve typescript-fetch code generation for `oneOf` cases without di…
odiak May 18, 2024
e9f961e
[rust-axum] Split up api trait per tag (#18621)
kalvinpearce May 19, 2024
8924083
Ruby: Fixed CodeQL polynomial regexp (#18699)
RiccardoPetteruti-Onfido May 19, 2024
3d15864
[dart-dio] Incorrect hashCode and == overide for fields withList (#18…
vasilich6107 May 19, 2024
9b0ca06
[html2] Change to correct variable (#18685)
Aniokrait May 19, 2024
33617ee
Improve generation of selected models with dependent models (#18462)
0x0-pavel-0x0 May 19, 2024
ef0d10d
Use time.RFC3339Nano instead of time.RFC3339, do not want to loose th…
gonzogomez May 19, 2024
ab7d0cb
7.6.0 release (#18708)
wing328 May 20, 2024
741bf0c
Prepare 7.7.0-SNAPSHOT (#18709)
wing328 May 20, 2024
56cc482
update readme
wing328 May 20, 2024
9222231
--- (#18718)
dependabot[bot] May 21, 2024
9a35914
PR for openapi-generator-maven-plugin inputSpec -- Allow jar: URLs (#…
parenko May 21, 2024
2712035
[kotlin-wiremock] New generator for generating WireMock stubs using K…
stefankoppier May 21, 2024
ede6458
[csharp][generichost] Remove discriminator property (#18445)
devhl-labs May 21, 2024
73598b9
[REQ] [ASPNETCORE] Add value types for the ASPNETCORE generator (#18646)
evgenii-kuznetsov May 21, 2024
9398c64
update samples
wing328 May 21, 2024
bfa26ea
Add missing underscores for PascalCase enum values #4837 (#18594)
renatomameli May 21, 2024
ea7609f
update requests in python-fastapi to newer version (#18726)
wing328 May 21, 2024
1d96c77
Update PR template with latest minor version reference (#18729)
Philzen May 22, 2024
d0a8726
[java][resttemplate] Fix missing javax validation imports with list v…
horaceli May 22, 2024
8860537
update samples
wing328 May 22, 2024
638af0f
add it@m to sponsor list (#18733)
wing328 May 22, 2024
3a23261
Added support for freeform types (#18722)
aaronp May 23, 2024
a230588
Fix build issue when using dotnet 8.0.300 (#18712)
omer-za May 23, 2024
63d1564
update C# samples
wing328 May 23, 2024
00c1cef
[Java][webclient] update junit to 5.x (#18741)
wing328 May 23, 2024
235b57e
convert all text/* content types to strings in the apache http java c…
aaronforest-wf May 23, 2024
f49efe0
[typescript/nestjs] remove unused imports and allow async configurati…
simhnna May 23, 2024
7d3258f
[typescript-nestjs] Fix template for useSingleRequestParameter (#18744)
arivanandan May 23, 2024
7bc2a66
tiny simplification of typescript-nestjs api.service.mustache (#18749)
macjohnny May 23, 2024
746961d
Fix long running test (#18754)
Philzen May 25, 2024
22f18fa
Fix tests for parsing of additional type annotations & refactor test …
Philzen May 26, 2024
e6f3729
[crystal-lang] Update dependencies to remedy build failure (#18755)
usiegj00 May 26, 2024
e6fcbcb
update crystal petstore tets (#18766)
wing328 May 26, 2024
77365c3
[crystal-lang] Resolve type check compile error in ApiError (#18759)
usiegj00 May 26, 2024
728abaf
[Java][native] Fix: empty deepObject can produce invalid query [fix #…
marcel-huber-ptv May 26, 2024
0daf9ff
Fix javaJaxRS template: remove deprecated in JDK9 method usage (#18728)
rozdy May 26, 2024
5e8b589
Fix rust server auth (#18692)
cvkem May 26, 2024
6a9b100
Make JAX-RS BuilderImpl class non-final to fix WELD-001503 issue (#18…
jpraet May 26, 2024
af090fd
Bump s4u/setup-maven-action from 1.12.0 to 1.13.0 (#18703)
dependabot[bot] May 26, 2024
ee3ff39
fixed sorting (#18706)
devhl-labs May 26, 2024
e696448
Service api fix (#18767)
aaronp May 26, 2024
258b7af
update samples
wing328 May 26, 2024
9c999b6
[General] Remove defunct global property `withXml` from generator, do…
Philzen May 27, 2024
74a9509
[Java][native] Fix: DateTime in deepObjects is no longer serialized c…
marcel-huber-ptv May 27, 2024
c1d0e7c
Support nonPublicApi on jvm-retrofit2 (#18769)
BraisGabin May 27, 2024
1c94576
Bump jorelali/setup-elm from 5 to 6 (#18777)
dependabot[bot] May 28, 2024
56f3016
removed warnings (#18775)
devhl-labs May 28, 2024
48919ba
Add model name mapping to swift5 client generator (#18780)
oslTrifork May 28, 2024
edaace9
Fix TS7053 errors in generated instanceOf* methods (#18770)
hhvrc May 28, 2024
2471ba2
Revert back to junit4 (#18786)
wing328 May 29, 2024
b19fc67
added framework support (#18776)
devhl-labs May 29, 2024
1c7e5c4
add kong as sponsor (#18795)
wing328 May 30, 2024
353320c
[kotlin] better oneOf, anyOf support (#18382)
wing328 May 31, 2024
368110a
[csharp][generichost] Added 4.8 samples (#18791)
devhl-labs Jun 1, 2024
6a6f39d
Change/reintroduce junit5 (#18790)
Philzen Jun 1, 2024
66126a8
Remove unused test dependencies `org.reflections` & `maven-rewrite` (…
Philzen Jun 1, 2024
e2258fb
[kotlin-spring] Fix gradle build failure when generated with interfac…
Philzen Jun 1, 2024
8783ad8
[Python] List enum members in docs (#18804)
Mythir Jun 1, 2024
84ce2bf
[BUG][C++][cpp-pistache-server] An api receiving a std::optional para…
mlebihan Jun 1, 2024
ca94559
Add tests for Cpprestsdk client in CircleCI (#18817)
wing328 Jun 1, 2024
6a3d406
[cpp-restsdk] add support for oneOf via std::variant (#18474)
aminya Jun 1, 2024
8d39871
Revert "[cpp-restsdk] add support for oneOf via std::variant (#18474)…
wing328 Jun 1, 2024
f540e00
fixed workflow (#18824)
devhl-labs Jun 2, 2024
2b9949a
Bump Jackson to latest v2.17.1 and sync in templates (#18799)
Philzen Jun 2, 2024
4ae4bc5
[kotlin-spring] Generated code using Schema with discriminator mappin…
Philzen Jun 2, 2024
c08afa3
[BUG][Csharp][GenericHost] OpenApi 3.1: Model property of type map/ad…
gerwinjansen Jun 2, 2024
713aa92
add tests for 18772 (#18828)
wing328 Jun 2, 2024
051abb8
Bugfix/activate helidon versionutil tests (#18815)
Philzen Jun 2, 2024
ed2aad6
[JAVA: okhttp-gson, rest-assured, retrofit2] Don't generate Jackson i…
Philzen Jun 2, 2024
91a1931
[csharp][generichost] Add support for primitive composed (#18825)
devhl-labs Jun 4, 2024
35a8820
[python-fastapi] Fix CLI crash when calling `config-help` & update do…
Philzen Jun 4, 2024
a574d9e
Remove unused retrofit1 mustache templates (#18833)
Philzen Jun 4, 2024
1c787ba
[JAVA] Fix jackson (de)serializer annotation breaking libs using gson…
Philzen Jun 4, 2024
42c7840
JetBrains HTTP Client - Adds support for query and header params and …
jlengrand Jun 5, 2024
aef4d75
Refactoring: Use lombok for simple getters & setters (#18559)
Philzen Jun 5, 2024
45bc9c9
[php-laravel] Fix file database/migrations/2019_08_19_000000 being wr…
Philzen Jun 5, 2024
86f23e1
[javascript-closure-angular] Change metadata to reflect beta status a…
Philzen Jun 5, 2024
17a08d2
fixes #18489: provide support of array attributes in multipart/form-d…
jeandonaldroselin Jun 5, 2024
2fcf825
[clojure] Apply model/param/var name mappings (#18665) (#18858)
valpackett Jun 5, 2024
446e168
Remove deprecated MockDefaultGenerator (#18857)
Philzen Jun 5, 2024
880df7a
[maven-plugin] Generate hash from actual resolved spec rather than in…
Philzen Jun 5, 2024
b7a4a47
[php-slim4-server] fix php syntax error in RegisterRoutes class (miss…
tommyseus Jun 5, 2024
f97706d
update php slim samples
wing328 Jun 5, 2024
0621d34
[erlang-client] Apply var/param name mappings (#18662) (#18859)
valpackett Jun 5, 2024
36ade65
[kotlin-spring] Fix two missing ) in kotlin-spring/pathParams.mustach…
Humle-T Jun 5, 2024
d1254cc
[dart] Apply var/param/model name mappings, handle single _ (#18663) …
valpackett Jun 6, 2024
6ae8a8f
[python] fix deserialize on basic str fails (#18800)
fa0311 Jun 6, 2024
3aba427
clone Schema using AnnotationUtils.clone with WA (to clone schemas wi…
dreambrother Jun 6, 2024
4be5971
[cpp-restsdk] add support for oneOf via std::variant (#18821)
wing328 Jun 7, 2024
dc81339
[typescript-fetch] fix #18876 Type error in oneOf when legacyDiscrimi…
fa0311 Jun 7, 2024
5adf1ff
Avoid UnsupportedEncodingException by design, replacing magic string …
Philzen Jun 8, 2024
a5a9958
[Python] Add enum support when building default values for model prop…
welshm Jun 8, 2024
0cc9644
Add enum default value tests to python clients (#18883)
wing328 Jun 8, 2024
2851838
[csharp][generichost] Fixed parameter ordering (#18823)
devhl-labs Jun 10, 2024
f517bf7
[typescript-fetch] - Fix Nullable Types (#18887)
l0gicgate Jun 10, 2024
80bb3dd
build: use runtime scope for slf4j-simple log sink (#18881)
jasonschroeder Jun 10, 2024
00f2cd5
[Elixir] Fix generation issues and compilation warnings in Elixir gen…
ntodd Jun 10, 2024
8357cc3
muenchen deeplink (#18894)
klml Jun 10, 2024
7f34e11
[csharp] Refactor anyOf model template (#18901)
filipe-silva Jun 11, 2024
e8bbfe2
[csharp] fix system.web warning and removed unneeded fqn (#18902)
filipe-silva Jun 11, 2024
37ea82b
Fix list in kotlin client templates (#18891)
wing328 Jun 12, 2024
7084e87
Remove bean validation for uuid (#18900)
MelleD Jun 12, 2024
ef76549
Marketplace software zapier request middleware (#18907)
wing328 Jun 12, 2024
fc0105e
[Java][jaxrs-spec] enumUnknownDefaultCase true now returns correctly …
wing328 Jun 12, 2024
3abe251
[csharp][generichost] Add options for model parameter sorting (#18886)
devhl-labs Jun 12, 2024
1765efc
[Golang] Introduce 'lambda.type-to-name' in models_anyof.mustache (#1…
wing328 Jun 13, 2024
26a164e
[Java][Spring] enumUnknownDefaultCase true now returns correctly in f…
wing328 Jun 13, 2024
788fd6f
Golang client can use pattern-based discriminator between oneOf (#18760)
maxlapshin Jun 13, 2024
ea01903
fixes #18853: provide support of array attributes in multipart/form-d…
jeandonaldroselin Jun 13, 2024
f365900
[Enhancement] [Gradle Plugin] Allow templates from classpath (#14909)
dimber-cais Jun 13, 2024
01fec76
feat(typescript-angular): add support for Angular V18 (#18916)
focTZi Jun 14, 2024
8bac93e
[csharp] Improved apiclient.mustache (#18915)
filipe-silva Jun 15, 2024
cc24106
[Rust-Axum] Use x-response-id if specified (#18906)
emilycf-cw Jun 15, 2024
0aac363
[rust-axum] Support for response status code ranges (#18895)
emmanuelmathot Jun 15, 2024
a40673a
update rust axum samples, add cargo fmt (#18938)
wing328 Jun 15, 2024
13facda
[python] Add an option to add ensure_ascii=False to json.dumps (#18888)
wing328 Jun 15, 2024
642b1a3
[JAVA] [SPRING] [PKMST] [MICRONAUT] XML wireformat: Fix Jackson useWr…
Philzen Jun 15, 2024
3d93862
OneOf should handle Inheritance based type (#18892)
Ghufz Jun 15, 2024
ec8998b
[test-stack] Implement inner class assertion and fix typo "doesNotCon…
Philzen Jun 16, 2024
6f9ad31
[JAVA-SPRING] Avoid broken code due to duplicate rendering of `@Depre…
Philzen Jun 16, 2024
989a798
[Android][Volley] Build fixes (#18899)
valpackett Jun 16, 2024
129e4dc
Fix #18715 [JAVA] ensure codegen fields and additionalProperties are …
jpfinne Jun 17, 2024
c806ea5
requestMappingMode: Explicit configuration to control the location of…
pstorch Jun 17, 2024
793aba7
[kotlin-server][javalin6] Add Javalin 6 support (#18928)
dennisameling Jun 17, 2024
18b4bcb
useEnumCaseInsensitive option fixed in Java Native Model Enum (#18762)
oguzdemirbasci Jun 17, 2024
abc4461
[python] Fix Typo in Model Test (#18953)
ckoegel Jun 18, 2024
819083b
update urllib3 to newer version (#18957)
wing328 Jun 18, 2024
a4d43a8
Add default (#18968)
amaechler Jun 19, 2024
a4b577d
[swift] Issue 18940: Rename url & path variables to avoid collision (…
andyland Jun 19, 2024
c3a2fe0
[Python] Add retries option to Configuration constructor (#18919)
ogroleg Jun 19, 2024
da57701
[haskell-http-client] Support --name-mappings and handle _ name (#189…
valpackett Jun 19, 2024
5bc7aa3
Never create inline model for allOf with single $ref (#18945)
ReneZeidler Jun 19, 2024
9919c23
[Ruby] Add Flag to Allow Ignoring Operation Servers (#18934)
ckoegel Jun 19, 2024
cf303d4
[csharp] Don't apply OpenAPIDateConverter json converter attribute fo…
jpduchon Jun 19, 2024
7747cc9
[Kotlin] update ApiClient to register all adapters for GsonBuilder (#…
wing328 Jun 19, 2024
e5ae07c
avoid setting debug property if not needed (#18872)
ZeeD Jun 20, 2024
640ef9d
fix(rust-server): remove duplicate allow(unused_imports) directive (#…
nathanielc Jun 20, 2024
4e89436
[kotlin] Fix a leak in the ApiClient (#18997)
gosusnp Jun 23, 2024
1064cb6
Allow to pass a str to the Python aiohttp client (#18985)
wing328 Jun 23, 2024
d5f4250
[Golang] Move utility functions from client.mustache to utils.mustach…
wing328 Jun 24, 2024
c5daf81
dart - make the dependency on the http, collection and meta package l…
wiesnery Jun 24, 2024
c0be6ba
update undetow to newer version
wing328 Jun 24, 2024
0368f4e
Add support for a bearer token supplier to OAuth based RestTemplate c…
GregDThomas Jun 24, 2024
861e8f0
[kotlin] implement serializable data classes (#8317) (#18386)
LucasKuhlemann Jun 24, 2024
5532203
fix issue 18959 (#18962)
rodrigoma3 Jun 24, 2024
ba9ac74
revert lsot testMicroprofileGenerateCorrectJacksonGenerator_issue1833…
jpfinne Jun 24, 2024
6aa825b
[Go] Fix an issue causing int array reference translated to an invali…
wing328 Jun 25, 2024
da7105b
fix NPE in get type, add test (#19014)
wing328 Jun 25, 2024
045b601
[Spring] replace MultipartFile by Resource (#18509)
martin-mfg Jun 25, 2024
38d189b
update kong URL (#19018)
wing328 Jun 25, 2024
0d05ee3
[Python] Add Flag to Allow Ignoring Operation Servers (#18981)
ckoegel Jun 26, 2024
6b9d95b
Tries to fix #18975 by changing how the deserializer interacts with i…
qbuzzdaan Jun 26, 2024
0c4bfe3
Add tests for anyof with discriminator (#19021)
wing328 Jun 26, 2024
9c26848
[kotlin-client] Generate safe ?. access for optional enums (#18982) (…
valpackett Jun 26, 2024
44e9ff5
[android][volley] Remove unused robolectric test dependency (#19022)
valpackett Jun 27, 2024
53f1094
[Python] Allow Overriding Accept Header (#19025)
ckoegel Jun 28, 2024
fa2b575
[Bug] [Java] Remove raw type compilation warnings when generating usi…
ksn-partisia Jun 30, 2024
fb17e56
[PHP-SYMFONY] Debug Symfony version 7, enums ref, array of enums $ref…
loicconan Jun 30, 2024
21d3cfe
Fix Issue 18224 - Load x-field-extra-annotation in the operation para…
rodrigoma3 Jun 30, 2024
f992fdf
Merge branch 'master' into phpnextgen_client_builder
ybelenko Jun 30, 2024
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.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ commands: # a reusable command with parameters
jobs:
node0:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2004:2024.01.1
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
Expand All @@ -154,7 +154,7 @@ jobs:
nodeNo: "0"
node1:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2004:2024.01.1
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
Expand All @@ -167,7 +167,7 @@ jobs:
nodeNo: "1"
node2:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2004:2024.01.1
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
Expand All @@ -180,7 +180,7 @@ jobs:
nodeNo: "2"
node3:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2004:2024.01.1
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
Expand Down
7 changes: 4 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/devcontainers/features/rust:1": {},
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {},
"docker-in-docker": {
"version": "latest",
Expand All @@ -25,8 +26,8 @@
"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",
"path": "/usr/local/sdkman/candidates/java/current",
"sources": "/usr/local/sdkman/candidates/java/current/lib/src.zip",
"javadoc": "https://docs.oracle.com/en/java/javase/11/docs/api",
"default": true
}
Expand All @@ -49,4 +50,4 @@
// "postCreateCommand": "mvn clean package -DskipTests",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
}
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
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*`.
IMPORTANT: Do **NOT** purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (upcoming 7.1.0 minor release - breaking changes with fallbacks), `8.0.x` (breaking changes without fallbacks)
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (upcoming 7.6.0 minor release - breaking changes with fallbacks), `8.0.x` (breaking changes without fallbacks)
- [ ] 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.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-plugin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
java-version: 11
distribution: 'temurin'
- name: Cache maven dependencies
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-maven-repository
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gradle-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'samples/client/petstore/java/**'
- 'samples/openapi3/client/petstore/java/**'
env:
GRADLE_VERSION: 7.2
GRADLE_VERSION: 8.7

jobs:
build:
Expand All @@ -37,14 +37,14 @@ jobs:
java-version: 11
# Cache Gradle Dependencies
- name: Setup Gradle Dependencies Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}

# Cache Gradle Wrapper
- name: Setup Gradle Wrapper Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java }}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('pom.xml', 'modules/**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -45,7 +45,7 @@ jobs:
${{ runner.os }}-gradle-

- name: Setup Maven
uses: s4u/setup-maven-action@v1.11.0
uses: s4u/setup-maven-action@v1.13.0
with:
java-version: ${{ matrix.java }}
maven-version: 3.8.8
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Maven
uses: s4u/setup-maven-action@v1.11.0
uses: s4u/setup-maven-action@v1.13.0
with:
java-version: 11
maven-version: 3.8.8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-plugin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
java-version: 11
distribution: 'temurin'
- name: Cache maven dependencies
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-maven-repository
with:
Expand Down
38 changes: 35 additions & 3 deletions .github/workflows/openapi-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
java-version: 11
distribution: 'temurin'
- name: Cache maven dependencies
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-maven-repository
with:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
java-version: 11
distribution: 'temurin'
- name: Cache maven dependencies
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-maven-repository
with:
Expand Down Expand Up @@ -140,8 +140,40 @@ jobs:
with:
name: openapi-generator-cli.jar
path: modules/openapi-generator-cli/target
- name: Delete samples that are entirely generated
run: |
rm -rf samples/client/petstore/csharp/generichost/net8/AllOf
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOf
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare
rm -rf samples/client/petstore/csharp/generichost/net8/FormModels
rm -rf samples/client/petstore/csharp/generichost/net8/NullReferenceTypes
rm -rf samples/client/petstore/csharp/generichost/net8/OneOf
rm -rf samples/client/petstore/csharp/generichost/net8/Petstore
rm -rf samples/client/petstore/csharp/generichost/net8/SourceGeneration
rm -rf samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate

rm -rf samples/client/petstore/csharp/generichost/standard2.0/Petstore

rm -rf samples/client/petstore/csharp/generichost/net4.8/AllOf
rm -rf samples/client/petstore/csharp/generichost/net4.8/AnyOf
rm -rf samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
rm -rf samples/client/petstore/csharp/generichost/net4.8/FormModels
rm -rf samples/client/petstore/csharp/generichost/net4.8/OneOf
rm -rf samples/client/petstore/csharp/generichost/net4.8/Petstore
rm -rf samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate

rm -rf samples/client/petstore/csharp/generichost/net4.7/AllOf
rm -rf samples/client/petstore/csharp/generichost/net4.7/AnyOf
rm -rf samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
rm -rf samples/client/petstore/csharp/generichost/net4.7/FormModels
rm -rf samples/client/petstore/csharp/generichost/net4.7/OneOf
rm -rf samples/client/petstore/csharp/generichost/net4.7/Petstore
rm -rf samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate
- name: Generate samples
run: bash bin/generate-samples.sh
run: |
bash bin/generate-samples.sh
# when a sample is deleted, you have to generate it twice for all files to get created
bash bin/generate-samples.sh
- name: Verify git status
run: |
if [[ "$(git status --porcelain)" != "" ]]; then
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/samples-c-libcurl-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,31 @@ on:
push:
paths:
- 'samples/client/petstore/c/**'
- 'samples/client/petstore/c-useJsonUnformatted/**'
pull_request:
paths:
- 'samples/client/petstore/c/**'
- 'samples/client/petstore/c-useJsonUnformatted/**'

jobs:
build:
name: Build c libcurl client
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sample:
- 'samples/client/petstore/c/'
- 'samples/client/petstore/c-useJsonUnformatted/'

steps:
- uses: actions/checkout@v4
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev libcurl4-openssl-dev
- name: Build
working-directory: "samples/client/petstore/c"
working-directory: ${{ matrix.sample }}
run: |
mkdir build
cd build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/samples-cpp-qt-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{ matrix.qt-version }}
tools: ${{ matrix.tools }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/samples-dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
java-version: 11
cache: maven
- name: Cache test dependencies
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: pub-cache
with:
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/samples-dotnet-fx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Samples C# .Net Framework Clients

on:
push:
paths:
- samples/client/petstore/csharp/generichost/net4.7/**
- samples/client/petstore/csharp/generichost/net4.8/**
pull_request:
paths:
- samples/client/petstore/csharp/generichost/net4.7/**
- samples/client/petstore/csharp/generichost/net4.8/**
jobs:
build:
name: Build .Net projects
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
sample:
- samples/client/petstore/csharp/generichost/net4.7/AllOf
- samples/client/petstore/csharp/generichost/net4.7/AnyOf
- samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
- samples/client/petstore/csharp/generichost/net4.7/FormModels
- samples/client/petstore/csharp/generichost/net4.7/OneOf
- samples/client/petstore/csharp/generichost/net4.7/Petstore
- samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate

- samples/client/petstore/csharp/generichost/net4.8/AllOf
- samples/client/petstore/csharp/generichost/net4.8/AnyOf
- samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
- samples/client/petstore/csharp/generichost/net4.8/FormModels
- samples/client/petstore/csharp/generichost/net4.8/OneOf
- samples/client/petstore/csharp/generichost/net4.8/Petstore
- samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate
steps:
- uses: actions/checkout@v4
- name: Build
working-directory: ${{ matrix.sample }}
run: dotnet build Org.OpenAPITools.sln
- name: Test
working-directory: ${{ matrix.sample }}
run: dotnet test Org.OpenAPITools.sln
27 changes: 19 additions & 8 deletions .github/workflows/samples-dotnet-standard.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
name: Samples C# .Net Standard
name: Samples C# .Net Standard Client

on:
push:
paths:
- 'samples/client/petstore/csharp/**netstandard**/'
- samples/client/petstore/csharp/generichost/standard2.0/**
- samples/client/petstore/csharp/httpclient/standard2.0/**
- samples/client/petstore/csharp/restsharp/standard2.0/**
- samples/client/petstore/csharp/unityWebRequest/standard2.0/**
pull_request:
paths:
- 'samples/client/petstore/csharp/**netstandard**/'
- samples/client/petstore/csharp/generichost/standard2.0/**
- samples/client/petstore/csharp/httpclient/standard2.0/**
- samples/client/petstore/csharp/restsharp/standard2.0/**
- samples/client/petstore/csharp/unityWebRequest/standard2.0/**
jobs:
build:
name: Build .Net projects
Expand All @@ -15,8 +21,11 @@ jobs:
fail-fast: false
matrix:
sample:
# clients
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0
- samples/client/petstore/csharp/generichost/standard2.0/Petstore/
- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/
# - samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
Expand All @@ -25,6 +34,8 @@ jobs:
- name: Build
working-directory: ${{ matrix.sample }}
run: dotnet build Org.OpenAPITools.sln
- name: Test
working-directory: ${{ matrix.sample }}
run: dotnet test Org.OpenAPITools.sln
# skip tests as petstore server it not running
# these tests are run in appveyor instead
#- name: Test
# working-directory: ${{ matrix.sample }}
# run: dotnet test Org.OpenAPITools.sln
Loading