Rob Gibbens
Rob Gibbens

Reputation: 1142

ServiceStack Swagger-UI repeating

Using ServiceStack's SwaggerFeature, I'm seeing all of my routes repeated on the Swagger documentation page. Under each "/v1" node, all of my endpoints are repeated for each "/v1". I have configured ServiceStack as listed on https://github.com/ServiceStack/ServiceStack/wiki/Swagger-API . Any idea why these would all be repeated?

enter image description here

Update : This has been fixed in an updated version of ServiceStack

Upvotes: 1

Views: 412

Answers (1)

David Montgomery
David Montgomery

Reputation: 1648

Another potential cause for duplicate routes in Swagger is inheriting DTO classes.

Inheritance for DTO classes should be avoided.

Upvotes: 1

Related Questions