diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml index 628890c15da0..f7f68f9a4b59 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml @@ -47,6 +47,8 @@ options: emitter-output-dir: "{output-dir}/{service-dir}/azsystemevents" slice-elements-byval: true flavor: "azure" + # executes any go:generate commands in build.go, which generates the system events enumeration. + go-generate: build.go "@azure-tools/typespec-java": emitter-output-dir: "{output-dir}/{service-dir}/azure-messaging-eventgrid-systemevents" namespace: com.azure.messaging.eventgrid.systemevents