diff --git a/docs/guide/messages.md b/docs/guide/messages.md index bb434cc80..10685a91a 100644 --- a/docs/guide/messages.md +++ b/docs/guide/messages.md @@ -156,7 +156,7 @@ public class PersonBornV2 snippet source | anchor -The `[Version("V2")]` attribute usage tells Wolverine that this class is "V2" for the `message-type` = "person-born." +The `[MessageIdentity("person-born", Version = 2)]` attribute usage tells Wolverine that this class is "Version 2" for the `message-type` = "person-born." Wolverine will now accept or publish this message using the built in Json serialization with the content type of `application/vnd.person-born.v2+json`. Any custom serializers should follow some kind of naming convention for content types that identify versioned representations.