From 7d0e97bf216bcb3d6410cc50541da811e504f683 Mon Sep 17 00:00:00 2001 From: Crystal YU Date: Thu, 27 Jun 2024 17:35:37 +0800 Subject: [PATCH] sync autorest.sharp pr 4814: set no-route warning (#3675) Sync https://github.com/Azure/autorest.csharp/pull/4814 --- packages/http-client-csharp/emitter/src/lib/lib.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/http-client-csharp/emitter/src/lib/lib.ts b/packages/http-client-csharp/emitter/src/lib/lib.ts index 3c9296fb47..f59e814efd 100644 --- a/packages/http-client-csharp/emitter/src/lib/lib.ts +++ b/packages/http-client-csharp/emitter/src/lib/lib.ts @@ -14,7 +14,8 @@ const $lib = createTypeSpecLibrary({ }, }, "no-route": { - severity: "error", + // TODO - once https://github.com/Azure/typespec-azure/issues/1018 is fixed, change this back to error + severity: "warning", messages: { default: paramMessage`No Route for service for service ${"service"}`, },