added more methods for testing swagger.js