Clean up whitespace in api endpoint docs