Description
This is a follow-up from #45460. Currently, we build by default the TS REST Client for Client v2 using a hardcoded OpenAPI spec file. We need to either find a way around the circular dependency (the spec is built with the server, but server build requires the REST Client), or introduce some logic for automatic syncing of the spec file with the actual spec as generated by the server.