github OpenAPITools/openapi-generator v7.0.0-beta

latest releases: v7.9.0, v7.8.0, v7.7.0...
pre-release16 months ago

A list of breaking changes:

What's Changed

  • Generate and use enum types in parameters for typescript-axios by @chaayac in #13438
  • [swift5] update new minimum OS supported versions by @4brunu in #13667
  • [Typescript] Enums generation (7.0.0) by @ksvirkou-hubspot in #14663
  • [swift5][client] improve headers order by @4brunu in #14636
  • [swift5][client] remove deprecated APIs by @4brunu in #14635
  • Added converterFactories property to ApiClient in jvm-retrofit2. by @dylan-kwon in #15008
  • [go-server] Change Routes type from []Route to map[string]Route by @lwj5 in #15084
  • [go-server] Update dependencies and use generics by @lwj5 in #15087
  • Improve Go Github workflow by @wing328 in #15200
  • [go-server] Fix: name declared and not used by @lwj5 in #15201
  • [kotlin][client] Use Kotlin code style in parameter enum class names by @WonderCsabo in #15447
  • [typescript] Add missing types field to export declaration by @bodograumann in #15403
  • [csharp-netcore][generichost] Moved deserialization logic to template by @devhl-labs in #15474
  • [JAVA] fix "text/plain" with charset specification by @martin-mfg in #15399
  • Encode a Set in toJson() properly by @noordawod in #15435
  • Decommission python-legacy, python-prior client generators by @wing328 in #15475
  • Correct name of script in PULL_REQUEST_TEMPLATE.md by @gcatanese in #15480
  • [Go] Update API naming to follow Golang standard pkg (1 line change) by @lwj5 in #15331
  • [csharp-netcore][generichost] Fixed the order to match the constructor by @devhl-labs in #15500
  • Decommission python client generator by @wing328 in #15486
  • [csharp] Changed enums to start from 0 by @devhl-labs in #15503
  • Fix Go client tests by @wing328 in #15505
  • [kotlin-spring] interfaceOnly=true flag skips spring-boot plugin repackage goal by @zaenk in #15495
  • [Spring] remove deprecated annotation from no-args constructor (fix #15478) by @borsch in #15512
  • import @Valid in Spring delegates by @martin-mfg in #15330
  • Rename python-nextgen to python by @wing328 in #15504
  • [xojo] rename private method to avoid confusion by @wing328 in #15508
  • [openapi-normalizer] enable some rules by default by @wing328 in #15501
  • [csharp-netcore] Zero based inner enum sample by @devhl-labs in #15506
  • [csharp-netcore] Removed extra line break by @devhl-labs in #15507
  • [asciidoc] Set toc level to 4 by @jvmlet in #15481
  • Fix JsonNullable issue for Helidon generators by @aserkes in #15423
  • Bugfixes/12952 fix newtonsoft using by @JFCote in #15515
  • Minor enhancements to the aspnetcore server generator by @wing328 in #15518
  • [javascript] fix use of isBasicBasic and isBasicBearer conditions by @tiffmaelite in #15522
  • [C++][Pistache] Generate empty JSON object instead of a null value by @sjoubert in #15468
  • [C++][Pistache] Add missing 'override' on virtual methods by @sjoubert in #15469
  • Update modelbase-header.mustache by @SuperGNUS in #15453
  • [Spring] fix use of isBasic condition by @tiffmaelite in #15530
  • Fix warning when building because of the missing documentation by @JFCote in #15543
  • add HTTP signature to SecurityFeature by @tiffmaelite in #15542
  • add missing security schemes to new generator README template by @tiffmaelite in #15536
  • Postman Collection Generator by @gcatanese in #15294
  • Fix the bug that the property generateApis always true by @iWantUss in #14126
  • [csharp-netcore] Updated package versions by @devhl-labs in #15173
  • [Gradle] add inputSpecRootDirectory for generate task by @borsch in #15548
  • [dart][dio] fix features of dart-dio generator by @tiffmaelite in #15537
  • [Aspnetcore] Fix nullable warnings part 1 by @JFCote in #15555
  • [csharp-netcore][generichost] Added OrDefault method by @devhl-labs in #15551
  • Fix incorrect generic type in go-server codegen template by @dimavt in #15557
  • Add workflow to test builds and Gradle plugin on Windows by @wing328 in #15562
  • [go-server] Add tests for boolean query parameter by @wing328 in #15563
  • [kotlin-server] fix bean validation site targets by @stephan-strate in #14997
  • Improve build time by @wing328 in #15566
  • [kotlin-spring] Fix inheritance compile error because of missing use-… by @superbob in #15488
  • [lua] fix use of isBasic condition by @tiffmaelite in #15529
  • [xojo] fix use of isBasic condition by @tiffmaelite in #15526
  • [eiffel] fix use of isBasic condition by @tiffmaelite in #15533
  • [android] fix use of isBasic condition by @tiffmaelite in #15528
  • [powershell] fix use of isBasic condition by @tiffmaelite in #15525
  • [PHP] fix use of isBasic condition by @tiffmaelite in #15520
  • [perl] fix use of isBasic condition by @tiffmaelite in #15524
  • [bash] fix use of isBasic condition by @tiffmaelite in #15521
  • [Ada] [Java] fix Codegen copies by @tiffmaelite in #15513
  • [cpp C++] fix use of isBasic condition by @tiffmaelite in #15535
  • [Kotlin] Fixed additional property omitGradleWrapper for kotlin generator by @stefankoppier in #15584
  • Improve Appveyor tests by @wing328 in #15585
  • Revert "Fix the bug that the property generateApis always true" by @wing328 in #15588
  • Update to JDK11 by @wing328 in #15553
  • Update pom.xml with new plugin, setting by @wing328 in #15590
  • [Ktor] Update generator to latest Ktor version #14061 by @rsinukov in #14296
  • Set maven to 3.9 in Github workflow by @wing328 in #15592
  • [csharp-netcore][generichost] Used default cancellation token by @devhl-labs in #15594
  • [java] remove fullJavaUtil option by @martin-mfg in #15033
  • [dart] fix use of isBasic condition by @tiffmaelite in #15523
  • [Java] [Kotlin] (#14876) fix use of isBasic conditions - do not use HttpBearerAuth (or HttpBasicAuth) for other http auth methods (such as http signature auth or custom schemes) by @tiffmaelite in #15220
  • Update Enforcer (maven plugin) rule by @wing328 in #15575
  • [csharp-netcore] Removed .netcore 3.1 by @devhl-labs in #15605
  • [kotlin] New 'jvm-spring-webclient' library by @stefankoppier in #15568
  • [Kotlin] minor enhancements, remove KotlinServerDeprecatedGenerator by @wing328 in #15608
  • [swift5] fix use of isBasic condition by @tiffmaelite in #15613
  • [python] Fix incorrect variable name for nullable fields with regex contraints by @changhc in #15623
  • [rust] fix use of isBasic condition by @tiffmaelite in #15532
  • [groovy] support enum generation in groovy client by @dyadyaJora in #15619
  • [python] Add test for nullable property with pattern by @wing328 in #15625
  • [kotlin-server] add support for jakarta ee namespace by @stephan-strate in #15593
  • [rust-client]: fix for collectionFormat=multi by @wing328 in #15626
  • [go-server] fix string comparison by @wing328 in #15589
  • [aspnetcore] Adds {{>partial_header}} to missing mustache files by @aramflo in #15616
  • Remove scala-httpclient client generator (deprecated) by @wing328 in #15627
  • [Haskell] fix use of isBasic condition by @tiffmaelite in #15612
  • Adds operation null check avoid null exception by @racsus in #15599
  • Fix extensions handling for allOf with single schema by @borsch in #15632
  • [csharp-netcore] Upgarded test project framework by @devhl-labs in #15634
  • spring: fix multiline tag description by @gonzalad in #15112
  • Add workflow to tests C# projects with .net 6 by @wing328 in #15629
  • [csharp-netcore] Removed deprecated package by @devhl-labs in #15595
  • [typescript] fix use of isBasic condition by @tiffmaelite in #15531
  • [C] fix use of isBasic condition by @tiffmaelite in #15534
  • Bump actions/setup-dotnet from 3.0.3 to 3.1.0 by @dependabot in #15648
  • docs (templating): add link to find more template variables by @alphashuro in #15635
  • [python-fastapi] Added a base class for the actual implementation by @krjakbrjak in #14470
  • Add multiple parameter examples to CodegenParameter by @gcatanese in #15647
  • [go-server] Update Dockerfile go version to 1.19 by @wing328 in #15596
  • Remove deprecated options (useRxJava, useRxJava2) in kotlin client generator by @wing328 in #15651
  • [gradle enterprise] various enhancements by @wing328 in #15607
  • [Kotlin-client][jvm-spring-webclient] Added support for spring boot 3 by @stefankoppier in #15646
  • [java] support required nullable properties on java okhttp-gson generator by @samypr100 in #15462
  • Fix run-in-docker.sh for OpenAPI Generator 7+ by using JDK 11+ by @halostatue in #15655
  • [csharp-netcore][generichost] Reduce null warnings by @devhl-labs in #15656
  • Add tests for Dockerfile, run-in-docker.sh by @wing328 in #15657
  • Update swagger parser to 2.1.14 by @wing328 in #15644
  • [csharp-netcore] Remove unneeded item groups from csproj by @devhl-labs in #15661
  • Update dart workflow java version to 11 by @wing328 in #15660
  • [csharp-netcore] Fixed example values by @devhl-labs in #15666
  • [csharp-netcore][generichost] Remove-more-null-warnings by @devhl-labs in #15664
  • [csharp-netore][generichost] Renamed ToModel to AsModel by @devhl-labs in #15662
  • [csharp] Fix property names by @devhl-labs in #13681
  • Fix bugs (string comparison) in csharp generators by @wing328 in #15663
  • [kotlin-server] cleanup KotlinServerCodegen configuration by @stephan-strate in #15653
  • Update go-gin dockerfile to newer version: 1.19 by @wing328 in #15597
  • Update python-fastapi server dependencies by @wing328 in #15650
  • spring: fix spring pageable used without any config by @gonzalad in #15113
  • Bump actions/setup-dotnet from 3.1.0 to 3.2.0 by @dependabot in #15679
  • [python] Fix date isinstance check in query parameter by @wing328 in #15675
  • [csharp-netcore][generichost] Fixed null reference exception by @devhl-labs in #15680
  • [csharp-netcore][generichost] Created partial method to format arguments by @devhl-labs in #15677
  • [abstract-csharp] Patch all property collections by @devhl-labs in #15678
  • [Spring] Defaulting for Spring HTTP Interface library by @borsch in #15689
  • [JAVA] Generate client files with multiple enum oneOf types by @l3ender in #12687
  • Minor updates to readme by @wing328 in #15700
  • Update maven wrapper to 3.9.0 by @wing328 in #15694
  • [TypeScript] Rename private method to avoid confusion by @wing328 in #15696
  • [abstract-csharp] Removed hotfix by @devhl-labs in #15703
  • Add go API key example in README.md by @chrisimcevoy in #15705
  • [csharp-netcore][generichost] Removed many warnings by @devhl-labs in #15706
  • fix use of isBasic and isBasicBasic and isBasicBearer and isHttpSignature in documentation by @tiffmaelite in #15443
  • cleanup new generator documentation by @tiffmaelite in #15359
  • [BUG][typescript-fetch] fix npe when debuggingModels (#15577) by @Serranya in #15578
  • Introduce option 'importFileExtension' to typescript-fetch (#15439) by @stephanpelikan in #15440
  • Update maven plugins, use maven 3.8.8 in CI by @wing328 in #15713
  • Update readme to use maven wrapper by @wing328 in #15711
  • Do JSON serialization only if requested by mime-type (#13456) by @stephanpelikan in #15676
  • Set maven wrapper to v3.8.8 by @wing328 in #15724
  • [csharp-netcore] Removed more hotfixes by @devhl-labs in #15723
  • Fix property name comparison in C# by @wing328 in #15697
  • Decommission csharp client generator by @wing328 in #15708
  • Documentation update by @stefankoppier in #15728
  • [csharp-netcore][generichost] Removed more warnings by @devhl-labs in #15737
  • Add support for dry-run flag to Maven and Gradle plugins by @nebulon42 in #15734
  • [Go] Update go-echo-server generator to respect the --git-host argument by @osechet in #15720
  • [Powershell] fix security features listed in documentation by @tiffmaelite in #15717
  • [R] fix security features listed in documentation by @tiffmaelite in #15716
  • Do not skip jacoco report in Linux workflow by @wing328 in #15738
  • [readme] minor fix by @wing328 in #15739
  • [Go] fix security features listed in documentation by @tiffmaelite in #15714
  • [JavaScript][javascript-flowtyped] fix security features listed in documentation by @tiffmaelite in #15715
  • [Rust] fix security features listed in documentation by @tiffmaelite in #15718
  • [kotlin] Add missing quote in option description by @ctamisier in #15732
  • [csharp-netcore][generichost] Improved spacing by @devhl-labs in #15740
  • [fastapi] Fixed default for string query param by @Beaueve in #15686
  • Add a test case for python-fastapi query parameter default value by @wing328 in #15744
  • [csharp-netcore][generichost] Improved spacing by @devhl-labs in #15741
  • [csharp-netcore][generichose] Use correct name for enum while serializing by @devhl-labs in #15742
  • [csharp-netcore][generichost] Fixed more warnings and spacing issues by @devhl-labs in #15743
  • [csharp] Fixed casing by @devhl-labs in #15748
  • [csharp][generichost] Used partial methods for logging by @devhl-labs in #15749
  • [PHP] fix security features listed in documentation by @tiffmaelite in #15750
  • [C#] [csharp] [chsarp-netcore] fix security features listed in documentation by @tiffmaelite in #15687
  • [TypeScript] fix security features listed in documentation by @tiffmaelite in #15751
  • [openapi-normalizer] Support normalizing null types using OAS 3.1 syntax by @karzang in #15698
  • [csharp][generichost] Removed unneeded feature by @devhl-labs in #15767
  • [Kotlin] fix security features listed in documentation by @tiffmaelite in #15758
  • [xojo] fix use of isBasic from #15194 by @tiffmaelite in #15761
  • [Python] fix security features listed in documentation by @tiffmaelite in #15755
  • [Kotlin-Spring] fix use of isBasic from #15048 by @tiffmaelite in #15759
  • [Java] fix security features listed in documentation by @tiffmaelite in #15756
  • Add support for swagger2 in [java] client generators by @vad-systems in #15456
  • [TS] Rename function to avoid confusion of function in parent class by @wing328 in #15775
  • Update maven-rewrite to newer version by @wing328 in #15776
  • Minor refactoring on default codegen by @wing328 in #15777
  • [JAVA] fix toUrlQueryString for BigDecimal by @martin-mfg in #15764
  • [Java][Jaxrs][Resteasy] add @Valid to getter methods, updated by @martin-mfg in #15064
  • Add bileto to the sponsor section by @wing328 in #15787
  • fix: #1466 additionalProperties works now in spring generator by @jameswynn in #11572
  • [resttemplate] always use @JacksonXmlElementWrapper and read xml data from referenced schema, updated by @martin-mfg in #15115
  • Allow configuration cache compatibility by @jprinet in #15693
  • Update bitrise.io config by @wing328 in #15789
  • [csharp] Minor spacing change by @devhl-labs in #15801
  • Bump s4u/setup-maven-action from 1.7.0 to 1.8.0 by @dependabot in #15800
  • fix security features listed in documentation - remove openID Connect included by default by @tiffmaelite in #15773
  • [Python] default values escaping more appropriate by @HeikoStudt in #15695
  • [Python] Added BadRequestException as a subclass in python exceptions by @gyoganathan in #15722
  • [Python] fix access_token set to None when constructing Configuration object by @wing328 in #15802
  • [Go] Serialize readonly fields by @gcatanese in #15765
  • [Postman] fix use of isBasic from #15294 by @tiffmaelite in #15760
  • [python] Add py.typed by @wing328 in #15804
  • Better handling of Inline schema by @wing328 in #15682
  • Better null check in isExtensionParent method by @wing328 in #15807
  • [abstract-csharp] Begin removing netcore references by @devhl-labs in #15805
  • fix(ktor-client): do not add jsonBlock if using kotlinx-serialization by @bcmedeiros in #15793
  • [python] install urllib3 < 2.1.0 only by @wing328 in #15810
  • Add Revved up by Gradle Enterprise badge by @jprinet in #15819
  • Enable Dependabot on Maven extensions by @jprinet in #15820
  • [csharp] Added x-nullable-value-type by @devhl-labs in #15806
  • [dart-dio] Use sourceFolder property instead of src by @zbarbuto in #15620
  • FIX: Typo on swagger2 dependency by @vad-systems in #15826
  • [spring] Fix invalid swagger2 annotation library version in pom.xml by @ddeath in #15832
  • [BUG] [Java-Spring] Required-Fields-Constructor has wrong super call when using multiple inheritance layers by @JanLubenow in #15827
  • Add java-webclient gradle test by @wing328 in #15837
  • [csharp-netcore] Configure the API key in string format for HttpSigningConfiguration by @Ghufz in #15818
  • [Java][Client] remove model annotations from AbstractOpenApiSchema by @borsch in #15808
  • [abstract-csharp] Make data types overridable by @devhl-labs in #15814
  • [BUG][JAVA] Handling default values leads to wrong defaults or not compilable code fixed by @JanLubenow in #15836
  • [BUG][typescript] add missing importFileExtension support by @Serranya in #15813
  • Scala sttp stability change by @flsh86 in #15842
  • [python] Fix map of array in property by @wing328 in #15844
  • Add containerType to codegen parameter by @wing328 in #15830
  • [dart-dio] Correctly serialize path parameters by @szekelyisz in #14666
  • [cpp-pistache-server] Adds Recursive model validation by @ventsyv in #15784
  • [abstract-csharp] Process all operation parameter collections by @devhl-labs in #15841
  • [Java] [Kotlin] ignore unsupported schemes instead of throwing exception by @tiffmaelite in #15817
  • [Java][Helidon] Better way to initialise HashMap by @wing328 in #15855
  • [Dart] Convert DioError to DioException by @Rexios80 in #15783
  • Fetch request inline (single) example (bis) by @gcatanese in #15857
  • Added option to opt out of default logging for individual methods by @devhl-labs in #15850
  • [Bug] fix: use length to check for default return media type by @mstruebing in #15833
  • [typescript-fetch] fix snakecase discriminator by @ctjhoa in #15838
  • fix: NullPointerException in DefaultCodegen.mergeProperties when processing models by @ykitamura-mdsol in #15859
  • Rust validation handling by @ErikWegner in #15288
  • [csharp][generichost] Modernizes handling of composed schemas by @devhl-labs in #15865
  • [abstract-csharp] Removed circular composed schemas hotfix by @devhl-labs in #15868
  • Introduce changes necessary for Dart 3.0.0/Flutter 3.10.0 by @noordawod in #15516
  • updated intl package to v0.18.0 for dart 3.0 compatibility by @ferlyloic in #15510
  • Added Aleri Solutions to list of companies using the generator; see #4 by @pappelt in #15877
  • [Java][Haskell][Python] fix errors with empty strings, missing basePath by @martin-mfg in #15866
  • [java] fix default value - empty list [] by @wing328 in #15862
  • use mvnw instead of mvn in workflow by @wing328 in #15880
  • Fix import mapping for return types by @martin-mfg in #15719
  • [Java][bugfix] hashcode/equals behave incorrectly when inheritance is used in Generated Pojos by @pyckle in #15745
  • Allow better default value in parameters using codegen property by @wing328 in #15882
  • [swift] New 'swift-combine' client generator for swift by @dydus0x14 in #15823
  • Minor improvement to swift-combine client generator by @wing328 in #15892
  • [csharp][generichost] Fixed wrong packages with .net6 by @devhl-labs in #15902
  • Fix issue #907 by ensuring the parameters is properly "exploded" by @GregDThomas in #14825
  • Rename csharp-netcore to csharp by @wing328 in #15903
  • [csharp] Begin removing unecessary vendor extension by @devhl-labs in #15870
  • [csharp][generichost] Removed redundant properties by @devhl-labs in #15869
  • [C][Client] Add GitHub Action to test c client sample build by @ityuhui in #15922
  • [Eiffel] fix Eiffel schema lookup, clean up outdated samples by @martin-mfg in #15901
  • [PHP] fix error on circular references by @martin-mfg in #15900
  • Remove unused import in Java resttemplate auth templates by @ncovercash in #15899
  • author command: replace \ by /, fix #9528 by @martin-mfg in #15861
  • Sttp4 client generator by @flsh86 in #15834
  • [spring] Add validation.constraints import to delegates by @vad-systems in #15921
  • [Typescript][Scala][Postman][Java] fix errors with missing models, missing description, BigDecimal by @martin-mfg in #15809
  • [java][okhttp-gson] Remove JAX-RS dependency from generated okhttp-gson java client by @bcalvez in #15896
  • Various improvements to scala-sttp4 generator by @wing328 in #15931
  • [dotnetcore] Implement QueryParameter deepObject style is missing for async function by @Reinhard-PTV in #14979
  • Use substring instead of substr in JavaScript and TypeScript generators by @possan in #15937
  • Update openapi-generator-online Dockerfile to use openjdk11 image by @wing328 in #15947
  • [Kotlin][Spring] remove @RequestMapping in Feign client by @ctbarnev in #15898
  • [Java][Client] Support primitives and arrays in oneOf by @karzang in #13897
  • Fix epoch deserialization and parsing numbers by @noordawod in #15948
  • Fix NPE in R construct example code by @wing328 in #15953
  • Add containerTypeMapped by @wing328 in #15881
  • Fix NPE in StringUtils.camelize by @wing328 in #15957
  • Remove addSchemaImportsFromV3SpecLocations by @wing328 in #15956
  • feat(rust,client): remove Default derives for structs as per #10845 by @SorenHolstHansen in #15856
  • [java] Add supportUrlQuery as an option by @wing328 in #15958
  • [Rust] Sanitize enum names correctly by @Jules-Bertholet in #15710
  • Use openjdk official docker image in openapi-generator-online by @wing328 in #15964
  • Fix import for spring boot 3 by @MelleD in #15949
  • Add support for Angular 16 by @VladimirSvoboda in #15925
  • Fixed typescript-axios not setting enum ref correctly for multipart/form-data by @shibayan in #15885
  • [csharp][generichost] Fix oneof anyof serialization by @devhl-labs in #15873
  • [csharp][generichost] Fix model accessor by @devhl-labs in #15918
  • [csharp][generichost] Exposed internals to test project by @devhl-labs in #15920
  • [csharp] Fixed support for DateTimeOffset by @devhl-labs in #15967
  • [csharp] Use latest framework as default by @devhl-labs in #15969
  • [csharp][generichost] Added value converter class by @devhl-labs in #15970
  • [csharp] Enabled overriding parameter patching by @devhl-labs in #15971
  • [csharp] Rename csharp config files by @devhl-labs in #15968
  • [kotlin-spring] Add missing parameter 'nullableReturnType' in docs by @ctamisier in #15952
  • Fix cli options use tags and api name suffix by @MelleD in #15936
  • [PHP-Symfony] Fix Symfony warning on OpenAPIServerBundle by @gturri in #15960
  • [PHP-Symfony] fix name mismatch in generated README (#15961) by @gturri in #15963
  • [Postman Collections] Keep original header name by @gcatanese in #15907
  • Fix dry-run output and add tests by @nebulon42 in #15754
  • [csharp][generichost] Add Option struct to enable better validation by @devhl-labs in #15977
  • Support vendor extensions on more objects as per the OAS spec by @JeffAtDeere in #15975
  • [GO] Fix value formatting in url with slices by @darkrift in #15581
  • [csharp] [Req#15932] Added support for windows authentication by exposing UseDefaultCredentials property by @aswinfrancis91 in #15935
  • Use enum type for discriminator by @bernie-schelberg-mywave in #13846
  • Spelling fixes of a table caption for generated Asciidoc files by @obfischer in #15988
  • [go] fix StringIndexOutOfBoundsException while processing recursive model by @aruiz14 in #15601
  • Bugfix #15982 : Use 'orElse' instead of 'get' toi avoir problem with optional header by @AntoineDuComptoirDesPharmacies in #15984
  • fixed date converter for javascript-flowtyped by @nico-martin in #15983
  • [csharp] Collect operation parameters to a list instead of set by @devhl-labs in #16015
  • [default codegen] Remove getPropertyDefaultValue by @wing328 in #16003
  • Add logic to avoid stackoverflow by @wing328 in #16008
  • [csharp-netcore] Enable setting of RemoteCertificateValidationCallback through IReadableConfiguration by @dlange-hima in #15979
  • 7.0.0-beta release by @wing328 in #16018

New Contributors

Full Changelog: v6.6.0...v7.0.0-beta

Don't miss a new openapi-generator release

NewReleases is sending notifications on new releases.