-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I am this parameter in a request
{
"name" : "bundleType",
"in" : "query",
"description" : "Boundles's type",
"required" : false,
"style" : "form",
"explode" : true,
"schema" : {
"type" : "string",
"enum" : [ "GLOBAL", "PRIVATE", "PUBLIC" ]
}
}
the generated class is
// Request type definition
export type GetBundlesByPSPT = r.IGetApiRequestType<
{
readonly JWT: string;
readonly limit?: number;
readonly "bundle-type"?: array;
readonly page?: number;
readonly "psp-code": string;
readonly name?: string;
},
"Authorization",
never,
r.IResponseType<200, Bundles, "X-Request-Id">
>;
I have a compile error due to the line readonly "bundle-type"?: array;
How I fixed it manually
readonly "bundle-type"?: Array<string>;
Metadata
Metadata
Assignees
Labels
No labels