I would like to separate my ocelot configs with this method:
.AddOcelot("/foo/bar", hostingContext.HostingEnvironment)
like described in this doc: https://ocelot.readthedocs.io/en/latest/features/configuration.html
The problem is that if I separate SwaggerEndPoints sections I get the
System.InvalidOperationException: 'SwaggerEndPoints configuration section is missing or empty.'
If I move it to a separate file, then the endpoints are missing.
Do I miss something @Burgyn?
I would like to separate my ocelot configs with this method:
.AddOcelot("/foo/bar", hostingContext.HostingEnvironment)
like described in this doc: https://ocelot.readthedocs.io/en/latest/features/configuration.html The problem is that if I separate SwaggerEndPoints sections I get theIf I move it to a separate file, then the endpoints are missing. Do I miss something @Burgyn?