Security decorator needs two params to be generated correctfully.
eg :
@Security("bearer", ["admin","operator"])
In typescript-rest, you only implemented the second parameters (roles), so Swagger can't recognize it and generate swagger.yaml file properly :
security: - '[object Object]': []
instead of
security: - 'bearer': ["admin", "operator"]