Exception thrown with PathToSwaggerGenerator set to empty string #237
Unanswered
pacoteinnov
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @pacoteinnov, please share |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like that the JSON be available at https://server/api/v1/openapi.json instead of https://server/api/swagger/docs/v1/
In ocelot.json, I set the SwaggerKey to "openapi.json" and in UseSwaggerForOcelotUI options set PathToSwaggerGenerator to "" which makes the JSON available to https://server/api/v1/openapi.json but the UI gives me this exception :
Beta Was this translation helpful? Give feedback.
All reactions