New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SwaggerEndPoints configuration section is missing or empty for merged ocelot jsons #69
Comments
Hi, thanks for your issue. I never test this scenario. I'll look into it in the near future. |
Hi, when you use As workaround you can move |
Hi, Moving Also, I'm wondering how to move UPDATE: |
Hi, yes you are right |
Hi, No problem ;) |
Hi, |
Hi, and i found that they are using specific properties so i have added more my self so as ocelot said in the documentation they use the ocelot.json as the entry point so we made our own extension and put all the files content in the ocelot.json with our extra properties as you can see in the previous images extension implementation `
} and that's it. |
Hi,
When I'm using per service ocelot.json configuration and file merging, I get System.InvalidOperationException: "SwaggerEndPoints configuration section is missing or empty."
Approach is described here: https://ocelot.readthedocs.io/en/latest/features/configuration.html#merging-configuration-files
When I put whole configuration in standalone ocelot.json, everything works fine.
I would like to use both configurations merging and swagger on api gateway.
My configuration below:
Startup.cs
Program.cs
ocelot.service1.json
ocelot.global.json
The text was updated successfully, but these errors were encountered: