ServiceStack.UseCases icon indicating copy to clipboard operation
ServiceStack.UseCases copied to clipboard

ServiceStack.Swagger doesn't work with ServiceStack.Razor

Open RTS-tender opened this issue 13 years ago • 2 comments

When I add RazorFormat feature to ServiceStack.Swagger example I get "Handler for Request not found" error when trying to view localhost:yourport/swagger-ui/index.html (which was previously working).

So how to use both: swagger and razor? I tried to rename index.html to index.cshtml to make razor engine deal with this file. The page was working but no JS, and no CSS downloaded, so it wasn't useful much.

RTS-tender avatar Jan 22 '13 14:01 RTS-tender

Lets see if @desunit knows anything about this? :)

mythz avatar Jan 23 '13 19:01 mythz

@RTS-tender, can you show me how you add Razor and also please provide firebug log (or Chrome console log)?

desunit avatar Jan 24 '13 14:01 desunit