UseOcelot and Hot Chocolate

UseOcelot and Hot Chocolate


0

i have gateway with ocelot and Hot Chocolate grapqhl

after my initialisation

app.UseHttpsRedirection();
app.MapGet("/", () => "Ok");
app.MapGraphQL();

app.UseAuthorization();
app.MapControllers();

app.UseSwaggerForOcelotUI(options =>
    {
        options.PathToSwaggerGenerator = "/swagger/docs";
        options.ReConfigureUpstreamSwaggerJson = AlterUpstream.AlterUpstreamSwaggerJson;
        options.DefaultModelsExpandDepth(-1);
    })
    .UseOcelot()
    .Wait();

app.Run();

Graphql UI stop and /graphql stop working

Can you help me ?


Load 4 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *