Releases: VKCOM/api-schema-typescript-generator
Releases · VKCOM/api-schema-typescript-generator
v0.5.0
Now methods parameters with array
type have string type. The reason is, VK API accepts only a comma-separated string for array
parameters. This may change in the future when VK API starts accepting a json body.
Before:
interface SomeMethodParams {
user_ids: number[];
filters: string[];
fields: UsersFields[];
}
After:
interface SomeMethodParams {
user_ids: string;
filters: string;
fields: string;
}