William Cheng
6fc64e2115
add docstring to cpp-qt methods ( #22770 )
2026-01-22 16:46:13 +08:00
Martin Delille
a1c948df9f
[cpp=qt] Add global server index setter for all operations ( #22760 )
2026-01-22 16:28:17 +08:00
William Cheng
9adfe986a3
Prepare v7.20.0 release ( #22738 )
...
* Revert "v7.19.0 release (#22732 )"
This reverts commit ff400e9a31 .
* prepare v7.20.0 release
* update samples
* update doc
2026-01-20 03:13:58 +08:00
William Cheng
23eff6672f
Prepare v7.19.0 snapshot ( #22569 )
...
* Revert "7.18.0 release (#22567 )"
This reverts commit 51228436e0 .
* prepare 7.19.0 snapshot
* update samples
* update doc
* fix date
2025-12-22 19:25:23 +08:00
William Cheng
6abe6ff1c4
fix(cpp-qt): Fix enum query parameter serialization for both inline and referenced enums ( #22559 )
...
* fix(cpp-qt): Fix enum query parameter serialization for both inline and referenced enums
For enum query parameters, the template was incorrectly using asJsonObject()
which returns {"value": "enumValue"} and then iterating over keys, using
"value" as the parameter name instead of the actual parameter name.
This fix adds special handling for both inline enums (isEnum) and referenced
enums (isEnumRef) to use asJson() directly, which returns the correct enum
string value for URL serialization.
Fixes enum query parameters like ?scope=property instead of ?value=property.
Completes the fix started in PR #21211 which added the asJsonObject() method
to make enum code compile, but the template logic was still incorrect for URL
query parameter serialization.
Note: The petstore samples don't contain enum query parameter tests to
demonstrate this fix (they use string arrays). Future contributors may want
to add enum query parameter examples to better showcase this functionality.
* add tests for enum inline, ref for query parameters
* update cmake version to 3.5
---------
Co-authored-by: Sohaib Athar <sohaibathar@gmail.com >
2025-12-18 16:52:50 +08:00
William Cheng
f9d2b8b579
Prepare v7.18.0 release ( #22250 )
...
* Revert "v7.17.0 release (#22248 )"
This reverts commit 0120486e62 .
* prepare v7.18.0 release
* update samples
* update doc
2025-10-30 01:25:35 +08:00
William Cheng
885ea07b17
Prepare 7.17.0 ( #22040 )
...
* Revert "v7.16.0 release"
This reverts commit 31299af0fc .
* prepare 7.17.0-SNAPSHOT
* update doc, samples
2025-09-28 17:25:13 +08:00
William Cheng
20be2decde
Prepare v7.16.0 release ( #21794 )
...
* Revert "v7.15.0 release (#21792 )"
This reverts commit 2c816f89cb .
* prepare 7.15.0 release
* update samples
2025-08-22 19:17:23 +08:00
William Cheng
046be5dba1
Prepare 7.15.0 ( #21445 )
...
* Revert "v7.14.0 release (#21443 )"
This reverts commit 5eb083e5ce .
* prepare v7.15.0 snapshot
* update samples
* update readme
* update doc
2025-06-25 21:34:58 +08:00
Sohaib Athar
bd8a206ebd
fix(cpp-qt-client): add asJsonObject method to OAIEnum class ( #19307 ) ( #21211 )
...
* add asJsonObject method to OAIEnum class to fix enum handling in query parameters
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
2025-05-15 14:00:55 +08:00
William Cheng
dbf720c093
Prepare 7.14.0 release ( #21159 )
...
* Revert "v7.13.0 release (#21157 )"
This reverts commit 4b805ff6b7 .
* prepare v7.14.0 release
* update samples
2025-04-27 22:04:03 +08:00
William Cheng
a79aad8420
Prepare 7.13.0 ( #20758 )
...
* Revert "v7.12.0 release"
This reverts commit 073723cb4d .
* set version to v7.13.0-SNAPSHOT
* update samples
* update doc
2025-02-28 13:48:36 +08:00
William Cheng
1fa07bf46c
Prepare 7.12.0 ( #20512 )
...
* Revert "v7.11.0 release (#20508 )"
This reverts commit a7240eeefe .
* prepare 7.12.0 snapshot version
* update samples
* update readme
2025-01-21 00:10:09 +08:00
William Cheng
654f62ce3c
Prepare 7.11.0 ( #20130 )
...
* Revert "prepare 7.10.0 release (#20128 )"
This reverts commit 12dfe8fe74 .
* update to 7.11.0-SNAPSHOT, update samples
* update docs
2024-11-18 20:15:29 +08:00
Kirill Zimnikov
66c7b2f8cc
feat cpp-qt-client: fix cast primitive to string ( #20000 )
2024-10-31 21:10:07 +08:00
William Cheng
8f7d9f7467
update samples ( #19882 )
2024-10-16 15:55:57 +08:00
Jazzco
1214ad7492
Update HttpRequest.cpp.mustache - use stable 4-parameter connect ( #18893 )
...
* Update HttpRequest.cpp.mustache
Use stable 4-parameter connect
* add generated files
* Revert "add generated files"
This reverts commit 1d4e78aa0d .
* changed from 3- to 4-parameter connect for api-body for stable connection (see warning [clazy-connect-3arg-lambda])
* ran step 3 from Linux
* fixed missing braces and additional 3par issues
* add step 3 generated file
* activate trace for more info about link issue
* Update .github/workflows/samples-cpp-qt-client.yaml
Co-authored-by: Martin Delille <martin@delille.org >
* Update .github/workflows/samples-cpp-qt-client.yaml
Co-authored-by: Martin Delille <martin@delille.org >
* Update samples/client/petstore/cpp-qt/client/PFXPetApi.cpp
Co-authored-by: Martin Delille <martin@delille.org >
* Update modules/openapi-generator/src/main/resources/cpp-qt-client/HttpRequest.cpp.mustache
Co-authored-by: Martin Delille <martin@delille.org >
* Update modules/openapi-generator/src/main/resources/cpp-qt-client/HttpRequest.cpp.mustache
Co-authored-by: Martin Delille <martin@delille.org >
* Update modules/openapi-generator/src/main/resources/cpp-qt-client/api-body.mustache
Co-authored-by: Martin Delille <martin@delille.org >
* Update modules/openapi-generator/src/main/resources/cpp-qt-client/api-body.mustache
Co-authored-by: Martin Delille <martin@delille.org >
* Update modules/openapi-generator/src/main/resources/cpp-qt-client/api-body.mustache
Co-authored-by: Martin Delille <martin@delille.org >
* Update samples/client/petstore/cpp-qt/client/PFXPetApi.cpp
Co-authored-by: Martin Delille <martin@delille.org >
* Update samples/client/petstore/cpp-qt/client/PFXPetApi.cpp
Co-authored-by: Martin Delille <martin@delille.org >
* Update samples/client/petstore/cpp-qt/client/PFXPetApi.cpp
Co-authored-by: Martin Delille <martin@delille.org >
* Update samples/client/petstore/cpp-qt/client/PFXPetApi.cpp
Co-authored-by: Martin Delille <martin@delille.org >
* rebuild examples
* Update modules/openapi-generator/src/main/resources/cpp-qt-client/api-body.mustache
Co-authored-by: Martin Delille <martin@delille.org >
* removed braces and updated examples
* rebuild samples
* remove false generated changes
---------
Co-authored-by: Martin Delille <martin@delille.org >
2024-10-16 00:08:40 +08:00
Daniel Simon
8849156d29
Remove further Qt support before Qt 5.15.2 ( #19824 )
...
* Remove further Qt support before Qt 5.15.2
This is a follow-up pull request for [#19164 ] (https://github.com/OpenAPITools/openapi-generator/pull/19164 ), which removes the further handling of older Qt versions.
* Updates samples to match the mustach config files.
---------
Co-authored-by: Daniel Simon <mail@dlins.de >
2024-10-14 11:09:58 +08:00
William Cheng
e2c458b9ea
Prepare 7.10.0 ( #19809 )
...
* Revert "prepare 7.9.0 release (#19808 )"
This reverts commit 4145000dfe .
* prepare 7.10.0 snapshot
* update doc
* update samples
2024-10-08 11:21:54 +08:00
Sergei Lebedev
7d8eacc197
[cpp-qt-client] New makeOperationsVirtual option ( #19613 )
...
* Implementation of new `makeOperationsVirtual` option
* Make new parameter `true` by default
* Fix default value set and regenerate samples
2024-09-24 01:05:07 +08:00
William Cheng
91da2fd240
Prepare 7.9.0 snapshot ( #19386 )
...
* Revert "v7.8.0 release (#19385 )"
This reverts commit 6bdc452f92 .
* update samples for v7.9.0-snapshot
2024-08-19 16:14:51 +08:00
William Cheng
eff3e6df53
[cpp-qt] Add option for download progress, add test ( #19297 )
...
* add option for download progress, add test
* add cmake file
* remove test
* update
2024-08-05 16:06:36 +08:00