api_generator:wm: remove extra folders