Configure swagger url #171
Unanswered
avinashs433
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Hi @avinashs433, thanks for your question. Please try the following configuration: app.UseSwaggerForOcelotUI(opt =>
{
opt.RoutePrefix = "api/v1/swagger";
}); Thanks, |
Beta Was this translation helpful? Give feedback.
5 replies
-
Hi, I encounter similar problem: The Ocelot is available on: While swagger for service is on: But the library failed to load API definition: How can I route it to /ChipAPI/swagger/docs/v1/vcta-api instead? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is it possible to configure the swagger path to something other than {url}/swagger ?
Maybe to something like {url}/api/v1/swagger ? If so how can I do this ?
Regards,
Avinash
Beta Was this translation helpful? Give feedback.
All reactions