When using openapi-generator to generate a typescript-fetch API from this specification:
openapi-generator generate -i https://api.demo.kaizenep.com/swagger.json -g typescript-fetch -o kaizen-api
The generated code has incorrect types where "List" is referenced. For example line 182 and 219 of output apis/EventsApi.ts
async postEventSearchRaw(requestParameters: PostEventSearchRequest): Promise<runtime.ApiResponse<Array>> {
async postEventSearch(requestParameters: PostEventSearchRequest): Promise<Array> {
This should be:
async postEventSearchRaw(requestParameters: PostEventSearchRequest): Promise<runtime.ApiResponse<List>> {
async postEventSearch(requestParameters: PostEventSearchRequest): Promise<List> {
this is using openapi-generator 4.0.3
When using openapi-generator to generate a typescript-fetch API from this specification:
openapi-generator generate -i https://api.demo.kaizenep.com/swagger.json -g typescript-fetch -o kaizen-api
The generated code has incorrect types where "List" is referenced. For example line 182 and 219 of output apis/EventsApi.ts
This should be:
this is using openapi-generator 4.0.3