Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2216 commits
Select commit Hold shift + click to select a range
8db9af9
fix broken link to conan.io
wing328 Oct 15, 2023
c5d6884
[BUG][GO] Replace references to sw package with {{packageName}} in RE…
joshraker Oct 15, 2023
694f5a0
fix TC table format
wing328 Oct 15, 2023
769990d
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 Oct 15, 2023
438bf25
chore: Simplify async/non-async api method templates (#16820)
robertschweizer Oct 15, 2023
b6db4f7
[JAVA] fix: oneOf generates incorrect model for primitive types (#16834)
martin-mfg Oct 16, 2023
8bb4733
[PHP-Symfony] fix #15950: Add float to deserialize (#16835)
DaxServer Oct 16, 2023
2f214ee
Autoset constants (Required fields having single valid enum value) (#…
prashant-pant Oct 16, 2023
d1fa38e
[BUG][GO] Add support for all +json and +xml suffixed media types (#1…
joshraker Oct 16, 2023
1dd9590
[Go-server] - Support for Enums in the Path and Query (#16781)
icubbon Oct 17, 2023
e0738a6
[Go-Server] Support for an endpoint returning a file to the client - …
icubbon Oct 17, 2023
8feef52
[Bug] [Java] Upgrade Guava version to 32.1.3 (#16833)
bhargavpaturu06 Oct 17, 2023
d642141
chore: remove unused commons logging imports from java webclient (#16…
madorb Oct 17, 2023
77687a8
[zapier] Zapier generator minor fix (#16845)
emajo Oct 18, 2023
7347dae
fix(nestjs) fix import in api module template (16670) (#16671)
thomastrapanese Oct 20, 2023
5f71bb9
Bump jurplel/install-qt-action from 3 to 4 (#16885)
dependabot[bot] Oct 22, 2023
bf9fae6
[Go-Server] Add support for DateTime Query Parameters (#16749)
icubbon Oct 22, 2023
f16744a
Update ktor client version for custom plugin support (#16869)
mtriston Oct 23, 2023
ae590c4
[Ruby] Add support for populating a gem metadata (#16872)
ivgiuliani Oct 23, 2023
cdbb73a
Prevent direnv errors when not using nix (#16875)
halostatue Oct 23, 2023
cb85358
[PHP-SYMFONY] Debug Date and DateTime Assert (#16874)
loicconan Oct 23, 2023
0aff1a6
[kotlin][client] Fix compilation error when all auth method is mapped…
WonderCsabo Oct 24, 2023
091cff6
fixed flaky test JavaClientCodegenTest.testMicroprofileRestClientInco…
Suraj-Vashista-BK Oct 26, 2023
b13a1a0
[ruby|client] Fix unmarshalling errors of enums inside other objects …
isimluk Oct 26, 2023
eae2051
Bump actions/setup-node from 3 to 4 (#16893)
dependabot[bot] Oct 26, 2023
eb5b781
[typescript-axios] Add Support for Operation Servers (#16782)
ckoegel Oct 27, 2023
fbd0255
fix(rust-server): remove redundant clone (#16906)
nathanielc Oct 27, 2023
d671b83
chore(deps,rust): requires reqwest 0.11 in blocking generated code (#…
KisaragiEffective Oct 28, 2023
58f058f
[csharp] RemoteCertificateValidationCallback was not called on async …
torgilf Oct 28, 2023
05b796a
Fix type hint for array in comments. (#16926)
reznikartem Oct 28, 2023
244a3b4
[ruby] Make File Downloads Threadsafe (#16876)
dawson-conway Oct 28, 2023
677b6e6
If parsing a boolean fails, return a `ParsingError` instead of a stra…
icubbon Oct 28, 2023
5a5ee16
fixed lambda to not strip line breaks (#16930)
devhl-labs Oct 29, 2023
c1c6237
made security scheme comparison case insensitive (#16934)
devhl-labs Oct 30, 2023
3422ef1
update C# samples
wing328 Oct 30, 2023
8827da8
[python] fix typing for API responses (#16802)
fa0311 Oct 30, 2023
08d5183
n4js fix issue with broken module names due to same module names (#16…
mmews-n4 Oct 30, 2023
6cd73eb
[PHP] check if json_decode was able to decode response (#16879)
individual-it Oct 31, 2023
bfe6157
Better isAlias detection (#16943)
wing328 Oct 31, 2023
739390a
java exclude password field from toString (#16942)
dabdirb Oct 31, 2023
c2a4163
[typescript-axios] Fix Explode Query Parameters (#16898)
ckoegel Nov 1, 2023
8d76ab9
[Go] Add multiple file upload support (#16956)
wing328 Nov 1, 2023
8893c71
[Core] Better code format (#16959)
wing328 Nov 1, 2023
a4267ee
fix parameters_to_url_query returns booleans with upper letter (#16947)
mhaley-tignis Nov 1, 2023
4302d37
use unescaped baseName (#16957)
wing328 Nov 1, 2023
4402635
[python] Fix postponed model imports (#16882)
OliverTetzTT Nov 1, 2023
6425fbe
[dart-dio] Add toString in Enum on json_serializer (#15387)
AAkira Nov 2, 2023
83822d2
[Bug][Go][Client] Downloaded File Does Not Exist When Returned to Cal…
icubbon Nov 2, 2023
5c5ec36
Type import for oneOf models in ts-fetch template (#16828)
Xowap Nov 2, 2023
832947c
[typescript-fetch] Generate @deprecated comments for all deprecated A…
KirillStub Nov 2, 2023
fbbfa12
fix(typescript-nodejs): update package json dependencies (#15493)
lucasheim Nov 2, 2023
e4cfd62
[Go] add generateMarshalJSON key for additional-properties settings (…
kokoichi206 Nov 2, 2023
39347ec
maven plugin: log global settings, minor improvements (#16961)
martin-mfg Nov 2, 2023
7b8a515
Bug Fix: Removing Hardcoded 'id' csharp-function (#16963)
AJLM10 Nov 2, 2023
1092593
[python] add circular reference import (#16940)
fa0311 Nov 2, 2023
fe547dd
Update Revved up by Develocity badge (#16968)
runningcode Nov 3, 2023
171cc67
fix pydantic v1 default template folder (#16973)
wing328 Nov 3, 2023
c4b18f2
[Server][Spring] fix support interface and implementation classes for…
kapilguptavz Nov 4, 2023
61629ae
[python] Add back `__enter__` and `__exit__` methods for non asyncio …
ykitamura-mdsol Nov 4, 2023
f83cb60
Add optional parameter for request body (#16972)
MelleD Nov 4, 2023
5e8e301
[POSTMAN] [BUG] Correct order of the Postman requests (#16983)
gcatanese Nov 4, 2023
482c759
corrected gneration of java jersey code with oneof and anyof (#16970)
eric-rolli Nov 4, 2023
5d03c4a
[java-okhttp] Restore integration tests (#16985)
wing328 Nov 4, 2023
db9fd9a
[Go] validate required fields when unmarshalling JSON (#16863)
ctreatma Nov 4, 2023
de85999
Better handling of API response in 3.1 spec (#16986)
wing328 Nov 5, 2023
a853adb
add sponsors, update readme (#16987)
wing328 Nov 5, 2023
588e259
add Adyen to the sponsor list
wing328 Nov 5, 2023
339596a
normalizer: minor refactoring in responses (#16988)
wing328 Nov 5, 2023
4920814
Better handling of allOf in request body (#16991)
wing328 Nov 5, 2023
74363a3
Add tests for go generateMarshalJSON option (#16993)
wing328 Nov 6, 2023
0673897
Update README.md with Develocity
wing328 Nov 6, 2023
65ccf04
fix: Raise exceptions on non-2xx responses (#16999)
robertschweizer Nov 7, 2023
8e98671
[csharp] Introducing the `enumPropertyNaming` option to the C# Genera…
fujieda Nov 7, 2023
849cf88
Update C# dependencies to newer versions, update reserved word list (…
wing328 Nov 7, 2023
a31b38b
Added some Test Cases (#16994)
MANN3005 Nov 7, 2023
c301004
fix oneOf merging, upgrade dependencies (#16992)
martin-mfg Nov 7, 2023
ba85461
fix(java): generate correct enum constructor when string format is ur…
hhomar Nov 7, 2023
74163f0
bump gson-fire to 1.9.0 (#17002)
ChaosMarc Nov 7, 2023
d945499
[PHP-SYMFONY] Support BackedEnum for enum ref (16846) (#16847)
loicconan Nov 7, 2023
ced9660
[ts][axios] fix bugs in base.ts (#16997)
miaobuao Nov 7, 2023
e950707
better null check in getSchemaFromResponse (#17003)
wing328 Nov 8, 2023
291ce35
[Go][Server] FormParams - Generic Array Type Handling (#17001)
icubbon Nov 8, 2023
166ebc5
[Java][okhttp-gson] validateJsonElement does not validate enum values…
ctreatma Nov 8, 2023
ced31f4
add kotlin-spring beanValidation for RequestBody parameters fix #1673…
lukbaran Nov 8, 2023
f35b132
[Kotlin] fix(#14044): ktor JSON serialization handling (#16843)
kalinjul Nov 8, 2023
92daacd
Add Robocorp (robocorp.com) as user (#17019)
cmin764 Nov 9, 2023
c48cddd
[GO] Add support for model name mapping for go (#17023)
aidandj Nov 11, 2023
279a92c
rearrange users
wing328 Nov 11, 2023
09060c6
Use postman notation (#17028)
gcatanese Nov 11, 2023
40b1d37
Update gradle samples to use gradle wrapper 7.6.3 (#17035)
wing328 Nov 12, 2023
2b9ee8c
Remove unused method (#17042)
gcatanese Nov 12, 2023
6917aad
fix: use apikey name in header instead of securityDefinition spec id …
elonmallin Nov 12, 2023
372894d
Add powershell echo test, rename api key names (#17043)
wing328 Nov 12, 2023
c377fdf
Fix powershell client Build.ps1 and *.psm1 error when there is a miss…
elonmallin Nov 12, 2023
f83e4ff
update PS samples
wing328 Nov 13, 2023
5693eee
Fix CircleCI build (#17016)
wing328 Nov 13, 2023
2f655f1
Time parameters in the path resulted in code that would not compile (…
icubbon Nov 13, 2023
7e52992
[csharp][generichost] Implement not required nullable properties (#16…
devhl-labs Nov 13, 2023
ec3c484
Add enum name mapping to Java generators (#17018)
wing328 Nov 13, 2023
c9f7af7
Verify Path params that fall into the `string` bucket are supplied (#…
icubbon Nov 13, 2023
e2a62ac
7.1.0 release (#17049)
wing328 Nov 13, 2023
5328926
Prepare v7.2.0 (#17050)
wing328 Nov 13, 2023
6da264b
update lombok dep to newer version (#17053)
wing328 Nov 14, 2023
91ac75f
Fix NPE in request body (#17055)
wing328 Nov 14, 2023
c8b3da7
[Java][okhttp-gson] remove unreachable code from templates (#17057)
ctreatma Nov 14, 2023
322afea
Retain deprecated in allOf schema handling (#17056)
wing328 Nov 14, 2023
8860d96
disabled GetHashCode generation (#17039)
devhl-labs Nov 14, 2023
d1b148a
[python] added handling for boolean content type (#17020)
OliverTetzTT Nov 14, 2023
2c25443
Update base image of Dockerfile (#17007)
litetex Nov 14, 2023
2ca9586
Add socks5 proxy support for OpenAPI generated python client (#16918)
rolf-moz Nov 14, 2023
6be4d2e
update algoria settings (#17064)
wing328 Nov 14, 2023
61fde48
fix: Disable warnings for model_* properties (#17066)
robertschweizer Nov 14, 2023
a460b7e
[typescript-axios] Upgrade to axios@^1 (#14518)
segevfiner Nov 14, 2023
dd4143b
[csharp] Added .net8 (#17075)
devhl-labs Nov 15, 2023
69fcfef
Add passgenau-digital and we-make.ai as OpenAPI Generator users (#17077)
jonasheschl Nov 15, 2023
e47e704
[python][Feat] Deserialize error responses (#17038)
robertschweizer Nov 15, 2023
37451fa
[Java][resttemplate] Add test for bearer auth (#17081)
kota65535 Nov 15, 2023
d9920a5
update samples
wing328 Nov 15, 2023
bae20c1
Use JDK17 images in Dockerfile (#17076)
wing328 Nov 16, 2023
dcccd06
Revert "Use JDK17 images in Dockerfile (#17076)" (#17104)
wing328 Nov 16, 2023
07620ce
update webclient dep to newer version, add tests (#17106)
wing328 Nov 17, 2023
195f27d
update rest-assured dep to newer versions (#17107)
wing328 Nov 17, 2023
f81d44b
[PHP-NG] check if json_decode was able to decode response (#17120)
individual-it Nov 18, 2023
a2c1b02
added required fields to zapier models generation (#17115)
emajo Nov 18, 2023
1f5b590
Python-server workflow fixes + pytest (#17060)
ajoga Nov 18, 2023
3552935
[PHP-NG] don't nullify mixed types (#17116)
individual-it Nov 18, 2023
5c69284
[PHP-NG] convert data to string before giving it to preg_match (#17119)
individual-it Nov 18, 2023
1ce95ff
Map type date to correct rust type NaiveDate (#17095)
mlenger Nov 18, 2023
eabd940
fix rust client test (#17124)
wing328 Nov 18, 2023
0098d56
[PHP-NG] allow 'object' type in serializer (#17118)
individual-it Nov 18, 2023
5e7f2f2
fix: Annotate free-form object as dict in Python (#17082)
robertschweizer Nov 18, 2023
3e50495
[kotlin-client][multiplatform] add iosSimulatorArm64 target (#17058)
WonderCsabo Nov 18, 2023
dc4c72c
[BUG] [dart-dio] Support for Analyzer configuration options changes i…
karadzhov Nov 18, 2023
4bedeef
[Java][apache-httpclient][feign][okhttp-gson] Enable access token ref…
kota65535 Nov 18, 2023
8258cde
[jmeter] Fix exception when operationId has $ (#17125)
wing328 Nov 18, 2023
a577db8
fix[csharp]: The Deserialize should use the ClientUtils to handle the…
fghpdf Nov 18, 2023
1da970b
fix comparison using equals (#17132)
wing328 Nov 19, 2023
75ff110
[python] Some cleanup of samples folder (#17127)
robertschweizer Nov 19, 2023
685d944
[Kotlin] fix: match tags of closing brackets with opening ones (#1297…
greenbourne277 Nov 19, 2023
4fd5603
Fix JavaSpring clientConfiguration's ConditionalOnProperty import (#1…
vedantchokshi Nov 19, 2023
bf61455
update samples
wing328 Nov 19, 2023
186fde2
[spring-cloud] add http basic test (#17135)
wing328 Nov 19, 2023
63c8d0e
python docs templates minor fixes (#17133)
nopcoder Nov 19, 2023
9770484
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 Nov 19, 2023
8e36014
update samples
wing328 Nov 19, 2023
6d93b0e
Fix handling of composed schema in inline model resolver (#17138)
wing328 Nov 19, 2023
0401c46
Fix missing objects when defining inline anyOf, or oneOf (#17141)
wing328 Nov 20, 2023
489d369
README: update url for maven-wrapper (#17142)
qyanu Nov 20, 2023
9970c06
Adds basic retries to rest API requests for Python asyncio (#17014)
rad-pat Nov 21, 2023
baaf759
[python-fastapi]Add an alias keyword parameter for Query parameter (#…
smakoto Nov 21, 2023
87b86c7
feat: Support useSingleRequestParameter feature for java microprofile…
vickymicky Nov 21, 2023
7bf9534
update option description (java client)
wing328 Nov 21, 2023
ab0b44a
[kotlin-client] add support for kotlinx-datetime (#17166)
WonderCsabo Nov 22, 2023
3f033c0
[kotlin-client][multiplatform] fix iosSimulatorArm64 source sets (#17…
WonderCsabo Nov 22, 2023
917d671
Fix typescript-fetch to support nullable enum properties (#17153)
rickdgeerling Nov 22, 2023
aaed846
Update Dockerfile (cli, online) to use eclipse-temurin:17.0.3_7-jre-f…
wing328 Nov 23, 2023
a93bab0
Add openapi-normalizer rule to set tags to operationId (#17161)
wing328 Nov 23, 2023
0dbc108
Add openapiGeneratorIgnoreList option to pre-populate .openapi-genera…
wing328 Nov 23, 2023
0d2a016
update samples
wing328 Nov 23, 2023
7c551e6
Bump s4u/setup-maven-action from 1.10.0 to 1.11.0 (#17175)
dependabot[bot] Nov 24, 2023
4c6dbfe
fix build errors in jdk 11 (#17177)
wing328 Nov 24, 2023
8bea7f7
handled nullable inner enums better (#17128)
devhl-labs Nov 26, 2023
ad95d55
[csharp][generichost] Allow multiple auth methods of same type (#17129)
devhl-labs Nov 26, 2023
3fa21b5
do not inherit additional properties (#17140)
devhl-labs Nov 26, 2023
9fa3aec
[kotlin-client][multiplatform] update dependency versions (#17180)
WonderCsabo Nov 26, 2023
4f82071
[csharp][generichost] Honor the Set-Cookie header (#17186)
devhl-labs Nov 27, 2023
a117dd5
add enum name mapping feature to kotlin generators (#17193)
wing328 Nov 27, 2023
ac68765
add enum name mapping feature to C# generators (#17194)
wing328 Nov 27, 2023
e2a8118
add enum name mapping support to php generators (#17195)
wing328 Nov 27, 2023
8669646
fix: chsarp get file name from content disposition (#17183)
fghpdf Nov 27, 2023
fb429f7
[csharp][generichost] Do not assume api keys are interchangeable (#17…
devhl-labs Nov 28, 2023
14c12fc
include {min|max}Items validation in rust-server models (#17201)
vances Nov 29, 2023
46dd875
Add tests for max,min items in array (rust-server) (#17215)
wing328 Nov 29, 2023
9184560
remove unused CI files (#17217)
wing328 Nov 29, 2023
fd58539
[JAVA] Jersey3 deprecated field only deprecates getter method (#17221)
gcatanese Nov 29, 2023
a8ac322
[BUG] OpenAPI normalizer ignoring common parameters (#17236)
gcatanese Nov 30, 2023
77127ec
Bump actions/setup-java from 3 to 4 (#17252)
dependabot[bot] Nov 30, 2023
4a1db3f
[JAVA] Jersey3 deprecate class attribute (#17223)
gcatanese Nov 30, 2023
4c4d0e4
[java] Update logback to newer versions (#17259)
wing328 Nov 30, 2023
939ffdd
Add bean validation for primitive container type 17450 (#17157)
MelleD Nov 30, 2023
f033b11
Update JAX-RS client samples (#17262)
wing328 Nov 30, 2023
8911740
[BUGFIX][Rust] Array with unique enum items no longer causes mismatch…
SAIA-Basseldonk Nov 30, 2023
f834519
move config file to unmaintained to avoid samples outdated errors
wing328 Dec 1, 2023
ac78f1e
[POSTMAN] Enabling required query parameters (#17281)
gcatanese Dec 2, 2023
64e5266
[kotlin-client] Fixed an issue where compilation fails when an enum o…
YusukeOba Dec 2, 2023
6657b2c
[POSTMAN] Query parameter description (#17291)
gcatanese Dec 3, 2023
62faa53
[POSTMAN] Include header description (#17292)
gcatanese Dec 3, 2023
95340d5
[cpp-qt-client] pass QString by const reference instead of by value (…
MartinDelille Dec 3, 2023
2967b33
[csharp][generichost] Added enum for api key names (#17295)
devhl-labs Dec 4, 2023
b19bc59
add enum name mapping feature to go generators (#17289)
wing328 Dec 4, 2023
ac45e3d
add enum name mapping feature to the rust generators (#17290)
wing328 Dec 4, 2023
bbd0ce3
add enum mapping option to dart generators (#17298)
wing328 Dec 4, 2023
cdb020d
add enum name mapping option to swift generators (#17297)
wing328 Dec 5, 2023
e8e7a21
Skip escaping path parameter description (#17304)
gcatanese Dec 5, 2023
d9b7951
Bump actions/setup-dotnet from 3.2.0 to 4.0.0 (#17312)
dependabot[bot] Dec 5, 2023
0ee662b
Fix parameter names in Configuration (#17305)
szepeviktor Dec 5, 2023
889c6fe
Fix non-four indents in PHP templates (#17309)
szepeviktor Dec 5, 2023
391df3b
update samples
wing328 Dec 5, 2023
39d5b4e
Replace stray TAB characters with spaces (#17311)
szepeviktor Dec 5, 2023
0ab9f74
use keyParamName (#17328)
devhl-labs Dec 6, 2023
3314956
Fix PHP constructor docblock (#17324)
szepeviktor Dec 6, 2023
6230248
update php samples
wing328 Dec 6, 2023
6a43a37
fix: Configure python urllib3 connection pool size (#17323)
robertschweizer Dec 6, 2023
2c9fbf8
add enum name mapping to ada codegen (#17299)
wing328 Dec 6, 2023
f593adf
Bump actions/setup-go from 4 to 5 (#17337)
dependabot[bot] Dec 7, 2023
1b2917d
Bump actions/setup-python from 4 to 5 (#17338)
dependabot[bot] Dec 7, 2023
3762277
Use .Content of for accessing response body in powershell (#17342)
Stuv7CB Dec 7, 2023
e37cf90
fix(typescript-axios): use baseURL of (custom) axios instance (#17296)
mymx2 Dec 8, 2023
c159abf
[typescript-axios] Allow enum attribute to be nullable (#17265)
Naktibalda Dec 8, 2023
6246235
[csharp] Support 420 HTTP code (#17207)
vbauer Dec 8, 2023
e37decf
Add Java Optional for POJOs in JavaSpring templates (#17202)
MelleD Dec 8, 2023
95af601
fix: go-server unresolved function NewstringFromValue for enums (#17316)
ErikBooijMB Dec 8, 2023
351f764
Fix broken link to csharp-netcore generator (#17322)
OMMHOA Dec 8, 2023
5831848
Ruby Client for Faraday: fix file downloading (#17333)
lumpidu Dec 9, 2023
a21e681
enable scopes for all security scheme types (#17083)
kota65535 Dec 9, 2023
5daa145
check boolean value returned by createFile (#17359)
wing328 Dec 9, 2023
dd36fa0
update logbak core to newer version (#17360)
wing328 Dec 9, 2023
10da7a3
[Ruby] add file download tests (#17362)
wing328 Dec 9, 2023
004c7e8
[Style][Go] standardize the format of mustache (tiny change) (#17363)
kokoichi206 Dec 10, 2023
8bb9a10
[kotlin-client][multiplatform] use shortcut to access jsMain as well …
WonderCsabo Dec 10, 2023
9eb5882
OpenAPI 3.1.0 Add webhooks support (#17174)
gcatanese Dec 11, 2023
7f05c1f
[kotlin-client] New generator: kotlin-jvm-spring-restclient (#17366)
stefankoppier Dec 11, 2023
51c8be3
[csharp][generichost] Handle obsolete params and methods (#17344)
lewinskimaciej Dec 11, 2023
62399b1
add a test for SecretStr in the python client (#17364)
wing328 Dec 11, 2023
d4d5196
Better handling of any type in v3.1 spec (#17370)
wing328 Dec 11, 2023
809b333
[4947][java]: adds support for validation of primitives in arrays (#1…
Aliaksie Dec 11, 2023
a792a79
Implementing retry logic to restTemplate (#17375)
rubiniselvaraj Dec 12, 2023
2a27fd5
[C][Client] Use int* as int or bool type function parameter (#17179)
ityuhui Dec 12, 2023
64c85a8
Fix NPE in codegen security (#17378)
wing328 Dec 12, 2023
4c4388e
Fix for handling error in resttemplate (#17381)
rubiniselvaraj Dec 13, 2023
28b2c75
Fix issue with URI type in the enum (#17126)
hhomar Dec 13, 2023
42f7219
add security feature AWSV4Signature to documentation (#15603)
tiffmaelite Dec 13, 2023
734b922
[scala-akka-client] Scala Akka client does not support arbitrary quer…
wing328 Dec 13, 2023
56e2c49
update doc
wing328 Dec 13, 2023
b7f31dd
Regenerate (#17389)
lwj5 Dec 13, 2023
bf9a82f
[rust] basic oneOf support
ctrlaltf24 Nov 9, 2022
10b1e44
refactor: use tuple enums rather than struct enums
ctrlaltf24 Nov 11, 2022
408f583
ci: add oneOf tests
ctrlaltf24 Nov 12, 2022
0f2d235
docs: support oneOf schema
ctrlaltf24 Nov 12, 2022
fb6a36e
chore: generate samples
ctrlaltf24 Nov 12, 2022
f8f5927
fix: impl Default
ctrlaltf24 Nov 15, 2022
3e2fe10
chore: generate docs
ctrlaltf24 Nov 15, 2022
0b35394
chore: update samples
ctrlaltf24 Nov 15, 2022
8c71dd9
fix: enum without a discriminator is untagged
ctrlaltf24 Dec 1, 2022
545c47e
ci: add tests for oneof and discriminator
ctrlaltf24 Dec 1, 2022
60a7559
ci: fix version to strict semver
ctrlaltf24 Dec 1, 2022
3a512af
fix: implement Default on discriminator enums
ctrlaltf24 Dec 1, 2022
ebb354f
docs: update model_doc
ctrlaltf24 Dec 1, 2022
2f16b40
style: newline before discriminator variants
ctrlaltf24 Dec 1, 2022
6a90a83
Fixed pom
humb1t Dec 14, 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.
100 changes: 50 additions & 50 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,69 +31,69 @@ commands: # a reusable command with parameters
# '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 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
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
command: |
sudo tee -a /etc/hosts \<<< "127.0.0.1 path.v1.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.1 path.v2.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.111 path.v3.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.1 operation.v1.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.1 operation.v2.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.111 operation.v3.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.1 server.v1.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.1 server.v2.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.111 server.v3.test.openapi-generator.tech"
sudo tee -a /etc/hosts \<<< "127.0.0.1 petstore.swagger.io"
cat /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: export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
- 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
#- 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
# - ~/.m2
# - ~/.ivy2
# - ~/.sbt
# - ~/.bundle
# - ~/.go_workspace
# - ~/.gradle
# - ".git"
# - ~/.stack
# - ~/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
# - ~/.m2
# - ~/.ivy2
# - ~/.sbt
# - ~/.bundle
# - ~/.go_workspace
# - ~/.gradle
# - ~/.cache/bower
# - ".git"
# - ~/.stack
# - ~/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
Expand Down Expand Up @@ -193,8 +193,8 @@ jobs:
- command_build_and_test:
nodeNo: "3"
node4:
docker:
- image: fkrull/multi-python
machine:
image: ubuntu-2004:202201-02
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
Expand All @@ -204,7 +204,7 @@ jobs:
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- checkout
- command_docker_build_and_test:
- command_build_and_test:
nodeNo: "4"
workflows:
version: 2
Expand Down
53 changes: 53 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"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/devcontainers/features/rust:1": {},
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {},
"docker-in-docker": {
"version": "latest",
"moby": true,
"dockerDashComposeVersion": "v1"
}
},
// 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 @@
has nix && use flake
30 changes: 6 additions & 24 deletions .github/.test/samples.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,6 @@
"Client: Java"
]
},
{
"input": "java-petstore-jersey1.sh",
"matches": [
"Client: Java"
]
},
{
"input": "java-petstore-jersey2-java6.sh",
"matches": [
Expand Down Expand Up @@ -584,18 +578,6 @@
"Server: Java"
]
},
{
"input": "jaxrs-jersey1-petstore-server.sh",
"matches": [
"Server: Java"
]
},
{
"input": "jaxrs-jersey1-usetags-petstore-server.sh",
"matches": [
"Server: Java"
]
},
{
"input": "jaxrs-petstore-server-datelib-j8.sh",
"matches": [
Expand Down Expand Up @@ -800,12 +782,6 @@
"Client: Python"
]
},
{
"input": "python-server-flask-petstore-python2.sh",
"matches": [
"Server: Python"
]
},
{
"input": "python-server-flask-petstore.sh",
"matches": [
Expand Down Expand Up @@ -1226,6 +1202,12 @@
"Client: TypeScript"
]
},
{
"input": "typescript-nestjs-v8-petstore-provided-in-root.sh",
"matches": [
"Client: TypeScript"
]
},
{
"input": "typescript-node-petstore-with-npm.sh",
"matches": [
Expand Down
6 changes: 2 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ modules/openapi-generator-gradle-plugin/**/* @jimschubert
modules/openapi-generator-maven-plugin/**/* @jimschubert

# Martin Delille
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CppQtClientCodegen.java @martindelille
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CppQtAbstractCodegen.java @martindelille
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/resources/cpp-qt-client @martindelille
/Users/martin/dev/clone/openapi-generator/samples/client/petstore/cpp-qt @martindelille
modules/openapi-generator/src/main/resources/cpp-qt-client/**/* @martindelille
samples/client/petstore/cpp-qt/**/* @martindelille
7 changes: 4 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
- [ ] Run the following to [build the project](https://github.com/OpenAPITools/openapi-generator#14---build-projects) and update samples:
```
./mvnw clean package
./bin/generate-samples.sh
./bin/generate-samples.sh ./bin/configs/*.yaml
./bin/utils/export_docs_generators.sh
```
(For Windows users, please run the script in [Git BASH](https://gitforwindows.org/))
Commit all changed files.
This is important, as CI jobs will verify _all_ generator outputs of your HEAD commit as it would merge with master.
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` (6.0.1) (patch release), `6.1.x` (breaking changes with fallbacks), `7.0.x` (breaking changes without fallbacks)
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)
- [ ] 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.
4 changes: 2 additions & 2 deletions .github/actions/run-samples/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ inputs:
runs:
using: "composite"
steps:
- run: mvn --no-snapshot-updates --batch-mode --quiet ${{ inputs.goal }} -P${{ inputs.name }} -Dintegration-test -Dmaven.javadoc.skip=true ${{ inputs.args }}
shell: bash
- run: ./mvnw clean --no-snapshot-updates --batch-mode --quiet ${{ inputs.goal }} -P${{ inputs.name }} -Dintegration-test -Dmaven.javadoc.skip=true ${{ inputs.args }}
shell: bash
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ updates:
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
allow:
- dependency-name: "com.gradle.*"
95 changes: 0 additions & 95 deletions .github/workflows/check-supported-versions.yaml

This file was deleted.

Loading