protected void registerResponses ( Swagger swagger , Operation operation , Method method ) { for ( Return aReturn : ControllerUtil . getReturns ( method ) ) { registerResponse ( swagger , operation , aReturn ) ; } }
Registers the declared responses for the operation .