Closed
Description
Hi. I would like to report the problem happened in our team.
The --api-class-name
option has no default value.
When our team runs:
swagger-typescript-api -p ./swagger.yaml
expected output file is:
...
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
...
but actual output file is :
...
export class undefined<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
...
It seems to me that the --api-class-name
should have a default value, for example Api
.
Environment
- version: 11.1.0