Currently, we have two AutoRest generators. One is for HTTP (Azure.CSharp) and another on for JSON-RPC (Azure.JsonRpcClient). It's possible to have only one if we generate calls to one generic functions. Something like
class Parameter
{
public string Name;
public object Value;
// additional fields for HTTP
}
class Request
{
public string OperationId { get; }
public Parameter[] Parameters { get; }
// additional fields for HTTP
}
interface IGenericClient
{
Task<T> SendAsync<T>(Request request);
}
Currently, we have two AutoRest generators. One is for HTTP (Azure.CSharp) and another on for JSON-RPC (Azure.JsonRpcClient). It's possible to have only one if we generate calls to one generic functions. Something like