Function makeHttpApi

If name is omitted, it will be generated as:

`HTTP ${api.routeType}:${api.method} ${api.url}`