Greens
Greens

Reputation: 3067

ServiceStack Swagger not matching custom route

I am using the ServiceStack Swagger Api.

I can generate the documentation if my routes have parameters after the resource ,ex: /items/{itemid}

if I have a route with {version}/items/{itemid}, I am not able to generate the swagger documentation. How do I generate the documentation.

Upvotes: 1

Views: 149

Answers (1)

mythz
mythz

Reputation: 143399

The only route that can start with a path {Variable} is the FallbackRoute.

Upvotes: 1

Related Questions