Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic decorator name #213

Closed
Mokto opened this issue Nov 7, 2019 · 2 comments · Fixed by nestjs/swagger#427
Closed

Dynamic decorator name #213

Mokto opened this issue Nov 7, 2019 · 2 comments · Fixed by nestjs/swagger#427

Comments

@Mokto
Copy link

Mokto commented Nov 7, 2019

🚀 Feature Proposal

Add the possibility to choose a dynamic name for fastify.decorate('....') (See https://github.com/fastify/fastify-swagger/blob/master/static.js#L59)

Motivation

Being able to generate multiple documentations path within a nest app. nestjs/swagger#234

How to

The idea would be to pass it as new option (decoratorName ?)

@mcollina
Copy link
Member

mcollina commented Nov 7, 2019 via email

@Boshen
Copy link

Boshen commented Dec 28, 2019

We can close this now, the original problem is fixed in nestjs/swagger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants