add annotations for api controllers