Generate the client library sources at configuration time
This allows us to get rid of the common file for all APIs and
models, because we can simply glob the results of the generation
and use them as a dependency of the client library target.
This is needed to provide better user experience, e.g. IDE
integration and debugging support. Potentially it also allows
an easier support for handling large yaml files.
As a result, we do not need the special logic at the Java side
that writes the content of all these files into one huge file.
However, we now need to manually handle the changes of the input
yaml file, as well as the potential changes in our Qt6 Client
Generator plugin and the upstream OpenAPI generator.
Also, adjust the scripts that generate the doxygen documentation,
because we no longer need to exclude the file with all APIs and
models.
This commit partially reverts the changes done in
37bae34a839be900d994fd9c081dbe66b3796f2f.
Note: this patch does not cover the case when the yaml file
includes other yaml files. It only tracks the main yaml file
as a dependency. Tracking all yaml files will be a subject for
a follow-up commit.
Task-number: QTBUG-143502
Pick-to: 6.11
Change-Id: I15b6d35ee2b4a207fce7c31286ac49bfaa8b13aa
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>