Add tests for the API's /list endpoint
@bartjkdp I've added tests for:
- getting the available APIs (this is static for now, but will be dynamic once we read files from
/data
) - the listAPIHandler which should return a 200, content type
application/json
and stringified version of the result fromgetAvailableApis
(which can be mocked)
I'd like to get some feedback on this approach. Is this along the lines of how to write an HTTP API in golang?