You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already have a my shelf Router router with multiple routes. I tried to cascade SwaggerUI as handler. However, none of my API routes are getting listed in swagger UI. Please assist. The documentation provided does not cover such scenarios
var staticHandler =createStaticHandler('wwwroot', defaultDocument:'index.html');
returnPipeline()
.addMiddleware(corsHeaders())
//.addHandler(router);
.addHandler(Cascade()
.add(router)
.add(staticHandler)
.add(SwaggerUI('wwwroot/swagger.yaml',
title:'MyApp API Doc'))
.handler);
I already have a my shelf Router
router
with multiple routes. I tried to cascade SwaggerUI as handler. However, none of my API routes are getting listed in swagger UI. Please assist. The documentation provided does not cover such scenariosThe text was updated successfully, but these errors were encountered: