Fixed an issue with swagger annotation.