I have a single type generated from a Swagger API definition.
Each API endpoint has it\'s API response nested in the Endpoints type. Currently I am accessing like this: