chore(docs): update API require example