Chris Gilligan - 30 - Nov 27, 2014

Is there support for in servicestack or any plan to add it or has someone found a recommended way to implement it in servicestack?

Nope it’s not built-in, it’s never been requested so there’s no plan to add it:

I personally don’t like polluting my existing services and DTO’s with metadata links like this so if I ever needed to impl these types of services I’d create additional services returning bespoke DTO’s. The custom DTO’s would need to use [DataMember(Name="@id")] to be able to return property names with @ prefixes. Depending on the use-case I may even consider adding a custom media type, e.g:

Chris Gilligan:

Thanks for the response just thought there may be a way to do it as a format and attributes like how XML is done