enrich API doc to add params