#Swagger-CLI not working on extended classes

4 messages · Page 1 of 1 (latest)

gritty cove
#
import { UserRecord } from 'firebase-admin/auth';

export class User extends UserRecord {}

For example above code will result {} in swagger documentation. Is it possible for swagger plugin to retrieve the information from the external UserRecord type.

#

Swagger-CLI not working on extended classes

main lodge
#

By swagger-cli do you mean the nestjs CLI swagger plugin?

gritty cove
#

@main lodge Yeah, thats what I meant 🙂