Fix auto-generated endpoints text

Before:

    /endpoints:prefi

After:

    /endpoints/:prefix