diff --git a/.changeset/pretty-lobsters-grow.md b/.changeset/pretty-lobsters-grow.md new file mode 100644 index 000000000..4e1648272 --- /dev/null +++ b/.changeset/pretty-lobsters-grow.md @@ -0,0 +1,5 @@ +--- +"@azure-tools/cadl-ranch-expect": patch +--- + +Revert PR 598 diff --git a/packages/cadl-ranch-expect/src/decorators.ts b/packages/cadl-ranch-expect/src/decorators.ts index 294285e53..b706467af 100644 --- a/packages/cadl-ranch-expect/src/decorators.ts +++ b/packages/cadl-ranch-expect/src/decorators.ts @@ -238,20 +238,6 @@ export function $scenarioService( derivedModels: [], projectionsByName: [], } as any); - - context.call($server, target, "{endpoint}", "Test server endpoint", { - kind: "Model", - properties: new Map().set("endpoint", { - name: "endpoint", - type: context.program!.getGlobalNamespaceType().namespaces.get("TypeSpec")!.scalars.get("string"), - defaultValue: { entityKind: "Value", valueKind: "StringValue", value: "http://localhost:3000" }, - }), - decorators: [], - projections: [], - name: "parameters", - derivedModels: [], - projectionsByName: [], - } as any); - + context.call($server, target, "http://localhost:3000", "TestServer endpoint"); context.call($route, target, route); }