You i have a lot of C# source code. There are certain strings in the text of the source that i would like to extract into yaml for instance a line like "class ShoppingCartEmptied : INotification" - would be
messages:
ShoppingCartEmptied:
payload:
type: string
pattern: '^hello .+$'