From 5c6a3f775d2193b83e5ac55c192092a706b17a70 Mon Sep 17 00:00:00 2001 From: ripark Date: Tue, 4 Nov 2025 14:11:19 -0800 Subject: [PATCH] Update with the configuration to run go generate after tsp compile. --- .../Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml | 2 ++ 1 file changed, 2 insertions(+) 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