Giving an api response type: Array<MyClass>results in an infinite loading spinner in the swagger ui, just doing type: MyClass works fine, the problem is of course that the endpoint doesn't return that, it puts out an array. Here is the full snippet
@ApiResponse({
type: Array<MyClass>
})
async listStuff(): Promise<Array<MyClass>> {
return (await this.stuff.list()).data;
}