forked from wcandillon/swagger-js-codegen
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
The api methods have docs, but the types themselves do not.
Actual:
Response types are missing JSDocs
export type User {
id: number;
username: string;
}
Expected:
JSDocs containing the definition descriptions.
/** */
export type User {
/** {integer} The user ID. */
id: number;
/** The user name. */
username: string;
}
Spec:
https://swagger.io/docs/specification/2-0/describing-responses/
definitions:
User:
type: object
properties:
id:
type: integer
description: The user ID.
username:
type: string
description: The user name.