I need to generate dtos with swiftref but my API doesn´t has the path /types/swift like to http://techstacks.io/types/swift. I added the swift server configuration http://docs.servicestack.net/swift-add-servicestack-reference#swift-server-configuration in my AppHost but the path not work, Any idea?
Asked
Active
Viewed 36 times
1 Answers
2
Every ServiceStack AppHost supports exposing the Add ServiceStack Reference routes by default which is available from {baseUrl}/types/swift
. You don't need to add any Swift Server configuration as it's enabled by default.
Make sure you're using the right baseUrl
, which is also where the /metadata page is located. If you're using the right baseUrl check your ?debug=requestinfo for any Startup Errors, you will need to have DebugMode=true enabled.

mythz
- 141,670
- 29
- 246
- 390
-
1This works now, I had activate the Feature.All.Remove (Feature.Metadata) in my HostConfig, thank you! – Lesther Vega Mar 14 '17 at 18:29