Skip to content

Instantly share code, notes, and snippets.

@boyney123
Created February 11, 2026 16:54
Show Gist options
  • Select an option

  • Save boyney123/f5aa33c20a656f6c1d9dbba7f30f5569 to your computer and use it in GitHub Desktop.

Select an option

Save boyney123/f5aa33c20a656f6c1d9dbba7f30f5569 to your computer and use it in GitHub Desktop.
Testing EventCatalog Stuff
domain Payment {
version 1.0.0
summary "Payment processing domain"
service PaymentService {
version 1.0.0
summary "Handles payment transactions"
sends event PaymentProcessed {
version 1.0.0
summary "Payment completed successfully"
}
sends event PaymentFailed {
version 1.0.0
summary "Payment processing failed"
}
receives command ProcessPayment {
version 1.0.0
summary "Initiate payment processing"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment