Add summary to generate api