Add serializeArrayValue helper for QSet
Array schemas with "uniqueItems: true" are generated as QSet. Without
this helper the generated code for such parameters fails to compile.
Add a test covering uniqueItems arrays in query, path, header and
cookie parameters.
Pick-to: 6.12
Change-Id: If7e1f02675dce2b36ff2ceff1fe1b513d9fb28ed
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
| commit | 26a2367ad2d156222d2557d2d857706af7317ad3 |
| parent | 94359e44e256fd84d163ebc2b9a9446c29485fb3 |
| author | Hannah von Reth <vonreth@kde.org> |
| committer | Tatiana Borisova <tatiana.borisova@qt.io> |
| commit time | Thu, 8 Oct 2026 13:32:04 +0000 |
- M src/tools/qtopenapi-generator/src/main/resources/cpp-qt6-client/common/helpers-header.mustache
- M tests/auto/CMakeLists.txt
- M tests/auto/qtopenapigen/client/openapigen/data/cmake_generated/commonlibtest/common/qoaihelpers.h
- A tests/auto/unique_items/CMakeLists.txt
- A tests/auto/unique_items/tst_uniqueitems/CMakeLists.txt
- A tests/auto/unique_items/tst_uniqueitems/tst_uniqueitems.cpp
- A tests/auto/unique_items/tst_uniqueitems/unique-items.yaml