nest-redoc
Version:
A NestJS Frontend for your OpenAPI Specs powered by ReDoc
24 lines (23 loc) • 662 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RedocFastifyAdapter = void 0;
class RedocFastifyAdapter {
constructor(path, app, document, options, template) {
this.path = path;
this.app = app;
this.document = document;
this.options = options;
this.template = template;
}
setup() {
return new Promise(async (resolve, reject) => {
try {
throw new Error('Fastify is not implemented yet');
}
catch (e) {
reject(e);
}
});
}
}
exports.RedocFastifyAdapter = RedocFastifyAdapter;