Skip to content

Commit a48dbfd

Browse files
authored
[eventgrid] Align tspconfig.yaml and namespace with convention (#26061)
1 parent 7dc72e8 commit a48dbfd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

specification/eventgrid/Azure.Messaging.EventGrid/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import "@azure-tools/typespec-azure-core";
3737
)
3838
@doc("Azure Messaging EventGrid Client")
3939
@versioned(ServiceApiVersions)
40-
namespace EventGrid {
40+
namespace Microsoft.EventGrid {
4141
using TypeSpec.Http;
4242
using TypeSpec.Rest;
4343
using TypeSpec.Versioning;

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ linter:
1111
- "@azure-tools/typespec-azure-core/all"
1212
options:
1313
"@azure-tools/typespec-autorest":
14+
azure-resource-provider-folder: "data-plane"
15+
emitter-output-dir: "{project-root}/.."
1416
examples-directory: examples
17+
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/EventGrid.json"
1518
omit-unreachable-types: true
16-
output-file: EventGrid.json
17-
emitter-output-dir: "{project-root}/../data-plane/Microsoft.EventGrid/preview/2023-06-01-preview"
1819
"@azure-tools/typespec-python":
1920
package-pprint-name: "\"Azure Event Grid\""
2021
package-mode: "dataplane"

0 commit comments

Comments
 (0)