Update qtopenapi build procedure
- Add a private internal qt module.
- Add a openapi_generator qt feature.
- Add Golang and openapi-generator-cli.jar dependencies check.
- Create a tests/auto CMakeLists tree.
- Update generator.sh, now it allows only to compile generator
and generate clients. The test building is a part of qt build.
Note:
For Desktop build export the path to openapi-generator-cli.jar
into the PATH environment variable.
Task-number: QTBUG-140130
Change-Id: I9ddb9bdffd166b0cf67414ca27b83ee09252329b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| commit | 6750b6ff322f0d612946603df79cb51067bf24d2 |
| parent | 6f0862806b819882cc518eda7a483d28e56809d1 |
| author | Tatiana Borisova <tatiana.borisova@qt.io> |
| committer | Tatiana Borisova <tatiana.borisova@qt.io> |
| commit time | Thu, 16 Oct 2025 15:33:10 +0200 |
- A .cmake.conf
- A CMakeLists.txt
- A cmake/FindWrapOpenAPIGenerator.cmake
- M coin/module_config.yaml
- M dependencies.yaml
- M generate.sh
- A qt_cmdline.cmake
- A src/CMakeLists.txt
- A src/openapi/CMakeLists.txt
- A src/openapi/configure.cmake
- A src/openapi/qt_cmdline.cmake
- A tests/CMakeLists.txt
- A tests/auto/CMakeLists.txt
- A tests/auto/colorpalette/CMakeLists.txt
- M tests/auto/colorpalette/client/CMakeLists.txt
- D tests/auto/colorpalette/client/build-and-test.bash
- M tests/auto/colorpalette/client/colorpalettetest/CMakeLists.txt
- M tests/auto/colorpalette/qmlclient/CMakeLists.txt
- D tests/auto/colorpalette/qmlclient/build-and-test.bash
- A tests/auto/mediatype/CMakeLists.txt
- M tests/auto/mediatype/client/CMakeLists.txt
- D tests/auto/mediatype/client/build-and-test.bash
- M tests/auto/mediatype/client/mediatype/CMakeLists.txt
- M tests/auto/mediatype/client/mediatype/MediaType.cpp
- A tests/auto/mediatype/server/CMakeLists.txt
- A tests/auto/openapi2.0/CMakeLists.txt
- M tests/auto/openapi2.0/client/CMakeLists.txt
- D tests/auto/openapi2.0/client/build-and-test.bash
- M tests/auto/openapi2.0/client/openapi2.0/CMakeLists.txt
- M tests/auto/openapi2.0/client/openapi2.0/OperationParametersBackport.cpp
- A tests/auto/openapi2.0/server/CMakeLists.txt
- A tests/auto/operation-parameters/CMakeLists.txt
- M tests/auto/operation-parameters/client/CMakeLists.txt
- M tests/auto/operation-parameters/client/OperationParameters/CMakeLists.txt
- M tests/auto/operation-parameters/client/OperationParameters/OperationParameters.cpp
- D tests/auto/operation-parameters/client/build-and-test.bash
- A tests/auto/operation-parameters/server/CMakeLists.txt
- A tests/auto/petstore/CMakeLists.txt
- M tests/auto/petstore/client/CMakeLists.txt
- M tests/auto/petstore/client/PetApiTest/CMakeLists.txt
- M tests/auto/petstore/client/PetApiTest/PetApiTests.cpp
- M tests/auto/petstore/client/StoreApiTest/CMakeLists.txt
- M tests/auto/petstore/client/StoreApiTest/StoreApiTests.cpp
- M tests/auto/petstore/client/UserApiTest/CMakeLists.txt
- M tests/auto/petstore/client/UserApiTest/UserApiTests.cpp
- D tests/auto/petstore/client/build-and-test.bash
- M tests/auto/petstore/qmlclient/CMakeLists.txt
- D tests/auto/petstore/qmlclient/build-and-test.bash
- A tests/auto/petstore/server/CMakeLists.txt
- D tests/auto/petstore/server/build-and-run.bash