Configuring restapi into the api mesh
I have a requirement to configure the restapi with an API mesh, as we hit the rest api through Postman, populating the required parameter and headers provides the JSON schema result.
restapi- https://sandbox-api.ornament.health/public/file-api/v1.0/fileset
parameter- pid (Ex: 1018fee1-d1...........................)
header-Authorization: Bearer eyJhbGciOiJBMjU2S1ciLCJlbmMi.....................
API mesh gives us a graphql endpoint and if I add this source(restapi) to API mesh then how will I fetch the same response from that graphql endpoint?
We need some query to fetch the data, what is the process and how can I achieve this?
https://developer.adobe.com/graphql-mesh-gateway/mesh/advanced/extend/resolvers/
following this document.