You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use this spec for my TypeScript project and I think the return type "Array" is wrong in the specification:
The server wraps arrays in an object:
{
value: [arrayItem1, arrayItem2, ..., arrayItemN]
count: N
}
Is there something I am missing about the usage of openApi in Typescript (I am using @hey-api/openapi-ts to generate a client out of the spec) or is this a problem in this spec?
Best Regards
The text was updated successfully, but these errors were encountered:
Hi,
I try to use this spec for my TypeScript project and I think the return type "Array" is wrong in the specification:
The server wraps arrays in an object:
In this spec arrays are specified as e.g.:
Expecting arrays to be in this form:
Is there something I am missing about the usage of openApi in Typescript (I am using @hey-api/openapi-ts to generate a client out of the spec) or is this a problem in this spec?
Best Regards
The text was updated successfully, but these errors were encountered: