Hi, In advance I apologize if a question silly…
I have several independent web services that work separately, and now I need to make аpi gateway so that there is a single entry point.
I read the documentation but did not find any examples of use.
Suppose we have a service X.
As I understood, add the external service with the following:
public override void Configure(Container container)
{
container.Register<IServiceGateway>(c => new JsonServiceClient(XServiceUrl));
}
The question is
- could I automatically generate a Request DTO?
- are there any tools for this?
- do I need to repeat the Request DTO descriptions in Api Gateway?
Thanks.