-
Notifications
You must be signed in to change notification settings - Fork 97
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
getting error when use service discovery #287
Comments
Hi, please can you provide a demo example with minimal reproduction steps? |
yes here is my repo you can check it @Burgyn |
|
Hi @alihmaidi1, can you please provide a working project? Ideally without database dependency (note in your example you have published a secret) and with Consul service discovery configured? I don't know Consul, so I don't plan to learn it and figure out how to configure it. Ideally if you provide it as a docker-compose let me know how to download it and run/debug it. Otherwise, unfortunately I don't have the space to devote to it. Thank you for your understanding. |
Yes, you can view the project. I have prepared for you a docker-compose file and I have also prepared for you two services, the first for admin and it getting swagger by 'url' and it work and the second getting swagger by 'Service' and it don't work
|
Hi, @alihmaidi1 |
thank you man :) |
Describe the bug
i try to use service discovery but i get this error
this is my SwaggerEndPoints
this is GlobalConfiguration
now after search i find you need to add schema when get swagger by service registry
The text was updated successfully, but these errors were encountered: