OpenAPI definition includes class hierarchy as well. You can use tools to generate TypeScript type definitions from that.
And the fetching in a single request?
And the fetching in a single request?