Essentials
OpenAPI
Mercur uses OpenAPI to define the API endpoints, request and response schemas. You can use http-client package which is already defined in the project to generate types and a fetch client:
The output of this process is a set of fetch functions and types.
With all of that setup, calling your API from your application becomes very easy.