Automatically add "(deprecated)" to API docs for deprecated endpoints