Generate swagger specs from raw API traces