-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
feat: Add custom decorator support #837
feat: Add custom decorator support #837
Conversation
fix inverted transform examples Signed-off-by: Robert Campbell <[email protected]>
I'd love to get this in to be able to use it, anything that would help push it through? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 4 out of 4 changed files in this pull request and generated no suggestions.
@Fdawgs Copilot said this was the perfect PR, anything else needed to get it merged? |
I'll give it a proper read through tomorrow. 😊 Edit: stuff it, read it today. |
Signed-off-by: Frazer Smith <[email protected]>
Signed-off-by: Frazer Smith <[email protected]>
Signed-off-by: Frazer Smith <[email protected]>
This adds the ability to customize the Fastify decorator while defaulting to the existing
swagger
. This enables generating multiple swagger docs with differenttransform
functions, allowing more flexibility for e.g. creating multiple docs based on custom route config options. I believe this solves #631 if the set of user scopes is known ahead of time.Checklist
npm run test
andnpm run benchmark
and the Code of conduct