remove debug code in SwaggerFeature