Are you editing the API definition via JSON or via Dashboard UI? I have attached helpful screenshots below. Hope this helps
API Definition
Dashboard UI