add build instruction for swagger
Replaced GetCustomAttributes with TypeDescriptor for dynamic RouteAttribute modification