Skip to content

Commit e47b5ad

Browse files
l0lawrencejnlycklama
authored andcommitted
[EGv2] client.tsp addition for internal functions (#26473)
* client * update client * remove convenience line
1 parent 699a6f1 commit e47b5ad

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import "@azure-tools/typespec-client-generator-core";
2+
import "./main.tsp";
3+
4+
using Azure.ClientGenerator.Core;
5+
6+
@@access(Microsoft.EventGrid.publishCloudEvent, Access.internal);
7+
@@access(Microsoft.EventGrid.publishCloudEvents, Access.internal);
8+
@@access(Microsoft.EventGrid.receiveCloudEvents, Access.internal);

specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ options:
2626
"@azure-tools/typespec-csharp":
2727
package-dir: Azure.Messaging.EventGridV2
2828
model-namespace: false
29-
generate-convenience-methods: false
3029
namespace: Azure.Messaging.EventGrid.Namespaces

0 commit comments

Comments
 (0)