Open qiangboy opened 5 months ago
Im having the same issue. When using Consul with service discovery, the lib is not updating the endpoints to match the upstream template. If I remove the condition:
if (SwaggerServiceDiscoveryProvider.ServiceProviderType != "Consul")
Everything works as expected.
Describe the bug As stated in the title.
Expected behavior I found that there is a line of code in the source code SwaggerForOcelotMiddleware.cs that reads "if (SwaggerServiceDiscoveryProvider. ServiceProviderType!=" Consul ")". Why is this?
To Reproduce If it is a possible attache:
swagger.json
.