We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b1f2f1 commit 12b8d66Copy full SHA for 12b8d66
2 files changed
src/typespec-aaz/src/utils.ts
@@ -1,6 +1,7 @@
1
import { Program } from "@typespec/compiler";
2
import { HttpOperation, isSharedRoute, } from "@typespec/http";
3
4
+
5
function getPathWithoutQuery(path: string): string {
6
// strip everything from the key including and after the ?
7
return path.replace(/\/?\?.*/, "");
src/web/src/typespec/index.ts
@@ -28,7 +28,7 @@ export async function getTypespecRPResources(resourceProviderUrl: string) {
28
for (const entryFile of entryFiles) {
29
// cache entry files
30
await host.stat(entryFile);
31
- const rt = await host.compiler.compile(host, entryFile, {
+ await host.compiler.compile(host, entryFile, {
32
outputDir: outputDir,
33
emit: ["@azure-tools/typespec-aaz"],
34
options: {
0 commit comments