modularized swagger