Skip to content

[REQ][typescript-axios] slim down jsdoc #21717

@scarf005

Description

@scarf005

Is your feature request related to a problem? Please describe.

currently, jsdoc in generated code is really verbose:

/**
 * 
 * @export
 * @interface MyResponse
 */
export interface MyResponse {
    /**
     * 
     * @type {number}
     * @memberof MyResponse
     */
    'id': number;
    /**
     * 
     * @type {string}
     * @memberof MyResponse
     */
    'name': string;
}

those jsdoc is not required as they're expressed in native typescript syntax (export, interface, type).

Describe the solution you'd like

skip generation of such jsdoc so that:

export interface MyResponse {
    'id': number;
    'name': string;
}

this would slim down definition to be 19 -> 4 lines, around 80% size reduction.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions