Callback function which can customize the swagger data
Method decorator
contracts/common.md#principled-implementation Each use appends the closure to an array of metadata owned by the method, created on first use, so several customizers on one method run in order.
contracts/common.md#clear-and-simple-design One decorator function with one metadata list per method.
contracts/common.md#prohibited-implementation-shortcuts It uses the reflect metadata API; the closure is the caller's.
Swagger customization decorator.
SwaggerCustomizeris a method decorator function which can used for customizing the swagger data withnpx nestia swaggercommand. Furthermore, it is possible to add plugin properties starting withx-characters.In other words, this decorator function does not affect to the runtime, but only for the swagger data customization.