Skip to content

ServiceStack.Swagger doesn't work with ServiceStack.Razor #2

@RTS-tender

Description

@RTS-tender

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions