Open
Description
Description
A difference between earlier versions (0.5x.xx
) and now is that data types now have a required url
property. This muddies up the data types a bit, especially when these types are consumed by SDK consumers in some manner.
Is there an option to omit these?
For example:
export type CreateAudioAliasData = {
path: {
alias: string;
audioId: string;
};
};
and now:
export type CreateAudioAliasData = {
body?: never;
path: {
alias: string;
audioId: string;
};
query?: never;
url: '/api/v1/audio/{audioId}/alias/{alias}';
};