HTTP source by default expects the top level response from the HTTP api to be object. This might not be true in all the cases where an API can return an array of entities.
Currently we make "resultPath" property of http source as optional but when publishing the pipeline we error out when the response format is set to JSON.
There is no way to set the "resultPath" to root level indicating that it is an array at the top level.
Example API - https://jsonplaceholder.typicode.com/todos