Skip to content

Add custom decorator support and async decorator support#255

Open
segevfiner wants to merge 3 commits intofastify:mainfrom
segevfiner:custom-decorator
Open

Add custom decorator support and async decorator support#255
segevfiner wants to merge 3 commits intofastify:mainfrom
segevfiner:custom-decorator

Conversation

@segevfiner
Copy link

@segevfiner segevfiner commented Feb 26, 2026

Checklist

The custom decorator support matches what is already in @fastify/swagger-ui, the async bit is for custom swagger decorator that might be async, which is not the case currently for those generated by @fastify/swagger for now.

Copy link
Author

@segevfiner segevfiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WIll also need to handle the swaggerCSP decorator if we want to be able to use multiple instances without having to encapsulate them from each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant