swagger documentation for api-edges.js