From d5f9e6dcf9b638bdc81f7edcfecafd4863b059ac Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 10 Feb 2026 23:27:03 +0000
Subject: [PATCH 01/10] Initial plan
From d12ddc87315e5933e9e67d95e85174a686230771 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 10 Feb 2026 23:35:07 +0000
Subject: [PATCH 02/10] Bump C# emitter dependencies to TypeSpec 1.9.0
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
---
.../emitter/src/type/input-type.ts | 4 +-
packages/http-client-csharp/package-lock.json | 1532 ++++++++---------
packages/http-client-csharp/package.json | 43 +-
3 files changed, 700 insertions(+), 879 deletions(-)
diff --git a/packages/http-client-csharp/emitter/src/type/input-type.ts b/packages/http-client-csharp/emitter/src/type/input-type.ts
index e21af3e4b86..cf433c911cc 100644
--- a/packages/http-client-csharp/emitter/src/type/input-type.ts
+++ b/packages/http-client-csharp/emitter/src/type/input-type.ts
@@ -107,7 +107,7 @@ export type InputDateTimeType = InputUtcDateTimeType | InputOffsetDateTimeType;
interface InputDateTimeTypeBase extends InputTypeBase {
name: string;
- encode: DateTimeKnownEncoding;
+ encode: DateTimeKnownEncoding | string;
wireType: InputPrimitiveType;
crossLanguageDefinitionId: string;
baseType?: InputDateTimeType;
@@ -124,7 +124,7 @@ export interface InputOffsetDateTimeType extends InputDateTimeTypeBase {
export interface InputDurationType extends InputTypeBase {
kind: "duration";
name: string;
- encode: DurationKnownEncoding;
+ encode: DurationKnownEncoding | string;
wireType: InputPrimitiveType;
crossLanguageDefinitionId: string;
baseType?: InputDurationType;
diff --git a/packages/http-client-csharp/package-lock.json b/packages/http-client-csharp/package-lock.json
index 9cae75a57f2..7e7afa0417e 100644
--- a/packages/http-client-csharp/package-lock.json
+++ b/packages/http-client-csharp/package-lock.json
@@ -9,22 +9,24 @@
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
- "@azure-tools/azure-http-specs": "0.1.0-alpha.35",
- "@azure-tools/typespec-client-generator-core": "0.64.4",
+ "@azure-tools/azure-http-specs": "0.1.0-alpha.37",
+ "@azure-tools/typespec-azure-core": "0.65.0",
+ "@azure-tools/typespec-client-generator-core": "0.65.0",
"@microsoft/api-extractor": "^7.52.2",
"@types/node": "~22.12.0",
- "@typespec/compiler": "1.8.0",
- "@typespec/http": "1.8.0",
- "@typespec/http-specs": "0.1.0-alpha.30",
- "@typespec/json-schema": "1.8.0",
- "@typespec/library-linter": "0.78.0",
- "@typespec/openapi": "1.8.0",
- "@typespec/rest": "0.78.0",
- "@typespec/spector": "0.1.0-alpha.20",
- "@typespec/streams": "0.78.0",
+ "@typespec/compiler": "1.9.0",
+ "@typespec/http": "1.9.0",
+ "@typespec/http-specs": "0.1.0-alpha.32",
+ "@typespec/json-schema": "1.9.0",
+ "@typespec/library-linter": "0.79.0",
+ "@typespec/openapi": "1.9.0",
+ "@typespec/rest": "0.79.0",
+ "@typespec/spector": "0.1.0-alpha.23",
+ "@typespec/sse": "0.79.0",
+ "@typespec/streams": "0.79.0",
"@typespec/tspd": "0.73.1",
- "@typespec/versioning": "0.78.0",
- "@typespec/xml": "0.78.0",
+ "@typespec/versioning": "0.79.0",
+ "@typespec/xml": "0.79.0",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.5",
"c8": "^10.1.2",
@@ -33,13 +35,14 @@
"vitest": "^3.0.5"
},
"peerDependencies": {
- "@azure-tools/typespec-client-generator-core": ">=0.64.3 < 0.65.0 || ~0.65.0-0",
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0",
- "@typespec/openapi": "^1.8.0",
- "@typespec/rest": ">=0.78.0 <0.79.0 || ~0.79.0-0",
- "@typespec/streams": ">=0.78.0 <0.79.0 || ~0.79.0-0",
- "@typespec/versioning": ">=0.78.0 <0.79.0 || ~0.79.0-0"
+ "@azure-tools/typespec-client-generator-core": ">=0.65.0 < 0.66.0 || ~0.66.0-0",
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/http": "^1.9.0",
+ "@typespec/openapi": "^1.9.0",
+ "@typespec/rest": ">=0.79.0 <0.80.0 || ~0.80.0-0",
+ "@typespec/sse": ">=0.79.0 <0.80.0 || ~0.80.0-0",
+ "@typespec/streams": ">=0.79.0 <0.80.0 || ~0.80.0-0",
+ "@typespec/versioning": ">=0.79.0 <0.80.0 || ~0.80.0-0"
}
},
"node_modules/@alloy-js/core": {
@@ -94,83 +97,31 @@
}
},
"node_modules/@azure-tools/azure-http-specs": {
- "version": "0.1.0-alpha.35",
- "resolved": "https://registry.npmjs.org/@azure-tools/azure-http-specs/-/azure-http-specs-0.1.0-alpha.35.tgz",
- "integrity": "sha512-ECvGts/kO4+5vpDVwZayk3RGhzsX5Ouwctjhv16Gd/jmKY6S9voGWqR23IfD9QjrsLCyoUVwljIZQrOfqv4HwQ==",
+ "version": "0.1.0-alpha.37",
+ "resolved": "https://registry.npmjs.org/@azure-tools/azure-http-specs/-/azure-http-specs-0.1.0-alpha.37.tgz",
+ "integrity": "sha512-oMo0f14FGn2pg4epJQM7W86W6PNTIgtFUCmBGNUXUcffaZIMnzreR9M488ynyuAP4lbsOiu0uFcE2skDXip2Eg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typespec/spec-api": "^0.1.0-alpha.12",
- "@typespec/spector": "^0.1.0-alpha.22"
+ "@typespec/spector": "^0.1.0-alpha.23"
},
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@azure-tools/typespec-azure-core": "^0.64.0",
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0",
- "@typespec/rest": "^0.78.0",
- "@typespec/versioning": "^0.78.0",
- "@typespec/xml": "^0.78.0"
- }
- },
- "node_modules/@azure-tools/azure-http-specs/node_modules/@typespec/spector": {
- "version": "0.1.0-alpha.22",
- "resolved": "https://registry.npmjs.org/@typespec/spector/-/spector-0.1.0-alpha.22.tgz",
- "integrity": "sha512-oxdJjoHcYdsschi1DYr8jOxFKHoiuI4Y2CX1tfCikSzijFg6iTd4GRr2qusGoVfgaTduHKrXOfsdSWc8ukFE/w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@azure/identity": "~4.13.0",
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0",
- "@typespec/rest": "^0.78.0",
- "@typespec/spec-api": "^0.1.0-alpha.12",
- "@typespec/spec-coverage-sdk": "^0.1.0-alpha.14",
- "@typespec/versioning": "^0.78.0",
- "ajv": "~8.17.1",
- "body-parser": "^2.2.0",
- "deep-equal": "^2.2.0",
- "express": "^5.2.1",
- "globby": "~16.0.0",
- "micromatch": "^4.0.8",
- "morgan": "^1.10.0",
- "multer": "^2.0.1",
- "picocolors": "~1.1.1",
- "source-map-support": "~0.5.21",
- "xml2js": "^0.6.2",
- "yaml": "~2.8.2",
- "yargs": "~18.0.0"
- },
- "bin": {
- "tsp-spector": "cmd/cli.mjs"
- },
- "engines": {
- "node": ">=16.0.0"
- }
- },
- "node_modules/@azure-tools/azure-http-specs/node_modules/ajv": {
- "version": "8.17.1",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.3",
- "fast-uri": "^3.0.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
+ "@azure-tools/typespec-azure-core": "^0.65.0",
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/http": "^1.9.0",
+ "@typespec/rest": "^0.79.0",
+ "@typespec/versioning": "^0.79.0",
+ "@typespec/xml": "^0.79.0"
}
},
"node_modules/@azure-tools/typespec-azure-core": {
- "version": "0.64.0",
- "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.64.0.tgz",
- "integrity": "sha512-BXiHc5oayhMsG1dHFU1aFK/ZQX2Gl0dKB0FAFceapaFV9093J2obbsdhIDR3Tl0qei9g3Ha+iWKZ4KgnLdhv4w==",
+ "version": "0.65.0",
+ "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.65.0.tgz",
+ "integrity": "sha512-dYgHtt0CY0Q9AimdIsMV41jHKLmAT4r++TLwyxAHRbxdiRG+Sll1UKJzOIIoq45Bq64wCfEltu5OOnyPA01/sQ==",
"dev": true,
"license": "MIT",
"peer": true,
@@ -178,15 +129,15 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0",
- "@typespec/rest": "^0.78.0"
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/http": "^1.9.0",
+ "@typespec/rest": "^0.79.0"
}
},
"node_modules/@azure-tools/typespec-client-generator-core": {
- "version": "0.64.4",
- "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.64.4.tgz",
- "integrity": "sha512-ZAYdbTe47VVff3MarJTXXiu/xg4iIilipJbjbqROIYbNkXcnIyZSC1IYDkzKHU3qgYrEyHuBjoVZc7rkxAtOLA==",
+ "version": "0.65.0",
+ "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.65.0.tgz",
+ "integrity": "sha512-+g6+xB967chLQlukt2nKSCNUagg99MySrdFkY6Izu0z32Wq6ba/FI9IbqBDRTBGFveX+fxS39Xn/xCbtU3nTRg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -198,16 +149,16 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@azure-tools/typespec-azure-core": "^0.64.0",
- "@typespec/compiler": "^1.8.0",
- "@typespec/events": "^0.78.0",
- "@typespec/http": "^1.8.0",
- "@typespec/openapi": "^1.8.0",
- "@typespec/rest": "^0.78.0",
- "@typespec/sse": "^0.78.0",
- "@typespec/streams": "^0.78.0",
- "@typespec/versioning": "^0.78.0",
- "@typespec/xml": "^0.78.0"
+ "@azure-tools/typespec-azure-core": "^0.65.0",
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/events": "^0.79.0",
+ "@typespec/http": "^1.9.0",
+ "@typespec/openapi": "^1.9.0",
+ "@typespec/rest": "^0.79.0",
+ "@typespec/sse": "^0.79.0",
+ "@typespec/streams": "^0.79.0",
+ "@typespec/versioning": "^0.79.0",
+ "@typespec/xml": "^0.79.0"
}
},
"node_modules/@azure/abort-controller": {
@@ -244,6 +195,7 @@
"integrity": "sha512-Nh5PhEOeY6PrnxNPsEHRr9eimxLwgLlpmguQaHKBinFYA/RU9+kOYVOQqOrTsCL+KSxrLLl1gD8Dk5BFW/7l/w==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.10.0",
@@ -258,18 +210,20 @@
}
},
"node_modules/@azure/core-http-compat": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/@azure/core-http-compat/-/core-http-compat-2.3.1.tgz",
- "integrity": "sha512-az9BkXND3/d5VgdRRQVkiJb2gOmDU8Qcq4GvjtBmDICNiQ9udFmDk4ZpSB5Qq1OmtDJGlQAfBaS4palFsazQ5g==",
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@azure/core-http-compat/-/core-http-compat-2.3.2.tgz",
+ "integrity": "sha512-Tf6ltdKzOJEgxZeWLCjMxrxbodB/ZeCbzzA1A2qHbhzAjzjHoBVSUeSl/baT/oHAxhc4qdqVaDKnc2+iE932gw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@azure/abort-controller": "^2.1.2",
- "@azure/core-client": "^1.10.0",
- "@azure/core-rest-pipeline": "^1.22.0"
+ "@azure/abort-controller": "^2.1.2"
},
"engines": {
"node": ">=20.0.0"
+ },
+ "peerDependencies": {
+ "@azure/core-client": "^1.10.0",
+ "@azure/core-rest-pipeline": "^1.22.0"
}
},
"node_modules/@azure/core-lro": {
@@ -307,6 +261,7 @@
"integrity": "sha512-MzHym+wOi8CLUlKCQu12de0nwcq9k9Kuv43j4Wa++CsCpJwps2eeBQwD2Bu8snkxTtDKDx4GwjuR9E8yC8LNrg==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.10.0",
@@ -400,22 +355,22 @@
}
},
"node_modules/@azure/msal-browser": {
- "version": "4.27.0",
- "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-4.27.0.tgz",
- "integrity": "sha512-bZ8Pta6YAbdd0o0PEaL1/geBsPrLEnyY/RDWqvF1PP9RUH8EMLvUMGoZFYS6jSlUan6KZ9IMTLCnwpWWpQRK/w==",
+ "version": "4.28.2",
+ "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-4.28.2.tgz",
+ "integrity": "sha512-6vYUMvs6kJxJgxaCmHn/F8VxjLHNh7i9wzfwPGf8kyBJ8Gg2yvBXx175Uev8LdrD1F5C4o7qHa2CC4IrhGE1XQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@azure/msal-common": "15.13.3"
+ "@azure/msal-common": "15.14.2"
},
"engines": {
"node": ">=0.8.0"
}
},
"node_modules/@azure/msal-common": {
- "version": "15.13.3",
- "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.13.3.tgz",
- "integrity": "sha512-shSDU7Ioecya+Aob5xliW9IGq1Ui8y4EVSdWGyI1Gbm4Vg61WpP95LuzcY214/wEjSn6w4PZYD4/iVldErHayQ==",
+ "version": "15.14.2",
+ "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.14.2.tgz",
+ "integrity": "sha512-n8RBJEUmd5QotoqbZfd+eGBkzuFI1KX6jw2b3WcpSyGjwmzoeI/Jb99opIBPHpb8y312NB+B6+FGi2ZVSR8yfA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -423,13 +378,13 @@
}
},
"node_modules/@azure/msal-node": {
- "version": "3.8.4",
- "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-3.8.4.tgz",
- "integrity": "sha512-lvuAwsDpPDE/jSuVQOBMpLbXuVuLsPNRwWCyK3/6bPlBk0fGWegqoZ0qjZclMWyQ2JNvIY3vHY7hoFmFmFQcOw==",
+ "version": "3.8.7",
+ "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-3.8.7.tgz",
+ "integrity": "sha512-a+Xnrae+uwLnlw68bplS1X4kuJ9F/7K6afuMFyRkNIskhjgDezl5Fhrx+1pmAlDmC0VaaAxjRQMp1OmcqVwkIg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@azure/msal-common": "15.13.3",
+ "@azure/msal-common": "15.14.2",
"jsonwebtoken": "^9.0.0",
"uuid": "^8.3.0"
},
@@ -438,9 +393,9 @@
}
},
"node_modules/@azure/storage-blob": {
- "version": "12.29.1",
- "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.29.1.tgz",
- "integrity": "sha512-7ktyY0rfTM0vo7HvtK6E3UvYnI9qfd6Oz6z/+92VhGRveWng3kJwMKeUpqmW/NmwcDNbxHpSlldG+vsUnRFnBg==",
+ "version": "12.30.0",
+ "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.30.0.tgz",
+ "integrity": "sha512-peDCR8blSqhsAKDbpSP/o55S4sheNwSrblvCaHUZ5xUI73XA7ieUGGwrONgD/Fng0EoDe1VOa3fAQ7+WGB3Ocg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -455,7 +410,7 @@
"@azure/core-util": "^1.11.0",
"@azure/core-xml": "^1.4.5",
"@azure/logger": "^1.1.4",
- "@azure/storage-common": "^12.1.1",
+ "@azure/storage-common": "^12.2.0",
"events": "^3.0.0",
"tslib": "^2.8.1"
},
@@ -464,9 +419,9 @@
}
},
"node_modules/@azure/storage-common": {
- "version": "12.1.1",
- "resolved": "https://registry.npmjs.org/@azure/storage-common/-/storage-common-12.1.1.tgz",
- "integrity": "sha512-eIOH1pqFwI6UmVNnDQvmFeSg0XppuzDLFeUNO/Xht7ODAzRLgGDh7h550pSxoA+lPDxBl1+D2m/KG3jWzCUjTg==",
+ "version": "12.3.0",
+ "resolved": "https://registry.npmjs.org/@azure/storage-common/-/storage-common-12.3.0.tgz",
+ "integrity": "sha512-/OFHhy86aG5Pe8dP5tsp+BuJ25JOAl9yaMU3WZbkeoiFMHFtJ7tu5ili7qEdBXNW9G5lDB19trwyI6V49F/8iQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -485,13 +440,13 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
- "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.28.6.tgz",
+ "integrity": "sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-validator-identifier": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5",
"js-tokens": "^4.0.0",
"picocolors": "^1.1.1"
},
@@ -520,13 +475,13 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.28.6",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.6.tgz",
- "integrity": "sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.0.tgz",
+ "integrity": "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.28.6"
+ "@babel/types": "^7.29.0"
},
"bin": {
"parser": "bin/babel-parser.js"
@@ -536,9 +491,9 @@
}
},
"node_modules/@babel/types": {
- "version": "7.28.6",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.6.tgz",
- "integrity": "sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==",
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
+ "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -571,9 +526,9 @@
}
},
"node_modules/@esbuild/aix-ppc64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.2.tgz",
- "integrity": "sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.3.tgz",
+ "integrity": "sha512-9fJMTNFTWZMh5qwrBItuziu834eOCUcEqymSH7pY+zoMVEZg3gcPuBNxH1EvfVYe9h0x/Ptw8KBzv7qxb7l8dg==",
"cpu": [
"ppc64"
],
@@ -588,9 +543,9 @@
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.2.tgz",
- "integrity": "sha512-DVNI8jlPa7Ujbr1yjU2PfUSRtAUZPG9I1RwW4F4xFB1Imiu2on0ADiI/c3td+KmDtVKNbi+nffGDQMfcIMkwIA==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.3.tgz",
+ "integrity": "sha512-i5D1hPY7GIQmXlXhs2w8AWHhenb00+GxjxRncS2ZM7YNVGNfaMxgzSGuO8o8SJzRc/oZwU2bcScvVERk03QhzA==",
"cpu": [
"arm"
],
@@ -605,9 +560,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.2.tgz",
- "integrity": "sha512-pvz8ZZ7ot/RBphf8fv60ljmaoydPU12VuXHImtAs0XhLLw+EXBi2BLe3OYSBslR4rryHvweW5gmkKFwTiFy6KA==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.3.tgz",
+ "integrity": "sha512-YdghPYUmj/FX2SYKJ0OZxf+iaKgMsKHVPF1MAq/P8WirnSpCStzKJFjOjzsW0QQ7oIAiccHdcqjbHmJxRb/dmg==",
"cpu": [
"arm64"
],
@@ -622,9 +577,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.2.tgz",
- "integrity": "sha512-z8Ank4Byh4TJJOh4wpz8g2vDy75zFL0TlZlkUkEwYXuPSgX8yzep596n6mT7905kA9uHZsf/o2OJZubl2l3M7A==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.3.tgz",
+ "integrity": "sha512-IN/0BNTkHtk8lkOM8JWAYFg4ORxBkZQf9zXiEOfERX/CzxW3Vg1ewAhU7QSWQpVIzTW+b8Xy+lGzdYXV6UZObQ==",
"cpu": [
"x64"
],
@@ -639,9 +594,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.2.tgz",
- "integrity": "sha512-davCD2Zc80nzDVRwXTcQP/28fiJbcOwvdolL0sOiOsbwBa72kegmVU0Wrh1MYrbuCL98Omp5dVhQFWRKR2ZAlg==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.3.tgz",
+ "integrity": "sha512-Re491k7ByTVRy0t3EKWajdLIr0gz2kKKfzafkth4Q8A5n1xTHrkqZgLLjFEHVD+AXdUGgQMq+Godfq45mGpCKg==",
"cpu": [
"arm64"
],
@@ -656,9 +611,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.2.tgz",
- "integrity": "sha512-ZxtijOmlQCBWGwbVmwOF/UCzuGIbUkqB1faQRf5akQmxRJ1ujusWsb3CVfk/9iZKr2L5SMU5wPBi1UWbvL+VQA==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.3.tgz",
+ "integrity": "sha512-vHk/hA7/1AckjGzRqi6wbo+jaShzRowYip6rt6q7VYEDX4LEy1pZfDpdxCBnGtl+A5zq8iXDcyuxwtv3hNtHFg==",
"cpu": [
"x64"
],
@@ -673,9 +628,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.2.tgz",
- "integrity": "sha512-lS/9CN+rgqQ9czogxlMcBMGd+l8Q3Nj1MFQwBZJyoEKI50XGxwuzznYdwcav6lpOGv5BqaZXqvBSiB/kJ5op+g==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.3.tgz",
+ "integrity": "sha512-ipTYM2fjt3kQAYOvo6vcxJx3nBYAzPjgTCk7QEgZG8AUO3ydUhvelmhrbOheMnGOlaSFUoHXB6un+A7q4ygY9w==",
"cpu": [
"arm64"
],
@@ -690,9 +645,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.2.tgz",
- "integrity": "sha512-tAfqtNYb4YgPnJlEFu4c212HYjQWSO/w/h/lQaBK7RbwGIkBOuNKQI9tqWzx7Wtp7bTPaGC6MJvWI608P3wXYA==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.3.tgz",
+ "integrity": "sha512-dDk0X87T7mI6U3K9VjWtHOXqwAMJBNN2r7bejDsc+j03SEjtD9HrOl8gVFByeM0aJksoUuUVU9TBaZa2rgj0oA==",
"cpu": [
"x64"
],
@@ -707,9 +662,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.2.tgz",
- "integrity": "sha512-vWfq4GaIMP9AIe4yj1ZUW18RDhx6EPQKjwe7n8BbIecFtCQG4CfHGaHuh7fdfq+y3LIA2vGS/o9ZBGVxIDi9hw==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.3.tgz",
+ "integrity": "sha512-s6nPv2QkSupJwLYyfS+gwdirm0ukyTFNl3KTgZEAiJDd+iHZcbTPPcWCcRYH+WlNbwChgH2QkE9NSlNrMT8Gfw==",
"cpu": [
"arm"
],
@@ -724,9 +679,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.2.tgz",
- "integrity": "sha512-hYxN8pr66NsCCiRFkHUAsxylNOcAQaxSSkHMMjcpx0si13t1LHFphxJZUiGwojB1a/Hd5OiPIqDdXONia6bhTw==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.3.tgz",
+ "integrity": "sha512-sZOuFz/xWnZ4KH3YfFrKCf1WyPZHakVzTiqji3WDc0BCl2kBwiJLCXpzLzUBLgmp4veFZdvN5ChW4Eq/8Fc2Fg==",
"cpu": [
"arm64"
],
@@ -741,9 +696,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.2.tgz",
- "integrity": "sha512-MJt5BRRSScPDwG2hLelYhAAKh9imjHK5+NE/tvnRLbIqUWa+0E9N4WNMjmp/kXXPHZGqPLxggwVhz7QP8CTR8w==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.3.tgz",
+ "integrity": "sha512-yGlQYjdxtLdh0a3jHjuwOrxQjOZYD/C9PfdbgJJF3TIZWnm/tMd/RcNiLngiu4iwcBAOezdnSLAwQDPqTmtTYg==",
"cpu": [
"ia32"
],
@@ -758,9 +713,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.2.tgz",
- "integrity": "sha512-lugyF1atnAT463aO6KPshVCJK5NgRnU4yb3FUumyVz+cGvZbontBgzeGFO1nF+dPueHD367a2ZXe1NtUkAjOtg==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.3.tgz",
+ "integrity": "sha512-WO60Sn8ly3gtzhyjATDgieJNet/KqsDlX5nRC5Y3oTFcS1l0KWba+SEa9Ja1GfDqSF1z6hif/SkpQJbL63cgOA==",
"cpu": [
"loong64"
],
@@ -775,9 +730,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.2.tgz",
- "integrity": "sha512-nlP2I6ArEBewvJ2gjrrkESEZkB5mIoaTswuqNFRv/WYd+ATtUpe9Y09RnJvgvdag7he0OWgEZWhviS1OTOKixw==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.3.tgz",
+ "integrity": "sha512-APsymYA6sGcZ4pD6k+UxbDjOFSvPWyZhjaiPyl/f79xKxwTnrn5QUnXR5prvetuaSMsb4jgeHewIDCIWljrSxw==",
"cpu": [
"mips64el"
],
@@ -792,9 +747,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.2.tgz",
- "integrity": "sha512-C92gnpey7tUQONqg1n6dKVbx3vphKtTHJaNG2Ok9lGwbZil6DrfyecMsp9CrmXGQJmZ7iiVXvvZH6Ml5hL6XdQ==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.3.tgz",
+ "integrity": "sha512-eizBnTeBefojtDb9nSh4vvVQ3V9Qf9Df01PfawPcRzJH4gFSgrObw+LveUyDoKU3kxi5+9RJTCWlj4FjYXVPEA==",
"cpu": [
"ppc64"
],
@@ -809,9 +764,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.2.tgz",
- "integrity": "sha512-B5BOmojNtUyN8AXlK0QJyvjEZkWwy/FKvakkTDCziX95AowLZKR6aCDhG7LeF7uMCXEJqwa8Bejz5LTPYm8AvA==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.3.tgz",
+ "integrity": "sha512-3Emwh0r5wmfm3ssTWRQSyVhbOHvqegUDRd0WhmXKX2mkHJe1SFCMJhagUleMq+Uci34wLSipf8Lagt4LlpRFWQ==",
"cpu": [
"riscv64"
],
@@ -826,9 +781,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.2.tgz",
- "integrity": "sha512-p4bm9+wsPwup5Z8f4EpfN63qNagQ47Ua2znaqGH6bqLlmJ4bx97Y9JdqxgGZ6Y8xVTixUnEkoKSHcpRlDnNr5w==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.3.tgz",
+ "integrity": "sha512-pBHUx9LzXWBc7MFIEEL0yD/ZVtNgLytvx60gES28GcWMqil8ElCYR4kvbV2BDqsHOvVDRrOxGySBM9Fcv744hw==",
"cpu": [
"s390x"
],
@@ -843,9 +798,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.2.tgz",
- "integrity": "sha512-uwp2Tip5aPmH+NRUwTcfLb+W32WXjpFejTIOWZFw/v7/KnpCDKG66u4DLcurQpiYTiYwQ9B7KOeMJvLCu/OvbA==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.3.tgz",
+ "integrity": "sha512-Czi8yzXUWIQYAtL/2y6vogER8pvcsOsk5cpwL4Gk5nJqH5UZiVByIY8Eorm5R13gq+DQKYg0+JyQoytLQas4dA==",
"cpu": [
"x64"
],
@@ -860,9 +815,9 @@
}
},
"node_modules/@esbuild/netbsd-arm64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.2.tgz",
- "integrity": "sha512-Kj6DiBlwXrPsCRDeRvGAUb/LNrBASrfqAIok+xB0LxK8CHqxZ037viF13ugfsIpePH93mX7xfJp97cyDuTZ3cw==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.3.tgz",
+ "integrity": "sha512-sDpk0RgmTCR/5HguIZa9n9u+HVKf40fbEUt+iTzSnCaGvY9kFP0YKBWZtJaraonFnqef5SlJ8/TiPAxzyS+UoA==",
"cpu": [
"arm64"
],
@@ -877,9 +832,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.2.tgz",
- "integrity": "sha512-HwGDZ0VLVBY3Y+Nw0JexZy9o/nUAWq9MlV7cahpaXKW6TOzfVno3y3/M8Ga8u8Yr7GldLOov27xiCnqRZf0tCA==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.3.tgz",
+ "integrity": "sha512-P14lFKJl/DdaE00LItAukUdZO5iqNH7+PjoBm+fLQjtxfcfFE20Xf5CrLsmZdq5LFFZzb5JMZ9grUwvtVYzjiA==",
"cpu": [
"x64"
],
@@ -894,9 +849,9 @@
}
},
"node_modules/@esbuild/openbsd-arm64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.2.tgz",
- "integrity": "sha512-DNIHH2BPQ5551A7oSHD0CKbwIA/Ox7+78/AWkbS5QoRzaqlev2uFayfSxq68EkonB+IKjiuxBFoV8ESJy8bOHA==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.3.tgz",
+ "integrity": "sha512-AIcMP77AvirGbRl/UZFTq5hjXK+2wC7qFRGoHSDrZ5v5b8DK/GYpXW3CPRL53NkvDqb9D+alBiC/dV0Fb7eJcw==",
"cpu": [
"arm64"
],
@@ -911,9 +866,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.2.tgz",
- "integrity": "sha512-/it7w9Nb7+0KFIzjalNJVR5bOzA9Vay+yIPLVHfIQYG/j+j9VTH84aNB8ExGKPU4AzfaEvN9/V4HV+F+vo8OEg==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.3.tgz",
+ "integrity": "sha512-DnW2sRrBzA+YnE70LKqnM3P+z8vehfJWHXECbwBmH/CU51z6FiqTQTHFenPlHmo3a8UgpLyH3PT+87OViOh1AQ==",
"cpu": [
"x64"
],
@@ -928,9 +883,9 @@
}
},
"node_modules/@esbuild/openharmony-arm64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.2.tgz",
- "integrity": "sha512-LRBbCmiU51IXfeXk59csuX/aSaToeG7w48nMwA6049Y4J4+VbWALAuXcs+qcD04rHDuSCSRKdmY63sruDS5qag==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.3.tgz",
+ "integrity": "sha512-NinAEgr/etERPTsZJ7aEZQvvg/A6IsZG/LgZy+81wON2huV7SrK3e63dU0XhyZP4RKGyTm7aOgmQk0bGp0fy2g==",
"cpu": [
"arm64"
],
@@ -945,9 +900,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.2.tgz",
- "integrity": "sha512-kMtx1yqJHTmqaqHPAzKCAkDaKsffmXkPHThSfRwZGyuqyIeBvf08KSsYXl+abf5HDAPMJIPnbBfXvP2ZC2TfHg==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.3.tgz",
+ "integrity": "sha512-PanZ+nEz+eWoBJ8/f8HKxTTD172SKwdXebZ0ndd953gt1HRBbhMsaNqjTyYLGLPdoWHy4zLU7bDVJztF5f3BHA==",
"cpu": [
"x64"
],
@@ -962,9 +917,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.2.tgz",
- "integrity": "sha512-Yaf78O/B3Kkh+nKABUF++bvJv5Ijoy9AN1ww904rOXZFLWVc5OLOfL56W+C8F9xn5JQZa3UX6m+IktJnIb1Jjg==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.3.tgz",
+ "integrity": "sha512-B2t59lWWYrbRDw/tjiWOuzSsFh1Y/E95ofKz7rIVYSQkUYBjfSgf6oeYPNWHToFRr2zx52JKApIcAS/D5TUBnA==",
"cpu": [
"arm64"
],
@@ -979,9 +934,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.2.tgz",
- "integrity": "sha512-Iuws0kxo4yusk7sw70Xa2E2imZU5HoixzxfGCdxwBdhiDgt9vX9VUCBhqcwY7/uh//78A1hMkkROMJq9l27oLQ==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.3.tgz",
+ "integrity": "sha512-QLKSFeXNS8+tHW7tZpMtjlNb7HKau0QDpwm49u0vUp9y1WOF+PEzkU84y9GqYaAVW8aH8f3GcBck26jh54cX4Q==",
"cpu": [
"ia32"
],
@@ -996,9 +951,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.2.tgz",
- "integrity": "sha512-sRdU18mcKf7F+YgheI/zGf5alZatMUTKj/jNS6l744f9u3WFu4v7twcUI9vu4mknF4Y9aDlblIie0IM+5xxaqQ==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.3.tgz",
+ "integrity": "sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA==",
"cpu": [
"x64"
],
@@ -1013,16 +968,16 @@
}
},
"node_modules/@gerrit0/mini-shiki": {
- "version": "3.21.0",
- "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.21.0.tgz",
- "integrity": "sha512-9PrsT5DjZA+w3lur/aOIx3FlDeHdyCEFlv9U+fmsVyjPZh61G5SYURQ/1ebe2U63KbDmI2V8IhIUegWb8hjOyg==",
+ "version": "3.22.0",
+ "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.22.0.tgz",
+ "integrity": "sha512-jMpciqEVUBKE1QwU64S4saNMzpsSza6diNCk4MWAeCxO2+LFi2FIFmL2S0VDLzEJCxuvCbU783xi8Hp/gkM5CQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/engine-oniguruma": "^3.21.0",
- "@shikijs/langs": "^3.21.0",
- "@shikijs/themes": "^3.21.0",
- "@shikijs/types": "^3.21.0",
+ "@shikijs/engine-oniguruma": "^3.22.0",
+ "@shikijs/langs": "^3.22.0",
+ "@shikijs/themes": "^3.22.0",
+ "@shikijs/types": "^3.22.0",
"@shikijs/vscode-textmate": "^10.0.2"
}
},
@@ -1381,9 +1336,9 @@
}
},
"node_modules/@isaacs/brace-expansion": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
- "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz",
+ "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1394,64 +1349,13 @@
}
},
"node_modules/@isaacs/cliui": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
- "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "string-width": "^5.1.2",
- "string-width-cjs": "npm:string-width@^4.2.0",
- "strip-ansi": "^7.0.1",
- "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
- "wrap-ansi": "^8.1.0",
- "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@isaacs/cliui/node_modules/emoji-regex": {
- "version": "9.2.2",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@isaacs/cliui/node_modules/string-width": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
- "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-9.0.0.tgz",
+ "integrity": "sha512-AokJm4tuBHillT+FpMtxQ60n8ObyXBatq7jD2/JA9dxbDDokKQm8KMht5ibGzLVU9IJDIKK4TPKgMHEYMn3lMg==",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "eastasianwidth": "^0.2.0",
- "emoji-regex": "^9.2.2",
- "strip-ansi": "^7.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
- "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ansi-styles": "^6.1.0",
- "string-width": "^5.0.1",
- "strip-ansi": "^7.0.1"
- },
+ "license": "BlueOak-1.0.0",
"engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ "node": ">=18"
}
},
"node_modules/@isaacs/fs-minipass": {
@@ -1517,9 +1421,9 @@
}
},
"node_modules/@microsoft/api-extractor": {
- "version": "7.55.2",
- "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.55.2.tgz",
- "integrity": "sha512-1jlWO4qmgqYoVUcyh+oXYRztZde/pAi7cSVzBz/rc+S7CoVzDasy8QE13dx6sLG4VRo8SfkkLbFORR6tBw4uGQ==",
+ "version": "7.56.3",
+ "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.56.3.tgz",
+ "integrity": "sha512-fRqok4aRNq5GpgGBv2fKlSSKbirPKTJ75vQefthB5x9dwt4Zz+AezUzdc1p/AG4wUBIgmhjcEwn/Rj+N4Wh4Mw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1528,11 +1432,11 @@
"@microsoft/tsdoc-config": "~0.18.0",
"@rushstack/node-core-library": "5.19.1",
"@rushstack/rig-package": "0.6.0",
- "@rushstack/terminal": "0.19.5",
- "@rushstack/ts-command-line": "5.1.5",
+ "@rushstack/terminal": "0.21.0",
+ "@rushstack/ts-command-line": "5.2.0",
"diff": "~8.0.2",
- "lodash": "~4.17.15",
- "minimatch": "10.0.3",
+ "lodash": "~4.17.23",
+ "minimatch": "10.1.2",
"resolve": "~1.22.1",
"semver": "~7.5.4",
"source-map": "~0.6.1",
@@ -1645,9 +1549,9 @@
"license": "MIT"
},
"node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.55.1.tgz",
- "integrity": "sha512-9R0DM/ykwfGIlNu6+2U09ga0WXeZ9MRC2Ter8jnz8415VbuIykVuc6bhdrbORFZANDmTDvq26mJrEVTl8TdnDg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.57.1.tgz",
+ "integrity": "sha512-A6ehUVSiSaaliTxai040ZpZ2zTevHYbvu/lDoeAteHI8QnaosIzm4qwtezfRg1jOYaUmnzLX1AOD6Z+UJjtifg==",
"cpu": [
"arm"
],
@@ -1659,9 +1563,9 @@
]
},
"node_modules/@rollup/rollup-android-arm64": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.55.1.tgz",
- "integrity": "sha512-eFZCb1YUqhTysgW3sj/55du5cG57S7UTNtdMjCW7LwVcj3dTTcowCsC8p7uBdzKsZYa8J7IDE8lhMI+HX1vQvg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.57.1.tgz",
+ "integrity": "sha512-dQaAddCY9YgkFHZcFNS/606Exo8vcLHwArFZ7vxXq4rigo2bb494/xKMMwRRQW6ug7Js6yXmBZhSBRuBvCCQ3w==",
"cpu": [
"arm64"
],
@@ -1673,9 +1577,9 @@
]
},
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.55.1.tgz",
- "integrity": "sha512-p3grE2PHcQm2e8PSGZdzIhCKbMCw/xi9XvMPErPhwO17vxtvCN5FEA2mSLgmKlCjHGMQTP6phuQTYWUnKewwGg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.57.1.tgz",
+ "integrity": "sha512-crNPrwJOrRxagUYeMn/DZwqN88SDmwaJ8Cvi/TN1HnWBU7GwknckyosC2gd0IqYRsHDEnXf328o9/HC6OkPgOg==",
"cpu": [
"arm64"
],
@@ -1687,9 +1591,9 @@
]
},
"node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.55.1.tgz",
- "integrity": "sha512-rDUjG25C9qoTm+e02Esi+aqTKSBYwVTaoS1wxcN47/Luqef57Vgp96xNANwt5npq9GDxsH7kXxNkJVEsWEOEaQ==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.57.1.tgz",
+ "integrity": "sha512-Ji8g8ChVbKrhFtig5QBV7iMaJrGtpHelkB3lsaKzadFBe58gmjfGXAOfI5FV0lYMH8wiqsxKQ1C9B0YTRXVy4w==",
"cpu": [
"x64"
],
@@ -1701,9 +1605,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.55.1.tgz",
- "integrity": "sha512-+JiU7Jbp5cdxekIgdte0jfcu5oqw4GCKr6i3PJTlXTCU5H5Fvtkpbs4XJHRmWNXF+hKmn4v7ogI5OQPaupJgOg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.57.1.tgz",
+ "integrity": "sha512-R+/WwhsjmwodAcz65guCGFRkMb4gKWTcIeLy60JJQbXrJ97BOXHxnkPFrP+YwFlaS0m+uWJTstrUA9o+UchFug==",
"cpu": [
"arm64"
],
@@ -1715,9 +1619,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.55.1.tgz",
- "integrity": "sha512-V5xC1tOVWtLLmr3YUk2f6EJK4qksksOYiz/TCsFHu/R+woubcLWdC9nZQmwjOAbmExBIVKsm1/wKmEy4z4u4Bw==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.57.1.tgz",
+ "integrity": "sha512-IEQTCHeiTOnAUC3IDQdzRAGj3jOAYNr9kBguI7MQAAZK3caezRrg0GxAb6Hchg4lxdZEI5Oq3iov/w/hnFWY9Q==",
"cpu": [
"x64"
],
@@ -1729,9 +1633,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.55.1.tgz",
- "integrity": "sha512-Rn3n+FUk2J5VWx+ywrG/HGPTD9jXNbicRtTM11e/uorplArnXZYsVifnPPqNNP5BsO3roI4n8332ukpY/zN7rQ==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.57.1.tgz",
+ "integrity": "sha512-F8sWbhZ7tyuEfsmOxwc2giKDQzN3+kuBLPwwZGyVkLlKGdV1nvnNwYD0fKQ8+XS6hp9nY7B+ZeK01EBUE7aHaw==",
"cpu": [
"arm"
],
@@ -1743,9 +1647,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.55.1.tgz",
- "integrity": "sha512-grPNWydeKtc1aEdrJDWk4opD7nFtQbMmV7769hiAaYyUKCT1faPRm2av8CX1YJsZ4TLAZcg9gTR1KvEzoLjXkg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.57.1.tgz",
+ "integrity": "sha512-rGfNUfn0GIeXtBP1wL5MnzSj98+PZe/AXaGBCRmT0ts80lU5CATYGxXukeTX39XBKsxzFpEeK+Mrp9faXOlmrw==",
"cpu": [
"arm"
],
@@ -1757,9 +1661,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.55.1.tgz",
- "integrity": "sha512-a59mwd1k6x8tXKcUxSyISiquLwB5pX+fJW9TkWU46lCqD/GRDe9uDN31jrMmVP3feI3mhAdvcCClhV8V5MhJFQ==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.57.1.tgz",
+ "integrity": "sha512-MMtej3YHWeg/0klK2Qodf3yrNzz6CGjo2UntLvk2RSPlhzgLvYEB3frRvbEF2wRKh1Z2fDIg9KRPe1fawv7C+g==",
"cpu": [
"arm64"
],
@@ -1771,9 +1675,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.55.1.tgz",
- "integrity": "sha512-puS1MEgWX5GsHSoiAsF0TYrpomdvkaXm0CofIMG5uVkP6IBV+ZO9xhC5YEN49nsgYo1DuuMquF9+7EDBVYu4uA==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.57.1.tgz",
+ "integrity": "sha512-1a/qhaaOXhqXGpMFMET9VqwZakkljWHLmZOX48R0I/YLbhdxr1m4gtG1Hq7++VhVUmf+L3sTAf9op4JlhQ5u1Q==",
"cpu": [
"arm64"
],
@@ -1785,9 +1689,9 @@
]
},
"node_modules/@rollup/rollup-linux-loong64-gnu": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.55.1.tgz",
- "integrity": "sha512-r3Wv40in+lTsULSb6nnoudVbARdOwb2u5fpeoOAZjFLznp6tDU8kd+GTHmJoqZ9lt6/Sys33KdIHUaQihFcu7g==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.57.1.tgz",
+ "integrity": "sha512-QWO6RQTZ/cqYtJMtxhkRkidoNGXc7ERPbZN7dVW5SdURuLeVU7lwKMpo18XdcmpWYd0qsP1bwKPf7DNSUinhvA==",
"cpu": [
"loong64"
],
@@ -1799,9 +1703,9 @@
]
},
"node_modules/@rollup/rollup-linux-loong64-musl": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.55.1.tgz",
- "integrity": "sha512-MR8c0+UxAlB22Fq4R+aQSPBayvYa3+9DrwG/i1TKQXFYEaoW3B5b/rkSRIypcZDdWjWnpcvxbNaAJDcSbJU3Lw==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.57.1.tgz",
+ "integrity": "sha512-xpObYIf+8gprgWaPP32xiN5RVTi/s5FCR+XMXSKmhfoJjrpRAjCuuqQXyxUa/eJTdAE6eJ+KDKaoEqjZQxh3Gw==",
"cpu": [
"loong64"
],
@@ -1813,9 +1717,9 @@
]
},
"node_modules/@rollup/rollup-linux-ppc64-gnu": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.55.1.tgz",
- "integrity": "sha512-3KhoECe1BRlSYpMTeVrD4sh2Pw2xgt4jzNSZIIPLFEsnQn9gAnZagW9+VqDqAHgm1Xc77LzJOo2LdigS5qZ+gw==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.57.1.tgz",
+ "integrity": "sha512-4BrCgrpZo4hvzMDKRqEaW1zeecScDCR+2nZ86ATLhAoJ5FQ+lbHVD3ttKe74/c7tNT9c6F2viwB3ufwp01Oh2w==",
"cpu": [
"ppc64"
],
@@ -1827,9 +1731,9 @@
]
},
"node_modules/@rollup/rollup-linux-ppc64-musl": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.55.1.tgz",
- "integrity": "sha512-ziR1OuZx0vdYZZ30vueNZTg73alF59DicYrPViG0NEgDVN8/Jl87zkAPu4u6VjZST2llgEUjaiNl9JM6HH1Vdw==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.57.1.tgz",
+ "integrity": "sha512-NOlUuzesGauESAyEYFSe3QTUguL+lvrN1HtwEEsU2rOwdUDeTMJdO5dUYl/2hKf9jWydJrO9OL/XSSf65R5+Xw==",
"cpu": [
"ppc64"
],
@@ -1841,9 +1745,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.55.1.tgz",
- "integrity": "sha512-uW0Y12ih2XJRERZ4jAfKamTyIHVMPQnTZcQjme2HMVDAHY4amf5u414OqNYC+x+LzRdRcnIG1YodLrrtA8xsxw==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.57.1.tgz",
+ "integrity": "sha512-ptA88htVp0AwUUqhVghwDIKlvJMD/fmL/wrQj99PRHFRAG6Z5nbWoWG4o81Nt9FT+IuqUQi+L31ZKAFeJ5Is+A==",
"cpu": [
"riscv64"
],
@@ -1855,9 +1759,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.55.1.tgz",
- "integrity": "sha512-u9yZ0jUkOED1BFrqu3BwMQoixvGHGZ+JhJNkNKY/hyoEgOwlqKb62qu+7UjbPSHYjiVy8kKJHvXKv5coH4wDeg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.57.1.tgz",
+ "integrity": "sha512-S51t7aMMTNdmAMPpBg7OOsTdn4tySRQvklmL3RpDRyknk87+Sp3xaumlatU+ppQ+5raY7sSTcC2beGgvhENfuw==",
"cpu": [
"riscv64"
],
@@ -1869,9 +1773,9 @@
]
},
"node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.55.1.tgz",
- "integrity": "sha512-/0PenBCmqM4ZUd0190j7J0UsQ/1nsi735iPRakO8iPciE7BQ495Y6msPzaOmvx0/pn+eJVVlZrNrSh4WSYLxNg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.57.1.tgz",
+ "integrity": "sha512-Bl00OFnVFkL82FHbEqy3k5CUCKH6OEJL54KCyx2oqsmZnFTR8IoNqBF+mjQVcRCT5sB6yOvK8A37LNm/kPJiZg==",
"cpu": [
"s390x"
],
@@ -1883,9 +1787,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.55.1.tgz",
- "integrity": "sha512-a8G4wiQxQG2BAvo+gU6XrReRRqj+pLS2NGXKm8io19goR+K8lw269eTrPkSdDTALwMmJp4th2Uh0D8J9bEV1vg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.57.1.tgz",
+ "integrity": "sha512-ABca4ceT4N+Tv/GtotnWAeXZUZuM/9AQyCyKYyKnpk4yoA7QIAuBt6Hkgpw8kActYlew2mvckXkvx0FfoInnLg==",
"cpu": [
"x64"
],
@@ -1897,9 +1801,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.55.1.tgz",
- "integrity": "sha512-bD+zjpFrMpP/hqkfEcnjXWHMw5BIghGisOKPj+2NaNDuVT+8Ds4mPf3XcPHuat1tz89WRL+1wbcxKY3WSbiT7w==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.57.1.tgz",
+ "integrity": "sha512-HFps0JeGtuOR2convgRRkHCekD7j+gdAuXM+/i6kGzQtFhlCtQkpwtNzkNj6QhCDp7DRJ7+qC/1Vg2jt5iSOFw==",
"cpu": [
"x64"
],
@@ -1911,9 +1815,9 @@
]
},
"node_modules/@rollup/rollup-openbsd-x64": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.55.1.tgz",
- "integrity": "sha512-eLXw0dOiqE4QmvikfQ6yjgkg/xDM+MdU9YJuP4ySTibXU0oAvnEWXt7UDJmD4UkYialMfOGFPJnIHSe/kdzPxg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.57.1.tgz",
+ "integrity": "sha512-H+hXEv9gdVQuDTgnqD+SQffoWoc0Of59AStSzTEj/feWTBAnSfSD3+Dql1ZruJQxmykT/JVY0dE8Ka7z0DH1hw==",
"cpu": [
"x64"
],
@@ -1925,9 +1829,9 @@
]
},
"node_modules/@rollup/rollup-openharmony-arm64": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.55.1.tgz",
- "integrity": "sha512-xzm44KgEP11te3S2HCSyYf5zIzWmx3n8HDCc7EE59+lTcswEWNpvMLfd9uJvVX8LCg9QWG67Xt75AuHn4vgsXw==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.57.1.tgz",
+ "integrity": "sha512-4wYoDpNg6o/oPximyc/NG+mYUejZrCU2q+2w6YZqrAs2UcNUChIZXjtafAiiZSUc7On8v5NyNj34Kzj/Ltk6dQ==",
"cpu": [
"arm64"
],
@@ -1939,9 +1843,9 @@
]
},
"node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.55.1.tgz",
- "integrity": "sha512-yR6Bl3tMC/gBok5cz/Qi0xYnVbIxGx5Fcf/ca0eB6/6JwOY+SRUcJfI0OpeTpPls7f194as62thCt/2BjxYN8g==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.57.1.tgz",
+ "integrity": "sha512-O54mtsV/6LW3P8qdTcamQmuC990HDfR71lo44oZMZlXU4tzLrbvTii87Ni9opq60ds0YzuAlEr/GNwuNluZyMQ==",
"cpu": [
"arm64"
],
@@ -1953,9 +1857,9 @@
]
},
"node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.55.1.tgz",
- "integrity": "sha512-3fZBidchE0eY0oFZBnekYCfg+5wAB0mbpCBuofh5mZuzIU/4jIVkbESmd2dOsFNS78b53CYv3OAtwqkZZmU5nA==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.57.1.tgz",
+ "integrity": "sha512-P3dLS+IerxCT/7D2q2FYcRdWRl22dNbrbBEtxdWhXrfIMPP9lQhb5h4Du04mdl5Woq05jVCDPCMF7Ub0NAjIew==",
"cpu": [
"ia32"
],
@@ -1967,9 +1871,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-gnu": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.55.1.tgz",
- "integrity": "sha512-xGGY5pXj69IxKb4yv/POoocPy/qmEGhimy/FoTpTSVju3FYXUQQMFCaZZXJVidsmGxRioZAwpThl/4zX41gRKg==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.57.1.tgz",
+ "integrity": "sha512-VMBH2eOOaKGtIJYleXsi2B8CPVADrh+TyNxJ4mWPnKfLB/DBUmzW+5m1xUrcwWoMfSLagIRpjUFeW5CO5hyciQ==",
"cpu": [
"x64"
],
@@ -1981,9 +1885,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.55.1.tgz",
- "integrity": "sha512-SPEpaL6DX4rmcXtnhdrQYgzQ5W2uW3SCJch88lB2zImhJRhIIK44fkUrgIV/Q8yUNfw5oyZ5vkeQsZLhCb06lw==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.57.1.tgz",
+ "integrity": "sha512-mxRFDdHIWRxg3UfIIAwCm6NzvxG0jDX/wBN6KsQFTvKFqqg9vTrWUE68qEjHt19A5wwx5X5aUi2zuZT7YR0jrA==",
"cpu": [
"x64"
],
@@ -2063,9 +1967,9 @@
}
},
"node_modules/@rushstack/terminal": {
- "version": "0.19.5",
- "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.19.5.tgz",
- "integrity": "sha512-6k5tpdB88G0K7QrH/3yfKO84HK9ggftfUZ51p7fePyCE7+RLLHkWZbID9OFWbXuna+eeCFE7AkKnRMHMxNbz7Q==",
+ "version": "0.21.0",
+ "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.21.0.tgz",
+ "integrity": "sha512-cLaI4HwCNYmknM5ns4G+drqdEB6q3dCPV423+d3TZeBusYSSm09+nR7CnhzJMjJqeRcdMAaLnrA4M/3xDz4R3w==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2083,53 +1987,53 @@
}
},
"node_modules/@rushstack/ts-command-line": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-5.1.5.tgz",
- "integrity": "sha512-YmrFTFUdHXblYSa+Xc9OO9FsL/XFcckZy0ycQ6q7VSBsVs5P0uD9vcges5Q9vctGlVdu27w+Ct6IuJ458V0cTQ==",
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-5.2.0.tgz",
+ "integrity": "sha512-lYxCX0nDdkDtCkVpvF0m25ymf66SaMWuppbD6b7MdkIzvGXKBXNIVZlwBH/C0YfkanrupnICWf2n4z3AKSfaHw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@rushstack/terminal": "0.19.5",
+ "@rushstack/terminal": "0.21.0",
"@types/argparse": "1.0.38",
"argparse": "~1.0.9",
"string-argv": "~0.3.1"
}
},
"node_modules/@shikijs/engine-oniguruma": {
- "version": "3.21.0",
- "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.21.0.tgz",
- "integrity": "sha512-OYknTCct6qiwpQDqDdf3iedRdzj6hFlOPv5hMvI+hkWfCKs5mlJ4TXziBG9nyabLwGulrUjHiCq3xCspSzErYQ==",
+ "version": "3.22.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.22.0.tgz",
+ "integrity": "sha512-DyXsOG0vGtNtl7ygvabHd7Mt5EY8gCNqR9Y7Lpbbd/PbJvgWrqaKzH1JW6H6qFkuUa8aCxoiYVv8/YfFljiQxA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/types": "3.21.0",
+ "@shikijs/types": "3.22.0",
"@shikijs/vscode-textmate": "^10.0.2"
}
},
"node_modules/@shikijs/langs": {
- "version": "3.21.0",
- "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.21.0.tgz",
- "integrity": "sha512-g6mn5m+Y6GBJ4wxmBYqalK9Sp0CFkUqfNzUy2pJglUginz6ZpWbaWjDB4fbQ/8SHzFjYbtU6Ddlp1pc+PPNDVA==",
+ "version": "3.22.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.22.0.tgz",
+ "integrity": "sha512-x/42TfhWmp6H00T6uwVrdTJGKgNdFbrEdhaDwSR5fd5zhQ1Q46bHq9EO61SCEWJR0HY7z2HNDMaBZp8JRmKiIA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/types": "3.21.0"
+ "@shikijs/types": "3.22.0"
}
},
"node_modules/@shikijs/themes": {
- "version": "3.21.0",
- "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.21.0.tgz",
- "integrity": "sha512-BAE4cr9EDiZyYzwIHEk7JTBJ9CzlPuM4PchfcA5ao1dWXb25nv6hYsoDiBq2aZK9E3dlt3WB78uI96UESD+8Mw==",
+ "version": "3.22.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.22.0.tgz",
+ "integrity": "sha512-o+tlOKqsr6FE4+mYJG08tfCFDS+3CG20HbldXeVoyP+cYSUxDhrFf3GPjE60U55iOkkjbpY2uC3It/eeja35/g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/types": "3.21.0"
+ "@shikijs/types": "3.22.0"
}
},
"node_modules/@shikijs/types": {
- "version": "3.21.0",
- "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.21.0.tgz",
- "integrity": "sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA==",
+ "version": "3.22.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.22.0.tgz",
+ "integrity": "sha512-491iAekgKDBFE67z70Ok5a8KBMsQ2IJwOWw3us/7ffQkIBCyOQfm/aNwVMBUriP02QshIfgHCBSIYAl3u2eWjg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2206,19 +2110,13 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@types/js-yaml": {
- "version": "4.0.9",
- "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
- "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/@types/node": {
"version": "22.12.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.12.0.tgz",
"integrity": "sha512-Fll2FZ1riMjNmlmJOdAyY5pUbkftXslB5DgEzlIuNaiWhXd00FhWxVC/r4yV/4wBb9JfImTu+jiSvXTkJ7F/gA==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"undici-types": "~6.20.0"
}
@@ -2231,35 +2129,36 @@
"license": "MIT"
},
"node_modules/@typespec/asset-emitter": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@typespec/asset-emitter/-/asset-emitter-0.78.0.tgz",
- "integrity": "sha512-TA9MzNI+SJEYKNWdbSsWXhjnVOL+2VvsBqzExXKQmoN6zxu3dAImqrMG/oTA6FS4pbCU4vmWgLUiOmikvjm22Q==",
+ "version": "0.79.0",
+ "resolved": "https://registry.npmjs.org/@typespec/asset-emitter/-/asset-emitter-0.79.0.tgz",
+ "integrity": "sha512-pNMtfSSwgmTQ2ex6bd1l6BUW2RLjSFnWQO5C5bNSleV62YEH5jMLn3THWDU9oUB0JoiBjgomV8cPqNRTJ+iV9w==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0"
+ "@typespec/compiler": "^1.9.0"
}
},
"node_modules/@typespec/compiler": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.8.0.tgz",
- "integrity": "sha512-FeLb7Q0z6Bh5dDpqtnU2RlWiIWWWF7rujx2xGMta5dcTuIOZ4jbdyz1hVdxk4iM4qadvaSV4ey/qrSuffNoh3w==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.9.0.tgz",
+ "integrity": "sha512-Rz9fFWQSTJSnhBfZvtA/bDIuO82fknYdtyMsL9lZNJE82rquC6JByHPFsnbGH1VXA0HhMj9L7Oqyp3f0m/BTOA==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
- "@babel/code-frame": "~7.27.1",
+ "@babel/code-frame": "~7.28.6",
"@inquirer/prompts": "^8.0.1",
"ajv": "~8.17.1",
"change-case": "~5.4.4",
"env-paths": "^3.0.0",
- "globby": "~16.0.0",
+ "globby": "~16.1.0",
"is-unicode-supported": "^2.1.0",
"mustache": "~4.2.0",
"picocolors": "~1.1.1",
- "prettier": "~3.7.4",
+ "prettier": "~3.8.0",
"semver": "^7.7.1",
"tar": "^7.5.2",
"temporal-polyfill": "^0.3.0",
@@ -2294,9 +2193,9 @@
}
},
"node_modules/@typespec/compiler/node_modules/semver": {
- "version": "7.7.3",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
- "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
+ "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
"dev": true,
"license": "ISC",
"bin": {
@@ -2307,9 +2206,9 @@
}
},
"node_modules/@typespec/events": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.78.0.tgz",
- "integrity": "sha512-gSI4rAexxfYyZX0ZqYNRWQyuMb1UeakjAjOeh/2ntmxWCdYc+wSbJjxrxIArsZC+LwzTxq5WpdtD7+7OWzG4yw==",
+ "version": "0.79.0",
+ "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.79.0.tgz",
+ "integrity": "sha512-41R2jA7k21uMArjyUdvnqYzVnPPaSEcGi40dLMiRVP79m6XgnD3INuTdlMblaS1i+5jJ1BtS1o4QhBBuS/5/qg==",
"dev": true,
"license": "MIT",
"peer": true,
@@ -2317,21 +2216,22 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0"
+ "@typespec/compiler": "^1.9.0"
}
},
"node_modules/@typespec/http": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.8.0.tgz",
- "integrity": "sha512-ZKa4RISabwL8cUAmE3BkoNmtCYRjerO0+1Ba6XdDJKG+vJC5EGM2hkDf+ZmYsYZgrX0cvbhPXUKKh28zBV60hw==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.9.0.tgz",
+ "integrity": "sha512-JzlZZsgCo71f2KhWbf4BLOz5e+dVLj7gJJ4kvXvrmuG9QHoT41VaGPpCQamYgpZLMz2LQbsOtw34AmpovhuJSw==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0",
- "@typespec/streams": "^0.78.0"
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/streams": "^0.79.0"
},
"peerDependenciesMeta": {
"@typespec/streams": {
@@ -2340,135 +2240,85 @@
}
},
"node_modules/@typespec/http-specs": {
- "version": "0.1.0-alpha.30",
- "resolved": "https://registry.npmjs.org/@typespec/http-specs/-/http-specs-0.1.0-alpha.30.tgz",
- "integrity": "sha512-9c/npRHmX+IL4iAuXcDw5Jyy/exTu7IEp4i+JxYj43e+/g8gzFKFRMtJhcrH2xaABMFtrDW5oxXz0mh8PJaIjg==",
+ "version": "0.1.0-alpha.32",
+ "resolved": "https://registry.npmjs.org/@typespec/http-specs/-/http-specs-0.1.0-alpha.32.tgz",
+ "integrity": "sha512-a5kOR6M6H23+w4cmYyprh/2Oa5bmPmz6wOQKc9cKfXH8f2sFJ4ViIHBMovyAl5HsSaDAY4VvVz1vmEWA+OWj8g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typespec/spec-api": "^0.1.0-alpha.12",
- "@typespec/spector": "^0.1.0-alpha.22",
+ "@typespec/spector": "^0.1.0-alpha.23",
"deep-equal": "^2.2.0"
},
"engines": {
"node": ">=16.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0",
- "@typespec/rest": "^0.78.0",
- "@typespec/versioning": "^0.78.0",
- "@typespec/xml": "^0.78.0"
- }
- },
- "node_modules/@typespec/http-specs/node_modules/@typespec/spector": {
- "version": "0.1.0-alpha.22",
- "resolved": "https://registry.npmjs.org/@typespec/spector/-/spector-0.1.0-alpha.22.tgz",
- "integrity": "sha512-oxdJjoHcYdsschi1DYr8jOxFKHoiuI4Y2CX1tfCikSzijFg6iTd4GRr2qusGoVfgaTduHKrXOfsdSWc8ukFE/w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@azure/identity": "~4.13.0",
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0",
- "@typespec/rest": "^0.78.0",
- "@typespec/spec-api": "^0.1.0-alpha.12",
- "@typespec/spec-coverage-sdk": "^0.1.0-alpha.14",
- "@typespec/versioning": "^0.78.0",
- "ajv": "~8.17.1",
- "body-parser": "^2.2.0",
- "deep-equal": "^2.2.0",
- "express": "^5.2.1",
- "globby": "~16.0.0",
- "micromatch": "^4.0.8",
- "morgan": "^1.10.0",
- "multer": "^2.0.1",
- "picocolors": "~1.1.1",
- "source-map-support": "~0.5.21",
- "xml2js": "^0.6.2",
- "yaml": "~2.8.2",
- "yargs": "~18.0.0"
- },
- "bin": {
- "tsp-spector": "cmd/cli.mjs"
- },
- "engines": {
- "node": ">=16.0.0"
- }
- },
- "node_modules/@typespec/http-specs/node_modules/ajv": {
- "version": "8.17.1",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.3",
- "fast-uri": "^3.0.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/http": "^1.9.0",
+ "@typespec/rest": "^0.79.0",
+ "@typespec/versioning": "^0.79.0",
+ "@typespec/xml": "^0.79.0"
}
},
"node_modules/@typespec/json-schema": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@typespec/json-schema/-/json-schema-1.8.0.tgz",
- "integrity": "sha512-FEcU2A/POu+cMuJE0mZrzGL/6ONUlbuOWbZZK2NSUfcMCpN0kHtKwEwui3fw3KaSIUqOaAJX9vE8vE47CT3bAA==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@typespec/json-schema/-/json-schema-1.9.0.tgz",
+ "integrity": "sha512-splP6YL1CWPtBDenOeaVEs058TBqSzMDZyX4h9A39Q5qwmhyQ00DPXdnmJWRP96IWVAlHnN806GJWc/yttzSVg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typespec/asset-emitter": "^0.78.0",
+ "@typespec/asset-emitter": "^0.79.0",
"yaml": "~2.8.2"
},
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0"
+ "@typespec/compiler": "^1.9.0"
}
},
"node_modules/@typespec/library-linter": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.78.0.tgz",
- "integrity": "sha512-fpiQDM7pDtE6TZVEz1Y3Pk5RMI0LW0sXFA9GaNXwdiYivWJVp/bYB/hc3OIG47T68tJ651FdgF3HV2FJ4MkLFA==",
+ "version": "0.79.0",
+ "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.79.0.tgz",
+ "integrity": "sha512-TIqag9XoBwuKMjs3ZGTpbt9QGUxaHaKp8jswzsvEW4J85APCX5UGrPZYdOCjyjdSigieu7/YoBXCVm6i8EWioQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0"
+ "@typespec/compiler": "^1.9.0"
}
},
"node_modules/@typespec/openapi": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.8.0.tgz",
- "integrity": "sha512-v+RIJpx7vALBSGQmnUWemvXjnrk50HAVqJeg0RbaF3VUnh66Z4itsoNJJmIIc+HmBJng8Ie0V7xv3l02ek6HWA==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.9.0.tgz",
+ "integrity": "sha512-5ieXCWRLcyFLv3IFk26ena/RW/NxvT5KiHaoNVFRd79J0XZjFcE0Od6Lxxqj4dWmCo3C8oKtOwFoQuie18G3lQ==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0"
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/http": "^1.9.0"
}
},
"node_modules/@typespec/rest": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.78.0.tgz",
- "integrity": "sha512-1clnDw1JbBvjLcfFvEvHdIrnsQuQI5/Cl6mRIrzWWX0pKJ+R89rCdZD1KpidEXw4B4qscD48LsssyrEIFLtuPg==",
+ "version": "0.79.0",
+ "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.79.0.tgz",
+ "integrity": "sha512-6QIX7oaUGy/z4rseUrC86LjHxZn8rAAY4fXvGnlPRce6GhEdTb9S9OQPmlPeWngXwCx/07P2+FCR915APqmZxg==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0"
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/http": "^1.9.0"
}
},
"node_modules/@typespec/spec-api": {
@@ -2487,14 +2337,14 @@
}
},
"node_modules/@typespec/spec-coverage-sdk": {
- "version": "0.1.0-alpha.14",
- "resolved": "https://registry.npmjs.org/@typespec/spec-coverage-sdk/-/spec-coverage-sdk-0.1.0-alpha.14.tgz",
- "integrity": "sha512-e3DiPyccHwDf7Nhccu3pnP93hR5ggtmsTsIA54KzwmdDucqHS7rPjPi0vZnvsy3ufB2B8PpyNAHBB7vVSM+tpg==",
+ "version": "0.1.0-alpha.15",
+ "resolved": "https://registry.npmjs.org/@typespec/spec-coverage-sdk/-/spec-coverage-sdk-0.1.0-alpha.15.tgz",
+ "integrity": "sha512-Y7SxNBEouGBlMIw5nD+skCYX8FkM2v1CxW79VjqX+iigJQsh2ML0F/G1Zh551l2Dr7zuMv+0qiPrmOC5v3yEgQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@azure/identity": "~4.13.0",
- "@azure/storage-blob": "~12.29.1",
+ "@azure/storage-blob": "~12.30.0",
"@types/node": "~25.0.2"
},
"engines": {
@@ -2502,9 +2352,9 @@
}
},
"node_modules/@typespec/spec-coverage-sdk/node_modules/@types/node": {
- "version": "25.0.8",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.8.tgz",
- "integrity": "sha512-powIePYMmC3ibL0UJ2i2s0WIbq6cg6UyVFQxSCpaPxxzAaziRfimGivjdF943sSGV6RADVbk0Nvlm5P/FB44Zg==",
+ "version": "25.0.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.10.tgz",
+ "integrity": "sha512-zWW5KPngR/yvakJgGOmZ5vTBemDoSqF3AcV/LrO5u5wTWyEAVVh+IT39G4gtyAkh3CtTZs8aX/yRM82OfzHJRg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2519,32 +2369,31 @@
"license": "MIT"
},
"node_modules/@typespec/spector": {
- "version": "0.1.0-alpha.20",
- "resolved": "https://registry.npmjs.org/@typespec/spector/-/spector-0.1.0-alpha.20.tgz",
- "integrity": "sha512-qnR3NizzYu8e7TNcXY+CFp/FkXk8DJCtk3lpWPC3bNaNjxtuUjZ6Miix0gCPjDBCGOv8iquT7mLux103kMKLWQ==",
+ "version": "0.1.0-alpha.23",
+ "resolved": "https://registry.npmjs.org/@typespec/spector/-/spector-0.1.0-alpha.23.tgz",
+ "integrity": "sha512-z5ORR/HnaLKYcTL2a73sUfC4LmuOqlCRmSPF8h5NtUNDpER3s4aLlFu4DgcaVYTgHruiBLMkLyHpfNPxKDzY7g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@azure/identity": "~4.13.0",
- "@types/js-yaml": "^4.0.5",
- "@typespec/compiler": "^1.6.0",
- "@typespec/http": "^1.6.0",
- "@typespec/rest": "^0.76.0",
- "@typespec/spec-api": "^0.1.0-alpha.10",
- "@typespec/spec-coverage-sdk": "^0.1.0-alpha.12",
- "@typespec/versioning": "^0.76.0",
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/http": "^1.9.0",
+ "@typespec/rest": "^0.79.0",
+ "@typespec/spec-api": "^0.1.0-alpha.12",
+ "@typespec/spec-coverage-sdk": "^0.1.0-alpha.15",
+ "@typespec/versioning": "^0.79.0",
"ajv": "~8.17.1",
"body-parser": "^2.2.0",
"deep-equal": "^2.2.0",
- "express": "^5.1.0",
- "globby": "~15.0.0",
- "js-yaml": "^4.1.0",
+ "express": "^5.2.1",
+ "globby": "~16.1.0",
"micromatch": "^4.0.8",
"morgan": "^1.10.0",
"multer": "^2.0.1",
"picocolors": "~1.1.1",
"source-map-support": "~0.5.21",
"xml2js": "^0.6.2",
+ "yaml": "~2.8.2",
"yargs": "~18.0.0"
},
"bin": {
@@ -2554,33 +2403,6 @@
"node": ">=16.0.0"
}
},
- "node_modules/@typespec/spector/node_modules/@typespec/rest": {
- "version": "0.76.0",
- "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.76.0.tgz",
- "integrity": "sha512-6jtQWdcmuKyG9cmqWsJjaq64f6N5B/1DS4X3ZoTNgYhHA27Hnsxo1HZWXcpv7Wl+MxLAZM6kgpML0ugDEZcrYQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=20.0.0"
- },
- "peerDependencies": {
- "@typespec/compiler": "^1.6.0",
- "@typespec/http": "^1.6.0"
- }
- },
- "node_modules/@typespec/spector/node_modules/@typespec/versioning": {
- "version": "0.76.0",
- "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.76.0.tgz",
- "integrity": "sha512-dguO/B+mwlCyenWGG+M+16cMQuGHSTJbU5Z0pyUou1uyWrB1px//s4pW7PKD14S+fPutJE0wTMQm+CctOq6quA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=20.0.0"
- },
- "peerDependencies": {
- "@typespec/compiler": "^1.6.0"
- }
- },
"node_modules/@typespec/spector/node_modules/ajv": {
"version": "8.17.1",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
@@ -2598,44 +2420,10 @@
"url": "https://github.com/sponsors/epoberezkin"
}
},
- "node_modules/@typespec/spector/node_modules/globby": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/globby/-/globby-15.0.0.tgz",
- "integrity": "sha512-oB4vkQGqlMl682wL1IlWd02tXCbquGWM4voPEI85QmNKCaw8zGTm1f1rubFgkg3Eli2PtKlFgrnmUqasbQWlkw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@sindresorhus/merge-streams": "^4.0.0",
- "fast-glob": "^3.3.3",
- "ignore": "^7.0.5",
- "path-type": "^6.0.0",
- "slash": "^5.1.0",
- "unicorn-magic": "^0.3.0"
- },
- "engines": {
- "node": ">=20"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@typespec/spector/node_modules/unicorn-magic": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz",
- "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/@typespec/sse": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.78.0.tgz",
- "integrity": "sha512-jPARl+e1e/nsDW/1uVsGTzvKmjqezVMyUa13igXxk5nV2ScMdFpH1HhBwTmAhUeaZgY3J81dFHNUnIY67HCrmw==",
+ "version": "0.79.0",
+ "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.79.0.tgz",
+ "integrity": "sha512-YQYlDWCNBza75S360jc51emwntWXMZfkvqXKng+etKP4iCuogJfTX1J8h1yd8tZwkuUNBcklEPCuz3O/+psopg==",
"dev": true,
"license": "MIT",
"peer": true,
@@ -2643,29 +2431,30 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0",
- "@typespec/events": "^0.78.0",
- "@typespec/http": "^1.8.0",
- "@typespec/streams": "^0.78.0"
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/events": "^0.79.0",
+ "@typespec/http": "^1.9.0",
+ "@typespec/streams": "^0.79.0"
}
},
"node_modules/@typespec/streams": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.78.0.tgz",
- "integrity": "sha512-wzh5bVdzh+K+pFQFs/EZkVsTH5TQGi12XwhjxJS0UKRwaW2UwSZeY1HqX07oMMPdYESTbjgMrXcxtn89AlzjvQ==",
+ "version": "0.79.0",
+ "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.79.0.tgz",
+ "integrity": "sha512-nOXpLcEYNdWvLY/6WJ16rD6hGs7bKSmkH+WwgyVwdRON5KJ559quw56pns2DSANw+NaV0lJxJq/8ek5xKCGD6g==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0"
+ "@typespec/compiler": "^1.9.0"
}
},
"node_modules/@typespec/ts-http-runtime": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.2.tgz",
- "integrity": "sha512-IlqQ/Gv22xUC1r/WQm4StLkYQmaaTsXAhUVsNE0+xiyf0yRFiH5++q78U3bw6bLKDCTmh0uqKB9eG9+Bt75Dkg==",
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.3.tgz",
+ "integrity": "sha512-91fp6CAAJSRtH5ja95T1FHSKa8aPW9/Zw6cta81jlZTUw/+Vq8jM/AfF/14h2b71wwR84JUTW/3Y8QPhDAawFA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2743,29 +2532,31 @@
}
},
"node_modules/@typespec/versioning": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.78.0.tgz",
- "integrity": "sha512-I14X6+IMd0wFMNI8oMFSeFBi2nD4idub+geSO34vuCs4rwuEj3FNzy+rkNkDDvf0+gIUGxeyg7s+YDUcNyiqOA==",
+ "version": "0.79.0",
+ "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.79.0.tgz",
+ "integrity": "sha512-mk65zpKNm+ARyHASnre/lp3o3FKzb0P8Nj96ji182JUy7ShrVCCF0u+bC+ZXQ8ZTRza1d0xBjRC/Xr4iM+Uwag==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0"
+ "@typespec/compiler": "^1.9.0"
}
},
"node_modules/@typespec/xml": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.78.0.tgz",
- "integrity": "sha512-KSDhJX6A/Onsu9FKVZtR/xSy5va3k0y9/U4eiZUn91V/LQyMZNwmResPDHEVYk6JqaIH8bbd6ANWPu3nMd7mmw==",
+ "version": "0.79.0",
+ "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.79.0.tgz",
+ "integrity": "sha512-BqbbtkL9xuiAhehHKKUCMtRg0a1vjSvoiAOanvTIuoFq3N8PbKVV3dKTcyI/oS3iCCkJErdu11HQcAoD/VsIsA==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@typespec/compiler": "^1.8.0"
+ "@typespec/compiler": "^1.9.0"
}
},
"node_modules/@vitest/coverage-v8": {
@@ -2908,6 +2699,7 @@
"integrity": "sha512-hGISOaP18plkzbWEcP/QvtRW1xDXF2+96HbEX6byqQhAUbiS5oH6/9JwW+QsQCIYON2bI6QZBF+2PvOmrRZ9wA==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@vitest/utils": "3.2.4",
"fflate": "^0.8.2",
@@ -2940,19 +2732,19 @@
}
},
"node_modules/@vue/reactivity": {
- "version": "3.5.26",
- "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.26.tgz",
- "integrity": "sha512-9EnYB1/DIiUYYnzlnUBgwU32NNvLp/nhxLXeWRhHUEeWNTn1ECxX8aGO7RTXeX6PPcxe3LLuNBFoJbV4QZ+CFQ==",
+ "version": "3.5.28",
+ "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.28.tgz",
+ "integrity": "sha512-gr5hEsxvn+RNyu9/9o1WtdYdwDjg5FgjUSBEkZWqgTKlo/fvwZ2+8W6AfKsc9YN2k/+iHYdS9vZYAhpi10kNaw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vue/shared": "3.5.26"
+ "@vue/shared": "3.5.28"
}
},
"node_modules/@vue/shared": {
- "version": "3.5.26",
- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.26.tgz",
- "integrity": "sha512-7Z6/y3uFI5PRoKeorTOSXKcDj0MSasfNNltcslbFrPpcw6aXRUALq4IfJlaTRspiWIUOEZbrpM+iQGmCOiWe4A==",
+ "version": "3.5.28",
+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.28.tgz",
+ "integrity": "sha512-cfWa1fCGBxrvaHRhvV3Is0MgmrbSCxYTXCSCau2I0a1Xw1N1pHAvkWCiXPRAqjvToILvguNyEwjevUqAuBQWvQ==",
"dev": true,
"license": "MIT"
},
@@ -3031,16 +2823,13 @@
}
},
"node_modules/ansi-regex": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
- "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ "node": ">=8"
}
},
"node_modules/ansi-styles": {
@@ -3101,21 +2890,21 @@
}
},
"node_modules/ast-v8-to-istanbul": {
- "version": "0.3.10",
- "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-0.3.10.tgz",
- "integrity": "sha512-p4K7vMz2ZSk3wN8l5o3y2bJAoZXT3VuJI5OLTATY/01CYWumWvwkUw0SqDBnNq6IiTO3qDa1eSQDibAV8g7XOQ==",
+ "version": "0.3.11",
+ "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-0.3.11.tgz",
+ "integrity": "sha512-Qya9fkoofMjCBNVdWINMjB5KZvkYfaO9/anwkWnjxibpWUxo5iHl2sOdP7/uAqaRuUYuoo8rDwnbaaKVFxoUvw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.31",
"estree-walker": "^3.0.3",
- "js-tokens": "^9.0.1"
+ "js-tokens": "^10.0.0"
}
},
"node_modules/ast-v8-to-istanbul/node_modules/js-tokens": {
- "version": "9.0.1",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
- "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz",
+ "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==",
"dev": true,
"license": "MIT"
},
@@ -3296,16 +3085,6 @@
}
}
},
- "node_modules/c8/node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/c8/node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
@@ -3337,19 +3116,6 @@
"node": ">=12"
}
},
- "node_modules/c8/node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/c8/node_modules/wrap-ansi": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
@@ -3539,6 +3305,19 @@
"node": ">=20"
}
},
+ "node_modules/cliui/node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
"node_modules/cliui/node_modules/emoji-regex": {
"version": "10.6.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
@@ -3558,10 +3337,26 @@
"strip-ansi": "^7.1.0"
},
"engines": {
- "node": ">=18"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cliui/node_modules/strip-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
"node_modules/color-convert": {
@@ -3728,9 +3523,9 @@
}
},
"node_modules/default-browser": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.4.0.tgz",
- "integrity": "sha512-XDuvSq38Hr1MdN47EDvYtx3U0MTqpCEn+F6ft8z2vYDzMrvQhVp0ui9oQdqW3MvK3vqUETglt1tVGgjLuJ5izg==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.0.tgz",
+ "integrity": "sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3970,9 +3765,9 @@
}
},
"node_modules/esbuild": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.2.tgz",
- "integrity": "sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==",
+ "version": "0.27.3",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.3.tgz",
+ "integrity": "sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -3983,32 +3778,32 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.27.2",
- "@esbuild/android-arm": "0.27.2",
- "@esbuild/android-arm64": "0.27.2",
- "@esbuild/android-x64": "0.27.2",
- "@esbuild/darwin-arm64": "0.27.2",
- "@esbuild/darwin-x64": "0.27.2",
- "@esbuild/freebsd-arm64": "0.27.2",
- "@esbuild/freebsd-x64": "0.27.2",
- "@esbuild/linux-arm": "0.27.2",
- "@esbuild/linux-arm64": "0.27.2",
- "@esbuild/linux-ia32": "0.27.2",
- "@esbuild/linux-loong64": "0.27.2",
- "@esbuild/linux-mips64el": "0.27.2",
- "@esbuild/linux-ppc64": "0.27.2",
- "@esbuild/linux-riscv64": "0.27.2",
- "@esbuild/linux-s390x": "0.27.2",
- "@esbuild/linux-x64": "0.27.2",
- "@esbuild/netbsd-arm64": "0.27.2",
- "@esbuild/netbsd-x64": "0.27.2",
- "@esbuild/openbsd-arm64": "0.27.2",
- "@esbuild/openbsd-x64": "0.27.2",
- "@esbuild/openharmony-arm64": "0.27.2",
- "@esbuild/sunos-x64": "0.27.2",
- "@esbuild/win32-arm64": "0.27.2",
- "@esbuild/win32-ia32": "0.27.2",
- "@esbuild/win32-x64": "0.27.2"
+ "@esbuild/aix-ppc64": "0.27.3",
+ "@esbuild/android-arm": "0.27.3",
+ "@esbuild/android-arm64": "0.27.3",
+ "@esbuild/android-x64": "0.27.3",
+ "@esbuild/darwin-arm64": "0.27.3",
+ "@esbuild/darwin-x64": "0.27.3",
+ "@esbuild/freebsd-arm64": "0.27.3",
+ "@esbuild/freebsd-x64": "0.27.3",
+ "@esbuild/linux-arm": "0.27.3",
+ "@esbuild/linux-arm64": "0.27.3",
+ "@esbuild/linux-ia32": "0.27.3",
+ "@esbuild/linux-loong64": "0.27.3",
+ "@esbuild/linux-mips64el": "0.27.3",
+ "@esbuild/linux-ppc64": "0.27.3",
+ "@esbuild/linux-riscv64": "0.27.3",
+ "@esbuild/linux-s390x": "0.27.3",
+ "@esbuild/linux-x64": "0.27.3",
+ "@esbuild/netbsd-arm64": "0.27.3",
+ "@esbuild/netbsd-x64": "0.27.3",
+ "@esbuild/openbsd-arm64": "0.27.3",
+ "@esbuild/openbsd-x64": "0.27.3",
+ "@esbuild/openharmony-arm64": "0.27.3",
+ "@esbuild/sunos-x64": "0.27.3",
+ "@esbuild/win32-arm64": "0.27.3",
+ "@esbuild/win32-ia32": "0.27.3",
+ "@esbuild/win32-x64": "0.27.3"
}
},
"node_modules/escalade": {
@@ -4154,9 +3949,9 @@
"license": "BSD-3-Clause"
},
"node_modules/fast-xml-parser": {
- "version": "5.3.3",
- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.3.3.tgz",
- "integrity": "sha512-2O3dkPAAC6JavuMm8+4+pgTk+5hoAs+CjZ+sWcQLkX9+/tHRuTkQh/Oaifr8qDmZ8iEHb771Ea6G8CdwkrgvYA==",
+ "version": "5.3.5",
+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.3.5.tgz",
+ "integrity": "sha512-JeaA2Vm9ffQKp9VjvfzObuMCjUYAp5WDYhRYL5LrBPY/jUDlUtOvDfot0vKSkB9tuX885BDHjtw4fZadD95wnA==",
"dev": true,
"funding": [
{
@@ -4166,7 +3961,7 @@
],
"license": "MIT",
"dependencies": {
- "strnum": "^2.1.0"
+ "strnum": "^2.1.2"
},
"bin": {
"fxparser": "src/cli/cli.js"
@@ -4417,6 +4212,7 @@
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-11.1.0.tgz",
"integrity": "sha512-vuNwKSaKiqm7g0THUBu2x7ckSs3XJLXE+2ssL7/MfTGPLLcrJQ/4Uq1CjPTtO5cCIiRxqvN6Twy1qOwhL0Xjcw==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
@@ -4450,26 +4246,10 @@
"node": ">= 6"
}
},
- "node_modules/glob/node_modules/minimatch": {
- "version": "10.1.1",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz",
- "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==",
- "dev": true,
- "license": "BlueOak-1.0.0",
- "dependencies": {
- "@isaacs/brace-expansion": "^5.0.0"
- },
- "engines": {
- "node": "20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
"node_modules/globby": {
- "version": "16.0.0",
- "resolved": "https://registry.npmjs.org/globby/-/globby-16.0.0.tgz",
- "integrity": "sha512-ejy4TJFga99yW6Q0uhM3pFawKWZmtZzZD/v/GwI5+9bCV5Ew+D2pSND6W7fUes5UykqSsJkUfxFVdRh7Q1+P3Q==",
+ "version": "16.1.0",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-16.1.0.tgz",
+ "integrity": "sha512-+A4Hq7m7Ze592k9gZRy4gJ27DrXRNnC1vPjxTt1qQxEY8RxagBkBxivkCwg7FxSTG0iLLEMaUx13oOr0R2/qcQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5176,13 +4956,13 @@
}
},
"node_modules/jackspeak": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz",
- "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.2.3.tgz",
+ "integrity": "sha512-ykkVRwrYvFm1nb2AJfKKYPr0emF6IiXDYUaFx4Zn9ZuIH7MrzEZ3sD5RlqGXNRpHtvUHJyOnCEFxOlNDtGo7wg==",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
- "@isaacs/cliui": "^8.0.2"
+ "@isaacs/cliui": "^9.0.0"
},
"engines": {
"node": "20 || >=22"
@@ -5205,26 +4985,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/js-yaml": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
- "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "argparse": "^2.0.1"
- },
- "bin": {
- "js-yaml": "bin/js-yaml.js"
- }
- },
- "node_modules/js-yaml/node_modules/argparse": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true,
- "license": "Python-2.0"
- },
"node_modules/json-schema-traverse": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
@@ -5381,9 +5141,9 @@
"license": "MIT"
},
"node_modules/lru-cache": {
- "version": "11.2.4",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz",
- "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==",
+ "version": "11.2.6",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.6.tgz",
+ "integrity": "sha512-ESL2CrkS/2wTPfuend7Zhkzo2u0daGJ/A2VucJOgQ/C48S/zB8MMeMHSGKYpXhIjbPxfuezITkaBH1wqv00DDQ==",
"dev": true,
"license": "BlueOak-1.0.0",
"engines": {
@@ -5552,13 +5312,13 @@
}
},
"node_modules/minimatch": {
- "version": "10.0.3",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz",
- "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==",
+ "version": "10.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.2.tgz",
+ "integrity": "sha512-fu656aJ0n2kcXwsnwnv9g24tkU5uSmOlTjd6WyyaKm2Z+h1qmY6bAjrcaIxF/BslFqbZ8UBtbJi7KgQOZD2PTw==",
"dev": true,
- "license": "ISC",
+ "license": "BlueOak-1.0.0",
"dependencies": {
- "@isaacs/brace-expansion": "^5.0.0"
+ "@isaacs/brace-expansion": "^5.0.1"
},
"engines": {
"node": "20 || >=22"
@@ -6019,19 +5779,6 @@
"url": "https://opencollective.com/express"
}
},
- "node_modules/path-type": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz",
- "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/pathe": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
@@ -6119,9 +5866,9 @@
}
},
"node_modules/prettier": {
- "version": "3.7.4",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz",
- "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==",
+ "version": "3.8.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz",
+ "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==",
"dev": true,
"license": "MIT",
"bin": {
@@ -6340,9 +6087,9 @@
}
},
"node_modules/rollup": {
- "version": "4.55.1",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.55.1.tgz",
- "integrity": "sha512-wDv/Ht1BNHB4upNbK74s9usvl7hObDnvVzknxqY/E/O3X6rW1U1rV1aENEfJ54eFZDTNo7zv1f5N4edCluH7+A==",
+ "version": "4.57.1",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.57.1.tgz",
+ "integrity": "sha512-oQL6lgK3e2QZeQ7gcgIkS2YZPg5slw37hYufJ3edKlfQSGGm8ICoxswK15ntSzF/a8+h7ekRy7k7oWc3BQ7y8A==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -6356,31 +6103,31 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.55.1",
- "@rollup/rollup-android-arm64": "4.55.1",
- "@rollup/rollup-darwin-arm64": "4.55.1",
- "@rollup/rollup-darwin-x64": "4.55.1",
- "@rollup/rollup-freebsd-arm64": "4.55.1",
- "@rollup/rollup-freebsd-x64": "4.55.1",
- "@rollup/rollup-linux-arm-gnueabihf": "4.55.1",
- "@rollup/rollup-linux-arm-musleabihf": "4.55.1",
- "@rollup/rollup-linux-arm64-gnu": "4.55.1",
- "@rollup/rollup-linux-arm64-musl": "4.55.1",
- "@rollup/rollup-linux-loong64-gnu": "4.55.1",
- "@rollup/rollup-linux-loong64-musl": "4.55.1",
- "@rollup/rollup-linux-ppc64-gnu": "4.55.1",
- "@rollup/rollup-linux-ppc64-musl": "4.55.1",
- "@rollup/rollup-linux-riscv64-gnu": "4.55.1",
- "@rollup/rollup-linux-riscv64-musl": "4.55.1",
- "@rollup/rollup-linux-s390x-gnu": "4.55.1",
- "@rollup/rollup-linux-x64-gnu": "4.55.1",
- "@rollup/rollup-linux-x64-musl": "4.55.1",
- "@rollup/rollup-openbsd-x64": "4.55.1",
- "@rollup/rollup-openharmony-arm64": "4.55.1",
- "@rollup/rollup-win32-arm64-msvc": "4.55.1",
- "@rollup/rollup-win32-ia32-msvc": "4.55.1",
- "@rollup/rollup-win32-x64-gnu": "4.55.1",
- "@rollup/rollup-win32-x64-msvc": "4.55.1",
+ "@rollup/rollup-android-arm-eabi": "4.57.1",
+ "@rollup/rollup-android-arm64": "4.57.1",
+ "@rollup/rollup-darwin-arm64": "4.57.1",
+ "@rollup/rollup-darwin-x64": "4.57.1",
+ "@rollup/rollup-freebsd-arm64": "4.57.1",
+ "@rollup/rollup-freebsd-x64": "4.57.1",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.57.1",
+ "@rollup/rollup-linux-arm-musleabihf": "4.57.1",
+ "@rollup/rollup-linux-arm64-gnu": "4.57.1",
+ "@rollup/rollup-linux-arm64-musl": "4.57.1",
+ "@rollup/rollup-linux-loong64-gnu": "4.57.1",
+ "@rollup/rollup-linux-loong64-musl": "4.57.1",
+ "@rollup/rollup-linux-ppc64-gnu": "4.57.1",
+ "@rollup/rollup-linux-ppc64-musl": "4.57.1",
+ "@rollup/rollup-linux-riscv64-gnu": "4.57.1",
+ "@rollup/rollup-linux-riscv64-musl": "4.57.1",
+ "@rollup/rollup-linux-s390x-gnu": "4.57.1",
+ "@rollup/rollup-linux-x64-gnu": "4.57.1",
+ "@rollup/rollup-linux-x64-musl": "4.57.1",
+ "@rollup/rollup-openbsd-x64": "4.57.1",
+ "@rollup/rollup-openharmony-arm64": "4.57.1",
+ "@rollup/rollup-win32-arm64-msvc": "4.57.1",
+ "@rollup/rollup-win32-ia32-msvc": "4.57.1",
+ "@rollup/rollup-win32-x64-gnu": "4.57.1",
+ "@rollup/rollup-win32-x64-msvc": "4.57.1",
"fsevents": "~2.3.2"
}
},
@@ -6901,40 +6648,7 @@
"node": ">=8"
}
},
- "node_modules/string-width-cjs/node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/string-width-cjs/node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/string-width/node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/string-width/node_modules/strip-ansi": {
+ "node_modules/strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
@@ -6947,22 +6661,6 @@
"node": ">=8"
}
},
- "node_modules/strip-ansi": {
- "version": "7.1.2",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
- "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ansi-regex": "^6.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
- }
- },
"node_modules/strip-ansi-cjs": {
"name": "strip-ansi",
"version": "6.0.1",
@@ -6977,16 +6675,6 @@
"node": ">=8"
}
},
- "node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/strip-json-comments": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
@@ -7111,10 +6799,49 @@
"node": ">=18"
}
},
+ "node_modules/test-exclude/node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/test-exclude/node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/test-exclude/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/test-exclude/node_modules/glob": {
"version": "10.5.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me",
"dev": true,
"license": "ISC",
"dependencies": {
@@ -7188,6 +6915,58 @@
"url": "https://github.com/sponsors/isaacs"
}
},
+ "node_modules/test-exclude/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/test-exclude/node_modules/strip-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/test-exclude/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
"node_modules/tinybench": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
@@ -7243,6 +7022,7 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=12"
},
@@ -7367,9 +7147,9 @@
}
},
"node_modules/typedoc-plugin-markdown": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.9.0.tgz",
- "integrity": "sha512-9Uu4WR9L7ZBgAl60N/h+jqmPxxvnC9nQAlnnO/OujtG2ubjnKTVUFY1XDhcMY+pCqlX3N2HsQM2QTYZIU9tJuw==",
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.10.0.tgz",
+ "integrity": "sha512-psrg8Rtnv4HPWCsoxId+MzEN8TVK5jeKCnTbnGAbTBqcDapR9hM41bJT/9eAyKn9C2MDG9Qjh3MkltAYuLDoXg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -7401,6 +7181,7 @@
"integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"dev": true,
"license": "Apache-2.0",
+ "peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -7630,6 +7411,7 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=12"
},
@@ -7643,6 +7425,7 @@
"integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@types/chai": "^5.2.2",
"@vitest/expect": "3.2.4",
@@ -7827,9 +7610,9 @@
}
},
"node_modules/which-typed-array": {
- "version": "1.1.19",
- "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz",
- "integrity": "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==",
+ "version": "1.1.20",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.20.tgz",
+ "integrity": "sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -7902,16 +7685,6 @@
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
- "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
@@ -7928,17 +7701,17 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "node_modules/wrap-ansi/node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
"engines": {
- "node": ">=8"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
"node_modules/wrap-ansi/node_modules/emoji-regex": {
@@ -7966,6 +7739,22 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/wrap-ansi/node_modules/strip-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
@@ -8087,6 +7876,19 @@
"node": ">=12"
}
},
+ "node_modules/yargs/node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
"node_modules/yargs/node_modules/emoji-regex": {
"version": "10.6.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
@@ -8112,6 +7914,22 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/yargs/node_modules/strip-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
"node_modules/yargs/node_modules/yargs-parser": {
"version": "22.0.0",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz",
diff --git a/packages/http-client-csharp/package.json b/packages/http-client-csharp/package.json
index c234336a297..53ff38eff97 100644
--- a/packages/http-client-csharp/package.json
+++ b/packages/http-client-csharp/package.json
@@ -52,31 +52,34 @@
"emitter/lib/*.tsp"
],
"peerDependencies": {
- "@azure-tools/typespec-client-generator-core": ">=0.64.3 < 0.65.0 || ~0.65.0-0",
- "@typespec/compiler": "^1.8.0",
- "@typespec/http": "^1.8.0",
- "@typespec/openapi": "^1.8.0",
- "@typespec/rest": ">=0.78.0 <0.79.0 || ~0.79.0-0",
- "@typespec/streams": ">=0.78.0 <0.79.0 || ~0.79.0-0",
- "@typespec/versioning": ">=0.78.0 <0.79.0 || ~0.79.0-0"
+ "@azure-tools/typespec-client-generator-core": ">=0.65.0 < 0.66.0 || ~0.66.0-0",
+ "@typespec/compiler": "^1.9.0",
+ "@typespec/http": "^1.9.0",
+ "@typespec/openapi": "^1.9.0",
+ "@typespec/rest": ">=0.79.0 <0.80.0 || ~0.80.0-0",
+ "@typespec/sse": ">=0.79.0 <0.80.0 || ~0.80.0-0",
+ "@typespec/streams": ">=0.79.0 <0.80.0 || ~0.80.0-0",
+ "@typespec/versioning": ">=0.79.0 <0.80.0 || ~0.80.0-0"
},
"devDependencies": {
- "@azure-tools/azure-http-specs": "0.1.0-alpha.35",
- "@azure-tools/typespec-client-generator-core": "0.64.4",
+ "@azure-tools/azure-http-specs": "0.1.0-alpha.37",
+ "@azure-tools/typespec-azure-core": "0.65.0",
+ "@azure-tools/typespec-client-generator-core": "0.65.0",
"@microsoft/api-extractor": "^7.52.2",
"@types/node": "~22.12.0",
- "@typespec/compiler": "1.8.0",
- "@typespec/http": "1.8.0",
- "@typespec/http-specs": "0.1.0-alpha.30",
- "@typespec/json-schema": "1.8.0",
- "@typespec/library-linter": "0.78.0",
- "@typespec/openapi": "1.8.0",
- "@typespec/rest": "0.78.0",
- "@typespec/spector": "0.1.0-alpha.20",
- "@typespec/streams": "0.78.0",
+ "@typespec/compiler": "1.9.0",
+ "@typespec/http": "1.9.0",
+ "@typespec/http-specs": "0.1.0-alpha.32",
+ "@typespec/json-schema": "1.9.0",
+ "@typespec/library-linter": "0.79.0",
+ "@typespec/openapi": "1.9.0",
+ "@typespec/rest": "0.79.0",
+ "@typespec/spector": "0.1.0-alpha.23",
+ "@typespec/sse": "0.79.0",
+ "@typespec/streams": "0.79.0",
"@typespec/tspd": "0.73.1",
- "@typespec/versioning": "0.78.0",
- "@typespec/xml": "0.78.0",
+ "@typespec/versioning": "0.79.0",
+ "@typespec/xml": "0.79.0",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.5",
"c8": "^10.1.2",
From 7d755521c458d08c7d9bc946946d0be57e4a6c05 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 10 Feb 2026 23:43:10 +0000
Subject: [PATCH 03/10] Fix enum array encoding issue for TypeSpec 1.9.0
compatibility
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
---
.../src/Generated/AnimalOperations.cs | 21 ++++++++++++++++++
.../src/Generated/DogOperations.cs | 21 ++++++++++++++++++
.../src/Generated/PetOperations.cs | 21 ++++++++++++++++++
.../src/Generated/PlantOperations.cs | 21 ++++++++++++++++++
.../SampleTypeSpecClient.RestClient.cs | 5 ++++-
.../MrwSerializationTypeDefinition.cs | 4 +---
.../src/Generated/AnimalOperations.cs | 21 ++++++++++++++++++
.../src/Generated/DogOperations.cs | 21 ++++++++++++++++++
.../src/Generated/PetOperations.cs | 21 ++++++++++++++++++
.../src/Generated/PlantOperations.cs | 21 ++++++++++++++++++
.../SampleTypeSpecClient.RestClient.cs | 5 ++++-
.../Local/Sample-TypeSpec/tspCodeModel.json | 22 +++++++++++--------
12 files changed, 190 insertions(+), 14 deletions(-)
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/AnimalOperations.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/AnimalOperations.cs
index 8fa8739984f..b5fc44d67a0 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/AnimalOperations.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/AnimalOperations.cs
@@ -29,6 +29,27 @@ internal AnimalOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
+ /// Initializes a new instance of AnimalOperations.
+ /// Service endpoint.
+ /// is null.
+ public AnimalOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of AnimalOperations.
+ /// Service endpoint.
+ /// The options for configuring the client.
+ /// is null.
+ public AnimalOperations(Uri endpoint, SampleTypeSpecClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+
+ options ??= new SampleTypeSpecClientOptions();
+
+ _endpoint = endpoint;
+ Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(AnimalOperations).Assembly) }, Array.Empty());
+ }
+
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/DogOperations.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/DogOperations.cs
index c80c36367aa..d27a6941191 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/DogOperations.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/DogOperations.cs
@@ -29,6 +29,27 @@ internal DogOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
+ /// Initializes a new instance of DogOperations.
+ /// Service endpoint.
+ /// is null.
+ public DogOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of DogOperations.
+ /// Service endpoint.
+ /// The options for configuring the client.
+ /// is null.
+ public DogOperations(Uri endpoint, SampleTypeSpecClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+
+ options ??= new SampleTypeSpecClientOptions();
+
+ _endpoint = endpoint;
+ Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(DogOperations).Assembly) }, Array.Empty());
+ }
+
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PetOperations.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PetOperations.cs
index 395ff6b18d9..e71c16d9be8 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PetOperations.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PetOperations.cs
@@ -29,6 +29,27 @@ internal PetOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
+ /// Initializes a new instance of PetOperations.
+ /// Service endpoint.
+ /// is null.
+ public PetOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of PetOperations.
+ /// Service endpoint.
+ /// The options for configuring the client.
+ /// is null.
+ public PetOperations(Uri endpoint, SampleTypeSpecClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+
+ options ??= new SampleTypeSpecClientOptions();
+
+ _endpoint = endpoint;
+ Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(PetOperations).Assembly) }, Array.Empty());
+ }
+
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PlantOperations.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PlantOperations.cs
index 1119879cbad..79d7263296e 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PlantOperations.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PlantOperations.cs
@@ -29,6 +29,27 @@ internal PlantOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
+ /// Initializes a new instance of PlantOperations.
+ /// Service endpoint.
+ /// is null.
+ public PlantOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of PlantOperations.
+ /// Service endpoint.
+ /// The options for configuring the client.
+ /// is null.
+ public PlantOperations(Uri endpoint, SampleTypeSpecClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+
+ options ??= new SampleTypeSpecClientOptions();
+
+ _endpoint = endpoint;
+ Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(PlantOperations).Assembly) }, Array.Empty());
+ }
+
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/SampleTypeSpecClient.RestClient.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/SampleTypeSpecClient.RestClient.cs
index 6502b035953..36648a475bc 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/SampleTypeSpecClient.RestClient.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/SampleTypeSpecClient.RestClient.cs
@@ -270,7 +270,10 @@ internal PipelineMessage CreateWithApiVersionRequest(string p1, RequestOptions o
ClientUriBuilder uri = new ClientUriBuilder();
uri.Reset(_endpoint);
uri.AppendPath("/WithApiVersion", false);
- uri.AppendQuery("apiVersion", _apiVersion, true);
+ if (_apiVersion != null)
+ {
+ uri.AppendQuery("apiVersion", _apiVersion, true);
+ }
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier204);
PipelineRequest request = message.Request;
request.Headers.Set("p1", p1);
diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/MrwSerializationTypeDefinition.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/MrwSerializationTypeDefinition.cs
index 763fd38870f..53d31ce7956 100644
--- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/MrwSerializationTypeDefinition.cs
+++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/MrwSerializationTypeDefinition.cs
@@ -2023,9 +2023,7 @@ private MethodBodyStatement[] CreateEncodedArrayDeserializationStatements(
var finalExpression = propertyType.IsArray
? selectExpression.Invoke(nameof(Enumerable.ToArray))
- : propertyType.IsList
- ? New.Instance(typeof(List<>).MakeGenericType(elementType.FrameworkType), selectExpression)
- : New.Instance(propertyType.PropertyInitializationType, selectExpression);
+ : New.Instance(propertyType.PropertyInitializationType, selectExpression);
createArrayStatement = variableExpression.Assign(finalExpression).Terminate();
}
else
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/AnimalOperations.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/AnimalOperations.cs
index 10d3b31fe97..00956e11741 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/AnimalOperations.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/AnimalOperations.cs
@@ -32,6 +32,27 @@ internal AnimalOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
+ /// Initializes a new instance of AnimalOperations.
+ /// Service endpoint.
+ /// is null.
+ public AnimalOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of AnimalOperations.
+ /// Service endpoint.
+ /// The options for configuring the client.
+ /// is null.
+ public AnimalOperations(Uri endpoint, SampleTypeSpecClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+
+ options ??= new SampleTypeSpecClientOptions();
+
+ _endpoint = endpoint;
+ Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(AnimalOperations).Assembly) }, Array.Empty());
+ }
+
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/DogOperations.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/DogOperations.cs
index a45d14cb50f..f2c37b9acdd 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/DogOperations.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/DogOperations.cs
@@ -32,6 +32,27 @@ internal DogOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
+ /// Initializes a new instance of DogOperations.
+ /// Service endpoint.
+ /// is null.
+ public DogOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of DogOperations.
+ /// Service endpoint.
+ /// The options for configuring the client.
+ /// is null.
+ public DogOperations(Uri endpoint, SampleTypeSpecClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+
+ options ??= new SampleTypeSpecClientOptions();
+
+ _endpoint = endpoint;
+ Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(DogOperations).Assembly) }, Array.Empty());
+ }
+
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PetOperations.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PetOperations.cs
index 7f7531baa9d..5c038750306 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PetOperations.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PetOperations.cs
@@ -32,6 +32,27 @@ internal PetOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
+ /// Initializes a new instance of PetOperations.
+ /// Service endpoint.
+ /// is null.
+ public PetOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of PetOperations.
+ /// Service endpoint.
+ /// The options for configuring the client.
+ /// is null.
+ public PetOperations(Uri endpoint, SampleTypeSpecClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+
+ options ??= new SampleTypeSpecClientOptions();
+
+ _endpoint = endpoint;
+ Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(PetOperations).Assembly) }, Array.Empty());
+ }
+
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PlantOperations.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PlantOperations.cs
index 184684e4ba6..f8e1d0345ed 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PlantOperations.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PlantOperations.cs
@@ -32,6 +32,27 @@ internal PlantOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
+ /// Initializes a new instance of PlantOperations.
+ /// Service endpoint.
+ /// is null.
+ public PlantOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of PlantOperations.
+ /// Service endpoint.
+ /// The options for configuring the client.
+ /// is null.
+ public PlantOperations(Uri endpoint, SampleTypeSpecClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+
+ options ??= new SampleTypeSpecClientOptions();
+
+ _endpoint = endpoint;
+ Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(PlantOperations).Assembly) }, Array.Empty());
+ }
+
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.RestClient.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.RestClient.cs
index 4e01f74b7c1..501a6a5c44d 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.RestClient.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.RestClient.cs
@@ -273,7 +273,10 @@ internal PipelineMessage CreateWithApiVersionRequest(string p1, RequestOptions o
ClientUriBuilder uri = new ClientUriBuilder();
uri.Reset(_endpoint);
uri.AppendPath("/WithApiVersion", false);
- uri.AppendQuery("apiVersion", _apiVersion, true);
+ if (_apiVersion != null)
+ {
+ uri.AppendQuery("apiVersion", _apiVersion, true);
+ }
PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier204);
PipelineRequest request = message.Request;
request.Headers.Set("p1", p1);
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json
index a7e1519244a..f7d2119ab34 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json
@@ -5314,7 +5314,8 @@
},
"valueType": {
"$ref": "437"
- }
+ },
+ "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns1"
},
{
"$id": "439",
@@ -5327,7 +5328,8 @@
},
"valueType": {
"$ref": "437"
- }
+ },
+ "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns2"
}
],
"isFixed": true,
@@ -5344,7 +5346,8 @@
},
"valueType": {
"$ref": "437"
- }
+ },
+ "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns1"
}
}
},
@@ -5398,7 +5401,8 @@
},
"valueType": {
"$ref": "437"
- }
+ },
+ "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns2"
}
}
}
@@ -9570,7 +9574,7 @@
},
"value": "2024-08-16-preview"
},
- "optional": false,
+ "optional": true,
"scope": "Method",
"crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion.apiVersion",
"readOnly": false,
@@ -11206,7 +11210,7 @@
"crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.sampleTypeSpecUrl"
}
],
- "initializedBy": 0,
+ "initializedBy": -1,
"decorators": [],
"crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations",
"apiVersions": [
@@ -11601,7 +11605,7 @@
"crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.sampleTypeSpecUrl"
}
],
- "initializedBy": 0,
+ "initializedBy": -1,
"decorators": [],
"crossLanguageDefinitionId": "SampleTypeSpec.PetOperations",
"apiVersions": [
@@ -11819,7 +11823,7 @@
"crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.sampleTypeSpecUrl"
}
],
- "initializedBy": 0,
+ "initializedBy": -1,
"decorators": [],
"crossLanguageDefinitionId": "SampleTypeSpec.DogOperations",
"apiVersions": [
@@ -11961,7 +11965,7 @@
"crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.sampleTypeSpecUrl"
}
],
- "initializedBy": 0,
+ "initializedBy": -1,
"decorators": [],
"crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations",
"apiVersions": [
From ac66f068e556217bfe42d1934dbdcd00339f12ab Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 12 Feb 2026 15:54:55 +0000
Subject: [PATCH 04/10] Bump TCGC to 0.65.1 and regenerate test projects
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
---
.../src/Generated/AnimalOperations.cs | 21 -
.../src/Generated/DogOperations.cs | 21 -
.../src/Generated/PetOperations.cs | 21 -
.../src/Generated/PlantOperations.cs | 21 -
.../src/Generated/AnimalOperations.cs | 21 -
.../src/Generated/DogOperations.cs | 21 -
.../src/Generated/PetOperations.cs | 21 -
.../src/Generated/PlantOperations.cs | 21 -
.../Local/Sample-TypeSpec/tspCodeModel.json | 8 +-
.../http/documentation/tspCodeModel.json | 2 +-
.../src/Generated/EncodeArrayModelFactory.cs | 16 +
.../array/src/Generated/Models/Colors.cs | 16 +
.../Generated/Models/ColorsExtensibleEnum.cs | 38 +
...elimitedEnumArrayProperty.Serialization.cs | 38 +
.../Models/CommaDelimitedEnumArrayProperty.cs | 15 +
...tensibleEnumArrayProperty.Serialization.cs | 38 +
...mmaDelimitedExtensibleEnumArrayProperty.cs | 15 +
.../Generated/Models/Encode_ArrayContext.cs | 8 +
...elimitedEnumArrayProperty.Serialization.cs | 38 +
.../NewlineDelimitedEnumArrayProperty.cs | 15 +
...tensibleEnumArrayProperty.Serialization.cs | 38 +
...ineDelimitedExtensibleEnumArrayProperty.cs | 15 +
...elimitedEnumArrayProperty.Serialization.cs | 38 +
.../Models/PipeDelimitedEnumArrayProperty.cs | 15 +
...tensibleEnumArrayProperty.Serialization.cs | 38 +
...ipeDelimitedExtensibleEnumArrayProperty.cs | 15 +
...elimitedEnumArrayProperty.Serialization.cs | 38 +
.../Models/SpaceDelimitedEnumArrayProperty.cs | 15 +
...tensibleEnumArrayProperty.Serialization.cs | 38 +
...aceDelimitedExtensibleEnumArrayProperty.cs | 15 +
.../encode/array/src/Generated/Property.cs | 64 +
.../http/encode/array/tspCodeModel.json | 2751 +-
.../multipart/src/Generated/FormData.cs | 3 +
.../multipart/src/Generated/FormDataFile.cs | 29 +
.../Models/PayloadMultiPartContext.cs | 1 +
.../http/payload/multipart/tspCodeModel.json | 1808 +-
.../Models/PayloadPageableContext.cs | 1 +
.../Generated/Models/XmlPet.Serialization.cs | 16 +
.../pageable/src/Generated/Models/XmlPet.cs | 13 +
.../pageable/src/Generated/PageableClient.cs | 3 +
.../Generated/PayloadPageableModelFactory.cs | 2 +
.../pageable/src/Generated/XmlPagination.cs | 34 +
.../http/payload/pageable/tspCodeModel.json | 1206 +-
.../versions/versioned/tspCodeModel.json | 2 +-
.../src/Generated/ModelProperties.cs | 8 +
.../Models/ModelWithList.Serialization.cs | 36 +
.../src/Generated/Models/ModelWithList.cs | 13 +
.../Generated/Models/SpecialWordsContext.cs | 1 +
.../src/Generated/SpecialWordsModelFactory.cs | 2 +
.../http/special-words/tspCodeModel.json | 1785 +-
.../Spector/http/type/file/Configuration.json | 3 +
.../Spector/http/type/file/tspCodeModel.json | 51127 ++++++++++++++++
packages/http-client-csharp/package-lock.json | 11 +-
packages/http-client-csharp/package.json | 4 +-
54 files changed, 57555 insertions(+), 2048 deletions(-)
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Colors.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/ColorsExtensibleEnum.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedEnumArrayProperty.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedEnumArrayProperty.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedExtensibleEnumArrayProperty.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedExtensibleEnumArrayProperty.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedEnumArrayProperty.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedEnumArrayProperty.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedExtensibleEnumArrayProperty.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedExtensibleEnumArrayProperty.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedEnumArrayProperty.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedEnumArrayProperty.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedExtensibleEnumArrayProperty.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedExtensibleEnumArrayProperty.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedEnumArrayProperty.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedEnumArrayProperty.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedExtensibleEnumArrayProperty.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedExtensibleEnumArrayProperty.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/FormDataFile.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/XmlPet.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/XmlPet.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/XmlPagination.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/ModelWithList.Serialization.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/ModelWithList.cs
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/type/file/Configuration.json
create mode 100644 packages/http-client-csharp/generator/TestProjects/Spector/http/type/file/tspCodeModel.json
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/AnimalOperations.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/AnimalOperations.cs
index b5fc44d67a0..8fa8739984f 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/AnimalOperations.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/AnimalOperations.cs
@@ -29,27 +29,6 @@ internal AnimalOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
- /// Initializes a new instance of AnimalOperations.
- /// Service endpoint.
- /// is null.
- public AnimalOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
- {
- }
-
- /// Initializes a new instance of AnimalOperations.
- /// Service endpoint.
- /// The options for configuring the client.
- /// is null.
- public AnimalOperations(Uri endpoint, SampleTypeSpecClientOptions options)
- {
- Argument.AssertNotNull(endpoint, nameof(endpoint));
-
- options ??= new SampleTypeSpecClientOptions();
-
- _endpoint = endpoint;
- Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(AnimalOperations).Assembly) }, Array.Empty());
- }
-
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/DogOperations.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/DogOperations.cs
index d27a6941191..c80c36367aa 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/DogOperations.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/DogOperations.cs
@@ -29,27 +29,6 @@ internal DogOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
- /// Initializes a new instance of DogOperations.
- /// Service endpoint.
- /// is null.
- public DogOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
- {
- }
-
- /// Initializes a new instance of DogOperations.
- /// Service endpoint.
- /// The options for configuring the client.
- /// is null.
- public DogOperations(Uri endpoint, SampleTypeSpecClientOptions options)
- {
- Argument.AssertNotNull(endpoint, nameof(endpoint));
-
- options ??= new SampleTypeSpecClientOptions();
-
- _endpoint = endpoint;
- Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(DogOperations).Assembly) }, Array.Empty());
- }
-
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PetOperations.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PetOperations.cs
index e71c16d9be8..395ff6b18d9 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PetOperations.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PetOperations.cs
@@ -29,27 +29,6 @@ internal PetOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
- /// Initializes a new instance of PetOperations.
- /// Service endpoint.
- /// is null.
- public PetOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
- {
- }
-
- /// Initializes a new instance of PetOperations.
- /// Service endpoint.
- /// The options for configuring the client.
- /// is null.
- public PetOperations(Uri endpoint, SampleTypeSpecClientOptions options)
- {
- Argument.AssertNotNull(endpoint, nameof(endpoint));
-
- options ??= new SampleTypeSpecClientOptions();
-
- _endpoint = endpoint;
- Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(PetOperations).Assembly) }, Array.Empty());
- }
-
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PlantOperations.cs b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PlantOperations.cs
index 79d7263296e..1119879cbad 100644
--- a/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PlantOperations.cs
+++ b/docs/samples/client/csharp/SampleService/SampleClient/src/Generated/PlantOperations.cs
@@ -29,27 +29,6 @@ internal PlantOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
- /// Initializes a new instance of PlantOperations.
- /// Service endpoint.
- /// is null.
- public PlantOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
- {
- }
-
- /// Initializes a new instance of PlantOperations.
- /// Service endpoint.
- /// The options for configuring the client.
- /// is null.
- public PlantOperations(Uri endpoint, SampleTypeSpecClientOptions options)
- {
- Argument.AssertNotNull(endpoint, nameof(endpoint));
-
- options ??= new SampleTypeSpecClientOptions();
-
- _endpoint = endpoint;
- Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(PlantOperations).Assembly) }, Array.Empty());
- }
-
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/AnimalOperations.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/AnimalOperations.cs
index 00956e11741..10d3b31fe97 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/AnimalOperations.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/AnimalOperations.cs
@@ -32,27 +32,6 @@ internal AnimalOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
- /// Initializes a new instance of AnimalOperations.
- /// Service endpoint.
- /// is null.
- public AnimalOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
- {
- }
-
- /// Initializes a new instance of AnimalOperations.
- /// Service endpoint.
- /// The options for configuring the client.
- /// is null.
- public AnimalOperations(Uri endpoint, SampleTypeSpecClientOptions options)
- {
- Argument.AssertNotNull(endpoint, nameof(endpoint));
-
- options ??= new SampleTypeSpecClientOptions();
-
- _endpoint = endpoint;
- Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(AnimalOperations).Assembly) }, Array.Empty());
- }
-
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/DogOperations.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/DogOperations.cs
index f2c37b9acdd..a45d14cb50f 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/DogOperations.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/DogOperations.cs
@@ -32,27 +32,6 @@ internal DogOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
- /// Initializes a new instance of DogOperations.
- /// Service endpoint.
- /// is null.
- public DogOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
- {
- }
-
- /// Initializes a new instance of DogOperations.
- /// Service endpoint.
- /// The options for configuring the client.
- /// is null.
- public DogOperations(Uri endpoint, SampleTypeSpecClientOptions options)
- {
- Argument.AssertNotNull(endpoint, nameof(endpoint));
-
- options ??= new SampleTypeSpecClientOptions();
-
- _endpoint = endpoint;
- Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(DogOperations).Assembly) }, Array.Empty());
- }
-
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PetOperations.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PetOperations.cs
index 5c038750306..7f7531baa9d 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PetOperations.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PetOperations.cs
@@ -32,27 +32,6 @@ internal PetOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
- /// Initializes a new instance of PetOperations.
- /// Service endpoint.
- /// is null.
- public PetOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
- {
- }
-
- /// Initializes a new instance of PetOperations.
- /// Service endpoint.
- /// The options for configuring the client.
- /// is null.
- public PetOperations(Uri endpoint, SampleTypeSpecClientOptions options)
- {
- Argument.AssertNotNull(endpoint, nameof(endpoint));
-
- options ??= new SampleTypeSpecClientOptions();
-
- _endpoint = endpoint;
- Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(PetOperations).Assembly) }, Array.Empty());
- }
-
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PlantOperations.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PlantOperations.cs
index f8e1d0345ed..184684e4ba6 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PlantOperations.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/PlantOperations.cs
@@ -32,27 +32,6 @@ internal PlantOperations(ClientPipeline pipeline, Uri endpoint)
Pipeline = pipeline;
}
- /// Initializes a new instance of PlantOperations.
- /// Service endpoint.
- /// is null.
- public PlantOperations(Uri endpoint) : this(endpoint, new SampleTypeSpecClientOptions())
- {
- }
-
- /// Initializes a new instance of PlantOperations.
- /// Service endpoint.
- /// The options for configuring the client.
- /// is null.
- public PlantOperations(Uri endpoint, SampleTypeSpecClientOptions options)
- {
- Argument.AssertNotNull(endpoint, nameof(endpoint));
-
- options ??= new SampleTypeSpecClientOptions();
-
- _endpoint = endpoint;
- Pipeline = ClientPipeline.Create(options, Array.Empty(), new PipelinePolicy[] { new UserAgentPolicy(typeof(PlantOperations).Assembly) }, Array.Empty());
- }
-
/// The HTTP pipeline for sending and receiving REST requests and responses.
public ClientPipeline Pipeline { get; }
diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json
index f7d2119ab34..a4b8c055c07 100644
--- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json
+++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json
@@ -11210,7 +11210,7 @@
"crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.sampleTypeSpecUrl"
}
],
- "initializedBy": -1,
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations",
"apiVersions": [
@@ -11605,7 +11605,7 @@
"crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.sampleTypeSpecUrl"
}
],
- "initializedBy": -1,
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "SampleTypeSpec.PetOperations",
"apiVersions": [
@@ -11823,7 +11823,7 @@
"crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.sampleTypeSpecUrl"
}
],
- "initializedBy": -1,
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "SampleTypeSpec.DogOperations",
"apiVersions": [
@@ -11965,7 +11965,7 @@
"crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.sampleTypeSpecUrl"
}
],
- "initializedBy": -1,
+ "initializedBy": 0,
"decorators": [],
"crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations",
"apiVersions": [
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json
index 5a5591dcf0b..8954a325268 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json
@@ -344,7 +344,7 @@
"responses": [
{
"statusCodes": [
- 204
+ 200
],
"headers": [],
"isErrorResponse": false
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/EncodeArrayModelFactory.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/EncodeArrayModelFactory.cs
index f1b065009ce..9c9a8a45b56 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/EncodeArrayModelFactory.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/EncodeArrayModelFactory.cs
@@ -15,5 +15,21 @@ public static partial class EncodeArrayModelFactory
public static PipeDelimitedArrayProperty PipeDelimitedArrayProperty(IEnumerable value = default) => throw null;
public static NewlineDelimitedArrayProperty NewlineDelimitedArrayProperty(IEnumerable value = default) => throw null;
+
+ public static CommaDelimitedEnumArrayProperty CommaDelimitedEnumArrayProperty(IEnumerable value = default) => throw null;
+
+ public static SpaceDelimitedEnumArrayProperty SpaceDelimitedEnumArrayProperty(IEnumerable value = default) => throw null;
+
+ public static PipeDelimitedEnumArrayProperty PipeDelimitedEnumArrayProperty(IEnumerable value = default) => throw null;
+
+ public static NewlineDelimitedEnumArrayProperty NewlineDelimitedEnumArrayProperty(IEnumerable value = default) => throw null;
+
+ public static CommaDelimitedExtensibleEnumArrayProperty CommaDelimitedExtensibleEnumArrayProperty(IEnumerable value = default) => throw null;
+
+ public static SpaceDelimitedExtensibleEnumArrayProperty SpaceDelimitedExtensibleEnumArrayProperty(IEnumerable value = default) => throw null;
+
+ public static PipeDelimitedExtensibleEnumArrayProperty PipeDelimitedExtensibleEnumArrayProperty(IEnumerable value = default) => throw null;
+
+ public static NewlineDelimitedExtensibleEnumArrayProperty NewlineDelimitedExtensibleEnumArrayProperty(IEnumerable value = default) => throw null;
}
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Colors.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Colors.cs
new file mode 100644
index 00000000000..e3b0dba273d
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Colors.cs
@@ -0,0 +1,16 @@
+//
+
+#nullable disable
+
+namespace Encode._Array
+{
+ public enum Colors
+ {
+ /// Blue.
+ Blue,
+ /// Red.
+ Red,
+ /// Green.
+ Green
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/ColorsExtensibleEnum.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/ColorsExtensibleEnum.cs
new file mode 100644
index 00000000000..72d5493e135
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/ColorsExtensibleEnum.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+
+namespace Encode._Array
+{
+ public readonly partial struct ColorsExtensibleEnum : IEquatable
+ {
+ public ColorsExtensibleEnum(string value) => throw null;
+
+ public static ColorsExtensibleEnum Blue => throw null;
+
+ public static ColorsExtensibleEnum Red => throw null;
+
+ public static ColorsExtensibleEnum Green => throw null;
+
+ public static bool operator ==(ColorsExtensibleEnum left, ColorsExtensibleEnum right) => throw null;
+
+ public static bool operator !=(ColorsExtensibleEnum left, ColorsExtensibleEnum right) => throw null;
+
+ public static implicit operator ColorsExtensibleEnum(string value) => throw null;
+
+ public static implicit operator ColorsExtensibleEnum?(string value) => throw null;
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => throw null;
+
+ public bool Equals(ColorsExtensibleEnum other) => throw null;
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => throw null;
+
+ public override string ToString() => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedEnumArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedEnumArrayProperty.Serialization.cs
new file mode 100644
index 00000000000..a87698582cb
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedEnumArrayProperty.Serialization.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Encode._Array
+{
+ public partial class CommaDelimitedEnumArrayProperty : IJsonModel
+ {
+ internal CommaDelimitedEnumArrayProperty() => throw null;
+
+ protected virtual CommaDelimitedEnumArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ public static explicit operator CommaDelimitedEnumArrayProperty(ClientResult result) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ CommaDelimitedEnumArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual CommaDelimitedEnumArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ CommaDelimitedEnumArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(CommaDelimitedEnumArrayProperty commaDelimitedEnumArrayProperty) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedEnumArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedEnumArrayProperty.cs
new file mode 100644
index 00000000000..a2bf5aa9700
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedEnumArrayProperty.cs
@@ -0,0 +1,15 @@
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+
+namespace Encode._Array
+{
+ public partial class CommaDelimitedEnumArrayProperty
+ {
+ public CommaDelimitedEnumArrayProperty(IEnumerable value) => throw null;
+
+ public IList Value => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedExtensibleEnumArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedExtensibleEnumArrayProperty.Serialization.cs
new file mode 100644
index 00000000000..a5927a8837e
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedExtensibleEnumArrayProperty.Serialization.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Encode._Array
+{
+ public partial class CommaDelimitedExtensibleEnumArrayProperty : IJsonModel
+ {
+ internal CommaDelimitedExtensibleEnumArrayProperty() => throw null;
+
+ protected virtual CommaDelimitedExtensibleEnumArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ public static explicit operator CommaDelimitedExtensibleEnumArrayProperty(ClientResult result) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ CommaDelimitedExtensibleEnumArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual CommaDelimitedExtensibleEnumArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ CommaDelimitedExtensibleEnumArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(CommaDelimitedExtensibleEnumArrayProperty commaDelimitedExtensibleEnumArrayProperty) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedExtensibleEnumArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedExtensibleEnumArrayProperty.cs
new file mode 100644
index 00000000000..10ebefbe14d
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedExtensibleEnumArrayProperty.cs
@@ -0,0 +1,15 @@
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+
+namespace Encode._Array
+{
+ public partial class CommaDelimitedExtensibleEnumArrayProperty
+ {
+ public CommaDelimitedExtensibleEnumArrayProperty(IEnumerable value) => throw null;
+
+ public IList Value => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Encode_ArrayContext.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Encode_ArrayContext.cs
index f3ab669d97b..4b8aeb35b97 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Encode_ArrayContext.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Encode_ArrayContext.cs
@@ -7,9 +7,17 @@
namespace Encode._Array
{
[ModelReaderWriterBuildable(typeof(CommaDelimitedArrayProperty))]
+ [ModelReaderWriterBuildable(typeof(CommaDelimitedEnumArrayProperty))]
+ [ModelReaderWriterBuildable(typeof(CommaDelimitedExtensibleEnumArrayProperty))]
[ModelReaderWriterBuildable(typeof(NewlineDelimitedArrayProperty))]
+ [ModelReaderWriterBuildable(typeof(NewlineDelimitedEnumArrayProperty))]
+ [ModelReaderWriterBuildable(typeof(NewlineDelimitedExtensibleEnumArrayProperty))]
[ModelReaderWriterBuildable(typeof(PipeDelimitedArrayProperty))]
+ [ModelReaderWriterBuildable(typeof(PipeDelimitedEnumArrayProperty))]
+ [ModelReaderWriterBuildable(typeof(PipeDelimitedExtensibleEnumArrayProperty))]
[ModelReaderWriterBuildable(typeof(SpaceDelimitedArrayProperty))]
+ [ModelReaderWriterBuildable(typeof(SpaceDelimitedEnumArrayProperty))]
+ [ModelReaderWriterBuildable(typeof(SpaceDelimitedExtensibleEnumArrayProperty))]
public partial class Encode_ArrayContext : ModelReaderWriterContext
{
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedEnumArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedEnumArrayProperty.Serialization.cs
new file mode 100644
index 00000000000..1a6dce53cb5
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedEnumArrayProperty.Serialization.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Encode._Array
+{
+ public partial class NewlineDelimitedEnumArrayProperty : IJsonModel
+ {
+ internal NewlineDelimitedEnumArrayProperty() => throw null;
+
+ protected virtual NewlineDelimitedEnumArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ public static explicit operator NewlineDelimitedEnumArrayProperty(ClientResult result) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ NewlineDelimitedEnumArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual NewlineDelimitedEnumArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ NewlineDelimitedEnumArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(NewlineDelimitedEnumArrayProperty newlineDelimitedEnumArrayProperty) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedEnumArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedEnumArrayProperty.cs
new file mode 100644
index 00000000000..cfcf8bb6912
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedEnumArrayProperty.cs
@@ -0,0 +1,15 @@
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+
+namespace Encode._Array
+{
+ public partial class NewlineDelimitedEnumArrayProperty
+ {
+ public NewlineDelimitedEnumArrayProperty(IEnumerable value) => throw null;
+
+ public IList Value => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedExtensibleEnumArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedExtensibleEnumArrayProperty.Serialization.cs
new file mode 100644
index 00000000000..11f3cbb5bc3
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedExtensibleEnumArrayProperty.Serialization.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Encode._Array
+{
+ public partial class NewlineDelimitedExtensibleEnumArrayProperty : IJsonModel
+ {
+ internal NewlineDelimitedExtensibleEnumArrayProperty() => throw null;
+
+ protected virtual NewlineDelimitedExtensibleEnumArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ public static explicit operator NewlineDelimitedExtensibleEnumArrayProperty(ClientResult result) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ NewlineDelimitedExtensibleEnumArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual NewlineDelimitedExtensibleEnumArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ NewlineDelimitedExtensibleEnumArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(NewlineDelimitedExtensibleEnumArrayProperty newlineDelimitedExtensibleEnumArrayProperty) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedExtensibleEnumArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedExtensibleEnumArrayProperty.cs
new file mode 100644
index 00000000000..9a48539c395
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedExtensibleEnumArrayProperty.cs
@@ -0,0 +1,15 @@
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+
+namespace Encode._Array
+{
+ public partial class NewlineDelimitedExtensibleEnumArrayProperty
+ {
+ public NewlineDelimitedExtensibleEnumArrayProperty(IEnumerable value) => throw null;
+
+ public IList Value => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedEnumArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedEnumArrayProperty.Serialization.cs
new file mode 100644
index 00000000000..b3a5cfb5230
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedEnumArrayProperty.Serialization.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Encode._Array
+{
+ public partial class PipeDelimitedEnumArrayProperty : IJsonModel
+ {
+ internal PipeDelimitedEnumArrayProperty() => throw null;
+
+ protected virtual PipeDelimitedEnumArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ public static explicit operator PipeDelimitedEnumArrayProperty(ClientResult result) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ PipeDelimitedEnumArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual PipeDelimitedEnumArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ PipeDelimitedEnumArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(PipeDelimitedEnumArrayProperty pipeDelimitedEnumArrayProperty) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedEnumArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedEnumArrayProperty.cs
new file mode 100644
index 00000000000..6ba5f1acaed
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedEnumArrayProperty.cs
@@ -0,0 +1,15 @@
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+
+namespace Encode._Array
+{
+ public partial class PipeDelimitedEnumArrayProperty
+ {
+ public PipeDelimitedEnumArrayProperty(IEnumerable value) => throw null;
+
+ public IList Value => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedExtensibleEnumArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedExtensibleEnumArrayProperty.Serialization.cs
new file mode 100644
index 00000000000..97d29af0378
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedExtensibleEnumArrayProperty.Serialization.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Encode._Array
+{
+ public partial class PipeDelimitedExtensibleEnumArrayProperty : IJsonModel
+ {
+ internal PipeDelimitedExtensibleEnumArrayProperty() => throw null;
+
+ protected virtual PipeDelimitedExtensibleEnumArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ public static explicit operator PipeDelimitedExtensibleEnumArrayProperty(ClientResult result) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ PipeDelimitedExtensibleEnumArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual PipeDelimitedExtensibleEnumArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ PipeDelimitedExtensibleEnumArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(PipeDelimitedExtensibleEnumArrayProperty pipeDelimitedExtensibleEnumArrayProperty) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedExtensibleEnumArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedExtensibleEnumArrayProperty.cs
new file mode 100644
index 00000000000..eb8179b1bd2
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedExtensibleEnumArrayProperty.cs
@@ -0,0 +1,15 @@
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+
+namespace Encode._Array
+{
+ public partial class PipeDelimitedExtensibleEnumArrayProperty
+ {
+ public PipeDelimitedExtensibleEnumArrayProperty(IEnumerable value) => throw null;
+
+ public IList Value => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedEnumArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedEnumArrayProperty.Serialization.cs
new file mode 100644
index 00000000000..18a698831b6
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedEnumArrayProperty.Serialization.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Encode._Array
+{
+ public partial class SpaceDelimitedEnumArrayProperty : IJsonModel
+ {
+ internal SpaceDelimitedEnumArrayProperty() => throw null;
+
+ protected virtual SpaceDelimitedEnumArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ public static explicit operator SpaceDelimitedEnumArrayProperty(ClientResult result) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ SpaceDelimitedEnumArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual SpaceDelimitedEnumArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ SpaceDelimitedEnumArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(SpaceDelimitedEnumArrayProperty spaceDelimitedEnumArrayProperty) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedEnumArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedEnumArrayProperty.cs
new file mode 100644
index 00000000000..520bfd7e402
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedEnumArrayProperty.cs
@@ -0,0 +1,15 @@
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+
+namespace Encode._Array
+{
+ public partial class SpaceDelimitedEnumArrayProperty
+ {
+ public SpaceDelimitedEnumArrayProperty(IEnumerable value) => throw null;
+
+ public IList Value => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedExtensibleEnumArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedExtensibleEnumArrayProperty.Serialization.cs
new file mode 100644
index 00000000000..b0655f9133e
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedExtensibleEnumArrayProperty.Serialization.cs
@@ -0,0 +1,38 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Encode._Array
+{
+ public partial class SpaceDelimitedExtensibleEnumArrayProperty : IJsonModel
+ {
+ internal SpaceDelimitedExtensibleEnumArrayProperty() => throw null;
+
+ protected virtual SpaceDelimitedExtensibleEnumArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ public static explicit operator SpaceDelimitedExtensibleEnumArrayProperty(ClientResult result) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ SpaceDelimitedExtensibleEnumArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual SpaceDelimitedExtensibleEnumArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ SpaceDelimitedExtensibleEnumArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(SpaceDelimitedExtensibleEnumArrayProperty spaceDelimitedExtensibleEnumArrayProperty) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedExtensibleEnumArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedExtensibleEnumArrayProperty.cs
new file mode 100644
index 00000000000..d3caeafb5e1
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedExtensibleEnumArrayProperty.cs
@@ -0,0 +1,15 @@
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+
+namespace Encode._Array
+{
+ public partial class SpaceDelimitedExtensibleEnumArrayProperty
+ {
+ public SpaceDelimitedExtensibleEnumArrayProperty(IEnumerable value) => throw null;
+
+ public IList Value => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Property.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Property.cs
index e50400b6ee6..11ac1e8bde6 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Property.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Property.cs
@@ -47,5 +47,69 @@ public partial class Property
public virtual ClientResult NewlineDelimited(NewlineDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null;
public virtual Task> NewlineDelimitedAsync(NewlineDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult EnumCommaDelimited(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task EnumCommaDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult EnumCommaDelimited(CommaDelimitedEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task> EnumCommaDelimitedAsync(CommaDelimitedEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult EnumSpaceDelimited(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task EnumSpaceDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult EnumSpaceDelimited(SpaceDelimitedEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task> EnumSpaceDelimitedAsync(SpaceDelimitedEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult EnumPipeDelimited(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task EnumPipeDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult EnumPipeDelimited(PipeDelimitedEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task> EnumPipeDelimitedAsync(PipeDelimitedEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult EnumNewlineDelimited(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task EnumNewlineDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult EnumNewlineDelimited(NewlineDelimitedEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task> EnumNewlineDelimitedAsync(NewlineDelimitedEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult ExtensibleEnumCommaDelimited(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task ExtensibleEnumCommaDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult ExtensibleEnumCommaDelimited(CommaDelimitedExtensibleEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task> ExtensibleEnumCommaDelimitedAsync(CommaDelimitedExtensibleEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult ExtensibleEnumSpaceDelimited(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task ExtensibleEnumSpaceDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult ExtensibleEnumSpaceDelimited(SpaceDelimitedExtensibleEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task> ExtensibleEnumSpaceDelimitedAsync(SpaceDelimitedExtensibleEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult ExtensibleEnumPipeDelimited(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task ExtensibleEnumPipeDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult ExtensibleEnumPipeDelimited(PipeDelimitedExtensibleEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task> ExtensibleEnumPipeDelimitedAsync(PipeDelimitedExtensibleEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult ExtensibleEnumNewlineDelimited(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task ExtensibleEnumNewlineDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult ExtensibleEnumNewlineDelimited(NewlineDelimitedExtensibleEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task> ExtensibleEnumNewlineDelimitedAsync(NewlineDelimitedExtensibleEnumArrayProperty body, CancellationToken cancellationToken = default) => throw null;
}
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json
index fbbab42cea0..858cc8f026f 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json
@@ -1,16 +1,135 @@
{
"name": "Encode.Array",
"apiVersions": [],
- "enums": [],
- "constants": [
+ "enums": [
{
"$id": "1",
+ "kind": "enum",
+ "name": "Colors",
+ "crossLanguageDefinitionId": "Encode.Array.Colors",
+ "valueType": {
+ "$id": "2",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "3",
+ "kind": "enumvalue",
+ "name": "Blue",
+ "value": "blue",
+ "valueType": {
+ "$ref": "2"
+ },
+ "enumType": {
+ "$ref": "1"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "4",
+ "kind": "enumvalue",
+ "name": "Red",
+ "value": "red",
+ "valueType": {
+ "$ref": "2"
+ },
+ "enumType": {
+ "$ref": "1"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "5",
+ "kind": "enumvalue",
+ "name": "Green",
+ "value": "green",
+ "valueType": {
+ "$ref": "2"
+ },
+ "enumType": {
+ "$ref": "1"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Encode.Array",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "6",
+ "kind": "enum",
+ "name": "ColorsExtensibleEnum",
+ "crossLanguageDefinitionId": "Encode.Array.ColorsExtensibleEnum",
+ "valueType": {
+ "$id": "7",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "8",
+ "kind": "enumvalue",
+ "name": "Blue",
+ "value": "blue",
+ "valueType": {
+ "$ref": "7"
+ },
+ "enumType": {
+ "$ref": "6"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "9",
+ "kind": "enumvalue",
+ "name": "Red",
+ "value": "red",
+ "valueType": {
+ "$ref": "7"
+ },
+ "enumType": {
+ "$ref": "6"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "10",
+ "kind": "enumvalue",
+ "name": "Green",
+ "value": "green",
+ "valueType": {
+ "$ref": "7"
+ },
+ "enumType": {
+ "$ref": "6"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Encode.Array",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ }
+ ],
+ "constants": [
+ {
+ "$id": "11",
"kind": "constant",
"name": "commaDelimitedContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "2",
+ "$id": "12",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -20,13 +139,13 @@
"decorators": []
},
{
- "$id": "3",
+ "$id": "13",
"kind": "constant",
"name": "commaDelimitedContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "4",
+ "$id": "14",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -36,13 +155,13 @@
"decorators": []
},
{
- "$id": "5",
+ "$id": "15",
"kind": "constant",
"name": "spaceDelimitedContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "6",
+ "$id": "16",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -52,13 +171,13 @@
"decorators": []
},
{
- "$id": "7",
+ "$id": "17",
"kind": "constant",
"name": "spaceDelimitedContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "8",
+ "$id": "18",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -68,13 +187,13 @@
"decorators": []
},
{
- "$id": "9",
+ "$id": "19",
"kind": "constant",
"name": "pipeDelimitedContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "10",
+ "$id": "20",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -84,13 +203,13 @@
"decorators": []
},
{
- "$id": "11",
+ "$id": "21",
"kind": "constant",
"name": "pipeDelimitedContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "12",
+ "$id": "22",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -100,13 +219,13 @@
"decorators": []
},
{
- "$id": "13",
+ "$id": "23",
"kind": "constant",
"name": "newlineDelimitedContentType",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "14",
+ "$id": "24",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -116,13 +235,13 @@
"decorators": []
},
{
- "$id": "15",
+ "$id": "25",
"kind": "constant",
"name": "newlineDelimitedContentType1",
"namespace": "",
"usage": "None",
"valueType": {
- "$id": "16",
+ "$id": "26",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -130,244 +249,2022 @@
},
"value": "application/json",
"decorators": []
- }
- ],
- "models": [
+ },
{
- "$id": "17",
- "kind": "model",
- "name": "CommaDelimitedArrayProperty",
- "namespace": "Encode.Array",
- "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedArrayProperty",
- "usage": "Input,Output,Json",
- "decorators": [],
- "serializationOptions": {
- "json": {
- "name": "CommaDelimitedArrayProperty"
- }
+ "$id": "27",
+ "kind": "constant",
+ "name": "enumCommaDelimitedContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "28",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
},
- "properties": [
- {
- "$id": "18",
- "kind": "property",
- "name": "value",
- "serializedName": "value",
- "type": {
- "$id": "19",
- "kind": "array",
- "name": "Array",
- "valueType": {
- "$id": "20",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "crossLanguageDefinitionId": "TypeSpec.Array",
- "decorators": []
- },
- "optional": false,
- "readOnly": false,
- "discriminator": false,
- "flatten": false,
- "decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedArrayProperty.value",
- "serializationOptions": {
- "json": {
- "name": "value"
- }
- },
- "isHttpMetadata": false,
- "encode": "commaDelimited"
- }
- ]
+ "value": "application/json",
+ "decorators": []
},
{
- "$id": "21",
- "kind": "model",
- "name": "SpaceDelimitedArrayProperty",
- "namespace": "Encode.Array",
- "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedArrayProperty",
- "usage": "Input,Output,Json",
- "decorators": [],
- "serializationOptions": {
- "json": {
- "name": "SpaceDelimitedArrayProperty"
- }
+ "$id": "29",
+ "kind": "constant",
+ "name": "enumCommaDelimitedContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "30",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
},
- "properties": [
- {
- "$id": "22",
- "kind": "property",
- "name": "value",
- "serializedName": "value",
- "type": {
- "$ref": "19"
- },
- "optional": false,
- "readOnly": false,
- "discriminator": false,
- "flatten": false,
- "decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedArrayProperty.value",
- "serializationOptions": {
- "json": {
- "name": "value"
- }
- },
- "isHttpMetadata": false,
- "encode": "spaceDelimited"
- }
- ]
+ "value": "application/json",
+ "decorators": []
},
{
- "$id": "23",
- "kind": "model",
- "name": "PipeDelimitedArrayProperty",
- "namespace": "Encode.Array",
- "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedArrayProperty",
- "usage": "Input,Output,Json",
- "decorators": [],
- "serializationOptions": {
- "json": {
- "name": "PipeDelimitedArrayProperty"
- }
+ "$id": "31",
+ "kind": "constant",
+ "name": "enumSpaceDelimitedContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "32",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
},
- "properties": [
- {
- "$id": "24",
- "kind": "property",
- "name": "value",
- "serializedName": "value",
- "type": {
- "$ref": "19"
- },
- "optional": false,
- "readOnly": false,
- "discriminator": false,
- "flatten": false,
- "decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedArrayProperty.value",
- "serializationOptions": {
- "json": {
- "name": "value"
- }
- },
- "isHttpMetadata": false,
- "encode": "pipeDelimited"
- }
- ]
+ "value": "application/json",
+ "decorators": []
},
{
- "$id": "25",
- "kind": "model",
- "name": "NewlineDelimitedArrayProperty",
- "namespace": "Encode.Array",
- "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedArrayProperty",
- "usage": "Input,Output,Json",
- "decorators": [],
- "serializationOptions": {
- "json": {
- "name": "NewlineDelimitedArrayProperty"
- }
+ "$id": "33",
+ "kind": "constant",
+ "name": "enumSpaceDelimitedContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "34",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
},
- "properties": [
- {
- "$id": "26",
- "kind": "property",
- "name": "value",
- "serializedName": "value",
- "type": {
- "$ref": "19"
- },
- "optional": false,
- "readOnly": false,
- "discriminator": false,
- "flatten": false,
- "decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedArrayProperty.value",
- "serializationOptions": {
- "json": {
- "name": "value"
- }
- },
- "isHttpMetadata": false,
- "encode": "newlineDelimited"
- }
- ]
- }
- ],
- "clients": [
+ "value": "application/json",
+ "decorators": []
+ },
{
- "$id": "27",
- "kind": "client",
- "name": "ArrayClient",
+ "$id": "35",
+ "kind": "constant",
+ "name": "enumPipeDelimitedContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "36",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "37",
+ "kind": "constant",
+ "name": "enumPipeDelimitedContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "38",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "39",
+ "kind": "constant",
+ "name": "enumNewlineDelimitedContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "40",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "41",
+ "kind": "constant",
+ "name": "enumNewlineDelimitedContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "42",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "43",
+ "kind": "constant",
+ "name": "extensibleEnumCommaDelimitedContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "44",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "45",
+ "kind": "constant",
+ "name": "extensibleEnumCommaDelimitedContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "46",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "47",
+ "kind": "constant",
+ "name": "extensibleEnumSpaceDelimitedContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "48",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "49",
+ "kind": "constant",
+ "name": "extensibleEnumSpaceDelimitedContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "50",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "51",
+ "kind": "constant",
+ "name": "extensibleEnumPipeDelimitedContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "52",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "53",
+ "kind": "constant",
+ "name": "extensibleEnumPipeDelimitedContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "54",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "55",
+ "kind": "constant",
+ "name": "extensibleEnumNewlineDelimitedContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "56",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "57",
+ "kind": "constant",
+ "name": "extensibleEnumNewlineDelimitedContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "58",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ }
+ ],
+ "models": [
+ {
+ "$id": "59",
+ "kind": "model",
+ "name": "CommaDelimitedArrayProperty",
"namespace": "Encode.Array",
- "doc": "Test for encode decorator on array.",
- "methods": [],
- "parameters": [
+ "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "CommaDelimitedArrayProperty"
+ }
+ },
+ "properties": [
{
- "$id": "28",
- "kind": "endpoint",
- "name": "endpoint",
- "serializedName": "endpoint",
- "doc": "Service host",
+ "$id": "60",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
"type": {
- "$id": "29",
- "kind": "url",
- "name": "endpoint",
- "crossLanguageDefinitionId": "TypeSpec.url"
- },
- "isApiVersion": false,
- "optional": false,
- "scope": "Client",
- "isEndpoint": true,
- "defaultValue": {
- "type": {
- "$id": "30",
+ "$id": "61",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "62",
"kind": "string",
"name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string"
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "commaDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "63",
+ "kind": "model",
+ "name": "SpaceDelimitedArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "SpaceDelimitedArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "64",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "61"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "spaceDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "65",
+ "kind": "model",
+ "name": "PipeDelimitedArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "PipeDelimitedArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "66",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "61"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "pipeDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "67",
+ "kind": "model",
+ "name": "NewlineDelimitedArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "NewlineDelimitedArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "68",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "61"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "newlineDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "69",
+ "kind": "model",
+ "name": "CommaDelimitedEnumArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedEnumArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "CommaDelimitedEnumArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "70",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$id": "71",
+ "kind": "array",
+ "name": "ArrayColors",
+ "valueType": {
+ "$ref": "1"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedEnumArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "commaDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "72",
+ "kind": "model",
+ "name": "SpaceDelimitedEnumArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedEnumArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "SpaceDelimitedEnumArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "73",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "71"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedEnumArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "spaceDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "74",
+ "kind": "model",
+ "name": "PipeDelimitedEnumArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedEnumArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "PipeDelimitedEnumArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "75",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "71"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedEnumArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "pipeDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "76",
+ "kind": "model",
+ "name": "NewlineDelimitedEnumArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedEnumArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "NewlineDelimitedEnumArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "77",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "71"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedEnumArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "newlineDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "78",
+ "kind": "model",
+ "name": "CommaDelimitedExtensibleEnumArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedExtensibleEnumArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "CommaDelimitedExtensibleEnumArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "79",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$id": "80",
+ "kind": "array",
+ "name": "ArrayColorsExtensibleEnum",
+ "valueType": {
+ "$ref": "6"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedExtensibleEnumArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "commaDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "81",
+ "kind": "model",
+ "name": "SpaceDelimitedExtensibleEnumArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedExtensibleEnumArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "SpaceDelimitedExtensibleEnumArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "82",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "80"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedExtensibleEnumArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "spaceDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "83",
+ "kind": "model",
+ "name": "PipeDelimitedExtensibleEnumArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedExtensibleEnumArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "PipeDelimitedExtensibleEnumArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "84",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "80"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedExtensibleEnumArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "pipeDelimited"
+ }
+ ]
+ },
+ {
+ "$id": "85",
+ "kind": "model",
+ "name": "NewlineDelimitedExtensibleEnumArrayProperty",
+ "namespace": "Encode.Array",
+ "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedExtensibleEnumArrayProperty",
+ "usage": "Input,Output,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "NewlineDelimitedExtensibleEnumArrayProperty"
+ }
+ },
+ "properties": [
+ {
+ "$id": "86",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "type": {
+ "$ref": "80"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedExtensibleEnumArrayProperty.value",
+ "serializationOptions": {
+ "json": {
+ "name": "value"
+ }
+ },
+ "isHttpMetadata": false,
+ "encode": "newlineDelimited"
+ }
+ ]
+ }
+ ],
+ "clients": [
+ {
+ "$id": "87",
+ "kind": "client",
+ "name": "ArrayClient",
+ "namespace": "Encode.Array",
+ "doc": "Test for encode decorator on array.",
+ "methods": [],
+ "parameters": [
+ {
+ "$id": "88",
+ "kind": "endpoint",
+ "name": "endpoint",
+ "serializedName": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "89",
+ "kind": "url",
+ "name": "endpoint",
+ "crossLanguageDefinitionId": "TypeSpec.url"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Client",
+ "isEndpoint": true,
+ "defaultValue": {
+ "type": {
+ "$id": "90",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "http://localhost:3000"
+ },
+ "serverUrlTemplate": "{endpoint}",
+ "skipUrlEncoding": false,
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.endpoint"
+ }
+ ],
+ "initializedBy": 1,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array",
+ "apiVersions": [],
+ "children": [
+ {
+ "$id": "91",
+ "kind": "client",
+ "name": "Property",
+ "namespace": "Encode.Array.Property",
+ "methods": [
+ {
+ "$id": "92",
+ "kind": "basic",
+ "name": "commaDelimited",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "93",
+ "name": "commaDelimited",
+ "resourceName": "Property",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "94",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "11"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "95",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "11"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "96",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "13"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "97",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "13"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "98",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "59"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.body",
+ "methodParameterSegments": [
+ {
+ "$id": "99",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "59"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "59"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/encode/array/property/comma-delimited",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited",
+ "decorators": [],
+ "namespace": "Encode.Array.Property"
+ },
+ "parameters": [
+ {
+ "$ref": "99"
+ },
+ {
+ "$ref": "95"
+ },
+ {
+ "$ref": "97"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "59"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited"
+ },
+ {
+ "$id": "100",
+ "kind": "basic",
+ "name": "spaceDelimited",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "101",
+ "name": "spaceDelimited",
+ "resourceName": "Property",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "102",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "15"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "103",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "15"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "104",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "17"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "105",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "17"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "106",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "63"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.body",
+ "methodParameterSegments": [
+ {
+ "$id": "107",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "63"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "63"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/encode/array/property/space-delimited",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited",
+ "decorators": [],
+ "namespace": "Encode.Array.Property"
+ },
+ "parameters": [
+ {
+ "$ref": "107"
+ },
+ {
+ "$ref": "103"
+ },
+ {
+ "$ref": "105"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "63"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited"
+ },
+ {
+ "$id": "108",
+ "kind": "basic",
+ "name": "pipeDelimited",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "109",
+ "name": "pipeDelimited",
+ "resourceName": "Property",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "110",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "19"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "111",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "19"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "112",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "21"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "113",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "21"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "114",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "65"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.body",
+ "methodParameterSegments": [
+ {
+ "$id": "115",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "65"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "65"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/encode/array/property/pipe-delimited",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited",
+ "decorators": [],
+ "namespace": "Encode.Array.Property"
+ },
+ "parameters": [
+ {
+ "$ref": "115"
+ },
+ {
+ "$ref": "111"
+ },
+ {
+ "$ref": "113"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "65"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited"
+ },
+ {
+ "$id": "116",
+ "kind": "basic",
+ "name": "newlineDelimited",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "117",
+ "name": "newlineDelimited",
+ "resourceName": "Property",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "118",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "23"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "119",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "23"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "120",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "25"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "121",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "25"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "122",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "67"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.body",
+ "methodParameterSegments": [
+ {
+ "$id": "123",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "67"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "67"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/encode/array/property/newline-delimited",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited",
+ "decorators": [],
+ "namespace": "Encode.Array.Property"
+ },
+ "parameters": [
+ {
+ "$ref": "123"
+ },
+ {
+ "$ref": "119"
+ },
+ {
+ "$ref": "121"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "67"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited"
+ },
+ {
+ "$id": "124",
+ "kind": "basic",
+ "name": "enumCommaDelimited",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "125",
+ "name": "enumCommaDelimited",
+ "resourceName": "Property",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "126",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "27"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "127",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "27"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "128",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "29"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "129",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "29"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "130",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "69"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.body",
+ "methodParameterSegments": [
+ {
+ "$id": "131",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "69"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "69"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/encode/array/property/enum/comma-delimited",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited",
+ "decorators": [],
+ "namespace": "Encode.Array.Property"
+ },
+ "parameters": [
+ {
+ "$ref": "131"
+ },
+ {
+ "$ref": "127"
+ },
+ {
+ "$ref": "129"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "69"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited"
+ },
+ {
+ "$id": "132",
+ "kind": "basic",
+ "name": "enumSpaceDelimited",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "133",
+ "name": "enumSpaceDelimited",
+ "resourceName": "Property",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "134",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "31"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "135",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "31"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "136",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "33"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "137",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "33"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "138",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "72"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.body",
+ "methodParameterSegments": [
+ {
+ "$id": "139",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "72"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "72"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/encode/array/property/enum/space-delimited",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited",
+ "decorators": [],
+ "namespace": "Encode.Array.Property"
+ },
+ "parameters": [
+ {
+ "$ref": "139"
+ },
+ {
+ "$ref": "135"
+ },
+ {
+ "$ref": "137"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "72"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited"
+ },
+ {
+ "$id": "140",
+ "kind": "basic",
+ "name": "enumPipeDelimited",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "141",
+ "name": "enumPipeDelimited",
+ "resourceName": "Property",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "142",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "35"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "143",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "35"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "144",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "37"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "145",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "37"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "146",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "74"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.body",
+ "methodParameterSegments": [
+ {
+ "$id": "147",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "74"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "74"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/encode/array/property/enum/pipe-delimited",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited",
+ "decorators": [],
+ "namespace": "Encode.Array.Property"
+ },
+ "parameters": [
+ {
+ "$ref": "147"
+ },
+ {
+ "$ref": "143"
+ },
+ {
+ "$ref": "145"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "74"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited"
},
- "value": "http://localhost:3000"
- },
- "serverUrlTemplate": "{endpoint}",
- "skipUrlEncoding": false,
- "readOnly": false,
- "crossLanguageDefinitionId": "Encode.Array.endpoint"
- }
- ],
- "initializedBy": 1,
- "decorators": [],
- "crossLanguageDefinitionId": "Encode.Array",
- "apiVersions": [],
- "children": [
- {
- "$id": "31",
- "kind": "client",
- "name": "Property",
- "namespace": "Encode.Array.Property",
- "methods": [
{
- "$id": "32",
+ "$id": "148",
"kind": "basic",
- "name": "commaDelimited",
+ "name": "enumNewlineDelimited",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "33",
- "name": "commaDelimited",
+ "$id": "149",
+ "name": "enumNewlineDelimited",
"resourceName": "Property",
"accessibility": "public",
"parameters": [
{
- "$id": "34",
+ "$id": "150",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1"
+ "$ref": "39"
},
"isApiVersion": false,
"optional": false,
@@ -375,22 +2272,22 @@
"scope": "Constant",
"readOnly": false,
"decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.contentType",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.contentType",
"methodParameterSegments": [
{
- "$id": "35",
+ "$id": "151",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "1"
+ "$ref": "39"
},
"location": "Header",
"isApiVersion": false,
"optional": false,
"scope": "Constant",
- "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.contentType",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.contentType",
"readOnly": false,
"access": "public",
"decorators": []
@@ -398,12 +2295,12 @@
]
},
{
- "$id": "36",
+ "$id": "152",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "3"
+ "$ref": "41"
},
"isApiVersion": false,
"optional": false,
@@ -411,21 +2308,21 @@
"scope": "Constant",
"readOnly": false,
"decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.accept",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.accept",
"methodParameterSegments": [
{
- "$id": "37",
+ "$id": "153",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "3"
+ "$ref": "41"
},
"location": "Header",
"isApiVersion": false,
"optional": false,
"scope": "Constant",
- "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.accept",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.accept",
"readOnly": false,
"access": "public",
"decorators": []
@@ -433,12 +2330,12 @@
]
},
{
- "$id": "38",
+ "$id": "154",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "17"
+ "$ref": "76"
},
"isApiVersion": false,
"contentTypes": [
@@ -449,21 +2346,21 @@
"scope": "Method",
"decorators": [],
"readOnly": false,
- "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.body",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.body",
"methodParameterSegments": [
{
- "$id": "39",
+ "$id": "155",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "17"
+ "$ref": "76"
},
"location": "Body",
"isApiVersion": false,
"optional": false,
"scope": "Method",
- "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.body",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.body",
"readOnly": false,
"access": "public",
"decorators": []
@@ -477,7 +2374,7 @@
200
],
"bodyType": {
- "$ref": "17"
+ "$ref": "76"
},
"headers": [],
"isErrorResponse": false,
@@ -488,58 +2385,58 @@
],
"httpMethod": "POST",
"uri": "{endpoint}",
- "path": "/encode/array/property/comma-delimited",
+ "path": "/encode/array/property/enum/newline-delimited",
"requestMediaTypes": [
"application/json"
],
"bufferResponse": true,
"generateProtocolMethod": true,
"generateConvenienceMethod": true,
- "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited",
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited",
"decorators": [],
"namespace": "Encode.Array.Property"
},
"parameters": [
{
- "$ref": "39"
+ "$ref": "155"
},
{
- "$ref": "35"
+ "$ref": "151"
},
{
- "$ref": "37"
+ "$ref": "153"
}
],
"response": {
"type": {
- "$ref": "17"
+ "$ref": "76"
}
},
"isOverride": false,
"generateConvenient": true,
"generateProtocol": true,
- "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited"
+ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited"
},
{
- "$id": "40",
+ "$id": "156",
"kind": "basic",
- "name": "spaceDelimited",
+ "name": "extensibleEnumCommaDelimited",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "41",
- "name": "spaceDelimited",
+ "$id": "157",
+ "name": "extensibleEnumCommaDelimited",
"resourceName": "Property",
"accessibility": "public",
"parameters": [
{
- "$id": "42",
+ "$id": "158",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "5"
+ "$ref": "43"
},
"isApiVersion": false,
"optional": false,
@@ -547,22 +2444,22 @@
"scope": "Constant",
"readOnly": false,
"decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.contentType",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.contentType",
"methodParameterSegments": [
{
- "$id": "43",
+ "$id": "159",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "5"
+ "$ref": "43"
},
"location": "Header",
"isApiVersion": false,
"optional": false,
"scope": "Constant",
- "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.contentType",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.contentType",
"readOnly": false,
"access": "public",
"decorators": []
@@ -570,12 +2467,12 @@
]
},
{
- "$id": "44",
+ "$id": "160",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "7"
+ "$ref": "45"
},
"isApiVersion": false,
"optional": false,
@@ -583,21 +2480,21 @@
"scope": "Constant",
"readOnly": false,
"decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.accept",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.accept",
"methodParameterSegments": [
{
- "$id": "45",
+ "$id": "161",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "7"
+ "$ref": "45"
},
"location": "Header",
"isApiVersion": false,
"optional": false,
"scope": "Constant",
- "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.accept",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.accept",
"readOnly": false,
"access": "public",
"decorators": []
@@ -605,12 +2502,12 @@
]
},
{
- "$id": "46",
+ "$id": "162",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "21"
+ "$ref": "78"
},
"isApiVersion": false,
"contentTypes": [
@@ -621,21 +2518,21 @@
"scope": "Method",
"decorators": [],
"readOnly": false,
- "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.body",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.body",
"methodParameterSegments": [
{
- "$id": "47",
+ "$id": "163",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "21"
+ "$ref": "78"
},
"location": "Body",
"isApiVersion": false,
"optional": false,
"scope": "Method",
- "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.body",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.body",
"readOnly": false,
"access": "public",
"decorators": []
@@ -649,7 +2546,7 @@
200
],
"bodyType": {
- "$ref": "21"
+ "$ref": "78"
},
"headers": [],
"isErrorResponse": false,
@@ -660,58 +2557,58 @@
],
"httpMethod": "POST",
"uri": "{endpoint}",
- "path": "/encode/array/property/space-delimited",
+ "path": "/encode/array/property/extensible-enum/comma-delimited",
"requestMediaTypes": [
"application/json"
],
"bufferResponse": true,
"generateProtocolMethod": true,
"generateConvenienceMethod": true,
- "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited",
"decorators": [],
"namespace": "Encode.Array.Property"
},
"parameters": [
{
- "$ref": "47"
+ "$ref": "163"
},
{
- "$ref": "43"
+ "$ref": "159"
},
{
- "$ref": "45"
+ "$ref": "161"
}
],
"response": {
"type": {
- "$ref": "21"
+ "$ref": "78"
}
},
"isOverride": false,
"generateConvenient": true,
"generateProtocol": true,
- "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited"
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited"
},
{
- "$id": "48",
+ "$id": "164",
"kind": "basic",
- "name": "pipeDelimited",
+ "name": "extensibleEnumSpaceDelimited",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "49",
- "name": "pipeDelimited",
+ "$id": "165",
+ "name": "extensibleEnumSpaceDelimited",
"resourceName": "Property",
"accessibility": "public",
"parameters": [
{
- "$id": "50",
+ "$id": "166",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "9"
+ "$ref": "47"
},
"isApiVersion": false,
"optional": false,
@@ -719,22 +2616,22 @@
"scope": "Constant",
"readOnly": false,
"decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.contentType",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.contentType",
"methodParameterSegments": [
{
- "$id": "51",
+ "$id": "167",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "9"
+ "$ref": "47"
},
"location": "Header",
"isApiVersion": false,
"optional": false,
"scope": "Constant",
- "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.contentType",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.contentType",
"readOnly": false,
"access": "public",
"decorators": []
@@ -742,12 +2639,12 @@
]
},
{
- "$id": "52",
+ "$id": "168",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "11"
+ "$ref": "49"
},
"isApiVersion": false,
"optional": false,
@@ -755,21 +2652,21 @@
"scope": "Constant",
"readOnly": false,
"decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.accept",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.accept",
"methodParameterSegments": [
{
- "$id": "53",
+ "$id": "169",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "11"
+ "$ref": "49"
},
"location": "Header",
"isApiVersion": false,
"optional": false,
"scope": "Constant",
- "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.accept",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.accept",
"readOnly": false,
"access": "public",
"decorators": []
@@ -777,12 +2674,12 @@
]
},
{
- "$id": "54",
+ "$id": "170",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "23"
+ "$ref": "81"
},
"isApiVersion": false,
"contentTypes": [
@@ -793,21 +2690,21 @@
"scope": "Method",
"decorators": [],
"readOnly": false,
- "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.body",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.body",
"methodParameterSegments": [
{
- "$id": "55",
+ "$id": "171",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "23"
+ "$ref": "81"
},
"location": "Body",
"isApiVersion": false,
"optional": false,
"scope": "Method",
- "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.body",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.body",
"readOnly": false,
"access": "public",
"decorators": []
@@ -821,7 +2718,7 @@
200
],
"bodyType": {
- "$ref": "23"
+ "$ref": "81"
},
"headers": [],
"isErrorResponse": false,
@@ -832,58 +2729,58 @@
],
"httpMethod": "POST",
"uri": "{endpoint}",
- "path": "/encode/array/property/pipe-delimited",
+ "path": "/encode/array/property/extensible-enum/space-delimited",
"requestMediaTypes": [
"application/json"
],
"bufferResponse": true,
"generateProtocolMethod": true,
"generateConvenienceMethod": true,
- "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited",
"decorators": [],
"namespace": "Encode.Array.Property"
},
"parameters": [
{
- "$ref": "55"
+ "$ref": "171"
},
{
- "$ref": "51"
+ "$ref": "167"
},
{
- "$ref": "53"
+ "$ref": "169"
}
],
"response": {
"type": {
- "$ref": "23"
+ "$ref": "81"
}
},
"isOverride": false,
"generateConvenient": true,
"generateProtocol": true,
- "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited"
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited"
},
{
- "$id": "56",
+ "$id": "172",
"kind": "basic",
- "name": "newlineDelimited",
+ "name": "extensibleEnumPipeDelimited",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "57",
- "name": "newlineDelimited",
+ "$id": "173",
+ "name": "extensibleEnumPipeDelimited",
"resourceName": "Property",
"accessibility": "public",
"parameters": [
{
- "$id": "58",
+ "$id": "174",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "13"
+ "$ref": "51"
},
"isApiVersion": false,
"optional": false,
@@ -891,22 +2788,22 @@
"scope": "Constant",
"readOnly": false,
"decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.contentType",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.contentType",
"methodParameterSegments": [
{
- "$id": "59",
+ "$id": "175",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"doc": "Body parameter's content type. Known values are application/json",
"type": {
- "$ref": "13"
+ "$ref": "51"
},
"location": "Header",
"isApiVersion": false,
"optional": false,
"scope": "Constant",
- "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.contentType",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.contentType",
"readOnly": false,
"access": "public",
"decorators": []
@@ -914,12 +2811,12 @@
]
},
{
- "$id": "60",
+ "$id": "176",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "15"
+ "$ref": "53"
},
"isApiVersion": false,
"optional": false,
@@ -927,21 +2824,21 @@
"scope": "Constant",
"readOnly": false,
"decorators": [],
- "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.accept",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.accept",
"methodParameterSegments": [
{
- "$id": "61",
+ "$id": "177",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
"type": {
- "$ref": "15"
+ "$ref": "53"
},
"location": "Header",
"isApiVersion": false,
"optional": false,
"scope": "Constant",
- "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.accept",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.accept",
"readOnly": false,
"access": "public",
"decorators": []
@@ -949,12 +2846,12 @@
]
},
{
- "$id": "62",
+ "$id": "178",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "25"
+ "$ref": "83"
},
"isApiVersion": false,
"contentTypes": [
@@ -965,21 +2862,21 @@
"scope": "Method",
"decorators": [],
"readOnly": false,
- "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.body",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.body",
"methodParameterSegments": [
{
- "$id": "63",
+ "$id": "179",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "25"
+ "$ref": "83"
},
"location": "Body",
"isApiVersion": false,
"optional": false,
"scope": "Method",
- "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.body",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.body",
"readOnly": false,
"access": "public",
"decorators": []
@@ -993,7 +2890,7 @@
200
],
"bodyType": {
- "$ref": "25"
+ "$ref": "83"
},
"headers": [],
"isErrorResponse": false,
@@ -1004,48 +2901,220 @@
],
"httpMethod": "POST",
"uri": "{endpoint}",
- "path": "/encode/array/property/newline-delimited",
+ "path": "/encode/array/property/extensible-enum/pipe-delimited",
"requestMediaTypes": [
"application/json"
],
"bufferResponse": true,
"generateProtocolMethod": true,
"generateConvenienceMethod": true,
- "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited",
"decorators": [],
"namespace": "Encode.Array.Property"
},
"parameters": [
{
- "$ref": "63"
+ "$ref": "179"
},
{
- "$ref": "59"
+ "$ref": "175"
},
{
- "$ref": "61"
+ "$ref": "177"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "83"
}
},
"isOverride": false,
"generateConvenient": true,
"generateProtocol": true,
- "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited"
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited"
+ },
+ {
+ "$id": "180",
+ "kind": "basic",
+ "name": "extensibleEnumNewlineDelimited",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "181",
+ "name": "extensibleEnumNewlineDelimited",
+ "resourceName": "Property",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "182",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "55"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "183",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "55"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "184",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "57"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "185",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "57"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "186",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "85"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.body",
+ "methodParameterSegments": [
+ {
+ "$id": "187",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "85"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "85"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/encode/array/property/extensible-enum/newline-delimited",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited",
+ "decorators": [],
+ "namespace": "Encode.Array.Property"
+ },
+ "parameters": [
+ {
+ "$ref": "187"
+ },
+ {
+ "$ref": "183"
+ },
+ {
+ "$ref": "185"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "85"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited"
}
],
"parameters": [
{
- "$id": "64",
+ "$id": "188",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "65",
+ "$id": "189",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -1056,7 +3125,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "66",
+ "$id": "190",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -1074,7 +3143,7 @@
"crossLanguageDefinitionId": "Encode.Array.Property",
"apiVersions": [],
"parent": {
- "$ref": "27"
+ "$ref": "87"
},
"isMultiServiceClient": false
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/FormData.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/FormData.cs
index d543051acc1..c6e02e93832 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/FormData.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/FormData.cs
@@ -5,6 +5,7 @@
using System.ClientModel;
using System.ClientModel.Primitives;
using System.Threading.Tasks;
+using Payload.MultiPart._FormData.File;
using Payload.MultiPart._FormData.HttpParts;
namespace Payload.MultiPart._FormData
@@ -52,5 +53,7 @@ public partial class FormData
public virtual Task AnonymousModelAsync(BinaryContent content, string contentType, RequestOptions options = null) => throw null;
public virtual FormDataHttpParts GetFormDataHttpPartsClient() => throw null;
+
+ public virtual FormDataFile GetFormDataFileClient() => throw null;
}
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/FormDataFile.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/FormDataFile.cs
new file mode 100644
index 00000000000..055f8f20cb7
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/FormDataFile.cs
@@ -0,0 +1,29 @@
+//
+
+#nullable disable
+
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Threading.Tasks;
+
+namespace Payload.MultiPart._FormData.File
+{
+ public partial class FormDataFile
+ {
+ protected FormDataFile() => throw null;
+
+ public ClientPipeline Pipeline => throw null;
+
+ public virtual ClientResult UploadFileSpecificContentType(BinaryContent content, string contentType, RequestOptions options = null) => throw null;
+
+ public virtual Task UploadFileSpecificContentTypeAsync(BinaryContent content, string contentType, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult UploadFileRequiredFilename(BinaryContent content, string contentType, RequestOptions options = null) => throw null;
+
+ public virtual Task UploadFileRequiredFilenameAsync(BinaryContent content, string contentType, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult UploadFileArray(BinaryContent content, string contentType, RequestOptions options = null) => throw null;
+
+ public virtual Task UploadFileArrayAsync(BinaryContent content, string contentType, RequestOptions options = null) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/Models/PayloadMultiPartContext.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/Models/PayloadMultiPartContext.cs
index 390c801869d..860a01ecc93 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/Models/PayloadMultiPartContext.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/src/Generated/Models/PayloadMultiPartContext.cs
@@ -4,6 +4,7 @@
using System.ClientModel.Primitives;
using Payload.MultiPart._FormData;
+using Payload.MultiPart._FormData.File;
using Payload.MultiPart._FormData.HttpParts.NonString;
namespace Payload.MultiPart
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json
index 8e85d21ccae..cef69d74b7f 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json
@@ -1,14 +1,12 @@
{
"name": "Payload.MultiPart",
"apiVersions": [],
- "enums": [],
- "constants": [
+ "enums": [
{
"$id": "1",
- "kind": "constant",
- "name": "FileSpecificContentTypeContentType",
- "namespace": "Payload.MultiPart",
- "usage": "Input",
+ "kind": "enum",
+ "name": "File1ContentType",
+ "crossLanguageDefinitionId": "",
"valueType": {
"$id": "2",
"kind": "string",
@@ -16,31 +14,40 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "image/jpg",
- "decorators": []
- },
- {
- "$id": "3",
- "kind": "constant",
- "name": "BasicRequestContentType",
- "namespace": "",
- "usage": "None",
- "valueType": {
- "$id": "4",
- "kind": "string",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string",
- "decorators": []
- },
- "value": "multipart/form-data",
+ "values": [
+ {
+ "$id": "3",
+ "kind": "enumvalue",
+ "name": "image/png",
+ "value": "image/png",
+ "valueType": {
+ "$id": "4",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "1"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "TypeSpec.Http",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input",
"decorators": []
- },
+ }
+ ],
+ "constants": [
{
"$id": "5",
"kind": "constant",
- "name": "BasicRequestContentType1",
- "namespace": "",
- "usage": "None",
+ "name": "FileSpecificContentTypeContentType",
+ "namespace": "Payload.MultiPart",
+ "usage": "Input",
"valueType": {
"$id": "6",
"kind": "string",
@@ -48,13 +55,13 @@
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "value": "multipart/form-data",
+ "value": "image/jpg",
"decorators": []
},
{
"$id": "7",
"kind": "constant",
- "name": "BasicRequestContentType2",
+ "name": "BasicRequestContentType",
"namespace": "",
"usage": "None",
"valueType": {
@@ -70,7 +77,7 @@
{
"$id": "9",
"kind": "constant",
- "name": "BasicRequestContentType3",
+ "name": "BasicRequestContentType1",
"namespace": "",
"usage": "None",
"valueType": {
@@ -86,7 +93,7 @@
{
"$id": "11",
"kind": "constant",
- "name": "BasicRequestContentType4",
+ "name": "BasicRequestContentType2",
"namespace": "",
"usage": "None",
"valueType": {
@@ -102,7 +109,7 @@
{
"$id": "13",
"kind": "constant",
- "name": "BasicRequestContentType5",
+ "name": "BasicRequestContentType3",
"namespace": "",
"usage": "None",
"valueType": {
@@ -118,7 +125,7 @@
{
"$id": "15",
"kind": "constant",
- "name": "BasicRequestContentType6",
+ "name": "BasicRequestContentType4",
"namespace": "",
"usage": "None",
"valueType": {
@@ -134,7 +141,7 @@
{
"$id": "17",
"kind": "constant",
- "name": "BasicRequestContentType7",
+ "name": "BasicRequestContentType5",
"namespace": "",
"usage": "None",
"valueType": {
@@ -150,7 +157,7 @@
{
"$id": "19",
"kind": "constant",
- "name": "BasicRequestContentType8",
+ "name": "BasicRequestContentType6",
"namespace": "",
"usage": "None",
"valueType": {
@@ -166,7 +173,7 @@
{
"$id": "21",
"kind": "constant",
- "name": "BasicRequestContentType9",
+ "name": "BasicRequestContentType7",
"namespace": "",
"usage": "None",
"valueType": {
@@ -182,7 +189,7 @@
{
"$id": "23",
"kind": "constant",
- "name": "BasicRequestContentType10",
+ "name": "BasicRequestContentType8",
"namespace": "",
"usage": "None",
"valueType": {
@@ -198,7 +205,7 @@
{
"$id": "25",
"kind": "constant",
- "name": "BasicRequestContentType11",
+ "name": "BasicRequestContentType9",
"namespace": "",
"usage": "None",
"valueType": {
@@ -214,7 +221,7 @@
{
"$id": "27",
"kind": "constant",
- "name": "BasicRequestContentType12",
+ "name": "BasicRequestContentType10",
"namespace": "",
"usage": "None",
"valueType": {
@@ -230,7 +237,7 @@
{
"$id": "29",
"kind": "constant",
- "name": "BasicRequestContentType13",
+ "name": "BasicRequestContentType11",
"namespace": "",
"usage": "None",
"valueType": {
@@ -246,7 +253,7 @@
{
"$id": "31",
"kind": "constant",
- "name": "BasicRequestContentType14",
+ "name": "BasicRequestContentType12",
"namespace": "",
"usage": "None",
"valueType": {
@@ -262,7 +269,7 @@
{
"$id": "33",
"kind": "constant",
- "name": "BasicRequestContentType15",
+ "name": "BasicRequestContentType13",
"namespace": "",
"usage": "None",
"valueType": {
@@ -278,7 +285,7 @@
{
"$id": "35",
"kind": "constant",
- "name": "BasicRequestContentType16",
+ "name": "BasicRequestContentType14",
"namespace": "",
"usage": "None",
"valueType": {
@@ -294,7 +301,7 @@
{
"$id": "37",
"kind": "constant",
- "name": "BasicRequestContentType17",
+ "name": "BasicRequestContentType15",
"namespace": "",
"usage": "None",
"valueType": {
@@ -310,7 +317,7 @@
{
"$id": "39",
"kind": "constant",
- "name": "BasicRequestContentType18",
+ "name": "BasicRequestContentType16",
"namespace": "",
"usage": "None",
"valueType": {
@@ -326,7 +333,7 @@
{
"$id": "41",
"kind": "constant",
- "name": "BasicRequestContentType19",
+ "name": "BasicRequestContentType17",
"namespace": "",
"usage": "None",
"valueType": {
@@ -342,7 +349,7 @@
{
"$id": "43",
"kind": "constant",
- "name": "BasicRequestContentType20",
+ "name": "BasicRequestContentType18",
"namespace": "",
"usage": "None",
"valueType": {
@@ -358,7 +365,7 @@
{
"$id": "45",
"kind": "constant",
- "name": "BasicRequestContentType21",
+ "name": "BasicRequestContentType19",
"namespace": "",
"usage": "None",
"valueType": {
@@ -374,7 +381,7 @@
{
"$id": "47",
"kind": "constant",
- "name": "BasicRequestContentType22",
+ "name": "BasicRequestContentType20",
"namespace": "",
"usage": "None",
"valueType": {
@@ -390,7 +397,7 @@
{
"$id": "49",
"kind": "constant",
- "name": "BasicRequestContentType23",
+ "name": "BasicRequestContentType21",
"namespace": "",
"usage": "None",
"valueType": {
@@ -406,7 +413,7 @@
{
"$id": "51",
"kind": "constant",
- "name": "BasicRequestContentType24",
+ "name": "BasicRequestContentType22",
"namespace": "",
"usage": "None",
"valueType": {
@@ -422,7 +429,7 @@
{
"$id": "53",
"kind": "constant",
- "name": "BasicRequestContentType25",
+ "name": "BasicRequestContentType23",
"namespace": "",
"usage": "None",
"valueType": {
@@ -438,7 +445,7 @@
{
"$id": "55",
"kind": "constant",
- "name": "BasicRequestContentType26",
+ "name": "BasicRequestContentType24",
"namespace": "",
"usage": "None",
"valueType": {
@@ -454,7 +461,7 @@
{
"$id": "57",
"kind": "constant",
- "name": "BasicRequestContentType27",
+ "name": "BasicRequestContentType25",
"namespace": "",
"usage": "None",
"valueType": {
@@ -466,11 +473,139 @@
},
"value": "multipart/form-data",
"decorators": []
+ },
+ {
+ "$id": "59",
+ "kind": "constant",
+ "name": "BasicRequestContentType26",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "60",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "multipart/form-data",
+ "decorators": []
+ },
+ {
+ "$id": "61",
+ "kind": "constant",
+ "name": "BasicRequestContentType27",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "62",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "multipart/form-data",
+ "decorators": []
+ },
+ {
+ "$id": "63",
+ "kind": "constant",
+ "name": "BasicRequestContentType28",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "64",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "multipart/form-data",
+ "decorators": []
+ },
+ {
+ "$id": "65",
+ "kind": "constant",
+ "name": "BasicRequestContentType29",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "66",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "multipart/form-data",
+ "decorators": []
+ },
+ {
+ "$id": "67",
+ "kind": "constant",
+ "name": "BasicRequestContentType30",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "68",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "multipart/form-data",
+ "decorators": []
+ },
+ {
+ "$id": "69",
+ "kind": "constant",
+ "name": "BasicRequestContentType31",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "70",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "multipart/form-data",
+ "decorators": []
+ },
+ {
+ "$id": "71",
+ "kind": "constant",
+ "name": "BasicRequestContentType32",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "72",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "multipart/form-data",
+ "decorators": []
+ },
+ {
+ "$id": "73",
+ "kind": "constant",
+ "name": "BasicRequestContentType33",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "74",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "multipart/form-data",
+ "decorators": []
}
],
"models": [
{
- "$id": "59",
+ "$id": "75",
"kind": "model",
"name": "MultiPartRequest",
"namespace": "Payload.MultiPart",
@@ -480,12 +615,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "60",
+ "$id": "76",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "61",
+ "$id": "77",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -511,12 +646,12 @@
"isHttpMetadata": false
},
{
- "$id": "62",
+ "$id": "78",
"kind": "property",
"name": "profileImage",
"serializedName": "profileImage",
"type": {
- "$id": "63",
+ "$id": "79",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -545,7 +680,7 @@
]
},
{
- "$id": "64",
+ "$id": "80",
"kind": "model",
"name": "MultiPartRequestWithWireName",
"namespace": "Payload.MultiPart",
@@ -555,12 +690,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "65",
+ "$id": "81",
"kind": "property",
"name": "identifier",
"serializedName": "id",
"type": {
- "$id": "66",
+ "$id": "82",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -586,12 +721,12 @@
"isHttpMetadata": false
},
{
- "$id": "67",
+ "$id": "83",
"kind": "property",
"name": "image",
"serializedName": "profileImage",
"type": {
- "$id": "68",
+ "$id": "84",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -620,7 +755,7 @@
]
},
{
- "$id": "69",
+ "$id": "85",
"kind": "model",
"name": "MultiPartOptionalRequest",
"namespace": "Payload.MultiPart",
@@ -630,12 +765,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "70",
+ "$id": "86",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "71",
+ "$id": "87",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -661,12 +796,12 @@
"isHttpMetadata": false
},
{
- "$id": "72",
+ "$id": "88",
"kind": "property",
"name": "profileImage",
"serializedName": "profileImage",
"type": {
- "$id": "73",
+ "$id": "89",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -695,7 +830,7 @@
]
},
{
- "$id": "74",
+ "$id": "90",
"kind": "model",
"name": "ComplexPartsRequest",
"namespace": "Payload.MultiPart",
@@ -705,12 +840,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "75",
+ "$id": "91",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "76",
+ "$id": "92",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -736,12 +871,12 @@
"isHttpMetadata": false
},
{
- "$id": "77",
+ "$id": "93",
"kind": "property",
"name": "address",
"serializedName": "address",
"type": {
- "$id": "78",
+ "$id": "94",
"kind": "model",
"name": "Address",
"namespace": "Payload.MultiPart",
@@ -751,12 +886,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "79",
+ "$id": "95",
"kind": "property",
"name": "city",
"serializedName": "city",
"type": {
- "$id": "80",
+ "$id": "96",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -797,12 +932,12 @@
"isHttpMetadata": false
},
{
- "$id": "81",
+ "$id": "97",
"kind": "property",
"name": "profileImage",
"serializedName": "profileImage",
"type": {
- "$id": "82",
+ "$id": "98",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -829,16 +964,16 @@
"isHttpMetadata": false
},
{
- "$id": "83",
+ "$id": "99",
"kind": "property",
"name": "pictures",
"serializedName": "pictures",
"type": {
- "$id": "84",
+ "$id": "100",
"kind": "array",
"name": "ArrayHttpPart",
"valueType": {
- "$id": "85",
+ "$id": "101",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -870,10 +1005,10 @@
]
},
{
- "$ref": "78"
+ "$ref": "94"
},
{
- "$id": "86",
+ "$id": "102",
"kind": "model",
"name": "JsonPartRequest",
"namespace": "Payload.MultiPart",
@@ -883,12 +1018,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "87",
+ "$id": "103",
"kind": "property",
"name": "address",
"serializedName": "address",
"type": {
- "$ref": "78"
+ "$ref": "94"
},
"optional": false,
"readOnly": false,
@@ -910,12 +1045,12 @@
"isHttpMetadata": false
},
{
- "$id": "88",
+ "$id": "104",
"kind": "property",
"name": "profileImage",
"serializedName": "profileImage",
"type": {
- "$id": "89",
+ "$id": "105",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -944,7 +1079,7 @@
]
},
{
- "$id": "90",
+ "$id": "106",
"kind": "model",
"name": "BinaryArrayPartsRequest",
"namespace": "Payload.MultiPart",
@@ -954,12 +1089,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "91",
+ "$id": "107",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "92",
+ "$id": "108",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -985,16 +1120,16 @@
"isHttpMetadata": false
},
{
- "$id": "93",
+ "$id": "109",
"kind": "property",
"name": "pictures",
"serializedName": "pictures",
"type": {
- "$id": "94",
+ "$id": "110",
"kind": "array",
"name": "ArrayHttpPart1",
"valueType": {
- "$id": "95",
+ "$id": "111",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -1026,7 +1161,7 @@
]
},
{
- "$id": "96",
+ "$id": "112",
"kind": "model",
"name": "MultiBinaryPartsRequest",
"namespace": "Payload.MultiPart",
@@ -1036,12 +1171,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "97",
+ "$id": "113",
"kind": "property",
"name": "profileImage",
"serializedName": "profileImage",
"type": {
- "$id": "98",
+ "$id": "114",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -1068,12 +1203,12 @@
"isHttpMetadata": false
},
{
- "$id": "99",
+ "$id": "115",
"kind": "property",
"name": "picture",
"serializedName": "picture",
"type": {
- "$id": "100",
+ "$id": "116",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -1102,7 +1237,7 @@
]
},
{
- "$id": "101",
+ "$id": "117",
"kind": "model",
"name": "AnonymousModelRequest",
"namespace": "Payload.MultiPart.FormData",
@@ -1112,12 +1247,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "102",
+ "$id": "118",
"kind": "property",
"name": "profileImage",
"serializedName": "profileImage",
"type": {
- "$id": "103",
+ "$id": "119",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -1146,7 +1281,7 @@
]
},
{
- "$id": "104",
+ "$id": "120",
"kind": "model",
"name": "ComplexHttpPartsModelRequest",
"namespace": "Payload.MultiPart",
@@ -1156,12 +1291,12 @@
"serializationOptions": {},
"properties": [
{
- "$id": "105",
+ "$id": "121",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "106",
+ "$id": "122",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1187,12 +1322,12 @@
"isHttpMetadata": false
},
{
- "$id": "107",
+ "$id": "123",
"kind": "property",
"name": "address",
"serializedName": "address",
"type": {
- "$ref": "78"
+ "$ref": "94"
},
"optional": false,
"readOnly": false,
@@ -1214,12 +1349,12 @@
"isHttpMetadata": false
},
{
- "$id": "108",
+ "$id": "124",
"kind": "property",
"name": "profileImage",
"serializedName": "profileImage",
"type": {
- "$id": "109",
+ "$id": "125",
"kind": "model",
"name": "FileRequiredMetaData",
"namespace": "Payload.MultiPart",
@@ -1228,7 +1363,7 @@
"decorators": [],
"serializationOptions": {},
"baseModel": {
- "$id": "110",
+ "$id": "126",
"kind": "model",
"name": "File",
"namespace": "TypeSpec.Http",
@@ -1240,13 +1375,13 @@
"serializationOptions": {},
"properties": [
{
- "$id": "111",
+ "$id": "127",
"kind": "property",
"name": "contentType",
"summary": "The allowed media (MIME) types of the file contents.",
"doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.",
"type": {
- "$id": "112",
+ "$id": "128",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1262,13 +1397,13 @@
"isHttpMetadata": false
},
{
- "$id": "113",
+ "$id": "129",
"kind": "property",
"name": "filename",
"summary": "The name of the file, if any.",
"doc": "The name of the file, if any.\n\nIn file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\nor multipart payload. In JSON bodies, this value is serialized as a field in the response.\n\nNOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\npayloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\nyou must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\ndecorators.",
"type": {
- "$id": "114",
+ "$id": "130",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1284,13 +1419,13 @@
"isHttpMetadata": false
},
{
- "$id": "115",
+ "$id": "131",
"kind": "property",
"name": "contents",
"summary": "The contents of the file.",
"doc": "The contents of the file.\n\nIn file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,\nthis value is serialized as a field in the response.",
"type": {
- "$id": "116",
+ "$id": "132",
"kind": "bytes",
"name": "bytes",
"encode": "base64",
@@ -1310,11 +1445,11 @@
},
"properties": [
{
- "$id": "117",
+ "$id": "133",
"kind": "property",
"name": "filename",
"type": {
- "$id": "118",
+ "$id": "134",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1330,11 +1465,11 @@
"isHttpMetadata": false
},
{
- "$id": "119",
+ "$id": "135",
"kind": "property",
"name": "contentType",
"type": {
- "$id": "120",
+ "$id": "136",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1362,10 +1497,10 @@
"isFilePart": true,
"isMulti": false,
"filename": {
- "$id": "121",
+ "$id": "137",
"apiVersions": [],
"type": {
- "$id": "122",
+ "$id": "138",
"kind": "string",
"decorators": [],
"doc": "A sequence of textual characters.",
@@ -1395,10 +1530,10 @@
"serializationOptions": {}
},
"contentType": {
- "$id": "123",
+ "$id": "139",
"apiVersions": [],
"type": {
- "$id": "124",
+ "$id": "140",
"kind": "string",
"decorators": [],
"doc": "A sequence of textual characters.",
@@ -1437,16 +1572,16 @@
"isHttpMetadata": false
},
{
- "$id": "125",
+ "$id": "141",
"kind": "property",
"name": "previousAddresses",
"serializedName": "previousAddresses",
"type": {
- "$id": "126",
+ "$id": "142",
"kind": "array",
"name": "ArrayAddress",
"valueType": {
- "$ref": "78"
+ "$ref": "94"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -1471,16 +1606,16 @@
"isHttpMetadata": false
},
{
- "$id": "127",
+ "$id": "143",
"kind": "property",
"name": "pictures",
"serializedName": "pictures",
"type": {
- "$id": "128",
+ "$id": "144",
"kind": "array",
"name": "ArrayHttpPart2",
"valueType": {
- "$ref": "109"
+ "$ref": "125"
},
"crossLanguageDefinitionId": "TypeSpec.Array",
"decorators": []
@@ -1496,10 +1631,10 @@
"isFilePart": true,
"isMulti": true,
"filename": {
- "$ref": "121"
+ "$ref": "137"
},
"contentType": {
- "$ref": "123"
+ "$ref": "139"
},
"defaultContentTypes": [
"*/*"
@@ -1513,72 +1648,98 @@
]
},
{
- "$ref": "109"
+ "$ref": "125"
},
{
- "$ref": "110"
+ "$ref": "126"
},
{
- "$id": "129",
+ "$id": "145",
"kind": "model",
- "name": "FileWithHttpPartSpecificContentTypeRequest",
- "namespace": "Payload.MultiPart",
- "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartSpecificContentTypeRequest",
+ "name": "UploadFileSpecificContentTypeRequest",
+ "namespace": "Payload.MultiPart.FormData.File",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType.Request.anonymous",
"usage": "Input,MultipartFormData",
"decorators": [],
"serializationOptions": {},
"properties": [
{
- "$id": "130",
+ "$id": "146",
"kind": "property",
- "name": "profileImage",
- "serializedName": "profileImage",
+ "name": "file",
+ "serializedName": "file",
"type": {
- "$id": "131",
+ "$id": "147",
"kind": "model",
- "name": "FileSpecificContentType",
- "namespace": "Payload.MultiPart",
- "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType",
+ "name": "File1",
+ "namespace": "TypeSpec.Http",
+ "crossLanguageDefinitionId": "TypeSpec.Http.File",
"usage": "Input",
+ "doc": "A file in an HTTP request, response, or multipart payload.\n\nFiles have a special meaning that the HTTP library understands. When the body of an HTTP request, response,\nor multipart payload is _effectively_ an instance of `TypeSpec.Http.File` or any type that extends it, the\noperation is treated as a file upload or download.\n\nWhen using file bodies, the fields of the file model are defined to come from particular locations by default:\n\n- `contentType`: The `Content-Type` header of the request, response, or multipart payload (CANNOT be overridden or changed).\n- `contents`: The body of the request, response, or multipart payload (CANNOT be overridden or changed).\n- `filename`: The `filename` parameter value of the `Content-Disposition` header of the response or multipart payload\n(MAY be overridden or changed).\n\nA File may be used as a normal structured JSON object in a request or response, if the request specifies an explicit\n`Content-Type` header. In this case, the entire File model is serialized as if it were any other model. In a JSON payload,\nit will have a structure like:\n\n```\n{\n \"contentType\": ,\n \"filename\": ,\n \"contents\": \n}\n```\n\nThe `contentType` _within_ the file defines what media types the data inside the file can be, but if the specification\ndefines a `Content-Type` for the payload as HTTP metadata, that `Content-Type` metadata defines _how the file is\nserialized_. See the examples below for more information.\n\nNOTE: The `filename` and `contentType` fields are optional. Furthermore, the default location of `filename`\n(`Content-Disposition: ; filename=`) is only valid in HTTP responses and multipart payloads. If\nyou wish to send the `filename` in a request, you must use HTTP metadata decorators to describe the location of the\n`filename` field. You can combine the metadata decorators with `@visibility` to control when the `filename` location\nis overridden, as shown in the examples below.",
+ "summary": "A file in an HTTP request, response, or multipart payload.",
"decorators": [],
"serializationOptions": {},
- "baseModel": {
- "$ref": "110"
- },
"properties": [
{
- "$id": "132",
+ "$id": "148",
"kind": "property",
- "name": "filename",
+ "name": "contentType",
+ "summary": "The allowed media (MIME) types of the file contents.",
+ "doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.",
"type": {
- "$id": "133",
+ "$ref": "1"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType",
+ "serializationOptions": {},
+ "isHttpMetadata": false
+ },
+ {
+ "$id": "149",
+ "kind": "property",
+ "name": "filename",
+ "summary": "The name of the file, if any.",
+ "doc": "The name of the file, if any.\n\nIn file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\nor multipart payload. In JSON bodies, this value is serialized as a field in the response.\n\nNOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\npayloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\nyou must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\ndecorators.",
+ "type": {
+ "$id": "150",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
"decorators": []
},
- "optional": false,
+ "optional": true,
"readOnly": false,
"discriminator": false,
"flatten": false,
"decorators": [],
- "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.filename",
+ "crossLanguageDefinitionId": "TypeSpec.Http.File.filename",
"serializationOptions": {},
"isHttpMetadata": false
},
{
- "$id": "134",
+ "$id": "151",
"kind": "property",
- "name": "contentType",
+ "name": "contents",
+ "summary": "The contents of the file.",
+ "doc": "The contents of the file.\n\nIn file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,\nthis value is serialized as a field in the response.",
"type": {
- "$ref": "1"
+ "$id": "152",
+ "kind": "bytes",
+ "name": "bytes",
+ "encode": "base64",
+ "crossLanguageDefinitionId": "TypeSpec.bytes",
+ "decorators": []
},
"optional": false,
"readOnly": false,
"discriminator": false,
"flatten": false,
"decorators": [],
- "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.contentType",
+ "crossLanguageDefinitionId": "TypeSpec.Http.File.contents",
"serializationOptions": {},
"isHttpMetadata": false
}
@@ -1589,16 +1750,18 @@
"discriminator": false,
"flatten": false,
"decorators": [],
- "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartSpecificContentTypeRequest.profileImage",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType.Request.anonymous.file",
"serializationOptions": {
"multipart": {
"isFilePart": true,
"isMulti": false,
"filename": {
- "$id": "135",
+ "$id": "153",
+ "doc": "The name of the file, if any.\n\nIn file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\nor multipart payload. In JSON bodies, this value is serialized as a field in the response.\n\nNOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\npayloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\nyou must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\ndecorators.",
+ "summary": "The name of the file, if any.",
"apiVersions": [],
"type": {
- "$id": "136",
+ "$id": "154",
"kind": "string",
"decorators": [],
"doc": "A sequence of textual characters.",
@@ -1607,10 +1770,10 @@
},
"name": "filename",
"isGeneratedName": false,
- "optional": false,
+ "optional": true,
"isApiVersionParam": false,
"onClient": false,
- "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.filename",
+ "crossLanguageDefinitionId": "TypeSpec.Http.File.filename",
"decorators": [],
"visibility": [
1,
@@ -1628,30 +1791,27 @@
"serializationOptions": {}
},
"contentType": {
- "$id": "137",
+ "$id": "155",
+ "doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.",
+ "summary": "The allowed media (MIME) types of the file contents.",
"apiVersions": [],
"type": {
- "$id": "138",
+ "$id": "156",
"kind": "constant",
"decorators": [],
- "value": "image/jpg",
+ "value": "image/png",
"valueType": {
- "$id": "139",
- "kind": "string",
- "decorators": [],
- "doc": "A sequence of textual characters.",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string"
+ "$ref": "4"
},
- "name": "FileSpecificContentTypeContentType",
+ "name": "FileContentType",
"isGeneratedName": true
},
"name": "contentType",
"isGeneratedName": false,
- "optional": false,
+ "optional": true,
"isApiVersionParam": false,
"onClient": false,
- "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.contentType",
+ "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType",
"decorators": [],
"visibility": [
1,
@@ -1669,9 +1829,9 @@
"serializationOptions": {}
},
"defaultContentTypes": [
- "image/jpg"
+ "image/png"
],
- "name": "profileImage",
+ "name": "file",
"headers": []
}
},
@@ -1680,46 +1840,108 @@
]
},
{
- "$ref": "131"
+ "$ref": "147"
},
{
- "$id": "140",
+ "$id": "157",
"kind": "model",
- "name": "FileWithHttpPartRequiredContentTypeRequest",
- "namespace": "Payload.MultiPart",
- "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartRequiredContentTypeRequest",
+ "name": "UploadFileRequiredFilenameRequest",
+ "namespace": "Payload.MultiPart.FormData.File",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename.Request.anonymous",
"usage": "Input,MultipartFormData",
"decorators": [],
"serializationOptions": {},
"properties": [
{
- "$id": "141",
+ "$id": "158",
"kind": "property",
- "name": "profileImage",
- "serializedName": "profileImage",
+ "name": "file",
+ "serializedName": "file",
"type": {
- "$ref": "109"
+ "$id": "159",
+ "kind": "model",
+ "name": "FileWithRequiredFilename",
+ "namespace": "Payload.MultiPart.FormData.File",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.FileWithRequiredFilename",
+ "usage": "Input",
+ "decorators": [],
+ "serializationOptions": {},
+ "baseModel": {
+ "$ref": "147"
+ },
+ "properties": [
+ {
+ "$id": "160",
+ "kind": "property",
+ "name": "filename",
+ "type": {
+ "$id": "161",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.FileWithRequiredFilename.filename",
+ "serializationOptions": {},
+ "isHttpMetadata": false
+ }
+ ]
},
"optional": false,
"readOnly": false,
"discriminator": false,
"flatten": false,
"decorators": [],
- "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartRequiredContentTypeRequest.profileImage",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename.Request.anonymous.file",
"serializationOptions": {
"multipart": {
"isFilePart": true,
"isMulti": false,
"filename": {
- "$ref": "121"
+ "$id": "162",
+ "apiVersions": [],
+ "type": {
+ "$id": "163",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "name": "filename",
+ "isGeneratedName": false,
+ "optional": false,
+ "isApiVersionParam": false,
+ "onClient": false,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.FileWithRequiredFilename.filename",
+ "decorators": [],
+ "visibility": [
+ 1,
+ 2,
+ 4,
+ 8,
+ 16
+ ],
+ "access": "public",
+ "flatten": false,
+ "kind": "property",
+ "discriminator": false,
+ "serializedName": "filename",
+ "isMultipartFileInput": false,
+ "serializationOptions": {}
},
"contentType": {
- "$ref": "123"
+ "$ref": "155"
},
"defaultContentTypes": [
- "*/*"
+ "image/png"
],
- "name": "profileImage",
+ "name": "file",
"headers": []
}
},
@@ -1728,39 +1950,94 @@
]
},
{
- "$id": "142",
+ "$ref": "159"
+ },
+ {
+ "$id": "164",
"kind": "model",
- "name": "FileWithHttpPartOptionalContentTypeRequest",
+ "name": "UploadFileArrayRequest",
+ "namespace": "Payload.MultiPart.FormData.File",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray.Request.anonymous",
+ "usage": "Input,MultipartFormData",
+ "decorators": [],
+ "serializationOptions": {},
+ "properties": [
+ {
+ "$id": "165",
+ "kind": "property",
+ "name": "files",
+ "serializedName": "files",
+ "type": {
+ "$id": "166",
+ "kind": "array",
+ "name": "ArrayHttpPart3",
+ "valueType": {
+ "$ref": "147"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray.Request.anonymous.files",
+ "serializationOptions": {
+ "multipart": {
+ "isFilePart": true,
+ "isMulti": true,
+ "filename": {
+ "$ref": "153"
+ },
+ "contentType": {
+ "$ref": "155"
+ },
+ "defaultContentTypes": [
+ "image/png"
+ ],
+ "name": "files",
+ "headers": []
+ }
+ },
+ "isHttpMetadata": false
+ }
+ ]
+ },
+ {
+ "$id": "167",
+ "kind": "model",
+ "name": "FileWithHttpPartSpecificContentTypeRequest",
"namespace": "Payload.MultiPart",
- "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartOptionalContentTypeRequest",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartSpecificContentTypeRequest",
"usage": "Input,MultipartFormData",
"decorators": [],
"serializationOptions": {},
"properties": [
{
- "$id": "143",
+ "$id": "168",
"kind": "property",
"name": "profileImage",
"serializedName": "profileImage",
"type": {
- "$id": "144",
+ "$id": "169",
"kind": "model",
- "name": "FileOptionalContentType",
+ "name": "FileSpecificContentType",
"namespace": "Payload.MultiPart",
- "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType",
"usage": "Input",
"decorators": [],
"serializationOptions": {},
"baseModel": {
- "$ref": "110"
+ "$ref": "126"
},
"properties": [
{
- "$id": "145",
+ "$id": "170",
"kind": "property",
"name": "filename",
"type": {
- "$id": "146",
+ "$id": "171",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1771,7 +2048,23 @@
"discriminator": false,
"flatten": false,
"decorators": [],
- "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType.filename",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.filename",
+ "serializationOptions": {},
+ "isHttpMetadata": false
+ },
+ {
+ "$id": "172",
+ "kind": "property",
+ "name": "contentType",
+ "type": {
+ "$ref": "5"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.contentType",
"serializationOptions": {},
"isHttpMetadata": false
}
@@ -1782,16 +2075,16 @@
"discriminator": false,
"flatten": false,
"decorators": [],
- "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartOptionalContentTypeRequest.profileImage",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartSpecificContentTypeRequest.profileImage",
"serializationOptions": {
"multipart": {
"isFilePart": true,
"isMulti": false,
"filename": {
- "$id": "147",
+ "$id": "173",
"apiVersions": [],
"type": {
- "$id": "148",
+ "$id": "174",
"kind": "string",
"decorators": [],
"doc": "A sequence of textual characters.",
@@ -1803,7 +2096,7 @@
"optional": false,
"isApiVersionParam": false,
"onClient": false,
- "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType.filename",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.filename",
"decorators": [],
"visibility": [
1,
@@ -1821,24 +2114,30 @@
"serializationOptions": {}
},
"contentType": {
- "$id": "149",
- "doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.",
- "summary": "The allowed media (MIME) types of the file contents.",
+ "$id": "175",
"apiVersions": [],
"type": {
- "$id": "150",
- "kind": "string",
+ "$id": "176",
+ "kind": "constant",
"decorators": [],
- "doc": "A sequence of textual characters.",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string"
+ "value": "image/jpg",
+ "valueType": {
+ "$id": "177",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "name": "FileSpecificContentTypeContentType",
+ "isGeneratedName": true
},
"name": "contentType",
"isGeneratedName": false,
- "optional": true,
+ "optional": false,
"isApiVersionParam": false,
"onClient": false,
- "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.contentType",
"decorators": [],
"visibility": [
1,
@@ -1856,7 +2155,7 @@
"serializationOptions": {}
},
"defaultContentTypes": [
- "*/*"
+ "image/jpg"
],
"name": "profileImage",
"headers": []
@@ -1867,73 +2166,260 @@
]
},
{
- "$ref": "144"
+ "$ref": "169"
},
{
- "$id": "151",
+ "$id": "178",
"kind": "model",
- "name": "FloatRequest",
- "namespace": "Payload.MultiPart.FormData.HttpParts.NonString",
- "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.anonymous",
+ "name": "FileWithHttpPartRequiredContentTypeRequest",
+ "namespace": "Payload.MultiPart",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartRequiredContentTypeRequest",
"usage": "Input,MultipartFormData",
"decorators": [],
"serializationOptions": {},
"properties": [
{
- "$id": "152",
+ "$id": "179",
"kind": "property",
- "name": "temperature",
- "serializedName": "temperature",
+ "name": "profileImage",
+ "serializedName": "profileImage",
"type": {
- "$id": "153",
- "kind": "float64",
- "name": "float64",
- "crossLanguageDefinitionId": "TypeSpec.float64",
- "decorators": []
+ "$ref": "125"
},
"optional": false,
"readOnly": false,
"discriminator": false,
"flatten": false,
"decorators": [],
- "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.anonymous.temperature",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartRequiredContentTypeRequest.profileImage",
"serializationOptions": {
"multipart": {
- "isFilePart": false,
+ "isFilePart": true,
"isMulti": false,
+ "filename": {
+ "$ref": "137"
+ },
"contentType": {
- "$id": "154",
- "apiVersions": [],
- "type": {
- "$id": "155",
- "kind": "constant",
- "decorators": [],
- "value": "text/plain",
- "valueType": {
- "$id": "156",
- "kind": "string",
- "decorators": [],
- "doc": "A sequence of textual characters.",
- "name": "string",
- "crossLanguageDefinitionId": "TypeSpec.string"
- },
- "name": "FloatRequestTemperatureContentType",
- "isGeneratedName": true
- },
- "name": "contentType",
- "isGeneratedName": false,
- "optional": false,
- "isApiVersionParam": false,
- "onClient": false,
- "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.temperature.anonymous.contentType",
- "decorators": [],
- "visibility": [
- 1,
- 2,
- 4,
- 8,
- 16
- ],
+ "$ref": "139"
+ },
+ "defaultContentTypes": [
+ "*/*"
+ ],
+ "name": "profileImage",
+ "headers": []
+ }
+ },
+ "isHttpMetadata": false
+ }
+ ]
+ },
+ {
+ "$id": "180",
+ "kind": "model",
+ "name": "FileWithHttpPartOptionalContentTypeRequest",
+ "namespace": "Payload.MultiPart",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartOptionalContentTypeRequest",
+ "usage": "Input,MultipartFormData",
+ "decorators": [],
+ "serializationOptions": {},
+ "properties": [
+ {
+ "$id": "181",
+ "kind": "property",
+ "name": "profileImage",
+ "serializedName": "profileImage",
+ "type": {
+ "$id": "182",
+ "kind": "model",
+ "name": "FileOptionalContentType",
+ "namespace": "Payload.MultiPart",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType",
+ "usage": "Input",
+ "decorators": [],
+ "serializationOptions": {},
+ "baseModel": {
+ "$ref": "126"
+ },
+ "properties": [
+ {
+ "$id": "183",
+ "kind": "property",
+ "name": "filename",
+ "type": {
+ "$id": "184",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType.filename",
+ "serializationOptions": {},
+ "isHttpMetadata": false
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileWithHttpPartOptionalContentTypeRequest.profileImage",
+ "serializationOptions": {
+ "multipart": {
+ "isFilePart": true,
+ "isMulti": false,
+ "filename": {
+ "$id": "185",
+ "apiVersions": [],
+ "type": {
+ "$id": "186",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "name": "filename",
+ "isGeneratedName": false,
+ "optional": false,
+ "isApiVersionParam": false,
+ "onClient": false,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType.filename",
+ "decorators": [],
+ "visibility": [
+ 1,
+ 2,
+ 4,
+ 8,
+ 16
+ ],
+ "access": "public",
+ "flatten": false,
+ "kind": "property",
+ "discriminator": false,
+ "serializedName": "filename",
+ "isMultipartFileInput": false,
+ "serializationOptions": {}
+ },
+ "contentType": {
+ "$id": "187",
+ "doc": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.",
+ "summary": "The allowed media (MIME) types of the file contents.",
+ "apiVersions": [],
+ "type": {
+ "$id": "188",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "name": "contentType",
+ "isGeneratedName": false,
+ "optional": true,
+ "isApiVersionParam": false,
+ "onClient": false,
+ "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType",
+ "decorators": [],
+ "visibility": [
+ 1,
+ 2,
+ 4,
+ 8,
+ 16
+ ],
+ "access": "public",
+ "flatten": false,
+ "kind": "property",
+ "discriminator": false,
+ "serializedName": "contentType",
+ "isMultipartFileInput": false,
+ "serializationOptions": {}
+ },
+ "defaultContentTypes": [
+ "*/*"
+ ],
+ "name": "profileImage",
+ "headers": []
+ }
+ },
+ "isHttpMetadata": false
+ }
+ ]
+ },
+ {
+ "$ref": "182"
+ },
+ {
+ "$id": "189",
+ "kind": "model",
+ "name": "FloatRequest",
+ "namespace": "Payload.MultiPart.FormData.HttpParts.NonString",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.anonymous",
+ "usage": "Input,MultipartFormData",
+ "decorators": [],
+ "serializationOptions": {},
+ "properties": [
+ {
+ "$id": "190",
+ "kind": "property",
+ "name": "temperature",
+ "serializedName": "temperature",
+ "type": {
+ "$id": "191",
+ "kind": "float64",
+ "name": "float64",
+ "crossLanguageDefinitionId": "TypeSpec.float64",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.anonymous.temperature",
+ "serializationOptions": {
+ "multipart": {
+ "isFilePart": false,
+ "isMulti": false,
+ "contentType": {
+ "$id": "192",
+ "apiVersions": [],
+ "type": {
+ "$id": "193",
+ "kind": "constant",
+ "decorators": [],
+ "value": "text/plain",
+ "valueType": {
+ "$id": "194",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "name": "FloatRequestTemperatureContentType",
+ "isGeneratedName": true
+ },
+ "name": "contentType",
+ "isGeneratedName": false,
+ "optional": false,
+ "isApiVersionParam": false,
+ "onClient": false,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.temperature.anonymous.contentType",
+ "decorators": [],
+ "visibility": [
+ 1,
+ 2,
+ 4,
+ 8,
+ 16
+ ],
"access": "public",
"flatten": false,
"kind": "property",
@@ -1956,7 +2442,7 @@
],
"clients": [
{
- "$id": "157",
+ "$id": "195",
"kind": "client",
"name": "MultiPartClient",
"namespace": "Payload.MultiPart",
@@ -1964,13 +2450,13 @@
"methods": [],
"parameters": [
{
- "$id": "158",
+ "$id": "196",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "159",
+ "$id": "197",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -1981,7 +2467,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "160",
+ "$id": "198",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -2000,32 +2486,32 @@
"apiVersions": [],
"children": [
{
- "$id": "161",
+ "$id": "199",
"kind": "client",
"name": "FormData",
"namespace": "Payload.MultiPart.FormData",
"methods": [
{
- "$id": "162",
+ "$id": "200",
"kind": "basic",
"name": "basic",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data",
"operation": {
- "$id": "163",
+ "$id": "201",
"name": "basic",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data",
"accessibility": "public",
"parameters": [
{
- "$id": "164",
+ "$id": "202",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "3"
+ "$ref": "7"
},
"isApiVersion": false,
"optional": false,
@@ -2036,12 +2522,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.basic.contentType",
"methodParameterSegments": [
{
- "$id": "165",
+ "$id": "203",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "3"
+ "$ref": "7"
},
"location": "Header",
"isApiVersion": false,
@@ -2055,12 +2541,12 @@
]
},
{
- "$id": "166",
+ "$id": "204",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "59"
+ "$ref": "75"
},
"isApiVersion": false,
"contentTypes": [
@@ -2074,12 +2560,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.basic.body",
"methodParameterSegments": [
{
- "$id": "167",
+ "$id": "205",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "59"
+ "$ref": "75"
},
"location": "Body",
"isApiVersion": false,
@@ -2117,10 +2603,10 @@
},
"parameters": [
{
- "$ref": "165"
+ "$ref": "203"
},
{
- "$ref": "167"
+ "$ref": "205"
}
],
"response": {},
@@ -2130,26 +2616,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.basic"
},
{
- "$id": "168",
+ "$id": "206",
"kind": "basic",
"name": "withWireName",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data with wire names",
"operation": {
- "$id": "169",
+ "$id": "207",
"name": "withWireName",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data with wire names",
"accessibility": "public",
"parameters": [
{
- "$id": "170",
+ "$id": "208",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "7"
+ "$ref": "11"
},
"isApiVersion": false,
"optional": false,
@@ -2160,12 +2646,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.withWireName.contentType",
"methodParameterSegments": [
{
- "$id": "171",
+ "$id": "209",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "7"
+ "$ref": "11"
},
"location": "Header",
"isApiVersion": false,
@@ -2179,12 +2665,12 @@
]
},
{
- "$id": "172",
+ "$id": "210",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "64"
+ "$ref": "80"
},
"isApiVersion": false,
"contentTypes": [
@@ -2198,12 +2684,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.withWireName.body",
"methodParameterSegments": [
{
- "$id": "173",
+ "$id": "211",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "64"
+ "$ref": "80"
},
"location": "Body",
"isApiVersion": false,
@@ -2241,10 +2727,10 @@
},
"parameters": [
{
- "$ref": "171"
+ "$ref": "209"
},
{
- "$ref": "173"
+ "$ref": "211"
}
],
"response": {},
@@ -2254,26 +2740,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.withWireName"
},
{
- "$id": "174",
+ "$id": "212",
"kind": "basic",
"name": "optionalParts",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data with optional parts",
"operation": {
- "$id": "175",
+ "$id": "213",
"name": "optionalParts",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data with optional parts",
"accessibility": "public",
"parameters": [
{
- "$id": "176",
+ "$id": "214",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "11"
+ "$ref": "15"
},
"isApiVersion": false,
"optional": false,
@@ -2284,12 +2770,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.optionalParts.contentType",
"methodParameterSegments": [
{
- "$id": "177",
+ "$id": "215",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "11"
+ "$ref": "15"
},
"location": "Header",
"isApiVersion": false,
@@ -2303,12 +2789,12 @@
]
},
{
- "$id": "178",
+ "$id": "216",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "69"
+ "$ref": "85"
},
"isApiVersion": false,
"contentTypes": [
@@ -2322,12 +2808,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.optionalParts.body",
"methodParameterSegments": [
{
- "$id": "179",
+ "$id": "217",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "69"
+ "$ref": "85"
},
"location": "Body",
"isApiVersion": false,
@@ -2365,10 +2851,10 @@
},
"parameters": [
{
- "$ref": "177"
+ "$ref": "215"
},
{
- "$ref": "179"
+ "$ref": "217"
}
],
"response": {},
@@ -2378,26 +2864,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.optionalParts"
},
{
- "$id": "180",
+ "$id": "218",
"kind": "basic",
"name": "fileArrayAndBasic",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data for mixed scenarios",
"operation": {
- "$id": "181",
+ "$id": "219",
"name": "fileArrayAndBasic",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data for mixed scenarios",
"accessibility": "public",
"parameters": [
{
- "$id": "182",
+ "$id": "220",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "15"
+ "$ref": "19"
},
"isApiVersion": false,
"optional": false,
@@ -2408,12 +2894,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.fileArrayAndBasic.contentType",
"methodParameterSegments": [
{
- "$id": "183",
+ "$id": "221",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "15"
+ "$ref": "19"
},
"location": "Header",
"isApiVersion": false,
@@ -2427,12 +2913,12 @@
]
},
{
- "$id": "184",
+ "$id": "222",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "74"
+ "$ref": "90"
},
"isApiVersion": false,
"contentTypes": [
@@ -2446,12 +2932,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.fileArrayAndBasic.body",
"methodParameterSegments": [
{
- "$id": "185",
+ "$id": "223",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "74"
+ "$ref": "90"
},
"location": "Body",
"isApiVersion": false,
@@ -2489,10 +2975,10 @@
},
"parameters": [
{
- "$ref": "183"
+ "$ref": "221"
},
{
- "$ref": "185"
+ "$ref": "223"
}
],
"response": {},
@@ -2502,26 +2988,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.fileArrayAndBasic"
},
{
- "$id": "186",
+ "$id": "224",
"kind": "basic",
"name": "jsonPart",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data for scenario contains json part and binary part ",
"operation": {
- "$id": "187",
+ "$id": "225",
"name": "jsonPart",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data for scenario contains json part and binary part ",
"accessibility": "public",
"parameters": [
{
- "$id": "188",
+ "$id": "226",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "19"
+ "$ref": "23"
},
"isApiVersion": false,
"optional": false,
@@ -2532,12 +3018,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.jsonPart.contentType",
"methodParameterSegments": [
{
- "$id": "189",
+ "$id": "227",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "19"
+ "$ref": "23"
},
"location": "Header",
"isApiVersion": false,
@@ -2551,12 +3037,12 @@
]
},
{
- "$id": "190",
+ "$id": "228",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "86"
+ "$ref": "102"
},
"isApiVersion": false,
"contentTypes": [
@@ -2570,12 +3056,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.jsonPart.body",
"methodParameterSegments": [
{
- "$id": "191",
+ "$id": "229",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "86"
+ "$ref": "102"
},
"location": "Body",
"isApiVersion": false,
@@ -2613,10 +3099,10 @@
},
"parameters": [
{
- "$ref": "189"
+ "$ref": "227"
},
{
- "$ref": "191"
+ "$ref": "229"
}
],
"response": {},
@@ -2626,26 +3112,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.jsonPart"
},
{
- "$id": "192",
+ "$id": "230",
"kind": "basic",
"name": "binaryArrayParts",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data for scenario contains multi binary parts",
"operation": {
- "$id": "193",
+ "$id": "231",
"name": "binaryArrayParts",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data for scenario contains multi binary parts",
"accessibility": "public",
"parameters": [
{
- "$id": "194",
+ "$id": "232",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "23"
+ "$ref": "27"
},
"isApiVersion": false,
"optional": false,
@@ -2656,12 +3142,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.binaryArrayParts.contentType",
"methodParameterSegments": [
{
- "$id": "195",
+ "$id": "233",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "23"
+ "$ref": "27"
},
"location": "Header",
"isApiVersion": false,
@@ -2675,12 +3161,12 @@
]
},
{
- "$id": "196",
+ "$id": "234",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "90"
+ "$ref": "106"
},
"isApiVersion": false,
"contentTypes": [
@@ -2694,12 +3180,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.binaryArrayParts.body",
"methodParameterSegments": [
{
- "$id": "197",
+ "$id": "235",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "90"
+ "$ref": "106"
},
"location": "Body",
"isApiVersion": false,
@@ -2737,10 +3223,10 @@
},
"parameters": [
{
- "$ref": "195"
+ "$ref": "233"
},
{
- "$ref": "197"
+ "$ref": "235"
}
],
"response": {},
@@ -2750,26 +3236,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.binaryArrayParts"
},
{
- "$id": "198",
+ "$id": "236",
"kind": "basic",
"name": "multiBinaryParts",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data for scenario contains multi binary parts",
"operation": {
- "$id": "199",
+ "$id": "237",
"name": "multiBinaryParts",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data for scenario contains multi binary parts",
"accessibility": "public",
"parameters": [
{
- "$id": "200",
+ "$id": "238",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "27"
+ "$ref": "31"
},
"isApiVersion": false,
"optional": false,
@@ -2780,12 +3266,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.multiBinaryParts.contentType",
"methodParameterSegments": [
{
- "$id": "201",
+ "$id": "239",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "27"
+ "$ref": "31"
},
"location": "Header",
"isApiVersion": false,
@@ -2799,12 +3285,12 @@
]
},
{
- "$id": "202",
+ "$id": "240",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "96"
+ "$ref": "112"
},
"isApiVersion": false,
"contentTypes": [
@@ -2818,12 +3304,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.multiBinaryParts.body",
"methodParameterSegments": [
{
- "$id": "203",
+ "$id": "241",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "96"
+ "$ref": "112"
},
"location": "Body",
"isApiVersion": false,
@@ -2861,10 +3347,10 @@
},
"parameters": [
{
- "$ref": "201"
+ "$ref": "239"
},
{
- "$ref": "203"
+ "$ref": "241"
}
],
"response": {},
@@ -2874,26 +3360,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.multiBinaryParts"
},
{
- "$id": "204",
+ "$id": "242",
"kind": "basic",
"name": "checkFileNameAndContentType",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data",
"operation": {
- "$id": "205",
+ "$id": "243",
"name": "checkFileNameAndContentType",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data",
"accessibility": "public",
"parameters": [
{
- "$id": "206",
+ "$id": "244",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "31"
+ "$ref": "35"
},
"isApiVersion": false,
"optional": false,
@@ -2904,12 +3390,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.checkFileNameAndContentType.contentType",
"methodParameterSegments": [
{
- "$id": "207",
+ "$id": "245",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "31"
+ "$ref": "35"
},
"location": "Header",
"isApiVersion": false,
@@ -2923,12 +3409,12 @@
]
},
{
- "$id": "208",
+ "$id": "246",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "59"
+ "$ref": "75"
},
"isApiVersion": false,
"contentTypes": [
@@ -2942,12 +3428,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.checkFileNameAndContentType.body",
"methodParameterSegments": [
{
- "$id": "209",
+ "$id": "247",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "59"
+ "$ref": "75"
},
"location": "Body",
"isApiVersion": false,
@@ -2985,10 +3471,10 @@
},
"parameters": [
{
- "$ref": "207"
+ "$ref": "245"
},
{
- "$ref": "209"
+ "$ref": "247"
}
],
"response": {},
@@ -2998,26 +3484,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.checkFileNameAndContentType"
},
{
- "$id": "210",
+ "$id": "248",
"kind": "basic",
"name": "anonymousModel",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data",
"operation": {
- "$id": "211",
+ "$id": "249",
"name": "anonymousModel",
"resourceName": "FormData",
"doc": "Test content-type: multipart/form-data",
"accessibility": "public",
"parameters": [
{
- "$id": "212",
+ "$id": "250",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "35"
+ "$ref": "39"
},
"isApiVersion": false,
"optional": false,
@@ -3028,12 +3514,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.anonymousModel.contentType",
"methodParameterSegments": [
{
- "$id": "213",
+ "$id": "251",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "35"
+ "$ref": "39"
},
"location": "Header",
"isApiVersion": false,
@@ -3047,12 +3533,12 @@
]
},
{
- "$id": "214",
+ "$id": "252",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "101"
+ "$ref": "117"
},
"isApiVersion": false,
"contentTypes": [
@@ -3066,12 +3552,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.anonymousModel.body",
"methodParameterSegments": [
{
- "$id": "215",
+ "$id": "253",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "101"
+ "$ref": "117"
},
"location": "Body",
"isApiVersion": false,
@@ -3109,10 +3595,10 @@
},
"parameters": [
{
- "$ref": "213"
+ "$ref": "251"
},
{
- "$ref": "215"
+ "$ref": "253"
}
],
"response": {},
@@ -3124,13 +3610,13 @@
],
"parameters": [
{
- "$id": "216",
+ "$id": "254",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "217",
+ "$id": "255",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -3141,7 +3627,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "218",
+ "$id": "256",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -3159,36 +3645,36 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData",
"apiVersions": [],
"parent": {
- "$ref": "157"
+ "$ref": "195"
},
"children": [
{
- "$id": "219",
+ "$id": "257",
"kind": "client",
"name": "HttpParts",
"namespace": "Payload.MultiPart.FormData.HttpParts",
"methods": [
{
- "$id": "220",
+ "$id": "258",
"kind": "basic",
"name": "jsonArrayAndFileArray",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data for mixed scenarios",
"operation": {
- "$id": "221",
+ "$id": "259",
"name": "jsonArrayAndFileArray",
"resourceName": "HttpParts",
"doc": "Test content-type: multipart/form-data for mixed scenarios",
"accessibility": "public",
"parameters": [
{
- "$id": "222",
+ "$id": "260",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "39"
+ "$ref": "43"
},
"isApiVersion": false,
"optional": false,
@@ -3199,12 +3685,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.jsonArrayAndFileArray.contentType",
"methodParameterSegments": [
{
- "$id": "223",
+ "$id": "261",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "39"
+ "$ref": "43"
},
"location": "Header",
"isApiVersion": false,
@@ -3218,12 +3704,12 @@
]
},
{
- "$id": "224",
+ "$id": "262",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "104"
+ "$ref": "120"
},
"isApiVersion": false,
"contentTypes": [
@@ -3237,12 +3723,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.jsonArrayAndFileArray.body",
"methodParameterSegments": [
{
- "$id": "225",
+ "$id": "263",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "104"
+ "$ref": "120"
},
"location": "Body",
"isApiVersion": false,
@@ -3280,10 +3766,10 @@
},
"parameters": [
{
- "$ref": "223"
+ "$ref": "261"
},
{
- "$ref": "225"
+ "$ref": "263"
}
],
"response": {},
@@ -3295,13 +3781,13 @@
],
"parameters": [
{
- "$id": "226",
+ "$id": "264",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "227",
+ "$id": "265",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -3312,7 +3798,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "228",
+ "$id": "266",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -3330,36 +3816,36 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts",
"apiVersions": [],
"parent": {
- "$ref": "161"
+ "$ref": "199"
},
"children": [
{
- "$id": "229",
+ "$id": "267",
"kind": "client",
"name": "ContentType",
"namespace": "Payload.MultiPart.FormData.HttpParts.ContentType",
"methods": [
{
- "$id": "230",
+ "$id": "268",
"kind": "basic",
"name": "imageJpegContentType",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data",
"operation": {
- "$id": "231",
+ "$id": "269",
"name": "imageJpegContentType",
"resourceName": "ContentType",
"doc": "Test content-type: multipart/form-data",
"accessibility": "public",
"parameters": [
{
- "$id": "232",
+ "$id": "270",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "43"
+ "$ref": "47"
},
"isApiVersion": false,
"optional": false,
@@ -3370,12 +3856,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType.contentType",
"methodParameterSegments": [
{
- "$id": "233",
+ "$id": "271",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "43"
+ "$ref": "47"
},
"location": "Header",
"isApiVersion": false,
@@ -3389,12 +3875,12 @@
]
},
{
- "$id": "234",
+ "$id": "272",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "129"
+ "$ref": "167"
},
"isApiVersion": false,
"contentTypes": [
@@ -3408,12 +3894,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType.body",
"methodParameterSegments": [
{
- "$id": "235",
+ "$id": "273",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "129"
+ "$ref": "167"
},
"location": "Body",
"isApiVersion": false,
@@ -3451,10 +3937,10 @@
},
"parameters": [
{
- "$ref": "233"
+ "$ref": "271"
},
{
- "$ref": "235"
+ "$ref": "273"
}
],
"response": {},
@@ -3464,26 +3950,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType"
},
{
- "$id": "236",
+ "$id": "274",
"kind": "basic",
"name": "requiredContentType",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data",
"operation": {
- "$id": "237",
+ "$id": "275",
"name": "requiredContentType",
"resourceName": "ContentType",
"doc": "Test content-type: multipart/form-data",
"accessibility": "public",
"parameters": [
{
- "$id": "238",
+ "$id": "276",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "47"
+ "$ref": "51"
},
"isApiVersion": false,
"optional": false,
@@ -3494,12 +3980,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType.contentType",
"methodParameterSegments": [
{
- "$id": "239",
+ "$id": "277",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "47"
+ "$ref": "51"
},
"location": "Header",
"isApiVersion": false,
@@ -3513,12 +3999,12 @@
]
},
{
- "$id": "240",
+ "$id": "278",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "140"
+ "$ref": "178"
},
"isApiVersion": false,
"contentTypes": [
@@ -3532,12 +4018,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType.body",
"methodParameterSegments": [
{
- "$id": "241",
+ "$id": "279",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "140"
+ "$ref": "178"
},
"location": "Body",
"isApiVersion": false,
@@ -3575,10 +4061,10 @@
},
"parameters": [
{
- "$ref": "239"
+ "$ref": "277"
},
{
- "$ref": "241"
+ "$ref": "279"
}
],
"response": {},
@@ -3588,26 +4074,26 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType"
},
{
- "$id": "242",
+ "$id": "280",
"kind": "basic",
"name": "optionalContentType",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data for optional content type",
"operation": {
- "$id": "243",
+ "$id": "281",
"name": "optionalContentType",
"resourceName": "ContentType",
"doc": "Test content-type: multipart/form-data for optional content type",
"accessibility": "public",
"parameters": [
{
- "$id": "244",
+ "$id": "282",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "51"
+ "$ref": "55"
},
"isApiVersion": false,
"optional": false,
@@ -3618,12 +4104,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.optionalContentType.contentType",
"methodParameterSegments": [
{
- "$id": "245",
+ "$id": "283",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "51"
+ "$ref": "55"
},
"location": "Header",
"isApiVersion": false,
@@ -3637,12 +4123,12 @@
]
},
{
- "$id": "246",
+ "$id": "284",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "142"
+ "$ref": "180"
},
"isApiVersion": false,
"contentTypes": [
@@ -3656,12 +4142,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.optionalContentType.body",
"methodParameterSegments": [
{
- "$id": "247",
+ "$id": "285",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "142"
+ "$ref": "180"
},
"location": "Body",
"isApiVersion": false,
@@ -3699,10 +4185,10 @@
},
"parameters": [
{
- "$ref": "245"
+ "$ref": "283"
},
{
- "$ref": "247"
+ "$ref": "285"
}
],
"response": {},
@@ -3714,13 +4200,13 @@
],
"parameters": [
{
- "$id": "248",
+ "$id": "286",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "249",
+ "$id": "287",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -3731,7 +4217,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "250",
+ "$id": "288",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -3749,37 +4235,37 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType",
"apiVersions": [],
"parent": {
- "$ref": "219"
+ "$ref": "257"
},
"isMultiServiceClient": false
},
{
- "$id": "251",
+ "$id": "289",
"kind": "client",
"name": "NonString",
"namespace": "Payload.MultiPart.FormData.HttpParts.NonString",
"methods": [
{
- "$id": "252",
+ "$id": "290",
"kind": "basic",
"name": "float",
"accessibility": "public",
"apiVersions": [],
"doc": "Test content-type: multipart/form-data for non string",
"operation": {
- "$id": "253",
+ "$id": "291",
"name": "float",
"resourceName": "NonString",
"doc": "Test content-type: multipart/form-data for non string",
"accessibility": "public",
"parameters": [
{
- "$id": "254",
+ "$id": "292",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "55"
+ "$ref": "59"
},
"isApiVersion": false,
"optional": false,
@@ -3790,12 +4276,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.contentType",
"methodParameterSegments": [
{
- "$id": "255",
+ "$id": "293",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
"type": {
- "$ref": "55"
+ "$ref": "59"
},
"location": "Header",
"isApiVersion": false,
@@ -3809,12 +4295,12 @@
]
},
{
- "$id": "256",
+ "$id": "294",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "151"
+ "$ref": "189"
},
"isApiVersion": false,
"contentTypes": [
@@ -3828,12 +4314,12 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.body",
"methodParameterSegments": [
{
- "$id": "257",
+ "$id": "295",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "151"
+ "$ref": "189"
},
"location": "Body",
"isApiVersion": false,
@@ -3871,10 +4357,10 @@
},
"parameters": [
{
- "$ref": "255"
+ "$ref": "293"
},
{
- "$ref": "257"
+ "$ref": "295"
}
],
"response": {},
@@ -3886,13 +4372,13 @@
],
"parameters": [
{
- "$id": "258",
+ "$id": "296",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "259",
+ "$id": "297",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -3903,7 +4389,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "260",
+ "$id": "298",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -3921,12 +4407,426 @@
"crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString",
"apiVersions": [],
"parent": {
- "$ref": "219"
+ "$ref": "257"
},
"isMultiServiceClient": false
}
],
"isMultiServiceClient": false
+ },
+ {
+ "$id": "299",
+ "kind": "client",
+ "name": "File",
+ "namespace": "Payload.MultiPart.FormData.File",
+ "methods": [
+ {
+ "$id": "300",
+ "kind": "basic",
+ "name": "uploadFileSpecificContentType",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "301",
+ "name": "uploadFileSpecificContentType",
+ "resourceName": "File",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "302",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "type": {
+ "$ref": "63"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "303",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "type": {
+ "$ref": "63"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "304",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "145"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "multipart/form-data"
+ ],
+ "defaultContentType": "multipart/form-data",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType.body",
+ "methodParameterSegments": [
+ {
+ "$id": "305",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "145"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 204
+ ],
+ "headers": [],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/multipart/form-data/file/specific-content-type",
+ "requestMediaTypes": [
+ "multipart/form-data"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType",
+ "decorators": [],
+ "namespace": "Payload.MultiPart.FormData.File"
+ },
+ "parameters": [
+ {
+ "$ref": "303"
+ },
+ {
+ "$ref": "305"
+ }
+ ],
+ "response": {},
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType"
+ },
+ {
+ "$id": "306",
+ "kind": "basic",
+ "name": "uploadFileRequiredFilename",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "307",
+ "name": "uploadFileRequiredFilename",
+ "resourceName": "File",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "308",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "type": {
+ "$ref": "67"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "309",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "type": {
+ "$ref": "67"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "310",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "157"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "multipart/form-data"
+ ],
+ "defaultContentType": "multipart/form-data",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename.body",
+ "methodParameterSegments": [
+ {
+ "$id": "311",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "157"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 204
+ ],
+ "headers": [],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/multipart/form-data/file/required-filename",
+ "requestMediaTypes": [
+ "multipart/form-data"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename",
+ "decorators": [],
+ "namespace": "Payload.MultiPart.FormData.File"
+ },
+ "parameters": [
+ {
+ "$ref": "309"
+ },
+ {
+ "$ref": "311"
+ }
+ ],
+ "response": {},
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename"
+ },
+ {
+ "$id": "312",
+ "kind": "basic",
+ "name": "uploadFileArray",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "313",
+ "name": "uploadFileArray",
+ "resourceName": "File",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "314",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "type": {
+ "$ref": "71"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "315",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "type": {
+ "$ref": "71"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "316",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "164"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "multipart/form-data"
+ ],
+ "defaultContentType": "multipart/form-data",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray.body",
+ "methodParameterSegments": [
+ {
+ "$id": "317",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "164"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 204
+ ],
+ "headers": [],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/multipart/form-data/file/file-array",
+ "requestMediaTypes": [
+ "multipart/form-data"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray",
+ "decorators": [],
+ "namespace": "Payload.MultiPart.FormData.File"
+ },
+ "parameters": [
+ {
+ "$ref": "315"
+ },
+ {
+ "$ref": "317"
+ }
+ ],
+ "response": {},
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray"
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "318",
+ "kind": "endpoint",
+ "name": "endpoint",
+ "serializedName": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "319",
+ "kind": "url",
+ "name": "endpoint",
+ "crossLanguageDefinitionId": "TypeSpec.url"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Client",
+ "isEndpoint": true,
+ "defaultValue": {
+ "type": {
+ "$id": "320",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "http://localhost:3000"
+ },
+ "serverUrlTemplate": "{endpoint}",
+ "skipUrlEncoding": false,
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.endpoint"
+ }
+ ],
+ "initializedBy": 0,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File",
+ "apiVersions": [],
+ "parent": {
+ "$ref": "199"
+ },
+ "isMultiServiceClient": false
}
],
"isMultiServiceClient": false
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/PayloadPageableContext.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/PayloadPageableContext.cs
index 16ab1269624..14ee36f4556 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/PayloadPageableContext.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/PayloadPageableContext.cs
@@ -10,6 +10,7 @@
namespace Payload.Pageable
{
[ModelReaderWriterBuildable(typeof(Pet))]
+ [ModelReaderWriterBuildable(typeof(XmlPet))]
public partial class PayloadPageableContext : ModelReaderWriterContext
{
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/XmlPet.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/XmlPet.Serialization.cs
new file mode 100644
index 00000000000..75060681b65
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/XmlPet.Serialization.cs
@@ -0,0 +1,16 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+
+namespace Payload.Pageable
+{
+ public partial class XmlPet
+ {
+ internal XmlPet() => throw null;
+
+ protected virtual XmlPet PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/XmlPet.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/XmlPet.cs
new file mode 100644
index 00000000000..c5d4938028d
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/Models/XmlPet.cs
@@ -0,0 +1,13 @@
+//
+
+#nullable disable
+
+namespace Payload.Pageable
+{
+ public partial class XmlPet
+ {
+ public string Id => throw null;
+
+ public string Name => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/PageableClient.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/PageableClient.cs
index 61121f24241..990fa78c378 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/PageableClient.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/PageableClient.cs
@@ -6,6 +6,7 @@
using System.ClientModel.Primitives;
using Payload.Pageable._PageSize;
using Payload.Pageable._ServerDrivenPagination;
+using Payload.Pageable._XmlPagination;
namespace Payload.Pageable
{
@@ -20,5 +21,7 @@ public partial class PageableClient
public virtual ServerDrivenPagination GetServerDrivenPaginationClient() => throw null;
public virtual PageSize GetPageSizeClient() => throw null;
+
+ public virtual XmlPagination GetXmlPaginationClient() => throw null;
}
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/PayloadPageableModelFactory.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/PayloadPageableModelFactory.cs
index a49e5ee7889..84bdf1a3305 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/PayloadPageableModelFactory.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/PayloadPageableModelFactory.cs
@@ -14,5 +14,7 @@ public static partial class PayloadPageableModelFactory
{
public static Pet Pet(string id = default, string name = default) => throw null;
+
+ public static XmlPet XmlPet(string id = default, string name = default) => throw null;
}
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/XmlPagination.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/XmlPagination.cs
new file mode 100644
index 00000000000..f5423d536cc
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/src/Generated/XmlPagination.cs
@@ -0,0 +1,34 @@
+//
+
+#nullable disable
+
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Threading;
+using Payload.Pageable;
+
+namespace Payload.Pageable._XmlPagination
+{
+ public partial class XmlPagination
+ {
+ protected XmlPagination() => throw null;
+
+ public ClientPipeline Pipeline => throw null;
+
+ public virtual CollectionResult GetWithContinuation(string marker, RequestOptions options) => throw null;
+
+ public virtual AsyncCollectionResult GetWithContinuationAsync(string marker, RequestOptions options) => throw null;
+
+ public virtual CollectionResult GetWithContinuation(string marker = default, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual AsyncCollectionResult GetWithContinuationAsync(string marker = default, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual CollectionResult GetWithNextLink(RequestOptions options) => throw null;
+
+ public virtual AsyncCollectionResult GetWithNextLinkAsync(RequestOptions options) => throw null;
+
+ public virtual CollectionResult GetWithNextLink(CancellationToken cancellationToken = default) => throw null;
+
+ public virtual AsyncCollectionResult GetWithNextLinkAsync(CancellationToken cancellationToken = default) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json
index ea31bd2832e..12b360f531d 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json
@@ -178,11 +178,75 @@
},
"value": "application/json",
"decorators": []
+ },
+ {
+ "$id": "23",
+ "kind": "constant",
+ "name": "listWithContinuationContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "24",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/xml",
+ "decorators": []
+ },
+ {
+ "$id": "25",
+ "kind": "constant",
+ "name": "ListWithContinuationResponseContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "26",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/xml",
+ "decorators": []
+ },
+ {
+ "$id": "27",
+ "kind": "constant",
+ "name": "listWithNextLinkContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "28",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/xml",
+ "decorators": []
+ },
+ {
+ "$id": "29",
+ "kind": "constant",
+ "name": "ListWithContinuationResponseContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "30",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/xml",
+ "decorators": []
}
],
"models": [
{
- "$id": "23",
+ "$id": "31",
"kind": "model",
"name": "LinkResponse",
"namespace": "Payload.Pageable.ServerDrivenPagination",
@@ -196,16 +260,16 @@
},
"properties": [
{
- "$id": "24",
+ "$id": "32",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$id": "25",
+ "$id": "33",
"kind": "array",
"name": "ArrayPet",
"valueType": {
- "$id": "26",
+ "$id": "34",
"kind": "model",
"name": "Pet",
"namespace": "Payload.Pageable",
@@ -219,12 +283,12 @@
},
"properties": [
{
- "$id": "27",
+ "$id": "35",
"kind": "property",
"name": "id",
"serializedName": "id",
"type": {
- "$id": "28",
+ "$id": "36",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -244,12 +308,12 @@
"isHttpMetadata": false
},
{
- "$id": "29",
+ "$id": "37",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "30",
+ "$id": "38",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -287,12 +351,12 @@
"isHttpMetadata": false
},
{
- "$id": "31",
+ "$id": "39",
"kind": "property",
"name": "next",
"serializedName": "next",
"type": {
- "$id": "32",
+ "$id": "40",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -314,10 +378,10 @@
]
},
{
- "$ref": "26"
+ "$ref": "34"
},
{
- "$id": "33",
+ "$id": "41",
"kind": "model",
"name": "LinkStringResponse",
"namespace": "Payload.Pageable.ServerDrivenPagination",
@@ -331,12 +395,12 @@
},
"properties": [
{
- "$id": "34",
+ "$id": "42",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -352,12 +416,12 @@
"isHttpMetadata": false
},
{
- "$id": "35",
+ "$id": "43",
"kind": "property",
"name": "next",
"serializedName": "next",
"type": {
- "$id": "36",
+ "$id": "44",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -379,7 +443,7 @@
]
},
{
- "$id": "37",
+ "$id": "45",
"kind": "model",
"name": "NestedLinkResponse",
"namespace": "Payload.Pageable.ServerDrivenPagination",
@@ -393,12 +457,12 @@
},
"properties": [
{
- "$id": "38",
+ "$id": "46",
"kind": "property",
"name": "nestedItems",
"serializedName": "nestedItems",
"type": {
- "$id": "39",
+ "$id": "47",
"kind": "model",
"name": "NestedLinkResponseNestedItems",
"namespace": "Payload.Pageable.ServerDrivenPagination",
@@ -412,12 +476,12 @@
},
"properties": [
{
- "$id": "40",
+ "$id": "48",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -448,12 +512,12 @@
"isHttpMetadata": false
},
{
- "$id": "41",
+ "$id": "49",
"kind": "property",
"name": "nestedNext",
"serializedName": "nestedNext",
"type": {
- "$id": "42",
+ "$id": "50",
"kind": "model",
"name": "NestedLinkResponseNestedNext",
"namespace": "Payload.Pageable.ServerDrivenPagination",
@@ -467,12 +531,12 @@
},
"properties": [
{
- "$id": "43",
+ "$id": "51",
"kind": "property",
"name": "next",
"serializedName": "next",
"type": {
- "$id": "44",
+ "$id": "52",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url",
@@ -509,13 +573,13 @@
]
},
{
- "$ref": "39"
+ "$ref": "47"
},
{
- "$ref": "42"
+ "$ref": "50"
},
{
- "$id": "45",
+ "$id": "53",
"kind": "model",
"name": "ListWithoutContinuationResponse",
"namespace": "Payload.Pageable.PageSize",
@@ -529,12 +593,12 @@
},
"properties": [
{
- "$id": "46",
+ "$id": "54",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -552,7 +616,7 @@
]
},
{
- "$id": "47",
+ "$id": "55",
"kind": "model",
"name": "ListWithPageSizeResponse",
"namespace": "Payload.Pageable.PageSize",
@@ -566,12 +630,12 @@
},
"properties": [
{
- "$id": "48",
+ "$id": "56",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -589,7 +653,290 @@
]
},
{
- "$id": "49",
+ "$id": "57",
+ "kind": "model",
+ "name": "XmlPetListResult",
+ "namespace": "Payload.Pageable",
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPetListResult",
+ "usage": "Output,Xml",
+ "doc": "The XML response for listing pets.",
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "PetListResult"
+ }
+ }
+ ],
+ "serializationOptions": {
+ "xml": {
+ "name": "PetListResult",
+ "attribute": false,
+ "unwrapped": false
+ }
+ },
+ "properties": [
+ {
+ "$id": "58",
+ "kind": "property",
+ "name": "pets",
+ "serializedName": "Pets",
+ "type": {
+ "$id": "59",
+ "kind": "array",
+ "name": "ArrayXmlPet",
+ "valueType": {
+ "$id": "60",
+ "kind": "model",
+ "name": "XmlPet",
+ "namespace": "Payload.Pageable",
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPet",
+ "usage": "Output,Xml",
+ "doc": "An XML pet item.",
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "Pet"
+ }
+ }
+ ],
+ "serializationOptions": {
+ "xml": {
+ "name": "Pet",
+ "attribute": false,
+ "unwrapped": false
+ }
+ },
+ "properties": [
+ {
+ "$id": "61",
+ "kind": "property",
+ "name": "id",
+ "serializedName": "Id",
+ "type": {
+ "$id": "62",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "Id"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPet.id",
+ "serializationOptions": {
+ "xml": {
+ "name": "Id",
+ "attribute": false,
+ "unwrapped": false
+ }
+ },
+ "isHttpMetadata": false
+ },
+ {
+ "$id": "63",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "Name",
+ "type": {
+ "$id": "64",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "Name"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPet.name",
+ "serializationOptions": {
+ "xml": {
+ "name": "Name",
+ "attribute": false,
+ "unwrapped": false
+ }
+ },
+ "isHttpMetadata": false
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "Pets"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPetListResult.pets",
+ "serializationOptions": {
+ "xml": {
+ "name": "Pets",
+ "attribute": false,
+ "unwrapped": false,
+ "itemsName": "Pet"
+ }
+ },
+ "isHttpMetadata": false
+ },
+ {
+ "$id": "65",
+ "kind": "property",
+ "name": "nextMarker",
+ "serializedName": "NextMarker",
+ "type": {
+ "$id": "66",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "NextMarker"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPetListResult.nextMarker",
+ "serializationOptions": {
+ "xml": {
+ "name": "NextMarker",
+ "attribute": false,
+ "unwrapped": false
+ }
+ },
+ "isHttpMetadata": false
+ }
+ ]
+ },
+ {
+ "$ref": "60"
+ },
+ {
+ "$id": "67",
+ "kind": "model",
+ "name": "XmlPetListResultWithNextLink",
+ "namespace": "Payload.Pageable",
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPetListResultWithNextLink",
+ "usage": "Output,Xml",
+ "doc": "The XML response for listing pets with next link.",
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "PetListResult"
+ }
+ }
+ ],
+ "serializationOptions": {
+ "xml": {
+ "name": "PetListResult",
+ "attribute": false,
+ "unwrapped": false
+ }
+ },
+ "properties": [
+ {
+ "$id": "68",
+ "kind": "property",
+ "name": "pets",
+ "serializedName": "Pets",
+ "type": {
+ "$ref": "59"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "Pets"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPetListResultWithNextLink.pets",
+ "serializationOptions": {
+ "xml": {
+ "name": "Pets",
+ "attribute": false,
+ "unwrapped": false,
+ "itemsName": "Pet"
+ }
+ },
+ "isHttpMetadata": false
+ },
+ {
+ "$id": "69",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "NextLink",
+ "type": {
+ "$id": "70",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [
+ {
+ "name": "TypeSpec.Xml.@name",
+ "arguments": {
+ "name": "NextLink"
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPetListResultWithNextLink.nextLink",
+ "serializationOptions": {
+ "xml": {
+ "name": "NextLink",
+ "attribute": false,
+ "unwrapped": false
+ }
+ },
+ "isHttpMetadata": false
+ }
+ ]
+ },
+ {
+ "$id": "71",
"kind": "model",
"name": "RequestQueryResponseBodyResponse",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
@@ -603,12 +950,12 @@
},
"properties": [
{
- "$id": "50",
+ "$id": "72",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -624,12 +971,12 @@
"isHttpMetadata": false
},
{
- "$id": "51",
+ "$id": "73",
"kind": "property",
"name": "nextToken",
"serializedName": "nextToken",
"type": {
- "$id": "52",
+ "$id": "74",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -651,7 +998,7 @@
]
},
{
- "$id": "53",
+ "$id": "75",
"kind": "model",
"name": "RequestHeaderResponseBodyResponse",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
@@ -665,12 +1012,12 @@
},
"properties": [
{
- "$id": "54",
+ "$id": "76",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -686,12 +1033,12 @@
"isHttpMetadata": false
},
{
- "$id": "55",
+ "$id": "77",
"kind": "property",
"name": "nextToken",
"serializedName": "nextToken",
"type": {
- "$id": "56",
+ "$id": "78",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -713,7 +1060,7 @@
]
},
{
- "$id": "57",
+ "$id": "79",
"kind": "model",
"name": "RequestQueryResponseHeaderResponse",
"namespace": "",
@@ -727,12 +1074,12 @@
},
"properties": [
{
- "$id": "58",
+ "$id": "80",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -750,7 +1097,7 @@
]
},
{
- "$id": "59",
+ "$id": "81",
"kind": "model",
"name": "RequestHeaderResponseHeaderResponse",
"namespace": "",
@@ -764,12 +1111,12 @@
},
"properties": [
{
- "$id": "60",
+ "$id": "82",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -787,7 +1134,7 @@
]
},
{
- "$id": "61",
+ "$id": "83",
"kind": "model",
"name": "RequestQueryNestedResponseBodyResponse",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
@@ -801,12 +1148,12 @@
},
"properties": [
{
- "$id": "62",
+ "$id": "84",
"kind": "property",
"name": "nestedItems",
"serializedName": "nestedItems",
"type": {
- "$id": "63",
+ "$id": "85",
"kind": "model",
"name": "RequestQueryNestedResponseBodyResponseNestedItems",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
@@ -820,12 +1167,12 @@
},
"properties": [
{
- "$id": "64",
+ "$id": "86",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -856,12 +1203,12 @@
"isHttpMetadata": false
},
{
- "$id": "65",
+ "$id": "87",
"kind": "property",
"name": "nestedNext",
"serializedName": "nestedNext",
"type": {
- "$id": "66",
+ "$id": "88",
"kind": "model",
"name": "RequestQueryNestedResponseBodyResponseNestedNext",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
@@ -875,12 +1222,12 @@
},
"properties": [
{
- "$id": "67",
+ "$id": "89",
"kind": "property",
"name": "nextToken",
"serializedName": "nextToken",
"type": {
- "$id": "68",
+ "$id": "90",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -917,13 +1264,13 @@
]
},
{
- "$ref": "63"
+ "$ref": "85"
},
{
- "$ref": "66"
+ "$ref": "88"
},
{
- "$id": "69",
+ "$id": "91",
"kind": "model",
"name": "RequestHeaderNestedResponseBodyResponse",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
@@ -937,12 +1284,12 @@
},
"properties": [
{
- "$id": "70",
+ "$id": "92",
"kind": "property",
"name": "nestedItems",
"serializedName": "nestedItems",
"type": {
- "$id": "71",
+ "$id": "93",
"kind": "model",
"name": "RequestHeaderNestedResponseBodyResponseNestedItems",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
@@ -956,12 +1303,12 @@
},
"properties": [
{
- "$id": "72",
+ "$id": "94",
"kind": "property",
"name": "pets",
"serializedName": "pets",
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"optional": false,
"readOnly": false,
@@ -992,12 +1339,12 @@
"isHttpMetadata": false
},
{
- "$id": "73",
+ "$id": "95",
"kind": "property",
"name": "nestedNext",
"serializedName": "nestedNext",
"type": {
- "$id": "74",
+ "$id": "96",
"kind": "model",
"name": "RequestHeaderNestedResponseBodyResponseNestedNext",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
@@ -1011,12 +1358,12 @@
},
"properties": [
{
- "$id": "75",
+ "$id": "97",
"kind": "property",
"name": "nextToken",
"serializedName": "nextToken",
"type": {
- "$id": "76",
+ "$id": "98",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1053,15 +1400,15 @@
]
},
{
- "$ref": "71"
+ "$ref": "93"
},
{
- "$ref": "74"
+ "$ref": "96"
}
],
"clients": [
{
- "$id": "77",
+ "$id": "99",
"kind": "client",
"name": "PageableClient",
"namespace": "Payload.Pageable",
@@ -1069,13 +1416,13 @@
"methods": [],
"parameters": [
{
- "$id": "78",
+ "$id": "100",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "79",
+ "$id": "101",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -1086,7 +1433,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "80",
+ "$id": "102",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -1105,25 +1452,25 @@
"apiVersions": [],
"children": [
{
- "$id": "81",
+ "$id": "103",
"kind": "client",
"name": "ServerDrivenPagination",
"namespace": "Payload.Pageable.ServerDrivenPagination",
"methods": [
{
- "$id": "82",
+ "$id": "104",
"kind": "paging",
"name": "link",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "83",
+ "$id": "105",
"name": "link",
"resourceName": "ServerDrivenPagination",
"accessibility": "public",
"parameters": [
{
- "$id": "84",
+ "$id": "106",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -1139,7 +1486,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.link.accept",
"methodParameterSegments": [
{
- "$id": "85",
+ "$id": "107",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -1164,7 +1511,7 @@
200
],
"bodyType": {
- "$ref": "23"
+ "$ref": "31"
},
"headers": [],
"isErrorResponse": false,
@@ -1185,12 +1532,12 @@
},
"parameters": [
{
- "$ref": "85"
+ "$ref": "107"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"pets"
@@ -1214,19 +1561,19 @@
}
},
{
- "$id": "86",
+ "$id": "108",
"kind": "paging",
"name": "linkString",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "87",
+ "$id": "109",
"name": "linkString",
"resourceName": "ServerDrivenPagination",
"accessibility": "public",
"parameters": [
{
- "$id": "88",
+ "$id": "110",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -1242,7 +1589,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.linkString.accept",
"methodParameterSegments": [
{
- "$id": "89",
+ "$id": "111",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -1267,7 +1614,7 @@
200
],
"bodyType": {
- "$ref": "33"
+ "$ref": "41"
},
"headers": [],
"isErrorResponse": false,
@@ -1288,12 +1635,12 @@
},
"parameters": [
{
- "$ref": "89"
+ "$ref": "111"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"pets"
@@ -1317,19 +1664,19 @@
}
},
{
- "$id": "90",
+ "$id": "112",
"kind": "paging",
"name": "nestedLink",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "91",
+ "$id": "113",
"name": "nestedLink",
"resourceName": "ServerDrivenPagination",
"accessibility": "public",
"parameters": [
{
- "$id": "92",
+ "$id": "114",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -1345,7 +1692,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.nestedLink.accept",
"methodParameterSegments": [
{
- "$id": "93",
+ "$id": "115",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -1370,7 +1717,7 @@
200
],
"bodyType": {
- "$ref": "37"
+ "$ref": "45"
},
"headers": [],
"isErrorResponse": false,
@@ -1391,12 +1738,12 @@
},
"parameters": [
{
- "$ref": "93"
+ "$ref": "115"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"nestedItems",
@@ -1425,13 +1772,13 @@
],
"parameters": [
{
- "$id": "94",
+ "$id": "116",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "95",
+ "$id": "117",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -1442,7 +1789,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "96",
+ "$id": "118",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -1460,34 +1807,34 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination",
"apiVersions": [],
"parent": {
- "$ref": "77"
+ "$ref": "99"
},
"children": [
{
- "$id": "97",
+ "$id": "119",
"kind": "client",
"name": "ContinuationToken",
"namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
"methods": [
{
- "$id": "98",
+ "$id": "120",
"kind": "paging",
"name": "requestQueryResponseBody",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "99",
+ "$id": "121",
"name": "requestQueryResponseBody",
"resourceName": "ContinuationToken",
"accessibility": "public",
"parameters": [
{
- "$id": "100",
+ "$id": "122",
"kind": "query",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "101",
+ "$id": "123",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1502,12 +1849,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "102",
+ "$id": "124",
"kind": "method",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "103",
+ "$id": "125",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1525,12 +1872,12 @@
]
},
{
- "$id": "104",
+ "$id": "126",
"kind": "header",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "105",
+ "$id": "127",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1545,12 +1892,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseBody.foo",
"methodParameterSegments": [
{
- "$id": "106",
+ "$id": "128",
"kind": "method",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "107",
+ "$id": "129",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1568,12 +1915,12 @@
]
},
{
- "$id": "108",
+ "$id": "130",
"kind": "query",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "109",
+ "$id": "131",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1588,12 +1935,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "110",
+ "$id": "132",
"kind": "method",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "111",
+ "$id": "133",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1611,7 +1958,7 @@
]
},
{
- "$id": "112",
+ "$id": "134",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -1627,7 +1974,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseBody.accept",
"methodParameterSegments": [
{
- "$id": "113",
+ "$id": "135",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -1652,7 +1999,7 @@
200
],
"bodyType": {
- "$ref": "49"
+ "$ref": "71"
},
"headers": [],
"isErrorResponse": false,
@@ -1673,21 +2020,21 @@
},
"parameters": [
{
- "$ref": "102"
+ "$ref": "124"
},
{
- "$ref": "106"
+ "$ref": "128"
},
{
- "$ref": "110"
+ "$ref": "132"
},
{
- "$ref": "113"
+ "$ref": "135"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"pets"
@@ -1703,7 +2050,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "100"
+ "$ref": "122"
},
"responseSegments": [
"nextToken"
@@ -1714,24 +2061,24 @@
}
},
{
- "$id": "114",
+ "$id": "136",
"kind": "paging",
"name": "requestHeaderResponseBody",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "115",
+ "$id": "137",
"name": "requestHeaderResponseBody",
"resourceName": "ContinuationToken",
"accessibility": "public",
"parameters": [
{
- "$id": "116",
+ "$id": "138",
"kind": "header",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "117",
+ "$id": "139",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1746,12 +2093,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseBody.token",
"methodParameterSegments": [
{
- "$id": "118",
+ "$id": "140",
"kind": "method",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "119",
+ "$id": "141",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1769,12 +2116,12 @@
]
},
{
- "$id": "120",
+ "$id": "142",
"kind": "header",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "121",
+ "$id": "143",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1789,12 +2136,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseBody.foo",
"methodParameterSegments": [
{
- "$id": "122",
+ "$id": "144",
"kind": "method",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "123",
+ "$id": "145",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1812,12 +2159,12 @@
]
},
{
- "$id": "124",
+ "$id": "146",
"kind": "query",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "125",
+ "$id": "147",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1832,12 +2179,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "126",
+ "$id": "148",
"kind": "method",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "127",
+ "$id": "149",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1855,7 +2202,7 @@
]
},
{
- "$id": "128",
+ "$id": "150",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -1871,7 +2218,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseBody.accept",
"methodParameterSegments": [
{
- "$id": "129",
+ "$id": "151",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -1896,7 +2243,7 @@
200
],
"bodyType": {
- "$ref": "53"
+ "$ref": "75"
},
"headers": [],
"isErrorResponse": false,
@@ -1917,21 +2264,21 @@
},
"parameters": [
{
- "$ref": "118"
+ "$ref": "140"
},
{
- "$ref": "122"
+ "$ref": "144"
},
{
- "$ref": "126"
+ "$ref": "148"
},
{
- "$ref": "129"
+ "$ref": "151"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"pets"
@@ -1947,7 +2294,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "116"
+ "$ref": "138"
},
"responseSegments": [
"nextToken"
@@ -1958,24 +2305,24 @@
}
},
{
- "$id": "130",
+ "$id": "152",
"kind": "paging",
"name": "requestQueryResponseHeader",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "131",
+ "$id": "153",
"name": "requestQueryResponseHeader",
"resourceName": "ContinuationToken",
"accessibility": "public",
"parameters": [
{
- "$id": "132",
+ "$id": "154",
"kind": "query",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "133",
+ "$id": "155",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1990,12 +2337,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "134",
+ "$id": "156",
"kind": "method",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "135",
+ "$id": "157",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2013,12 +2360,12 @@
]
},
{
- "$id": "136",
+ "$id": "158",
"kind": "header",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "137",
+ "$id": "159",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2033,12 +2380,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseHeader.foo",
"methodParameterSegments": [
{
- "$id": "138",
+ "$id": "160",
"kind": "method",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "139",
+ "$id": "161",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2056,12 +2403,12 @@
]
},
{
- "$id": "140",
+ "$id": "162",
"kind": "query",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "141",
+ "$id": "163",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2076,12 +2423,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "142",
+ "$id": "164",
"kind": "method",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "143",
+ "$id": "165",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2099,7 +2446,7 @@
]
},
{
- "$id": "144",
+ "$id": "166",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -2115,7 +2462,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseHeader.accept",
"methodParameterSegments": [
{
- "$id": "145",
+ "$id": "167",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -2140,14 +2487,14 @@
200
],
"bodyType": {
- "$ref": "57"
+ "$ref": "79"
},
"headers": [
{
"name": "nextToken",
"nameInResponse": "next-token",
"type": {
- "$id": "146",
+ "$id": "168",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2173,21 +2520,21 @@
},
"parameters": [
{
- "$ref": "134"
+ "$ref": "156"
},
{
- "$ref": "138"
+ "$ref": "160"
},
{
- "$ref": "142"
+ "$ref": "164"
},
{
- "$ref": "145"
+ "$ref": "167"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"pets"
@@ -2203,7 +2550,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "132"
+ "$ref": "154"
},
"responseSegments": [
"next-token"
@@ -2214,24 +2561,24 @@
}
},
{
- "$id": "147",
+ "$id": "169",
"kind": "paging",
"name": "requestHeaderResponseHeader",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "148",
+ "$id": "170",
"name": "requestHeaderResponseHeader",
"resourceName": "ContinuationToken",
"accessibility": "public",
"parameters": [
{
- "$id": "149",
+ "$id": "171",
"kind": "header",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "150",
+ "$id": "172",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2246,12 +2593,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseHeader.token",
"methodParameterSegments": [
{
- "$id": "151",
+ "$id": "173",
"kind": "method",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "152",
+ "$id": "174",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2269,12 +2616,12 @@
]
},
{
- "$id": "153",
+ "$id": "175",
"kind": "header",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "154",
+ "$id": "176",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2289,12 +2636,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseHeader.foo",
"methodParameterSegments": [
{
- "$id": "155",
+ "$id": "177",
"kind": "method",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "156",
+ "$id": "178",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2312,12 +2659,12 @@
]
},
{
- "$id": "157",
+ "$id": "179",
"kind": "query",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "158",
+ "$id": "180",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2332,12 +2679,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "159",
+ "$id": "181",
"kind": "method",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "160",
+ "$id": "182",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2355,7 +2702,7 @@
]
},
{
- "$id": "161",
+ "$id": "183",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -2371,7 +2718,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseHeader.accept",
"methodParameterSegments": [
{
- "$id": "162",
+ "$id": "184",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -2396,14 +2743,14 @@
200
],
"bodyType": {
- "$ref": "59"
+ "$ref": "81"
},
"headers": [
{
"name": "nextToken",
"nameInResponse": "next-token",
"type": {
- "$id": "163",
+ "$id": "185",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2429,21 +2776,21 @@
},
"parameters": [
{
- "$ref": "151"
+ "$ref": "173"
},
{
- "$ref": "155"
+ "$ref": "177"
},
{
- "$ref": "159"
+ "$ref": "181"
},
{
- "$ref": "162"
+ "$ref": "184"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"pets"
@@ -2459,7 +2806,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "149"
+ "$ref": "171"
},
"responseSegments": [
"next-token"
@@ -2470,24 +2817,24 @@
}
},
{
- "$id": "164",
+ "$id": "186",
"kind": "paging",
"name": "requestQueryNestedResponseBody",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "165",
+ "$id": "187",
"name": "requestQueryNestedResponseBody",
"resourceName": "ContinuationToken",
"accessibility": "public",
"parameters": [
{
- "$id": "166",
+ "$id": "188",
"kind": "query",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "167",
+ "$id": "189",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2502,12 +2849,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "168",
+ "$id": "190",
"kind": "method",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "169",
+ "$id": "191",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2525,12 +2872,12 @@
]
},
{
- "$id": "170",
+ "$id": "192",
"kind": "header",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "171",
+ "$id": "193",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2545,12 +2892,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryNestedResponseBody.foo",
"methodParameterSegments": [
{
- "$id": "172",
+ "$id": "194",
"kind": "method",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "173",
+ "$id": "195",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2568,12 +2915,12 @@
]
},
{
- "$id": "174",
+ "$id": "196",
"kind": "query",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "175",
+ "$id": "197",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2588,12 +2935,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "176",
+ "$id": "198",
"kind": "method",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "177",
+ "$id": "199",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2611,7 +2958,7 @@
]
},
{
- "$id": "178",
+ "$id": "200",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -2627,7 +2974,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryNestedResponseBody.accept",
"methodParameterSegments": [
{
- "$id": "179",
+ "$id": "201",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -2652,7 +2999,7 @@
200
],
"bodyType": {
- "$ref": "61"
+ "$ref": "83"
},
"headers": [],
"isErrorResponse": false,
@@ -2673,21 +3020,21 @@
},
"parameters": [
{
- "$ref": "168"
+ "$ref": "190"
},
{
- "$ref": "172"
+ "$ref": "194"
},
{
- "$ref": "176"
+ "$ref": "198"
},
{
- "$ref": "179"
+ "$ref": "201"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"nestedItems",
@@ -2705,7 +3052,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "166"
+ "$ref": "188"
},
"responseSegments": [
"nestedNext",
@@ -2717,24 +3064,24 @@
}
},
{
- "$id": "180",
+ "$id": "202",
"kind": "paging",
"name": "requestHeaderNestedResponseBody",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "181",
+ "$id": "203",
"name": "requestHeaderNestedResponseBody",
"resourceName": "ContinuationToken",
"accessibility": "public",
"parameters": [
{
- "$id": "182",
+ "$id": "204",
"kind": "header",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "183",
+ "$id": "205",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2749,12 +3096,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderNestedResponseBody.token",
"methodParameterSegments": [
{
- "$id": "184",
+ "$id": "206",
"kind": "method",
"name": "token",
"serializedName": "token",
"type": {
- "$id": "185",
+ "$id": "207",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2772,12 +3119,12 @@
]
},
{
- "$id": "186",
+ "$id": "208",
"kind": "header",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "187",
+ "$id": "209",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2792,12 +3139,12 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderNestedResponseBody.foo",
"methodParameterSegments": [
{
- "$id": "188",
+ "$id": "210",
"kind": "method",
"name": "foo",
"serializedName": "foo",
"type": {
- "$id": "189",
+ "$id": "211",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2815,12 +3162,12 @@
]
},
{
- "$id": "190",
+ "$id": "212",
"kind": "query",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "191",
+ "$id": "213",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2835,12 +3182,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "192",
+ "$id": "214",
"kind": "method",
"name": "bar",
"serializedName": "bar",
"type": {
- "$id": "193",
+ "$id": "215",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2858,7 +3205,7 @@
]
},
{
- "$id": "194",
+ "$id": "216",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -2874,7 +3221,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderNestedResponseBody.accept",
"methodParameterSegments": [
{
- "$id": "195",
+ "$id": "217",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -2899,7 +3246,7 @@
200
],
"bodyType": {
- "$ref": "69"
+ "$ref": "91"
},
"headers": [],
"isErrorResponse": false,
@@ -2920,21 +3267,21 @@
},
"parameters": [
{
- "$ref": "184"
+ "$ref": "206"
},
{
- "$ref": "188"
+ "$ref": "210"
},
{
- "$ref": "192"
+ "$ref": "214"
},
{
- "$ref": "195"
+ "$ref": "217"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"nestedItems",
@@ -2952,7 +3299,7 @@
],
"continuationToken": {
"parameter": {
- "$ref": "182"
+ "$ref": "204"
},
"responseSegments": [
"nestedNext",
@@ -2966,13 +3313,13 @@
],
"parameters": [
{
- "$id": "196",
+ "$id": "218",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "197",
+ "$id": "219",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -2983,7 +3330,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "198",
+ "$id": "220",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -3001,7 +3348,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken",
"apiVersions": [],
"parent": {
- "$ref": "81"
+ "$ref": "103"
},
"isMultiServiceClient": false
}
@@ -3009,25 +3356,25 @@
"isMultiServiceClient": false
},
{
- "$id": "199",
+ "$id": "221",
"kind": "client",
"name": "PageSize",
"namespace": "Payload.Pageable.PageSize",
"methods": [
{
- "$id": "200",
+ "$id": "222",
"kind": "paging",
"name": "listWithoutContinuation",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "201",
+ "$id": "223",
"name": "listWithoutContinuation",
"resourceName": "PageSize",
"accessibility": "public",
"parameters": [
{
- "$id": "202",
+ "$id": "224",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -3043,7 +3390,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.PageSize.listWithoutContinuation.accept",
"methodParameterSegments": [
{
- "$id": "203",
+ "$id": "225",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -3068,7 +3415,7 @@
200
],
"bodyType": {
- "$ref": "45"
+ "$ref": "53"
},
"headers": [],
"isErrorResponse": false,
@@ -3089,12 +3436,12 @@
},
"parameters": [
{
- "$ref": "203"
+ "$ref": "225"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"pets"
@@ -3112,24 +3459,24 @@
}
},
{
- "$id": "204",
+ "$id": "226",
"kind": "paging",
"name": "listWithPageSize",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "205",
+ "$id": "227",
"name": "listWithPageSize",
"resourceName": "PageSize",
"accessibility": "public",
"parameters": [
{
- "$id": "206",
+ "$id": "228",
"kind": "query",
"name": "pageSize",
"serializedName": "pageSize",
"type": {
- "$id": "207",
+ "$id": "229",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -3144,12 +3491,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "208",
+ "$id": "230",
"kind": "method",
"name": "pageSize",
"serializedName": "pageSize",
"type": {
- "$id": "209",
+ "$id": "231",
"kind": "int32",
"name": "int32",
"crossLanguageDefinitionId": "TypeSpec.int32",
@@ -3167,7 +3514,7 @@
]
},
{
- "$id": "210",
+ "$id": "232",
"kind": "header",
"name": "accept",
"serializedName": "Accept",
@@ -3183,7 +3530,7 @@
"crossLanguageDefinitionId": "Payload.Pageable.PageSize.listWithPageSize.accept",
"methodParameterSegments": [
{
- "$id": "211",
+ "$id": "233",
"kind": "method",
"name": "accept",
"serializedName": "Accept",
@@ -3208,7 +3555,7 @@
200
],
"bodyType": {
- "$ref": "47"
+ "$ref": "55"
},
"headers": [],
"isErrorResponse": false,
@@ -3229,15 +3576,15 @@
},
"parameters": [
{
- "$ref": "208"
+ "$ref": "230"
},
{
- "$ref": "211"
+ "$ref": "233"
}
],
"response": {
"type": {
- "$ref": "25"
+ "$ref": "33"
},
"resultSegments": [
"pets"
@@ -3259,13 +3606,13 @@
],
"parameters": [
{
- "$id": "212",
+ "$id": "234",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "213",
+ "$id": "235",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -3276,7 +3623,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "214",
+ "$id": "236",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -3294,7 +3641,326 @@
"crossLanguageDefinitionId": "Payload.Pageable.PageSize",
"apiVersions": [],
"parent": {
- "$ref": "77"
+ "$ref": "99"
+ },
+ "isMultiServiceClient": false
+ },
+ {
+ "$id": "237",
+ "kind": "client",
+ "name": "XmlPagination",
+ "namespace": "Payload.Pageable.XmlPagination",
+ "methods": [
+ {
+ "$id": "238",
+ "kind": "paging",
+ "name": "listWithContinuation",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "239",
+ "name": "listWithContinuation",
+ "resourceName": "XmlPagination",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "240",
+ "kind": "query",
+ "name": "marker",
+ "serializedName": "marker",
+ "type": {
+ "$id": "241",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "isApiVersion": false,
+ "explode": false,
+ "optional": true,
+ "scope": "Method",
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithContinuation.marker",
+ "readOnly": false,
+ "methodParameterSegments": [
+ {
+ "$id": "242",
+ "kind": "method",
+ "name": "marker",
+ "serializedName": "marker",
+ "type": {
+ "$id": "243",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "optional": true,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithContinuation.marker",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "244",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "23"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithContinuation.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "245",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "23"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithContinuation.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "57"
+ },
+ "headers": [
+ {
+ "name": "contentType",
+ "nameInResponse": "content-type",
+ "type": {
+ "$ref": "25"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/xml"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/payload/pageable/xml/list-with-continuation",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithContinuation",
+ "decorators": [],
+ "namespace": "Payload.Pageable.XmlPagination"
+ },
+ "parameters": [
+ {
+ "$ref": "242"
+ },
+ {
+ "$ref": "245"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "59"
+ },
+ "resultSegments": [
+ "Pets"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithContinuation",
+ "pagingMetadata": {
+ "itemPropertySegments": [
+ "Pets"
+ ],
+ "continuationToken": {
+ "parameter": {
+ "$ref": "240"
+ },
+ "responseSegments": [
+ "NextMarker"
+ ],
+ "responseLocation": "Body"
+ },
+ "pageSizeParameterSegments": []
+ }
+ },
+ {
+ "$id": "246",
+ "kind": "paging",
+ "name": "listWithNextLink",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "247",
+ "name": "listWithNextLink",
+ "resourceName": "XmlPagination",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "248",
+ "kind": "header",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "27"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": false,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithNextLink.accept",
+ "methodParameterSegments": [
+ {
+ "$id": "249",
+ "kind": "method",
+ "name": "accept",
+ "serializedName": "Accept",
+ "type": {
+ "$ref": "27"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithNextLink.accept",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "67"
+ },
+ "headers": [
+ {
+ "name": "contentType",
+ "nameInResponse": "content-type",
+ "type": {
+ "$ref": "29"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/xml"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/payload/pageable/xml/list-with-next-link",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithNextLink",
+ "decorators": [],
+ "namespace": "Payload.Pageable.XmlPagination"
+ },
+ "parameters": [
+ {
+ "$ref": "249"
+ }
+ ],
+ "response": {
+ "type": {
+ "$ref": "59"
+ },
+ "resultSegments": [
+ "Pets"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithNextLink",
+ "pagingMetadata": {
+ "itemPropertySegments": [
+ "Pets"
+ ],
+ "nextLink": {
+ "responseSegments": [
+ "NextLink"
+ ],
+ "responseLocation": "Body"
+ },
+ "pageSizeParameterSegments": []
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "250",
+ "kind": "endpoint",
+ "name": "endpoint",
+ "serializedName": "endpoint",
+ "doc": "Service host",
+ "type": {
+ "$id": "251",
+ "kind": "url",
+ "name": "endpoint",
+ "crossLanguageDefinitionId": "TypeSpec.url"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Client",
+ "isEndpoint": true,
+ "defaultValue": {
+ "type": {
+ "$id": "252",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "http://localhost:3000"
+ },
+ "serverUrlTemplate": "{endpoint}",
+ "skipUrlEncoding": false,
+ "readOnly": false,
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.endpoint"
+ }
+ ],
+ "initializedBy": 0,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination",
+ "apiVersions": [],
+ "parent": {
+ "$ref": "99"
},
"isMultiServiceClient": false
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json
index 14dfd018003..f377693334f 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json
@@ -173,7 +173,7 @@
},
"value": "2022-12-01-preview"
},
- "optional": false,
+ "optional": true,
"scope": "Method",
"crossLanguageDefinitionId": "Server.Versions.Versioned.withQueryApiVersion.apiVersion",
"readOnly": false,
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/ModelProperties.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/ModelProperties.cs
index 0fed89ca4f3..76f4b999169 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/ModelProperties.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/ModelProperties.cs
@@ -30,5 +30,13 @@ public partial class ModelProperties
public virtual ClientResult DictMethods(DictMethods body, CancellationToken cancellationToken = default) => throw null;
public virtual Task DictMethodsAsync(DictMethods body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual ClientResult WithList(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual Task WithListAsync(BinaryContent content, RequestOptions options = null) => throw null;
+
+ public virtual ClientResult WithList(ModelWithList body, CancellationToken cancellationToken = default) => throw null;
+
+ public virtual Task WithListAsync(ModelWithList body, CancellationToken cancellationToken = default) => throw null;
}
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/ModelWithList.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/ModelWithList.Serialization.cs
new file mode 100644
index 00000000000..308b855cc9b
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/ModelWithList.Serialization.cs
@@ -0,0 +1,36 @@
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace SpecialWords._ModelProperties
+{
+ public partial class ModelWithList : IJsonModel
+ {
+ internal ModelWithList() => throw null;
+
+ protected virtual ModelWithList PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
+
+ ModelWithList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ protected virtual ModelWithList JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null;
+
+ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
+
+ ModelWithList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
+
+ public static implicit operator BinaryContent(ModelWithList modelWithList) => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/ModelWithList.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/ModelWithList.cs
new file mode 100644
index 00000000000..2aa63c0a18b
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/ModelWithList.cs
@@ -0,0 +1,13 @@
+//
+
+#nullable disable
+
+namespace SpecialWords._ModelProperties
+{
+ public partial class ModelWithList
+ {
+ public ModelWithList(string list) => throw null;
+
+ public string List => throw null;
+ }
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/SpecialWordsContext.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/SpecialWordsContext.cs
index d04f06a1fa5..9469e8aa953 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/SpecialWordsContext.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/SpecialWordsContext.cs
@@ -33,6 +33,7 @@ namespace SpecialWords
[ModelReaderWriterBuildable(typeof(In))]
[ModelReaderWriterBuildable(typeof(Is))]
[ModelReaderWriterBuildable(typeof(Lambda))]
+ [ModelReaderWriterBuildable(typeof(ModelWithList))]
[ModelReaderWriterBuildable(typeof(Not))]
[ModelReaderWriterBuildable(typeof(Or))]
[ModelReaderWriterBuildable(typeof(Pass))]
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/SpecialWordsModelFactory.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/SpecialWordsModelFactory.cs
index 9b130273a61..43aca8db259 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/SpecialWordsModelFactory.cs
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/SpecialWordsModelFactory.cs
@@ -78,5 +78,7 @@ public static partial class SpecialWordsModelFactory
public static SameAsModel SameAsModel(string sameAsModelProperty = default) => throw null;
public static DictMethods DictMethods(string keys = default, string items = default, string values = default, string popitem = default, string clear = default, string update = default, string setdefault = default, string pop = default, string @get = default, string copy = default) => throw null;
+
+ public static ModelWithList ModelWithList(string list = default) => throw null;
}
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json
index 83d658dfa9c..e66645d5b9d 100644
--- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json
@@ -562,11 +562,27 @@
},
"value": "application/json",
"decorators": []
+ },
+ {
+ "$id": "71",
+ "kind": "constant",
+ "name": "withListContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "72",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
}
],
"models": [
{
- "$id": "71",
+ "$id": "73",
"kind": "model",
"name": "and",
"namespace": "SpecialWords.Models",
@@ -580,12 +596,12 @@
},
"properties": [
{
- "$id": "72",
+ "$id": "74",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "73",
+ "$id": "75",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -607,7 +623,7 @@
]
},
{
- "$id": "74",
+ "$id": "76",
"kind": "model",
"name": "as",
"namespace": "SpecialWords.Models",
@@ -621,12 +637,12 @@
},
"properties": [
{
- "$id": "75",
+ "$id": "77",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "76",
+ "$id": "78",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -648,7 +664,7 @@
]
},
{
- "$id": "77",
+ "$id": "79",
"kind": "model",
"name": "assert",
"namespace": "SpecialWords.Models",
@@ -662,12 +678,12 @@
},
"properties": [
{
- "$id": "78",
+ "$id": "80",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "79",
+ "$id": "81",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -689,7 +705,7 @@
]
},
{
- "$id": "80",
+ "$id": "82",
"kind": "model",
"name": "async",
"namespace": "SpecialWords.Models",
@@ -703,12 +719,12 @@
},
"properties": [
{
- "$id": "81",
+ "$id": "83",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "82",
+ "$id": "84",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -730,7 +746,7 @@
]
},
{
- "$id": "83",
+ "$id": "85",
"kind": "model",
"name": "await",
"namespace": "SpecialWords.Models",
@@ -744,12 +760,12 @@
},
"properties": [
{
- "$id": "84",
+ "$id": "86",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "85",
+ "$id": "87",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -771,7 +787,7 @@
]
},
{
- "$id": "86",
+ "$id": "88",
"kind": "model",
"name": "break",
"namespace": "SpecialWords.Models",
@@ -785,12 +801,12 @@
},
"properties": [
{
- "$id": "87",
+ "$id": "89",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "88",
+ "$id": "90",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -812,7 +828,7 @@
]
},
{
- "$id": "89",
+ "$id": "91",
"kind": "model",
"name": "class",
"namespace": "SpecialWords.Models",
@@ -826,12 +842,12 @@
},
"properties": [
{
- "$id": "90",
+ "$id": "92",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "91",
+ "$id": "93",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -853,7 +869,7 @@
]
},
{
- "$id": "92",
+ "$id": "94",
"kind": "model",
"name": "constructor",
"namespace": "SpecialWords.Models",
@@ -867,12 +883,12 @@
},
"properties": [
{
- "$id": "93",
+ "$id": "95",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "94",
+ "$id": "96",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -894,7 +910,7 @@
]
},
{
- "$id": "95",
+ "$id": "97",
"kind": "model",
"name": "continue",
"namespace": "SpecialWords.Models",
@@ -908,12 +924,12 @@
},
"properties": [
{
- "$id": "96",
+ "$id": "98",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "97",
+ "$id": "99",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -935,7 +951,7 @@
]
},
{
- "$id": "98",
+ "$id": "100",
"kind": "model",
"name": "def",
"namespace": "SpecialWords.Models",
@@ -949,12 +965,12 @@
},
"properties": [
{
- "$id": "99",
+ "$id": "101",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "100",
+ "$id": "102",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -976,7 +992,7 @@
]
},
{
- "$id": "101",
+ "$id": "103",
"kind": "model",
"name": "del",
"namespace": "SpecialWords.Models",
@@ -990,12 +1006,12 @@
},
"properties": [
{
- "$id": "102",
+ "$id": "104",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "103",
+ "$id": "105",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1017,7 +1033,7 @@
]
},
{
- "$id": "104",
+ "$id": "106",
"kind": "model",
"name": "elif",
"namespace": "SpecialWords.Models",
@@ -1031,12 +1047,12 @@
},
"properties": [
{
- "$id": "105",
+ "$id": "107",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "106",
+ "$id": "108",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1058,7 +1074,7 @@
]
},
{
- "$id": "107",
+ "$id": "109",
"kind": "model",
"name": "else",
"namespace": "SpecialWords.Models",
@@ -1072,12 +1088,12 @@
},
"properties": [
{
- "$id": "108",
+ "$id": "110",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "109",
+ "$id": "111",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1099,7 +1115,7 @@
]
},
{
- "$id": "110",
+ "$id": "112",
"kind": "model",
"name": "except",
"namespace": "SpecialWords.Models",
@@ -1113,12 +1129,12 @@
},
"properties": [
{
- "$id": "111",
+ "$id": "113",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "112",
+ "$id": "114",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1140,7 +1156,7 @@
]
},
{
- "$id": "113",
+ "$id": "115",
"kind": "model",
"name": "exec",
"namespace": "SpecialWords.Models",
@@ -1154,12 +1170,12 @@
},
"properties": [
{
- "$id": "114",
+ "$id": "116",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "115",
+ "$id": "117",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1181,7 +1197,7 @@
]
},
{
- "$id": "116",
+ "$id": "118",
"kind": "model",
"name": "finally",
"namespace": "SpecialWords.Models",
@@ -1195,12 +1211,12 @@
},
"properties": [
{
- "$id": "117",
+ "$id": "119",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "118",
+ "$id": "120",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1222,7 +1238,7 @@
]
},
{
- "$id": "119",
+ "$id": "121",
"kind": "model",
"name": "for",
"namespace": "SpecialWords.Models",
@@ -1236,12 +1252,12 @@
},
"properties": [
{
- "$id": "120",
+ "$id": "122",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "121",
+ "$id": "123",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1263,7 +1279,7 @@
]
},
{
- "$id": "122",
+ "$id": "124",
"kind": "model",
"name": "from",
"namespace": "SpecialWords.Models",
@@ -1277,12 +1293,12 @@
},
"properties": [
{
- "$id": "123",
+ "$id": "125",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "124",
+ "$id": "126",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1304,7 +1320,7 @@
]
},
{
- "$id": "125",
+ "$id": "127",
"kind": "model",
"name": "global",
"namespace": "SpecialWords.Models",
@@ -1318,12 +1334,12 @@
},
"properties": [
{
- "$id": "126",
+ "$id": "128",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "127",
+ "$id": "129",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1345,7 +1361,7 @@
]
},
{
- "$id": "128",
+ "$id": "130",
"kind": "model",
"name": "if",
"namespace": "SpecialWords.Models",
@@ -1359,12 +1375,12 @@
},
"properties": [
{
- "$id": "129",
+ "$id": "131",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "130",
+ "$id": "132",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1386,7 +1402,7 @@
]
},
{
- "$id": "131",
+ "$id": "133",
"kind": "model",
"name": "import",
"namespace": "SpecialWords.Models",
@@ -1400,12 +1416,12 @@
},
"properties": [
{
- "$id": "132",
+ "$id": "134",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "133",
+ "$id": "135",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1427,7 +1443,7 @@
]
},
{
- "$id": "134",
+ "$id": "136",
"kind": "model",
"name": "in",
"namespace": "SpecialWords.Models",
@@ -1441,12 +1457,12 @@
},
"properties": [
{
- "$id": "135",
+ "$id": "137",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "136",
+ "$id": "138",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1468,7 +1484,7 @@
]
},
{
- "$id": "137",
+ "$id": "139",
"kind": "model",
"name": "is",
"namespace": "SpecialWords.Models",
@@ -1482,12 +1498,12 @@
},
"properties": [
{
- "$id": "138",
+ "$id": "140",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "139",
+ "$id": "141",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1509,7 +1525,7 @@
]
},
{
- "$id": "140",
+ "$id": "142",
"kind": "model",
"name": "lambda",
"namespace": "SpecialWords.Models",
@@ -1523,12 +1539,12 @@
},
"properties": [
{
- "$id": "141",
+ "$id": "143",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "142",
+ "$id": "144",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1550,7 +1566,7 @@
]
},
{
- "$id": "143",
+ "$id": "145",
"kind": "model",
"name": "not",
"namespace": "SpecialWords.Models",
@@ -1564,12 +1580,12 @@
},
"properties": [
{
- "$id": "144",
+ "$id": "146",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "145",
+ "$id": "147",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1591,7 +1607,7 @@
]
},
{
- "$id": "146",
+ "$id": "148",
"kind": "model",
"name": "or",
"namespace": "SpecialWords.Models",
@@ -1605,12 +1621,12 @@
},
"properties": [
{
- "$id": "147",
+ "$id": "149",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "148",
+ "$id": "150",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1632,7 +1648,7 @@
]
},
{
- "$id": "149",
+ "$id": "151",
"kind": "model",
"name": "pass",
"namespace": "SpecialWords.Models",
@@ -1646,12 +1662,12 @@
},
"properties": [
{
- "$id": "150",
+ "$id": "152",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "151",
+ "$id": "153",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1673,7 +1689,7 @@
]
},
{
- "$id": "152",
+ "$id": "154",
"kind": "model",
"name": "raise",
"namespace": "SpecialWords.Models",
@@ -1687,12 +1703,12 @@
},
"properties": [
{
- "$id": "153",
+ "$id": "155",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "154",
+ "$id": "156",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1714,7 +1730,7 @@
]
},
{
- "$id": "155",
+ "$id": "157",
"kind": "model",
"name": "return",
"namespace": "SpecialWords.Models",
@@ -1728,12 +1744,12 @@
},
"properties": [
{
- "$id": "156",
+ "$id": "158",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "157",
+ "$id": "159",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1755,7 +1771,7 @@
]
},
{
- "$id": "158",
+ "$id": "160",
"kind": "model",
"name": "try",
"namespace": "SpecialWords.Models",
@@ -1769,12 +1785,12 @@
},
"properties": [
{
- "$id": "159",
+ "$id": "161",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "160",
+ "$id": "162",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1796,7 +1812,7 @@
]
},
{
- "$id": "161",
+ "$id": "163",
"kind": "model",
"name": "while",
"namespace": "SpecialWords.Models",
@@ -1810,12 +1826,12 @@
},
"properties": [
{
- "$id": "162",
+ "$id": "164",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "163",
+ "$id": "165",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1837,7 +1853,7 @@
]
},
{
- "$id": "164",
+ "$id": "166",
"kind": "model",
"name": "with",
"namespace": "SpecialWords.Models",
@@ -1851,12 +1867,12 @@
},
"properties": [
{
- "$id": "165",
+ "$id": "167",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "166",
+ "$id": "168",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1878,7 +1894,7 @@
]
},
{
- "$id": "167",
+ "$id": "169",
"kind": "model",
"name": "yield",
"namespace": "SpecialWords.Models",
@@ -1892,12 +1908,12 @@
},
"properties": [
{
- "$id": "168",
+ "$id": "170",
"kind": "property",
"name": "name",
"serializedName": "name",
"type": {
- "$id": "169",
+ "$id": "171",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1919,7 +1935,7 @@
]
},
{
- "$id": "170",
+ "$id": "172",
"kind": "model",
"name": "SameAsModel",
"namespace": "SpecialWords.ModelProperties",
@@ -1933,12 +1949,12 @@
},
"properties": [
{
- "$id": "171",
+ "$id": "173",
"kind": "property",
"name": "SameAsModel",
"serializedName": "SameAsModel",
"type": {
- "$id": "172",
+ "$id": "174",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1960,7 +1976,7 @@
]
},
{
- "$id": "173",
+ "$id": "175",
"kind": "model",
"name": "DictMethods",
"namespace": "SpecialWords.ModelProperties",
@@ -1974,12 +1990,12 @@
},
"properties": [
{
- "$id": "174",
+ "$id": "176",
"kind": "property",
"name": "keys",
"serializedName": "keys",
"type": {
- "$id": "175",
+ "$id": "177",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -1999,12 +2015,12 @@
"isHttpMetadata": false
},
{
- "$id": "176",
+ "$id": "178",
"kind": "property",
"name": "items",
"serializedName": "items",
"type": {
- "$id": "177",
+ "$id": "179",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2024,12 +2040,12 @@
"isHttpMetadata": false
},
{
- "$id": "178",
+ "$id": "180",
"kind": "property",
"name": "values",
"serializedName": "values",
"type": {
- "$id": "179",
+ "$id": "181",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2049,12 +2065,12 @@
"isHttpMetadata": false
},
{
- "$id": "180",
+ "$id": "182",
"kind": "property",
"name": "popitem",
"serializedName": "popitem",
"type": {
- "$id": "181",
+ "$id": "183",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2074,12 +2090,12 @@
"isHttpMetadata": false
},
{
- "$id": "182",
+ "$id": "184",
"kind": "property",
"name": "clear",
"serializedName": "clear",
"type": {
- "$id": "183",
+ "$id": "185",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2099,12 +2115,12 @@
"isHttpMetadata": false
},
{
- "$id": "184",
+ "$id": "186",
"kind": "property",
"name": "update",
"serializedName": "update",
"type": {
- "$id": "185",
+ "$id": "187",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2124,12 +2140,12 @@
"isHttpMetadata": false
},
{
- "$id": "186",
+ "$id": "188",
"kind": "property",
"name": "setdefault",
"serializedName": "setdefault",
"type": {
- "$id": "187",
+ "$id": "189",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2149,12 +2165,12 @@
"isHttpMetadata": false
},
{
- "$id": "188",
+ "$id": "190",
"kind": "property",
"name": "pop",
"serializedName": "pop",
"type": {
- "$id": "189",
+ "$id": "191",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2174,12 +2190,12 @@
"isHttpMetadata": false
},
{
- "$id": "190",
+ "$id": "192",
"kind": "property",
"name": "get",
"serializedName": "get",
"type": {
- "$id": "191",
+ "$id": "193",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2199,12 +2215,12 @@
"isHttpMetadata": false
},
{
- "$id": "192",
+ "$id": "194",
"kind": "property",
"name": "copy",
"serializedName": "copy",
"type": {
- "$id": "193",
+ "$id": "195",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -2224,25 +2240,66 @@
"isHttpMetadata": false
}
]
+ },
+ {
+ "$id": "196",
+ "kind": "model",
+ "name": "ModelWithList",
+ "namespace": "SpecialWords.ModelProperties",
+ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.ModelWithList",
+ "usage": "Input,Json",
+ "decorators": [],
+ "serializationOptions": {
+ "json": {
+ "name": "ModelWithList"
+ }
+ },
+ "properties": [
+ {
+ "$id": "197",
+ "kind": "property",
+ "name": "list",
+ "serializedName": "list",
+ "type": {
+ "$id": "198",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.ModelWithList.list",
+ "serializationOptions": {
+ "json": {
+ "name": "list"
+ }
+ },
+ "isHttpMetadata": false
+ }
+ ]
}
],
"clients": [
{
- "$id": "194",
+ "$id": "199",
"kind": "client",
"name": "SpecialWordsClient",
"namespace": "SpecialWords",
- "doc": "Scenarios to verify that reserved words can be used in service and generators will handle it appropriately.\n\nCurrent list of special words\n```txt\nand\nas\nassert\nasync\nawait\nbreak\nclass\nconstructor\ncontinue\ndef\ndel\nelif\nelse\nexcept\nexec\nfinally\nfor\nfrom\nglobal\nif\nimport\nin\nis\nlambda\nnot\nor\npass\nraise\nreturn\ntry\nwhile\nwith\nyield\n```",
+ "doc": "Scenarios to verify that reserved words can be used in service and generators will handle it appropriately.\n\nCurrent list of special words\n```txt\nand\nas\nassert\nasync\nawait\nbreak\nclass\nconstructor\ncontinue\ndef\ndel\nelif\nelse\nexcept\nexec\nfinally\nfor\nfrom\nglobal\nif\nimport\nin\nis\nlambda\nlist\nnot\nor\npass\nraise\nreturn\ntry\nwhile\nwith\nyield\n```",
"methods": [],
"parameters": [
{
- "$id": "195",
+ "$id": "200",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "196",
+ "$id": "201",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -2253,7 +2310,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "197",
+ "$id": "202",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -2272,26 +2329,26 @@
"apiVersions": [],
"children": [
{
- "$id": "198",
+ "$id": "203",
"kind": "client",
"name": "Models",
"namespace": "SpecialWords.Models",
"doc": "Verify model names",
"methods": [
{
- "$id": "199",
+ "$id": "204",
"kind": "basic",
"name": "withAnd",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "200",
+ "$id": "205",
"name": "withAnd",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "201",
+ "$id": "206",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2308,7 +2365,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAnd.contentType",
"methodParameterSegments": [
{
- "$id": "202",
+ "$id": "207",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2328,12 +2385,12 @@
]
},
{
- "$id": "203",
+ "$id": "208",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "71"
+ "$ref": "73"
},
"isApiVersion": false,
"contentTypes": [
@@ -2347,12 +2404,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAnd.body",
"methodParameterSegments": [
{
- "$id": "204",
+ "$id": "209",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "71"
+ "$ref": "73"
},
"location": "Body",
"isApiVersion": false,
@@ -2390,10 +2447,10 @@
},
"parameters": [
{
- "$ref": "204"
+ "$ref": "209"
},
{
- "$ref": "202"
+ "$ref": "207"
}
],
"response": {},
@@ -2403,19 +2460,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAnd"
},
{
- "$id": "205",
+ "$id": "210",
"kind": "basic",
"name": "withAs",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "206",
+ "$id": "211",
"name": "withAs",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "207",
+ "$id": "212",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2432,7 +2489,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAs.contentType",
"methodParameterSegments": [
{
- "$id": "208",
+ "$id": "213",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2452,12 +2509,12 @@
]
},
{
- "$id": "209",
+ "$id": "214",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "74"
+ "$ref": "76"
},
"isApiVersion": false,
"contentTypes": [
@@ -2471,12 +2528,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAs.body",
"methodParameterSegments": [
{
- "$id": "210",
+ "$id": "215",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "74"
+ "$ref": "76"
},
"location": "Body",
"isApiVersion": false,
@@ -2514,10 +2571,10 @@
},
"parameters": [
{
- "$ref": "210"
+ "$ref": "215"
},
{
- "$ref": "208"
+ "$ref": "213"
}
],
"response": {},
@@ -2527,19 +2584,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAs"
},
{
- "$id": "211",
+ "$id": "216",
"kind": "basic",
"name": "withAssert",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "212",
+ "$id": "217",
"name": "withAssert",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "213",
+ "$id": "218",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2556,7 +2613,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAssert.contentType",
"methodParameterSegments": [
{
- "$id": "214",
+ "$id": "219",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2576,12 +2633,12 @@
]
},
{
- "$id": "215",
+ "$id": "220",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "77"
+ "$ref": "79"
},
"isApiVersion": false,
"contentTypes": [
@@ -2595,12 +2652,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAssert.body",
"methodParameterSegments": [
{
- "$id": "216",
+ "$id": "221",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "77"
+ "$ref": "79"
},
"location": "Body",
"isApiVersion": false,
@@ -2638,10 +2695,10 @@
},
"parameters": [
{
- "$ref": "216"
+ "$ref": "221"
},
{
- "$ref": "214"
+ "$ref": "219"
}
],
"response": {},
@@ -2651,19 +2708,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAssert"
},
{
- "$id": "217",
+ "$id": "222",
"kind": "basic",
"name": "withAsync",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "218",
+ "$id": "223",
"name": "withAsync",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "219",
+ "$id": "224",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2680,7 +2737,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAsync.contentType",
"methodParameterSegments": [
{
- "$id": "220",
+ "$id": "225",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2700,12 +2757,12 @@
]
},
{
- "$id": "221",
+ "$id": "226",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "80"
+ "$ref": "82"
},
"isApiVersion": false,
"contentTypes": [
@@ -2719,12 +2776,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAsync.body",
"methodParameterSegments": [
{
- "$id": "222",
+ "$id": "227",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "80"
+ "$ref": "82"
},
"location": "Body",
"isApiVersion": false,
@@ -2762,10 +2819,10 @@
},
"parameters": [
{
- "$ref": "222"
+ "$ref": "227"
},
{
- "$ref": "220"
+ "$ref": "225"
}
],
"response": {},
@@ -2775,19 +2832,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAsync"
},
{
- "$id": "223",
+ "$id": "228",
"kind": "basic",
"name": "withAwait",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "224",
+ "$id": "229",
"name": "withAwait",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "225",
+ "$id": "230",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2804,7 +2861,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAwait.contentType",
"methodParameterSegments": [
{
- "$id": "226",
+ "$id": "231",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2824,12 +2881,12 @@
]
},
{
- "$id": "227",
+ "$id": "232",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "83"
+ "$ref": "85"
},
"isApiVersion": false,
"contentTypes": [
@@ -2843,12 +2900,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAwait.body",
"methodParameterSegments": [
{
- "$id": "228",
+ "$id": "233",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "83"
+ "$ref": "85"
},
"location": "Body",
"isApiVersion": false,
@@ -2886,10 +2943,10 @@
},
"parameters": [
{
- "$ref": "228"
+ "$ref": "233"
},
{
- "$ref": "226"
+ "$ref": "231"
}
],
"response": {},
@@ -2899,19 +2956,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withAwait"
},
{
- "$id": "229",
+ "$id": "234",
"kind": "basic",
"name": "withBreak",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "230",
+ "$id": "235",
"name": "withBreak",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "231",
+ "$id": "236",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2928,7 +2985,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withBreak.contentType",
"methodParameterSegments": [
{
- "$id": "232",
+ "$id": "237",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -2948,12 +3005,12 @@
]
},
{
- "$id": "233",
+ "$id": "238",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "86"
+ "$ref": "88"
},
"isApiVersion": false,
"contentTypes": [
@@ -2967,12 +3024,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withBreak.body",
"methodParameterSegments": [
{
- "$id": "234",
+ "$id": "239",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "86"
+ "$ref": "88"
},
"location": "Body",
"isApiVersion": false,
@@ -3010,10 +3067,10 @@
},
"parameters": [
{
- "$ref": "234"
+ "$ref": "239"
},
{
- "$ref": "232"
+ "$ref": "237"
}
],
"response": {},
@@ -3023,19 +3080,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withBreak"
},
{
- "$id": "235",
+ "$id": "240",
"kind": "basic",
"name": "withClass",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "236",
+ "$id": "241",
"name": "withClass",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "237",
+ "$id": "242",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3052,7 +3109,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withClass.contentType",
"methodParameterSegments": [
{
- "$id": "238",
+ "$id": "243",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3072,12 +3129,12 @@
]
},
{
- "$id": "239",
+ "$id": "244",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "89"
+ "$ref": "91"
},
"isApiVersion": false,
"contentTypes": [
@@ -3091,12 +3148,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withClass.body",
"methodParameterSegments": [
{
- "$id": "240",
+ "$id": "245",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "89"
+ "$ref": "91"
},
"location": "Body",
"isApiVersion": false,
@@ -3134,10 +3191,10 @@
},
"parameters": [
{
- "$ref": "240"
+ "$ref": "245"
},
{
- "$ref": "238"
+ "$ref": "243"
}
],
"response": {},
@@ -3147,19 +3204,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withClass"
},
{
- "$id": "241",
+ "$id": "246",
"kind": "basic",
"name": "withConstructor",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "242",
+ "$id": "247",
"name": "withConstructor",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "243",
+ "$id": "248",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3176,7 +3233,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withConstructor.contentType",
"methodParameterSegments": [
{
- "$id": "244",
+ "$id": "249",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3196,12 +3253,12 @@
]
},
{
- "$id": "245",
+ "$id": "250",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "92"
+ "$ref": "94"
},
"isApiVersion": false,
"contentTypes": [
@@ -3215,12 +3272,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withConstructor.body",
"methodParameterSegments": [
{
- "$id": "246",
+ "$id": "251",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "92"
+ "$ref": "94"
},
"location": "Body",
"isApiVersion": false,
@@ -3258,10 +3315,10 @@
},
"parameters": [
{
- "$ref": "246"
+ "$ref": "251"
},
{
- "$ref": "244"
+ "$ref": "249"
}
],
"response": {},
@@ -3271,19 +3328,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withConstructor"
},
{
- "$id": "247",
+ "$id": "252",
"kind": "basic",
"name": "withContinue",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "248",
+ "$id": "253",
"name": "withContinue",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "249",
+ "$id": "254",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3300,7 +3357,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withContinue.contentType",
"methodParameterSegments": [
{
- "$id": "250",
+ "$id": "255",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3320,12 +3377,12 @@
]
},
{
- "$id": "251",
+ "$id": "256",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "95"
+ "$ref": "97"
},
"isApiVersion": false,
"contentTypes": [
@@ -3339,12 +3396,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withContinue.body",
"methodParameterSegments": [
{
- "$id": "252",
+ "$id": "257",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "95"
+ "$ref": "97"
},
"location": "Body",
"isApiVersion": false,
@@ -3382,10 +3439,10 @@
},
"parameters": [
{
- "$ref": "252"
+ "$ref": "257"
},
{
- "$ref": "250"
+ "$ref": "255"
}
],
"response": {},
@@ -3395,19 +3452,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withContinue"
},
{
- "$id": "253",
+ "$id": "258",
"kind": "basic",
"name": "withDef",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "254",
+ "$id": "259",
"name": "withDef",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "255",
+ "$id": "260",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3424,7 +3481,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withDef.contentType",
"methodParameterSegments": [
{
- "$id": "256",
+ "$id": "261",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3444,12 +3501,12 @@
]
},
{
- "$id": "257",
+ "$id": "262",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "98"
+ "$ref": "100"
},
"isApiVersion": false,
"contentTypes": [
@@ -3463,12 +3520,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withDef.body",
"methodParameterSegments": [
{
- "$id": "258",
+ "$id": "263",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "98"
+ "$ref": "100"
},
"location": "Body",
"isApiVersion": false,
@@ -3506,10 +3563,10 @@
},
"parameters": [
{
- "$ref": "258"
+ "$ref": "263"
},
{
- "$ref": "256"
+ "$ref": "261"
}
],
"response": {},
@@ -3519,19 +3576,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withDef"
},
{
- "$id": "259",
+ "$id": "264",
"kind": "basic",
"name": "withDel",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "260",
+ "$id": "265",
"name": "withDel",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "261",
+ "$id": "266",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3548,7 +3605,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withDel.contentType",
"methodParameterSegments": [
{
- "$id": "262",
+ "$id": "267",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3568,12 +3625,12 @@
]
},
{
- "$id": "263",
+ "$id": "268",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "101"
+ "$ref": "103"
},
"isApiVersion": false,
"contentTypes": [
@@ -3587,12 +3644,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withDel.body",
"methodParameterSegments": [
{
- "$id": "264",
+ "$id": "269",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "101"
+ "$ref": "103"
},
"location": "Body",
"isApiVersion": false,
@@ -3630,10 +3687,10 @@
},
"parameters": [
{
- "$ref": "264"
+ "$ref": "269"
},
{
- "$ref": "262"
+ "$ref": "267"
}
],
"response": {},
@@ -3643,19 +3700,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withDel"
},
{
- "$id": "265",
+ "$id": "270",
"kind": "basic",
"name": "withElif",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "266",
+ "$id": "271",
"name": "withElif",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "267",
+ "$id": "272",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3672,7 +3729,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withElif.contentType",
"methodParameterSegments": [
{
- "$id": "268",
+ "$id": "273",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3692,12 +3749,12 @@
]
},
{
- "$id": "269",
+ "$id": "274",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "104"
+ "$ref": "106"
},
"isApiVersion": false,
"contentTypes": [
@@ -3711,12 +3768,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withElif.body",
"methodParameterSegments": [
{
- "$id": "270",
+ "$id": "275",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "104"
+ "$ref": "106"
},
"location": "Body",
"isApiVersion": false,
@@ -3754,10 +3811,10 @@
},
"parameters": [
{
- "$ref": "270"
+ "$ref": "275"
},
{
- "$ref": "268"
+ "$ref": "273"
}
],
"response": {},
@@ -3767,19 +3824,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withElif"
},
{
- "$id": "271",
+ "$id": "276",
"kind": "basic",
"name": "withElse",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "272",
+ "$id": "277",
"name": "withElse",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "273",
+ "$id": "278",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3796,7 +3853,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withElse.contentType",
"methodParameterSegments": [
{
- "$id": "274",
+ "$id": "279",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3816,12 +3873,12 @@
]
},
{
- "$id": "275",
+ "$id": "280",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "107"
+ "$ref": "109"
},
"isApiVersion": false,
"contentTypes": [
@@ -3835,12 +3892,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withElse.body",
"methodParameterSegments": [
{
- "$id": "276",
+ "$id": "281",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "107"
+ "$ref": "109"
},
"location": "Body",
"isApiVersion": false,
@@ -3878,10 +3935,10 @@
},
"parameters": [
{
- "$ref": "276"
+ "$ref": "281"
},
{
- "$ref": "274"
+ "$ref": "279"
}
],
"response": {},
@@ -3891,19 +3948,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withElse"
},
{
- "$id": "277",
+ "$id": "282",
"kind": "basic",
"name": "withExcept",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "278",
+ "$id": "283",
"name": "withExcept",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "279",
+ "$id": "284",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3920,7 +3977,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withExcept.contentType",
"methodParameterSegments": [
{
- "$id": "280",
+ "$id": "285",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -3940,12 +3997,12 @@
]
},
{
- "$id": "281",
+ "$id": "286",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "110"
+ "$ref": "112"
},
"isApiVersion": false,
"contentTypes": [
@@ -3959,12 +4016,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withExcept.body",
"methodParameterSegments": [
{
- "$id": "282",
+ "$id": "287",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "110"
+ "$ref": "112"
},
"location": "Body",
"isApiVersion": false,
@@ -4002,10 +4059,10 @@
},
"parameters": [
{
- "$ref": "282"
+ "$ref": "287"
},
{
- "$ref": "280"
+ "$ref": "285"
}
],
"response": {},
@@ -4015,19 +4072,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withExcept"
},
{
- "$id": "283",
+ "$id": "288",
"kind": "basic",
"name": "withExec",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "284",
+ "$id": "289",
"name": "withExec",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "285",
+ "$id": "290",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4044,7 +4101,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withExec.contentType",
"methodParameterSegments": [
{
- "$id": "286",
+ "$id": "291",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4064,12 +4121,12 @@
]
},
{
- "$id": "287",
+ "$id": "292",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "113"
+ "$ref": "115"
},
"isApiVersion": false,
"contentTypes": [
@@ -4083,12 +4140,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withExec.body",
"methodParameterSegments": [
{
- "$id": "288",
+ "$id": "293",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "113"
+ "$ref": "115"
},
"location": "Body",
"isApiVersion": false,
@@ -4126,10 +4183,10 @@
},
"parameters": [
{
- "$ref": "288"
+ "$ref": "293"
},
{
- "$ref": "286"
+ "$ref": "291"
}
],
"response": {},
@@ -4139,19 +4196,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withExec"
},
{
- "$id": "289",
+ "$id": "294",
"kind": "basic",
"name": "withFinally",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "290",
+ "$id": "295",
"name": "withFinally",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "291",
+ "$id": "296",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4168,7 +4225,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFinally.contentType",
"methodParameterSegments": [
{
- "$id": "292",
+ "$id": "297",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4188,12 +4245,12 @@
]
},
{
- "$id": "293",
+ "$id": "298",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "116"
+ "$ref": "118"
},
"isApiVersion": false,
"contentTypes": [
@@ -4207,12 +4264,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFinally.body",
"methodParameterSegments": [
{
- "$id": "294",
+ "$id": "299",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "116"
+ "$ref": "118"
},
"location": "Body",
"isApiVersion": false,
@@ -4250,10 +4307,10 @@
},
"parameters": [
{
- "$ref": "294"
+ "$ref": "299"
},
{
- "$ref": "292"
+ "$ref": "297"
}
],
"response": {},
@@ -4263,19 +4320,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFinally"
},
{
- "$id": "295",
+ "$id": "300",
"kind": "basic",
"name": "withFor",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "296",
+ "$id": "301",
"name": "withFor",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "297",
+ "$id": "302",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4292,7 +4349,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFor.contentType",
"methodParameterSegments": [
{
- "$id": "298",
+ "$id": "303",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4312,12 +4369,12 @@
]
},
{
- "$id": "299",
+ "$id": "304",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "119"
+ "$ref": "121"
},
"isApiVersion": false,
"contentTypes": [
@@ -4331,12 +4388,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFor.body",
"methodParameterSegments": [
{
- "$id": "300",
+ "$id": "305",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "119"
+ "$ref": "121"
},
"location": "Body",
"isApiVersion": false,
@@ -4374,10 +4431,10 @@
},
"parameters": [
{
- "$ref": "300"
+ "$ref": "305"
},
{
- "$ref": "298"
+ "$ref": "303"
}
],
"response": {},
@@ -4387,19 +4444,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFor"
},
{
- "$id": "301",
+ "$id": "306",
"kind": "basic",
"name": "withFrom",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "302",
+ "$id": "307",
"name": "withFrom",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "303",
+ "$id": "308",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4416,7 +4473,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFrom.contentType",
"methodParameterSegments": [
{
- "$id": "304",
+ "$id": "309",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4436,12 +4493,12 @@
]
},
{
- "$id": "305",
+ "$id": "310",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "122"
+ "$ref": "124"
},
"isApiVersion": false,
"contentTypes": [
@@ -4455,12 +4512,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFrom.body",
"methodParameterSegments": [
{
- "$id": "306",
+ "$id": "311",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "122"
+ "$ref": "124"
},
"location": "Body",
"isApiVersion": false,
@@ -4498,10 +4555,10 @@
},
"parameters": [
{
- "$ref": "306"
+ "$ref": "311"
},
{
- "$ref": "304"
+ "$ref": "309"
}
],
"response": {},
@@ -4511,19 +4568,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withFrom"
},
{
- "$id": "307",
+ "$id": "312",
"kind": "basic",
"name": "withGlobal",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "308",
+ "$id": "313",
"name": "withGlobal",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "309",
+ "$id": "314",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4540,7 +4597,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withGlobal.contentType",
"methodParameterSegments": [
{
- "$id": "310",
+ "$id": "315",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4560,12 +4617,12 @@
]
},
{
- "$id": "311",
+ "$id": "316",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "125"
+ "$ref": "127"
},
"isApiVersion": false,
"contentTypes": [
@@ -4579,12 +4636,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withGlobal.body",
"methodParameterSegments": [
{
- "$id": "312",
+ "$id": "317",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "125"
+ "$ref": "127"
},
"location": "Body",
"isApiVersion": false,
@@ -4622,10 +4679,10 @@
},
"parameters": [
{
- "$ref": "312"
+ "$ref": "317"
},
{
- "$ref": "310"
+ "$ref": "315"
}
],
"response": {},
@@ -4635,19 +4692,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withGlobal"
},
{
- "$id": "313",
+ "$id": "318",
"kind": "basic",
"name": "withIf",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "314",
+ "$id": "319",
"name": "withIf",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "315",
+ "$id": "320",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4664,7 +4721,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIf.contentType",
"methodParameterSegments": [
{
- "$id": "316",
+ "$id": "321",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4684,12 +4741,12 @@
]
},
{
- "$id": "317",
+ "$id": "322",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "128"
+ "$ref": "130"
},
"isApiVersion": false,
"contentTypes": [
@@ -4703,12 +4760,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIf.body",
"methodParameterSegments": [
{
- "$id": "318",
+ "$id": "323",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "128"
+ "$ref": "130"
},
"location": "Body",
"isApiVersion": false,
@@ -4746,10 +4803,10 @@
},
"parameters": [
{
- "$ref": "318"
+ "$ref": "323"
},
{
- "$ref": "316"
+ "$ref": "321"
}
],
"response": {},
@@ -4759,19 +4816,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIf"
},
{
- "$id": "319",
+ "$id": "324",
"kind": "basic",
"name": "withImport",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "320",
+ "$id": "325",
"name": "withImport",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "321",
+ "$id": "326",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4788,7 +4845,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withImport.contentType",
"methodParameterSegments": [
{
- "$id": "322",
+ "$id": "327",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4808,12 +4865,12 @@
]
},
{
- "$id": "323",
+ "$id": "328",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "131"
+ "$ref": "133"
},
"isApiVersion": false,
"contentTypes": [
@@ -4827,12 +4884,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withImport.body",
"methodParameterSegments": [
{
- "$id": "324",
+ "$id": "329",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "131"
+ "$ref": "133"
},
"location": "Body",
"isApiVersion": false,
@@ -4870,10 +4927,10 @@
},
"parameters": [
{
- "$ref": "324"
+ "$ref": "329"
},
{
- "$ref": "322"
+ "$ref": "327"
}
],
"response": {},
@@ -4883,19 +4940,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withImport"
},
{
- "$id": "325",
+ "$id": "330",
"kind": "basic",
"name": "withIn",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "326",
+ "$id": "331",
"name": "withIn",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "327",
+ "$id": "332",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4912,7 +4969,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIn.contentType",
"methodParameterSegments": [
{
- "$id": "328",
+ "$id": "333",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -4932,12 +4989,12 @@
]
},
{
- "$id": "329",
+ "$id": "334",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "134"
+ "$ref": "136"
},
"isApiVersion": false,
"contentTypes": [
@@ -4951,12 +5008,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIn.body",
"methodParameterSegments": [
{
- "$id": "330",
+ "$id": "335",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "134"
+ "$ref": "136"
},
"location": "Body",
"isApiVersion": false,
@@ -4994,10 +5051,10 @@
},
"parameters": [
{
- "$ref": "330"
+ "$ref": "335"
},
{
- "$ref": "328"
+ "$ref": "333"
}
],
"response": {},
@@ -5007,19 +5064,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIn"
},
{
- "$id": "331",
+ "$id": "336",
"kind": "basic",
"name": "withIs",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "332",
+ "$id": "337",
"name": "withIs",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "333",
+ "$id": "338",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5036,7 +5093,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIs.contentType",
"methodParameterSegments": [
{
- "$id": "334",
+ "$id": "339",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5056,12 +5113,12 @@
]
},
{
- "$id": "335",
+ "$id": "340",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "137"
+ "$ref": "139"
},
"isApiVersion": false,
"contentTypes": [
@@ -5075,12 +5132,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIs.body",
"methodParameterSegments": [
{
- "$id": "336",
+ "$id": "341",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "137"
+ "$ref": "139"
},
"location": "Body",
"isApiVersion": false,
@@ -5118,10 +5175,10 @@
},
"parameters": [
{
- "$ref": "336"
+ "$ref": "341"
},
{
- "$ref": "334"
+ "$ref": "339"
}
],
"response": {},
@@ -5131,19 +5188,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withIs"
},
{
- "$id": "337",
+ "$id": "342",
"kind": "basic",
"name": "withLambda",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "338",
+ "$id": "343",
"name": "withLambda",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "339",
+ "$id": "344",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5160,7 +5217,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withLambda.contentType",
"methodParameterSegments": [
{
- "$id": "340",
+ "$id": "345",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5180,12 +5237,12 @@
]
},
{
- "$id": "341",
+ "$id": "346",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "140"
+ "$ref": "142"
},
"isApiVersion": false,
"contentTypes": [
@@ -5199,12 +5256,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withLambda.body",
"methodParameterSegments": [
{
- "$id": "342",
+ "$id": "347",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "140"
+ "$ref": "142"
},
"location": "Body",
"isApiVersion": false,
@@ -5242,10 +5299,10 @@
},
"parameters": [
{
- "$ref": "342"
+ "$ref": "347"
},
{
- "$ref": "340"
+ "$ref": "345"
}
],
"response": {},
@@ -5255,19 +5312,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withLambda"
},
{
- "$id": "343",
+ "$id": "348",
"kind": "basic",
"name": "withNot",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "344",
+ "$id": "349",
"name": "withNot",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "345",
+ "$id": "350",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5284,7 +5341,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withNot.contentType",
"methodParameterSegments": [
{
- "$id": "346",
+ "$id": "351",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5304,12 +5361,12 @@
]
},
{
- "$id": "347",
+ "$id": "352",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "143"
+ "$ref": "145"
},
"isApiVersion": false,
"contentTypes": [
@@ -5323,12 +5380,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withNot.body",
"methodParameterSegments": [
{
- "$id": "348",
+ "$id": "353",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "143"
+ "$ref": "145"
},
"location": "Body",
"isApiVersion": false,
@@ -5366,10 +5423,10 @@
},
"parameters": [
{
- "$ref": "348"
+ "$ref": "353"
},
{
- "$ref": "346"
+ "$ref": "351"
}
],
"response": {},
@@ -5379,19 +5436,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withNot"
},
{
- "$id": "349",
+ "$id": "354",
"kind": "basic",
"name": "withOr",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "350",
+ "$id": "355",
"name": "withOr",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "351",
+ "$id": "356",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5408,7 +5465,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withOr.contentType",
"methodParameterSegments": [
{
- "$id": "352",
+ "$id": "357",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5428,12 +5485,12 @@
]
},
{
- "$id": "353",
+ "$id": "358",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "146"
+ "$ref": "148"
},
"isApiVersion": false,
"contentTypes": [
@@ -5447,12 +5504,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withOr.body",
"methodParameterSegments": [
{
- "$id": "354",
+ "$id": "359",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "146"
+ "$ref": "148"
},
"location": "Body",
"isApiVersion": false,
@@ -5490,10 +5547,10 @@
},
"parameters": [
{
- "$ref": "354"
+ "$ref": "359"
},
{
- "$ref": "352"
+ "$ref": "357"
}
],
"response": {},
@@ -5503,19 +5560,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withOr"
},
{
- "$id": "355",
+ "$id": "360",
"kind": "basic",
"name": "withPass",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "356",
+ "$id": "361",
"name": "withPass",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "357",
+ "$id": "362",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5532,7 +5589,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withPass.contentType",
"methodParameterSegments": [
{
- "$id": "358",
+ "$id": "363",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5552,12 +5609,12 @@
]
},
{
- "$id": "359",
+ "$id": "364",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "149"
+ "$ref": "151"
},
"isApiVersion": false,
"contentTypes": [
@@ -5571,12 +5628,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withPass.body",
"methodParameterSegments": [
{
- "$id": "360",
+ "$id": "365",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "149"
+ "$ref": "151"
},
"location": "Body",
"isApiVersion": false,
@@ -5614,10 +5671,10 @@
},
"parameters": [
{
- "$ref": "360"
+ "$ref": "365"
},
{
- "$ref": "358"
+ "$ref": "363"
}
],
"response": {},
@@ -5627,19 +5684,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withPass"
},
{
- "$id": "361",
+ "$id": "366",
"kind": "basic",
"name": "withRaise",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "362",
+ "$id": "367",
"name": "withRaise",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "363",
+ "$id": "368",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5656,7 +5713,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withRaise.contentType",
"methodParameterSegments": [
{
- "$id": "364",
+ "$id": "369",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5676,12 +5733,12 @@
]
},
{
- "$id": "365",
+ "$id": "370",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "152"
+ "$ref": "154"
},
"isApiVersion": false,
"contentTypes": [
@@ -5695,12 +5752,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withRaise.body",
"methodParameterSegments": [
{
- "$id": "366",
+ "$id": "371",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "152"
+ "$ref": "154"
},
"location": "Body",
"isApiVersion": false,
@@ -5738,10 +5795,10 @@
},
"parameters": [
{
- "$ref": "366"
+ "$ref": "371"
},
{
- "$ref": "364"
+ "$ref": "369"
}
],
"response": {},
@@ -5751,19 +5808,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withRaise"
},
{
- "$id": "367",
+ "$id": "372",
"kind": "basic",
"name": "withReturn",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "368",
+ "$id": "373",
"name": "withReturn",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "369",
+ "$id": "374",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5780,7 +5837,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withReturn.contentType",
"methodParameterSegments": [
{
- "$id": "370",
+ "$id": "375",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5800,12 +5857,12 @@
]
},
{
- "$id": "371",
+ "$id": "376",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "155"
+ "$ref": "157"
},
"isApiVersion": false,
"contentTypes": [
@@ -5819,12 +5876,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withReturn.body",
"methodParameterSegments": [
{
- "$id": "372",
+ "$id": "377",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "155"
+ "$ref": "157"
},
"location": "Body",
"isApiVersion": false,
@@ -5862,10 +5919,10 @@
},
"parameters": [
{
- "$ref": "372"
+ "$ref": "377"
},
{
- "$ref": "370"
+ "$ref": "375"
}
],
"response": {},
@@ -5875,19 +5932,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withReturn"
},
{
- "$id": "373",
+ "$id": "378",
"kind": "basic",
"name": "withTry",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "374",
+ "$id": "379",
"name": "withTry",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "375",
+ "$id": "380",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5904,7 +5961,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withTry.contentType",
"methodParameterSegments": [
{
- "$id": "376",
+ "$id": "381",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -5924,12 +5981,12 @@
]
},
{
- "$id": "377",
+ "$id": "382",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "158"
+ "$ref": "160"
},
"isApiVersion": false,
"contentTypes": [
@@ -5943,12 +6000,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withTry.body",
"methodParameterSegments": [
{
- "$id": "378",
+ "$id": "383",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "158"
+ "$ref": "160"
},
"location": "Body",
"isApiVersion": false,
@@ -5986,10 +6043,10 @@
},
"parameters": [
{
- "$ref": "378"
+ "$ref": "383"
},
{
- "$ref": "376"
+ "$ref": "381"
}
],
"response": {},
@@ -5999,19 +6056,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withTry"
},
{
- "$id": "379",
+ "$id": "384",
"kind": "basic",
"name": "withWhile",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "380",
+ "$id": "385",
"name": "withWhile",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "381",
+ "$id": "386",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6028,7 +6085,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withWhile.contentType",
"methodParameterSegments": [
{
- "$id": "382",
+ "$id": "387",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6048,12 +6105,12 @@
]
},
{
- "$id": "383",
+ "$id": "388",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "161"
+ "$ref": "163"
},
"isApiVersion": false,
"contentTypes": [
@@ -6067,12 +6124,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withWhile.body",
"methodParameterSegments": [
{
- "$id": "384",
+ "$id": "389",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "161"
+ "$ref": "163"
},
"location": "Body",
"isApiVersion": false,
@@ -6110,10 +6167,10 @@
},
"parameters": [
{
- "$ref": "384"
+ "$ref": "389"
},
{
- "$ref": "382"
+ "$ref": "387"
}
],
"response": {},
@@ -6123,19 +6180,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withWhile"
},
{
- "$id": "385",
+ "$id": "390",
"kind": "basic",
"name": "withWith",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "386",
+ "$id": "391",
"name": "withWith",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "387",
+ "$id": "392",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6152,7 +6209,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withWith.contentType",
"methodParameterSegments": [
{
- "$id": "388",
+ "$id": "393",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6172,12 +6229,12 @@
]
},
{
- "$id": "389",
+ "$id": "394",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "164"
+ "$ref": "166"
},
"isApiVersion": false,
"contentTypes": [
@@ -6191,12 +6248,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withWith.body",
"methodParameterSegments": [
{
- "$id": "390",
+ "$id": "395",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "164"
+ "$ref": "166"
},
"location": "Body",
"isApiVersion": false,
@@ -6234,10 +6291,10 @@
},
"parameters": [
{
- "$ref": "390"
+ "$ref": "395"
},
{
- "$ref": "388"
+ "$ref": "393"
}
],
"response": {},
@@ -6247,19 +6304,19 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withWith"
},
{
- "$id": "391",
+ "$id": "396",
"kind": "basic",
"name": "withYield",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "392",
+ "$id": "397",
"name": "withYield",
"resourceName": "Models",
"accessibility": "public",
"parameters": [
{
- "$id": "393",
+ "$id": "398",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6276,7 +6333,7 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withYield.contentType",
"methodParameterSegments": [
{
- "$id": "394",
+ "$id": "399",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6296,12 +6353,12 @@
]
},
{
- "$id": "395",
+ "$id": "400",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "167"
+ "$ref": "169"
},
"isApiVersion": false,
"contentTypes": [
@@ -6315,12 +6372,12 @@
"crossLanguageDefinitionId": "SpecialWords.Models.withYield.body",
"methodParameterSegments": [
{
- "$id": "396",
+ "$id": "401",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "167"
+ "$ref": "169"
},
"location": "Body",
"isApiVersion": false,
@@ -6358,10 +6415,10 @@
},
"parameters": [
{
- "$ref": "396"
+ "$ref": "401"
},
{
- "$ref": "394"
+ "$ref": "399"
}
],
"response": {},
@@ -6373,13 +6430,13 @@
],
"parameters": [
{
- "$id": "397",
+ "$id": "402",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "398",
+ "$id": "403",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -6390,7 +6447,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "399",
+ "$id": "404",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -6408,31 +6465,31 @@
"crossLanguageDefinitionId": "SpecialWords.Models",
"apiVersions": [],
"parent": {
- "$ref": "194"
+ "$ref": "199"
},
"isMultiServiceClient": false
},
{
- "$id": "400",
+ "$id": "405",
"kind": "client",
"name": "ModelProperties",
"namespace": "SpecialWords.ModelProperties",
"doc": "Verify model names",
"methods": [
{
- "$id": "401",
+ "$id": "406",
"kind": "basic",
"name": "sameAsModel",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "402",
+ "$id": "407",
"name": "sameAsModel",
"resourceName": "ModelProperties",
"accessibility": "public",
"parameters": [
{
- "$id": "403",
+ "$id": "408",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6449,7 +6506,7 @@
"crossLanguageDefinitionId": "SpecialWords.ModelProperties.sameAsModel.contentType",
"methodParameterSegments": [
{
- "$id": "404",
+ "$id": "409",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6469,12 +6526,12 @@
]
},
{
- "$id": "405",
+ "$id": "410",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "170"
+ "$ref": "172"
},
"isApiVersion": false,
"contentTypes": [
@@ -6488,12 +6545,12 @@
"crossLanguageDefinitionId": "SpecialWords.ModelProperties.sameAsModel.body",
"methodParameterSegments": [
{
- "$id": "406",
+ "$id": "411",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "170"
+ "$ref": "172"
},
"location": "Body",
"isApiVersion": false,
@@ -6531,10 +6588,10 @@
},
"parameters": [
{
- "$ref": "406"
+ "$ref": "411"
},
{
- "$ref": "404"
+ "$ref": "409"
}
],
"response": {},
@@ -6544,19 +6601,19 @@
"crossLanguageDefinitionId": "SpecialWords.ModelProperties.sameAsModel"
},
{
- "$id": "407",
+ "$id": "412",
"kind": "basic",
"name": "dictMethods",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "408",
+ "$id": "413",
"name": "dictMethods",
"resourceName": "ModelProperties",
"accessibility": "public",
"parameters": [
{
- "$id": "409",
+ "$id": "414",
"kind": "header",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6573,7 +6630,7 @@
"crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods.contentType",
"methodParameterSegments": [
{
- "$id": "410",
+ "$id": "415",
"kind": "method",
"name": "contentType",
"serializedName": "Content-Type",
@@ -6593,12 +6650,12 @@
]
},
{
- "$id": "411",
+ "$id": "416",
"kind": "body",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "173"
+ "$ref": "175"
},
"isApiVersion": false,
"contentTypes": [
@@ -6612,12 +6669,12 @@
"crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods.body",
"methodParameterSegments": [
{
- "$id": "412",
+ "$id": "417",
"kind": "method",
"name": "body",
"serializedName": "body",
"type": {
- "$ref": "173"
+ "$ref": "175"
},
"location": "Body",
"isApiVersion": false,
@@ -6655,10 +6712,10 @@
},
"parameters": [
{
- "$ref": "412"
+ "$ref": "417"
},
{
- "$ref": "410"
+ "$ref": "415"
}
],
"response": {},
@@ -6666,17 +6723,141 @@
"generateConvenient": true,
"generateProtocol": true,
"crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods"
+ },
+ {
+ "$id": "418",
+ "kind": "basic",
+ "name": "withList",
+ "accessibility": "public",
+ "apiVersions": [],
+ "operation": {
+ "$id": "419",
+ "name": "withList",
+ "resourceName": "ModelProperties",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "420",
+ "kind": "header",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "71"
+ },
+ "isApiVersion": false,
+ "optional": false,
+ "isContentType": true,
+ "scope": "Constant",
+ "readOnly": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.withList.contentType",
+ "methodParameterSegments": [
+ {
+ "$id": "421",
+ "kind": "method",
+ "name": "contentType",
+ "serializedName": "Content-Type",
+ "doc": "Body parameter's content type. Known values are application/json",
+ "type": {
+ "$ref": "71"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Constant",
+ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.withList.contentType",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ },
+ {
+ "$id": "422",
+ "kind": "body",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "196"
+ },
+ "isApiVersion": false,
+ "contentTypes": [
+ "application/json"
+ ],
+ "defaultContentType": "application/json",
+ "optional": false,
+ "scope": "Method",
+ "decorators": [],
+ "readOnly": false,
+ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.withList.body",
+ "methodParameterSegments": [
+ {
+ "$id": "423",
+ "kind": "method",
+ "name": "body",
+ "serializedName": "body",
+ "type": {
+ "$ref": "196"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "optional": false,
+ "scope": "Method",
+ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.withList.body",
+ "readOnly": false,
+ "access": "public",
+ "decorators": []
+ }
+ ]
+ }
+ ],
+ "responses": [
+ {
+ "statusCodes": [
+ 204
+ ],
+ "headers": [],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "{endpoint}",
+ "path": "/special-words/model-properties/list",
+ "requestMediaTypes": [
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.withList",
+ "decorators": [],
+ "namespace": "SpecialWords.ModelProperties"
+ },
+ "parameters": [
+ {
+ "$ref": "423"
+ },
+ {
+ "$ref": "421"
+ }
+ ],
+ "response": {},
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.withList"
}
],
"parameters": [
{
- "$id": "413",
+ "$id": "424",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "414",
+ "$id": "425",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -6687,7 +6868,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "415",
+ "$id": "426",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -6705,25 +6886,25 @@
"crossLanguageDefinitionId": "SpecialWords.ModelProperties",
"apiVersions": [],
"parent": {
- "$ref": "194"
+ "$ref": "199"
},
"isMultiServiceClient": false
},
{
- "$id": "416",
+ "$id": "427",
"kind": "client",
"name": "Operations",
"namespace": "SpecialWords",
"doc": "Test reserved words as operation name.",
"methods": [
{
- "$id": "417",
+ "$id": "428",
"kind": "basic",
"name": "and",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "418",
+ "$id": "429",
"name": "and",
"resourceName": "Operations",
"accessibility": "public",
@@ -6755,13 +6936,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.and"
},
{
- "$id": "419",
+ "$id": "430",
"kind": "basic",
"name": "as",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "420",
+ "$id": "431",
"name": "as",
"resourceName": "Operations",
"accessibility": "public",
@@ -6793,13 +6974,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.as"
},
{
- "$id": "421",
+ "$id": "432",
"kind": "basic",
"name": "assert",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "422",
+ "$id": "433",
"name": "assert",
"resourceName": "Operations",
"accessibility": "public",
@@ -6831,13 +7012,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.assert"
},
{
- "$id": "423",
+ "$id": "434",
"kind": "basic",
"name": "async",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "424",
+ "$id": "435",
"name": "async",
"resourceName": "Operations",
"accessibility": "public",
@@ -6869,13 +7050,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.async"
},
{
- "$id": "425",
+ "$id": "436",
"kind": "basic",
"name": "await",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "426",
+ "$id": "437",
"name": "await",
"resourceName": "Operations",
"accessibility": "public",
@@ -6907,13 +7088,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.await"
},
{
- "$id": "427",
+ "$id": "438",
"kind": "basic",
"name": "break",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "428",
+ "$id": "439",
"name": "break",
"resourceName": "Operations",
"accessibility": "public",
@@ -6945,13 +7126,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.break"
},
{
- "$id": "429",
+ "$id": "440",
"kind": "basic",
"name": "class",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "430",
+ "$id": "441",
"name": "class",
"resourceName": "Operations",
"accessibility": "public",
@@ -6983,13 +7164,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.class"
},
{
- "$id": "431",
+ "$id": "442",
"kind": "basic",
"name": "constructor",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "432",
+ "$id": "443",
"name": "constructor",
"resourceName": "Operations",
"accessibility": "public",
@@ -7021,13 +7202,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.constructor"
},
{
- "$id": "433",
+ "$id": "444",
"kind": "basic",
"name": "continue",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "434",
+ "$id": "445",
"name": "continue",
"resourceName": "Operations",
"accessibility": "public",
@@ -7059,13 +7240,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.continue"
},
{
- "$id": "435",
+ "$id": "446",
"kind": "basic",
"name": "def",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "436",
+ "$id": "447",
"name": "def",
"resourceName": "Operations",
"accessibility": "public",
@@ -7097,13 +7278,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.def"
},
{
- "$id": "437",
+ "$id": "448",
"kind": "basic",
"name": "del",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "438",
+ "$id": "449",
"name": "del",
"resourceName": "Operations",
"accessibility": "public",
@@ -7135,13 +7316,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.del"
},
{
- "$id": "439",
+ "$id": "450",
"kind": "basic",
"name": "elif",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "440",
+ "$id": "451",
"name": "elif",
"resourceName": "Operations",
"accessibility": "public",
@@ -7173,13 +7354,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.elif"
},
{
- "$id": "441",
+ "$id": "452",
"kind": "basic",
"name": "else",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "442",
+ "$id": "453",
"name": "else",
"resourceName": "Operations",
"accessibility": "public",
@@ -7211,13 +7392,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.else"
},
{
- "$id": "443",
+ "$id": "454",
"kind": "basic",
"name": "except",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "444",
+ "$id": "455",
"name": "except",
"resourceName": "Operations",
"accessibility": "public",
@@ -7249,13 +7430,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.except"
},
{
- "$id": "445",
+ "$id": "456",
"kind": "basic",
"name": "exec",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "446",
+ "$id": "457",
"name": "exec",
"resourceName": "Operations",
"accessibility": "public",
@@ -7287,13 +7468,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.exec"
},
{
- "$id": "447",
+ "$id": "458",
"kind": "basic",
"name": "finally",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "448",
+ "$id": "459",
"name": "finally",
"resourceName": "Operations",
"accessibility": "public",
@@ -7325,13 +7506,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.finally"
},
{
- "$id": "449",
+ "$id": "460",
"kind": "basic",
"name": "for",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "450",
+ "$id": "461",
"name": "for",
"resourceName": "Operations",
"accessibility": "public",
@@ -7363,13 +7544,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.for"
},
{
- "$id": "451",
+ "$id": "462",
"kind": "basic",
"name": "from",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "452",
+ "$id": "463",
"name": "from",
"resourceName": "Operations",
"accessibility": "public",
@@ -7401,13 +7582,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.from"
},
{
- "$id": "453",
+ "$id": "464",
"kind": "basic",
"name": "global",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "454",
+ "$id": "465",
"name": "global",
"resourceName": "Operations",
"accessibility": "public",
@@ -7439,13 +7620,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.global"
},
{
- "$id": "455",
+ "$id": "466",
"kind": "basic",
"name": "if",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "456",
+ "$id": "467",
"name": "if",
"resourceName": "Operations",
"accessibility": "public",
@@ -7477,13 +7658,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.if"
},
{
- "$id": "457",
+ "$id": "468",
"kind": "basic",
"name": "import",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "458",
+ "$id": "469",
"name": "import",
"resourceName": "Operations",
"accessibility": "public",
@@ -7515,13 +7696,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.import"
},
{
- "$id": "459",
+ "$id": "470",
"kind": "basic",
"name": "in",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "460",
+ "$id": "471",
"name": "in",
"resourceName": "Operations",
"accessibility": "public",
@@ -7553,13 +7734,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.in"
},
{
- "$id": "461",
+ "$id": "472",
"kind": "basic",
"name": "is",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "462",
+ "$id": "473",
"name": "is",
"resourceName": "Operations",
"accessibility": "public",
@@ -7591,13 +7772,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.is"
},
{
- "$id": "463",
+ "$id": "474",
"kind": "basic",
"name": "lambda",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "464",
+ "$id": "475",
"name": "lambda",
"resourceName": "Operations",
"accessibility": "public",
@@ -7629,13 +7810,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.lambda"
},
{
- "$id": "465",
+ "$id": "476",
"kind": "basic",
"name": "not",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "466",
+ "$id": "477",
"name": "not",
"resourceName": "Operations",
"accessibility": "public",
@@ -7667,13 +7848,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.not"
},
{
- "$id": "467",
+ "$id": "478",
"kind": "basic",
"name": "or",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "468",
+ "$id": "479",
"name": "or",
"resourceName": "Operations",
"accessibility": "public",
@@ -7705,13 +7886,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.or"
},
{
- "$id": "469",
+ "$id": "480",
"kind": "basic",
"name": "pass",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "470",
+ "$id": "481",
"name": "pass",
"resourceName": "Operations",
"accessibility": "public",
@@ -7743,13 +7924,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.pass"
},
{
- "$id": "471",
+ "$id": "482",
"kind": "basic",
"name": "raise",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "472",
+ "$id": "483",
"name": "raise",
"resourceName": "Operations",
"accessibility": "public",
@@ -7781,13 +7962,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.raise"
},
{
- "$id": "473",
+ "$id": "484",
"kind": "basic",
"name": "return",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "474",
+ "$id": "485",
"name": "return",
"resourceName": "Operations",
"accessibility": "public",
@@ -7819,13 +8000,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.return"
},
{
- "$id": "475",
+ "$id": "486",
"kind": "basic",
"name": "try",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "476",
+ "$id": "487",
"name": "try",
"resourceName": "Operations",
"accessibility": "public",
@@ -7857,13 +8038,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.try"
},
{
- "$id": "477",
+ "$id": "488",
"kind": "basic",
"name": "while",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "478",
+ "$id": "489",
"name": "while",
"resourceName": "Operations",
"accessibility": "public",
@@ -7895,13 +8076,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.while"
},
{
- "$id": "479",
+ "$id": "490",
"kind": "basic",
"name": "with",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "480",
+ "$id": "491",
"name": "with",
"resourceName": "Operations",
"accessibility": "public",
@@ -7933,13 +8114,13 @@
"crossLanguageDefinitionId": "SpecialWords.Operations.with"
},
{
- "$id": "481",
+ "$id": "492",
"kind": "basic",
"name": "yield",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "482",
+ "$id": "493",
"name": "yield",
"resourceName": "Operations",
"accessibility": "public",
@@ -7973,13 +8154,13 @@
],
"parameters": [
{
- "$id": "483",
+ "$id": "494",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "484",
+ "$id": "495",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -7990,7 +8171,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "485",
+ "$id": "496",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -8008,36 +8189,36 @@
"crossLanguageDefinitionId": "SpecialWords.Operations",
"apiVersions": [],
"parent": {
- "$ref": "194"
+ "$ref": "199"
},
"isMultiServiceClient": false
},
{
- "$id": "486",
+ "$id": "497",
"kind": "client",
"name": "Parameters",
"namespace": "SpecialWords",
"doc": "Verify reserved words as parameter name.",
"methods": [
{
- "$id": "487",
+ "$id": "498",
"kind": "basic",
"name": "withAnd",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "488",
+ "$id": "499",
"name": "withAnd",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "489",
+ "$id": "500",
"kind": "query",
"name": "and",
"serializedName": "and",
"type": {
- "$id": "490",
+ "$id": "501",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8052,12 +8233,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "491",
+ "$id": "502",
"kind": "method",
"name": "and",
"serializedName": "and",
"type": {
- "$id": "492",
+ "$id": "503",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8096,7 +8277,7 @@
},
"parameters": [
{
- "$ref": "491"
+ "$ref": "502"
}
],
"response": {},
@@ -8106,24 +8287,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withAnd"
},
{
- "$id": "493",
+ "$id": "504",
"kind": "basic",
"name": "withAs",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "494",
+ "$id": "505",
"name": "withAs",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "495",
+ "$id": "506",
"kind": "query",
"name": "as",
"serializedName": "as",
"type": {
- "$id": "496",
+ "$id": "507",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8138,12 +8319,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "497",
+ "$id": "508",
"kind": "method",
"name": "as",
"serializedName": "as",
"type": {
- "$id": "498",
+ "$id": "509",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8182,7 +8363,7 @@
},
"parameters": [
{
- "$ref": "497"
+ "$ref": "508"
}
],
"response": {},
@@ -8192,24 +8373,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withAs"
},
{
- "$id": "499",
+ "$id": "510",
"kind": "basic",
"name": "withAssert",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "500",
+ "$id": "511",
"name": "withAssert",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "501",
+ "$id": "512",
"kind": "query",
"name": "assert",
"serializedName": "assert",
"type": {
- "$id": "502",
+ "$id": "513",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8224,12 +8405,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "503",
+ "$id": "514",
"kind": "method",
"name": "assert",
"serializedName": "assert",
"type": {
- "$id": "504",
+ "$id": "515",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8268,7 +8449,7 @@
},
"parameters": [
{
- "$ref": "503"
+ "$ref": "514"
}
],
"response": {},
@@ -8278,24 +8459,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withAssert"
},
{
- "$id": "505",
+ "$id": "516",
"kind": "basic",
"name": "withAsync",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "506",
+ "$id": "517",
"name": "withAsync",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "507",
+ "$id": "518",
"kind": "query",
"name": "async",
"serializedName": "async",
"type": {
- "$id": "508",
+ "$id": "519",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8310,12 +8491,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "509",
+ "$id": "520",
"kind": "method",
"name": "async",
"serializedName": "async",
"type": {
- "$id": "510",
+ "$id": "521",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8354,7 +8535,7 @@
},
"parameters": [
{
- "$ref": "509"
+ "$ref": "520"
}
],
"response": {},
@@ -8364,24 +8545,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withAsync"
},
{
- "$id": "511",
+ "$id": "522",
"kind": "basic",
"name": "withAwait",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "512",
+ "$id": "523",
"name": "withAwait",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "513",
+ "$id": "524",
"kind": "query",
"name": "await",
"serializedName": "await",
"type": {
- "$id": "514",
+ "$id": "525",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8396,12 +8577,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "515",
+ "$id": "526",
"kind": "method",
"name": "await",
"serializedName": "await",
"type": {
- "$id": "516",
+ "$id": "527",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8440,7 +8621,7 @@
},
"parameters": [
{
- "$ref": "515"
+ "$ref": "526"
}
],
"response": {},
@@ -8450,24 +8631,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withAwait"
},
{
- "$id": "517",
+ "$id": "528",
"kind": "basic",
"name": "withBreak",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "518",
+ "$id": "529",
"name": "withBreak",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "519",
+ "$id": "530",
"kind": "query",
"name": "break",
"serializedName": "break",
"type": {
- "$id": "520",
+ "$id": "531",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8482,12 +8663,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "521",
+ "$id": "532",
"kind": "method",
"name": "break",
"serializedName": "break",
"type": {
- "$id": "522",
+ "$id": "533",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8526,7 +8707,7 @@
},
"parameters": [
{
- "$ref": "521"
+ "$ref": "532"
}
],
"response": {},
@@ -8536,24 +8717,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withBreak"
},
{
- "$id": "523",
+ "$id": "534",
"kind": "basic",
"name": "withClass",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "524",
+ "$id": "535",
"name": "withClass",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "525",
+ "$id": "536",
"kind": "query",
"name": "class",
"serializedName": "class",
"type": {
- "$id": "526",
+ "$id": "537",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8568,12 +8749,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "527",
+ "$id": "538",
"kind": "method",
"name": "class",
"serializedName": "class",
"type": {
- "$id": "528",
+ "$id": "539",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8612,7 +8793,7 @@
},
"parameters": [
{
- "$ref": "527"
+ "$ref": "538"
}
],
"response": {},
@@ -8622,24 +8803,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withClass"
},
{
- "$id": "529",
+ "$id": "540",
"kind": "basic",
"name": "withConstructor",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "530",
+ "$id": "541",
"name": "withConstructor",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "531",
+ "$id": "542",
"kind": "query",
"name": "constructor",
"serializedName": "constructor",
"type": {
- "$id": "532",
+ "$id": "543",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8654,12 +8835,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "533",
+ "$id": "544",
"kind": "method",
"name": "constructor",
"serializedName": "constructor",
"type": {
- "$id": "534",
+ "$id": "545",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8698,7 +8879,7 @@
},
"parameters": [
{
- "$ref": "533"
+ "$ref": "544"
}
],
"response": {},
@@ -8708,24 +8889,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withConstructor"
},
{
- "$id": "535",
+ "$id": "546",
"kind": "basic",
"name": "withContinue",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "536",
+ "$id": "547",
"name": "withContinue",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "537",
+ "$id": "548",
"kind": "query",
"name": "continue",
"serializedName": "continue",
"type": {
- "$id": "538",
+ "$id": "549",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8740,12 +8921,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "539",
+ "$id": "550",
"kind": "method",
"name": "continue",
"serializedName": "continue",
"type": {
- "$id": "540",
+ "$id": "551",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8784,7 +8965,7 @@
},
"parameters": [
{
- "$ref": "539"
+ "$ref": "550"
}
],
"response": {},
@@ -8794,24 +8975,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withContinue"
},
{
- "$id": "541",
+ "$id": "552",
"kind": "basic",
"name": "withDef",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "542",
+ "$id": "553",
"name": "withDef",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "543",
+ "$id": "554",
"kind": "query",
"name": "def",
"serializedName": "def",
"type": {
- "$id": "544",
+ "$id": "555",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8826,12 +9007,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "545",
+ "$id": "556",
"kind": "method",
"name": "def",
"serializedName": "def",
"type": {
- "$id": "546",
+ "$id": "557",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8870,7 +9051,7 @@
},
"parameters": [
{
- "$ref": "545"
+ "$ref": "556"
}
],
"response": {},
@@ -8880,24 +9061,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withDef"
},
{
- "$id": "547",
+ "$id": "558",
"kind": "basic",
"name": "withDel",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "548",
+ "$id": "559",
"name": "withDel",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "549",
+ "$id": "560",
"kind": "query",
"name": "del",
"serializedName": "del",
"type": {
- "$id": "550",
+ "$id": "561",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8912,12 +9093,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "551",
+ "$id": "562",
"kind": "method",
"name": "del",
"serializedName": "del",
"type": {
- "$id": "552",
+ "$id": "563",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8956,7 +9137,7 @@
},
"parameters": [
{
- "$ref": "551"
+ "$ref": "562"
}
],
"response": {},
@@ -8966,24 +9147,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withDel"
},
{
- "$id": "553",
+ "$id": "564",
"kind": "basic",
"name": "withElif",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "554",
+ "$id": "565",
"name": "withElif",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "555",
+ "$id": "566",
"kind": "query",
"name": "elif",
"serializedName": "elif",
"type": {
- "$id": "556",
+ "$id": "567",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -8998,12 +9179,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "557",
+ "$id": "568",
"kind": "method",
"name": "elif",
"serializedName": "elif",
"type": {
- "$id": "558",
+ "$id": "569",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9042,7 +9223,7 @@
},
"parameters": [
{
- "$ref": "557"
+ "$ref": "568"
}
],
"response": {},
@@ -9052,24 +9233,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withElif"
},
{
- "$id": "559",
+ "$id": "570",
"kind": "basic",
"name": "withElse",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "560",
+ "$id": "571",
"name": "withElse",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "561",
+ "$id": "572",
"kind": "query",
"name": "else",
"serializedName": "else",
"type": {
- "$id": "562",
+ "$id": "573",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9084,12 +9265,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "563",
+ "$id": "574",
"kind": "method",
"name": "else",
"serializedName": "else",
"type": {
- "$id": "564",
+ "$id": "575",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9128,7 +9309,7 @@
},
"parameters": [
{
- "$ref": "563"
+ "$ref": "574"
}
],
"response": {},
@@ -9138,24 +9319,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withElse"
},
{
- "$id": "565",
+ "$id": "576",
"kind": "basic",
"name": "withExcept",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "566",
+ "$id": "577",
"name": "withExcept",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "567",
+ "$id": "578",
"kind": "query",
"name": "except",
"serializedName": "except",
"type": {
- "$id": "568",
+ "$id": "579",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9170,12 +9351,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "569",
+ "$id": "580",
"kind": "method",
"name": "except",
"serializedName": "except",
"type": {
- "$id": "570",
+ "$id": "581",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9214,7 +9395,7 @@
},
"parameters": [
{
- "$ref": "569"
+ "$ref": "580"
}
],
"response": {},
@@ -9224,24 +9405,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withExcept"
},
{
- "$id": "571",
+ "$id": "582",
"kind": "basic",
"name": "withExec",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "572",
+ "$id": "583",
"name": "withExec",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "573",
+ "$id": "584",
"kind": "query",
"name": "exec",
"serializedName": "exec",
"type": {
- "$id": "574",
+ "$id": "585",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9256,12 +9437,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "575",
+ "$id": "586",
"kind": "method",
"name": "exec",
"serializedName": "exec",
"type": {
- "$id": "576",
+ "$id": "587",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9300,7 +9481,7 @@
},
"parameters": [
{
- "$ref": "575"
+ "$ref": "586"
}
],
"response": {},
@@ -9310,24 +9491,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withExec"
},
{
- "$id": "577",
+ "$id": "588",
"kind": "basic",
"name": "withFinally",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "578",
+ "$id": "589",
"name": "withFinally",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "579",
+ "$id": "590",
"kind": "query",
"name": "finally",
"serializedName": "finally",
"type": {
- "$id": "580",
+ "$id": "591",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9342,12 +9523,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "581",
+ "$id": "592",
"kind": "method",
"name": "finally",
"serializedName": "finally",
"type": {
- "$id": "582",
+ "$id": "593",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9386,7 +9567,7 @@
},
"parameters": [
{
- "$ref": "581"
+ "$ref": "592"
}
],
"response": {},
@@ -9396,24 +9577,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withFinally"
},
{
- "$id": "583",
+ "$id": "594",
"kind": "basic",
"name": "withFor",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "584",
+ "$id": "595",
"name": "withFor",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "585",
+ "$id": "596",
"kind": "query",
"name": "for",
"serializedName": "for",
"type": {
- "$id": "586",
+ "$id": "597",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9428,12 +9609,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "587",
+ "$id": "598",
"kind": "method",
"name": "for",
"serializedName": "for",
"type": {
- "$id": "588",
+ "$id": "599",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9472,7 +9653,7 @@
},
"parameters": [
{
- "$ref": "587"
+ "$ref": "598"
}
],
"response": {},
@@ -9482,24 +9663,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withFor"
},
{
- "$id": "589",
+ "$id": "600",
"kind": "basic",
"name": "withFrom",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "590",
+ "$id": "601",
"name": "withFrom",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "591",
+ "$id": "602",
"kind": "query",
"name": "from",
"serializedName": "from",
"type": {
- "$id": "592",
+ "$id": "603",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9514,12 +9695,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "593",
+ "$id": "604",
"kind": "method",
"name": "from",
"serializedName": "from",
"type": {
- "$id": "594",
+ "$id": "605",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9558,7 +9739,7 @@
},
"parameters": [
{
- "$ref": "593"
+ "$ref": "604"
}
],
"response": {},
@@ -9568,24 +9749,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withFrom"
},
{
- "$id": "595",
+ "$id": "606",
"kind": "basic",
"name": "withGlobal",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "596",
+ "$id": "607",
"name": "withGlobal",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "597",
+ "$id": "608",
"kind": "query",
"name": "global",
"serializedName": "global",
"type": {
- "$id": "598",
+ "$id": "609",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9600,12 +9781,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "599",
+ "$id": "610",
"kind": "method",
"name": "global",
"serializedName": "global",
"type": {
- "$id": "600",
+ "$id": "611",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9644,7 +9825,7 @@
},
"parameters": [
{
- "$ref": "599"
+ "$ref": "610"
}
],
"response": {},
@@ -9654,24 +9835,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withGlobal"
},
{
- "$id": "601",
+ "$id": "612",
"kind": "basic",
"name": "withIf",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "602",
+ "$id": "613",
"name": "withIf",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "603",
+ "$id": "614",
"kind": "query",
"name": "if",
"serializedName": "if",
"type": {
- "$id": "604",
+ "$id": "615",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9686,12 +9867,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "605",
+ "$id": "616",
"kind": "method",
"name": "if",
"serializedName": "if",
"type": {
- "$id": "606",
+ "$id": "617",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9730,7 +9911,7 @@
},
"parameters": [
{
- "$ref": "605"
+ "$ref": "616"
}
],
"response": {},
@@ -9740,24 +9921,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withIf"
},
{
- "$id": "607",
+ "$id": "618",
"kind": "basic",
"name": "withImport",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "608",
+ "$id": "619",
"name": "withImport",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "609",
+ "$id": "620",
"kind": "query",
"name": "import",
"serializedName": "import",
"type": {
- "$id": "610",
+ "$id": "621",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9772,12 +9953,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "611",
+ "$id": "622",
"kind": "method",
"name": "import",
"serializedName": "import",
"type": {
- "$id": "612",
+ "$id": "623",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9816,7 +9997,7 @@
},
"parameters": [
{
- "$ref": "611"
+ "$ref": "622"
}
],
"response": {},
@@ -9826,24 +10007,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withImport"
},
{
- "$id": "613",
+ "$id": "624",
"kind": "basic",
"name": "withIn",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "614",
+ "$id": "625",
"name": "withIn",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "615",
+ "$id": "626",
"kind": "query",
"name": "in",
"serializedName": "in",
"type": {
- "$id": "616",
+ "$id": "627",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9858,12 +10039,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "617",
+ "$id": "628",
"kind": "method",
"name": "in",
"serializedName": "in",
"type": {
- "$id": "618",
+ "$id": "629",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9902,7 +10083,7 @@
},
"parameters": [
{
- "$ref": "617"
+ "$ref": "628"
}
],
"response": {},
@@ -9912,24 +10093,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withIn"
},
{
- "$id": "619",
+ "$id": "630",
"kind": "basic",
"name": "withIs",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "620",
+ "$id": "631",
"name": "withIs",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "621",
+ "$id": "632",
"kind": "query",
"name": "is",
"serializedName": "is",
"type": {
- "$id": "622",
+ "$id": "633",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9944,12 +10125,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "623",
+ "$id": "634",
"kind": "method",
"name": "is",
"serializedName": "is",
"type": {
- "$id": "624",
+ "$id": "635",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -9988,7 +10169,7 @@
},
"parameters": [
{
- "$ref": "623"
+ "$ref": "634"
}
],
"response": {},
@@ -9998,24 +10179,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withIs"
},
{
- "$id": "625",
+ "$id": "636",
"kind": "basic",
"name": "withLambda",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "626",
+ "$id": "637",
"name": "withLambda",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "627",
+ "$id": "638",
"kind": "query",
"name": "lambda",
"serializedName": "lambda",
"type": {
- "$id": "628",
+ "$id": "639",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10030,12 +10211,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "629",
+ "$id": "640",
"kind": "method",
"name": "lambda",
"serializedName": "lambda",
"type": {
- "$id": "630",
+ "$id": "641",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10074,7 +10255,7 @@
},
"parameters": [
{
- "$ref": "629"
+ "$ref": "640"
}
],
"response": {},
@@ -10084,24 +10265,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withLambda"
},
{
- "$id": "631",
+ "$id": "642",
"kind": "basic",
"name": "withNot",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "632",
+ "$id": "643",
"name": "withNot",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "633",
+ "$id": "644",
"kind": "query",
"name": "not",
"serializedName": "not",
"type": {
- "$id": "634",
+ "$id": "645",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10116,12 +10297,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "635",
+ "$id": "646",
"kind": "method",
"name": "not",
"serializedName": "not",
"type": {
- "$id": "636",
+ "$id": "647",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10160,7 +10341,7 @@
},
"parameters": [
{
- "$ref": "635"
+ "$ref": "646"
}
],
"response": {},
@@ -10170,24 +10351,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withNot"
},
{
- "$id": "637",
+ "$id": "648",
"kind": "basic",
"name": "withOr",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "638",
+ "$id": "649",
"name": "withOr",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "639",
+ "$id": "650",
"kind": "query",
"name": "or",
"serializedName": "or",
"type": {
- "$id": "640",
+ "$id": "651",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10202,12 +10383,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "641",
+ "$id": "652",
"kind": "method",
"name": "or",
"serializedName": "or",
"type": {
- "$id": "642",
+ "$id": "653",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10246,7 +10427,7 @@
},
"parameters": [
{
- "$ref": "641"
+ "$ref": "652"
}
],
"response": {},
@@ -10256,24 +10437,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withOr"
},
{
- "$id": "643",
+ "$id": "654",
"kind": "basic",
"name": "withPass",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "644",
+ "$id": "655",
"name": "withPass",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "645",
+ "$id": "656",
"kind": "query",
"name": "pass",
"serializedName": "pass",
"type": {
- "$id": "646",
+ "$id": "657",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10288,12 +10469,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "647",
+ "$id": "658",
"kind": "method",
"name": "pass",
"serializedName": "pass",
"type": {
- "$id": "648",
+ "$id": "659",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10332,7 +10513,7 @@
},
"parameters": [
{
- "$ref": "647"
+ "$ref": "658"
}
],
"response": {},
@@ -10342,24 +10523,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withPass"
},
{
- "$id": "649",
+ "$id": "660",
"kind": "basic",
"name": "withRaise",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "650",
+ "$id": "661",
"name": "withRaise",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "651",
+ "$id": "662",
"kind": "query",
"name": "raise",
"serializedName": "raise",
"type": {
- "$id": "652",
+ "$id": "663",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10374,12 +10555,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "653",
+ "$id": "664",
"kind": "method",
"name": "raise",
"serializedName": "raise",
"type": {
- "$id": "654",
+ "$id": "665",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10418,7 +10599,7 @@
},
"parameters": [
{
- "$ref": "653"
+ "$ref": "664"
}
],
"response": {},
@@ -10428,24 +10609,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withRaise"
},
{
- "$id": "655",
+ "$id": "666",
"kind": "basic",
"name": "withReturn",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "656",
+ "$id": "667",
"name": "withReturn",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "657",
+ "$id": "668",
"kind": "query",
"name": "return",
"serializedName": "return",
"type": {
- "$id": "658",
+ "$id": "669",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10460,12 +10641,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "659",
+ "$id": "670",
"kind": "method",
"name": "return",
"serializedName": "return",
"type": {
- "$id": "660",
+ "$id": "671",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10504,7 +10685,7 @@
},
"parameters": [
{
- "$ref": "659"
+ "$ref": "670"
}
],
"response": {},
@@ -10514,24 +10695,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withReturn"
},
{
- "$id": "661",
+ "$id": "672",
"kind": "basic",
"name": "withTry",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "662",
+ "$id": "673",
"name": "withTry",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "663",
+ "$id": "674",
"kind": "query",
"name": "try",
"serializedName": "try",
"type": {
- "$id": "664",
+ "$id": "675",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10546,12 +10727,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "665",
+ "$id": "676",
"kind": "method",
"name": "try",
"serializedName": "try",
"type": {
- "$id": "666",
+ "$id": "677",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10590,7 +10771,7 @@
},
"parameters": [
{
- "$ref": "665"
+ "$ref": "676"
}
],
"response": {},
@@ -10600,24 +10781,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withTry"
},
{
- "$id": "667",
+ "$id": "678",
"kind": "basic",
"name": "withWhile",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "668",
+ "$id": "679",
"name": "withWhile",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "669",
+ "$id": "680",
"kind": "query",
"name": "while",
"serializedName": "while",
"type": {
- "$id": "670",
+ "$id": "681",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10632,12 +10813,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "671",
+ "$id": "682",
"kind": "method",
"name": "while",
"serializedName": "while",
"type": {
- "$id": "672",
+ "$id": "683",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10676,7 +10857,7 @@
},
"parameters": [
{
- "$ref": "671"
+ "$ref": "682"
}
],
"response": {},
@@ -10686,24 +10867,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withWhile"
},
{
- "$id": "673",
+ "$id": "684",
"kind": "basic",
"name": "withWith",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "674",
+ "$id": "685",
"name": "withWith",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "675",
+ "$id": "686",
"kind": "query",
"name": "with",
"serializedName": "with",
"type": {
- "$id": "676",
+ "$id": "687",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10718,12 +10899,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "677",
+ "$id": "688",
"kind": "method",
"name": "with",
"serializedName": "with",
"type": {
- "$id": "678",
+ "$id": "689",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10762,7 +10943,7 @@
},
"parameters": [
{
- "$ref": "677"
+ "$ref": "688"
}
],
"response": {},
@@ -10772,24 +10953,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withWith"
},
{
- "$id": "679",
+ "$id": "690",
"kind": "basic",
"name": "withYield",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "680",
+ "$id": "691",
"name": "withYield",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "681",
+ "$id": "692",
"kind": "query",
"name": "yield",
"serializedName": "yield",
"type": {
- "$id": "682",
+ "$id": "693",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10804,12 +10985,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "683",
+ "$id": "694",
"kind": "method",
"name": "yield",
"serializedName": "yield",
"type": {
- "$id": "684",
+ "$id": "695",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10848,7 +11029,7 @@
},
"parameters": [
{
- "$ref": "683"
+ "$ref": "694"
}
],
"response": {},
@@ -10858,24 +11039,24 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters.withYield"
},
{
- "$id": "685",
+ "$id": "696",
"kind": "basic",
"name": "withCancellationToken",
"accessibility": "public",
"apiVersions": [],
"operation": {
- "$id": "686",
+ "$id": "697",
"name": "withCancellationToken",
"resourceName": "Parameters",
"accessibility": "public",
"parameters": [
{
- "$id": "687",
+ "$id": "698",
"kind": "query",
"name": "cancellationToken",
"serializedName": "cancellationToken",
"type": {
- "$id": "688",
+ "$id": "699",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10890,12 +11071,12 @@
"readOnly": false,
"methodParameterSegments": [
{
- "$id": "689",
+ "$id": "700",
"kind": "method",
"name": "cancellationToken",
"serializedName": "cancellationToken",
"type": {
- "$id": "690",
+ "$id": "701",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string",
@@ -10934,7 +11115,7 @@
},
"parameters": [
{
- "$ref": "689"
+ "$ref": "700"
}
],
"response": {},
@@ -10946,13 +11127,13 @@
],
"parameters": [
{
- "$id": "691",
+ "$id": "702",
"kind": "endpoint",
"name": "endpoint",
"serializedName": "endpoint",
"doc": "Service host",
"type": {
- "$id": "692",
+ "$id": "703",
"kind": "url",
"name": "endpoint",
"crossLanguageDefinitionId": "TypeSpec.url"
@@ -10963,7 +11144,7 @@
"isEndpoint": true,
"defaultValue": {
"type": {
- "$id": "693",
+ "$id": "704",
"kind": "string",
"name": "string",
"crossLanguageDefinitionId": "TypeSpec.string"
@@ -10981,7 +11162,7 @@
"crossLanguageDefinitionId": "SpecialWords.Parameters",
"apiVersions": [],
"parent": {
- "$ref": "194"
+ "$ref": "199"
},
"isMultiServiceClient": false
}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/file/Configuration.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/file/Configuration.json
new file mode 100644
index 00000000000..0d23dae137b
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/file/Configuration.json
@@ -0,0 +1,3 @@
+{
+ "package-name": "Type.File"
+}
diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/file/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/file/tspCodeModel.json
new file mode 100644
index 00000000000..9f39cffeab2
--- /dev/null
+++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/file/tspCodeModel.json
@@ -0,0 +1,51127 @@
+{
+ "name": "Type.File",
+ "apiVersions": [],
+ "enums": [
+ {
+ "$id": "1",
+ "kind": "enum",
+ "name": "FileContentType",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "2",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "3",
+ "kind": "enumvalue",
+ "name": "image/png",
+ "value": "image/png",
+ "valueType": {
+ "$id": "4",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "1"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "TypeSpec.Http",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output",
+ "decorators": []
+ },
+ {
+ "$id": "5",
+ "kind": "enum",
+ "name": "File1ContentType",
+ "crossLanguageDefinitionId": "",
+ "valueType": {
+ "$id": "6",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "7",
+ "kind": "enumvalue",
+ "name": "application/json",
+ "value": "application/json",
+ "valueType": {
+ "$id": "8",
+ "kind": "string",
+ "decorators": [],
+ "doc": "A sequence of textual characters.",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "enumType": {
+ "$ref": "5"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "TypeSpec.Http",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "9",
+ "kind": "enum",
+ "name": "FileContentType2",
+ "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType.anonymous",
+ "valueType": {
+ "$id": "10",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "11",
+ "kind": "enumvalue",
+ "name": "image/png",
+ "value": "image/png",
+ "valueType": {
+ "$ref": "10"
+ },
+ "enumType": {
+ "$ref": "9"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "12",
+ "kind": "enumvalue",
+ "name": "image/jpeg",
+ "value": "image/jpeg",
+ "valueType": {
+ "$ref": "10"
+ },
+ "enumType": {
+ "$ref": "9"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Type.File.Body",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "13",
+ "kind": "enum",
+ "name": "FileContentType3",
+ "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType.anonymous",
+ "valueType": {
+ "$id": "14",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "15",
+ "kind": "enumvalue",
+ "name": "image/png",
+ "value": "image/png",
+ "valueType": {
+ "$ref": "14"
+ },
+ "enumType": {
+ "$ref": "13"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "16",
+ "kind": "enumvalue",
+ "name": "image/jpeg",
+ "value": "image/jpeg",
+ "valueType": {
+ "$ref": "14"
+ },
+ "enumType": {
+ "$ref": "13"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Type.File.Body",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ }
+ ],
+ "constants": [
+ {
+ "$id": "17",
+ "kind": "constant",
+ "name": "uploadFileJsonContentTypeContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "18",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "19",
+ "kind": "constant",
+ "name": "downloadFileJsonContentTypeContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "20",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "21",
+ "kind": "constant",
+ "name": "FileContentType1",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "22",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ {
+ "$id": "23",
+ "kind": "constant",
+ "name": "downloadFileSpecificContentTypeContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "24",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "image/png",
+ "decorators": []
+ },
+ {
+ "$id": "25",
+ "kind": "constant",
+ "name": "FileContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "26",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "image/png",
+ "decorators": []
+ },
+ {
+ "$id": "27",
+ "kind": "constant",
+ "name": "downloadFileDefaultContentTypeContentType",
+ "namespace": "",
+ "usage": "None",
+ "valueType": {
+ "$id": "28",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "*/*",
+ "decorators": []
+ }
+ ],
+ "models": [
+ {
+ "$id": "29",
+ "kind": "model",
+ "name": "File",
+ "namespace": "TypeSpec.Http",
+ "crossLanguageDefinitionId": "TypeSpec.Http.File",
+ "usage": "Input,Output",
+ "doc": "A file in an HTTP request, response, or multipart payload.\n\nFiles have a special meaning that the HTTP library understands. When the body of an HTTP request, response,\nor multipart payload is _effectively_ an instance of `TypeSpec.Http.File` or any type that extends it, the\noperation is treated as a file upload or download.\n\nWhen using file bodies, the fields of the file model are defined to come from particular locations by default:\n\n- `contentType`: The `Content-Type` header of the request, response, or multipart payload (CANNOT be overridden or changed).\n- `contents`: The body of the request, response, or multipart payload (CANNOT be overridden or changed).\n- `filename`: The `filename` parameter value of the `Content-Disposition` header of the response or multipart payload\n(MAY be overridden or changed).\n\nA File may be used as a normal structured JSON object in a request or response, if the request specifies an explicit\n`Content-Type` header. In this case, the entire File model is serialized as if it were any other model. In a JSON payload,\nit will have a structure like:\n\n```\n{\n \"contentType\": ,\n \"filename\": ,\n \"contents\": \n}\n```\n\nThe `contentType` _within_ the file defines what media types the data inside the file can be, but if the specification\ndefines a `Content-Type` for the payload as HTTP metadata, that `Content-Type` metadata defines _how the file is\nserialized_. See the examples below for more information.\n\nNOTE: The `filename` and `contentType` fields are optional. Furthermore, the default location of `filename`\n(`Content-Disposition: ; filename=`) is only valid in HTTP responses and multipart payloads. If\nyou wish to send the `filename` in a request, you must use HTTP metadata decorators to describe the location of the\n`filename` field. You can combine the metadata decorators with `@visibility` to control when the `filename` location\nis overridden, as shown in the examples below.",
+ "summary": "A file in an HTTP request, response, or multipart payload.",
+ "decorators": [],
+ "serializationOptions": {
+ "binary": {
+ "isFile": true,
+ "isText": false,
+ "contentTypes": [
+ "image/png"
+ ],
+ "filename": {
+ "$id": "30",
+ "kind": "ModelProperty",
+ "name": "filename",
+ "node": {
+ "$id": "31",
+ "kind": 15,
+ "id": {
+ "$id": "32",
+ "kind": 3,
+ "sv": "filename",
+ "pos": 8679,
+ "end": 8687,
+ "flags": 0,
+ "parent": {
+ "$ref": "31"
+ },
+ "_id": 931
+ },
+ "decorators": [
+ {
+ "$id": "33",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "34",
+ "kind": 32,
+ "value": "The name of the file, if any.",
+ "pos": 8644,
+ "end": 8675,
+ "flags": 0,
+ "parent": {
+ "$ref": "33"
+ }
+ }
+ ],
+ "target": {
+ "$id": "35",
+ "kind": 3,
+ "sv": "summary",
+ "pos": 8636,
+ "end": 8643,
+ "flags": 1,
+ "parent": {
+ "$ref": "33"
+ },
+ "_id": 932
+ },
+ "pos": 8635,
+ "end": 8676,
+ "flags": 0,
+ "parent": {
+ "$ref": "31"
+ }
+ }
+ ],
+ "value": {
+ "$id": "36",
+ "kind": 45,
+ "target": {
+ "$id": "37",
+ "kind": 3,
+ "sv": "string",
+ "pos": 8690,
+ "end": 8696,
+ "flags": 1,
+ "parent": {
+ "$ref": "36"
+ },
+ "_id": 934
+ },
+ "arguments": [],
+ "pos": 8690,
+ "end": 8696,
+ "flags": 1,
+ "parent": {
+ "$ref": "31"
+ },
+ "_id": 933
+ },
+ "optional": true,
+ "pos": 7976,
+ "end": 8696,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "38",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "39",
+ "kind": 52,
+ "text": "The name of the file, if any.\n\nIn file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\nor multipart payload. In JSON bodies, this value is serialized as a field in the response.\n\nNOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\npayloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\nyou must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\ndecorators.",
+ "pos": 7979,
+ "end": 8630,
+ "flags": 0,
+ "parent": {
+ "$ref": "38"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 7976,
+ "end": 8632,
+ "flags": 0,
+ "parent": {
+ "$ref": "31"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$id": "40",
+ "kind": 13,
+ "id": {
+ "$id": "41",
+ "kind": 3,
+ "sv": "File",
+ "pos": 7210,
+ "end": 7214,
+ "flags": 0,
+ "parent": {
+ "$ref": "40"
+ },
+ "_id": 902
+ },
+ "templateParameters": [
+ {
+ "$id": "42",
+ "kind": 46,
+ "id": {
+ "$id": "43",
+ "kind": 3,
+ "sv": "ContentType",
+ "pos": 7215,
+ "end": 7226,
+ "flags": 0,
+ "parent": {
+ "$ref": "42"
+ },
+ "_id": 915
+ },
+ "constraint": {
+ "$id": "44",
+ "kind": 45,
+ "target": {
+ "$id": "45",
+ "kind": 3,
+ "sv": "string",
+ "pos": 7235,
+ "end": 7241,
+ "flags": 1,
+ "parent": {
+ "$ref": "44"
+ },
+ "_id": 917
+ },
+ "arguments": [],
+ "pos": 7235,
+ "end": 7241,
+ "flags": 1,
+ "parent": {
+ "$ref": "42"
+ },
+ "_id": 916
+ },
+ "default": {
+ "$id": "46",
+ "kind": 45,
+ "target": {
+ "$id": "47",
+ "kind": 3,
+ "sv": "string",
+ "pos": 7244,
+ "end": 7250,
+ "flags": 1,
+ "parent": {
+ "$ref": "46"
+ },
+ "_id": 919
+ },
+ "arguments": [],
+ "pos": 7244,
+ "end": 7250,
+ "flags": 1,
+ "parent": {
+ "$ref": "42"
+ },
+ "_id": 918
+ },
+ "pos": 7215,
+ "end": 7250,
+ "flags": 0,
+ "parent": {
+ "$ref": "40"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "42"
+ }
+ ],
+ "name": "ContentType",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "40"
+ }
+ ],
+ "name": "File",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$id": "48",
+ "kind": 8,
+ "decorators": [],
+ "docs": [],
+ "id": {
+ "$id": "49",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 138,
+ "end": 142,
+ "flags": 0,
+ "parent": {
+ "$ref": "48"
+ },
+ "_id": 1036
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "directives": [],
+ "pos": 119,
+ "end": 143,
+ "flags": 0,
+ "parent": {
+ "$id": "50",
+ "kind": 8,
+ "decorators": [],
+ "directives": [],
+ "id": {
+ "$id": "51",
+ "kind": 3,
+ "sv": "TypeSpec",
+ "pos": 129,
+ "end": 137,
+ "flags": 0,
+ "parent": {
+ "$ref": "50"
+ },
+ "_id": 1035
+ },
+ "statements": {
+ "$ref": "48"
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "pos": 119,
+ "end": 143,
+ "flags": 0,
+ "parent": {
+ "$id": "52",
+ "kind": 0,
+ "statements": [
+ {
+ "$id": "53",
+ "kind": 2,
+ "path": {
+ "$id": "54",
+ "kind": 32,
+ "value": "../dist/src/tsp-index.js",
+ "pos": 7,
+ "end": 33,
+ "flags": 0,
+ "parent": {
+ "$ref": "53"
+ }
+ },
+ "pos": 0,
+ "end": 34,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ }
+ },
+ {
+ "$id": "55",
+ "kind": 2,
+ "path": {
+ "$id": "56",
+ "kind": 32,
+ "value": "./decorators.tsp",
+ "pos": 42,
+ "end": 60,
+ "flags": 0,
+ "parent": {
+ "$ref": "55"
+ }
+ },
+ "pos": 35,
+ "end": 61,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ }
+ },
+ {
+ "$id": "57",
+ "kind": 2,
+ "path": {
+ "$id": "58",
+ "kind": 32,
+ "value": "./private.decorators.tsp",
+ "pos": 69,
+ "end": 95,
+ "flags": 0,
+ "parent": {
+ "$ref": "57"
+ }
+ },
+ "pos": 62,
+ "end": 96,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ }
+ },
+ {
+ "$id": "59",
+ "kind": 2,
+ "path": {
+ "$id": "60",
+ "kind": 32,
+ "value": "./auth.tsp",
+ "pos": 104,
+ "end": 116,
+ "flags": 0,
+ "parent": {
+ "$ref": "59"
+ }
+ },
+ "pos": 97,
+ "end": 117,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ }
+ },
+ {
+ "$ref": "50"
+ },
+ {
+ "$id": "61",
+ "kind": 9,
+ "name": {
+ "$id": "62",
+ "kind": 3,
+ "sv": "Private",
+ "pos": 151,
+ "end": 158,
+ "flags": 1,
+ "parent": {
+ "$ref": "61"
+ },
+ "_id": 8
+ },
+ "pos": 145,
+ "end": 159,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ }
+ },
+ {
+ "$id": "63",
+ "kind": 13,
+ "id": {
+ "$id": "64",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 271,
+ "end": 279,
+ "flags": 0,
+ "parent": {
+ "$ref": "63"
+ },
+ "_id": 944
+ },
+ "templateParameters": [
+ {
+ "$id": "65",
+ "kind": 46,
+ "id": {
+ "$id": "66",
+ "kind": 3,
+ "sv": "Status",
+ "pos": 280,
+ "end": 286,
+ "flags": 0,
+ "parent": {
+ "$ref": "65"
+ },
+ "_id": 946
+ },
+ "pos": 280,
+ "end": 286,
+ "flags": 0,
+ "parent": {
+ "$ref": "63"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "65"
+ }
+ ],
+ "name": "Status",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "63"
+ }
+ ],
+ "name": "Response",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 101
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 102
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 279,
+ "end": 287
+ },
+ "decorators": [
+ {
+ "$id": "67",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "68",
+ "kind": 32,
+ "value": "",
+ "pos": 261,
+ "end": 263,
+ "flags": 0,
+ "parent": {
+ "$ref": "67"
+ }
+ }
+ ],
+ "target": {
+ "$id": "69",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 257,
+ "end": 260,
+ "flags": 1,
+ "parent": {
+ "$ref": "67"
+ },
+ "_id": 945
+ },
+ "pos": 256,
+ "end": 264,
+ "flags": 0,
+ "parent": {
+ "$ref": "63"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "70",
+ "kind": 15,
+ "id": {
+ "$id": "71",
+ "kind": 3,
+ "sv": "statusCode",
+ "pos": 333,
+ "end": 343,
+ "flags": 0,
+ "parent": {
+ "$ref": "70"
+ },
+ "_id": 947
+ },
+ "decorators": [
+ {
+ "$id": "72",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "73",
+ "kind": 32,
+ "value": "The status code.",
+ "pos": 297,
+ "end": 315,
+ "flags": 0,
+ "parent": {
+ "$ref": "72"
+ }
+ }
+ ],
+ "target": {
+ "$id": "74",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 293,
+ "end": 296,
+ "flags": 1,
+ "parent": {
+ "$ref": "72"
+ },
+ "_id": 948
+ },
+ "pos": 292,
+ "end": 316,
+ "flags": 0,
+ "parent": {
+ "$ref": "70"
+ }
+ },
+ {
+ "$id": "75",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "76",
+ "kind": 3,
+ "sv": "statusCode",
+ "pos": 320,
+ "end": 330,
+ "flags": 1,
+ "parent": {
+ "$ref": "75"
+ },
+ "_id": 949
+ },
+ "pos": 319,
+ "end": 330,
+ "flags": 0,
+ "parent": {
+ "$ref": "70"
+ }
+ }
+ ],
+ "value": {
+ "$id": "77",
+ "kind": 45,
+ "target": {
+ "$id": "78",
+ "kind": 3,
+ "sv": "Status",
+ "pos": 345,
+ "end": 351,
+ "flags": 1,
+ "parent": {
+ "$ref": "77"
+ },
+ "_id": 955
+ },
+ "arguments": [],
+ "pos": 345,
+ "end": 351,
+ "flags": 1,
+ "parent": {
+ "$ref": "70"
+ },
+ "_id": 954
+ },
+ "optional": false,
+ "pos": 292,
+ "end": 351,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "63"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "70"
+ },
+ "name": "statusCode",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "63"
+ }
+ ],
+ "name": "Response",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 101
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 288,
+ "end": 354
+ },
+ "pos": 161,
+ "end": 354,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "79",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "80",
+ "kind": 52,
+ "text": "Describes an HTTP response.",
+ "pos": 164,
+ "end": 202,
+ "flags": 0,
+ "parent": {
+ "$ref": "79"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "81",
+ "kind": 57,
+ "tagName": {
+ "$id": "82",
+ "kind": 3,
+ "sv": "template",
+ "pos": 203,
+ "end": 211,
+ "flags": 0,
+ "parent": {
+ "$ref": "81"
+ }
+ },
+ "paramName": {
+ "$id": "83",
+ "kind": 3,
+ "sv": "Status",
+ "pos": 212,
+ "end": 218,
+ "flags": 0,
+ "parent": {
+ "$ref": "81"
+ }
+ },
+ "content": [
+ {
+ "$id": "84",
+ "kind": 52,
+ "text": "The status code of the response.",
+ "pos": 219,
+ "end": 253,
+ "flags": 0,
+ "parent": {
+ "$ref": "81"
+ }
+ }
+ ],
+ "pos": 202,
+ "end": 253,
+ "flags": 0,
+ "parent": {
+ "$ref": "79"
+ }
+ }
+ ],
+ "pos": 161,
+ "end": 255,
+ "flags": 0,
+ "parent": {
+ "$ref": "63"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "63"
+ }
+ ],
+ "name": "Response",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 101
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "85",
+ "kind": 13,
+ "id": {
+ "$id": "86",
+ "kind": 3,
+ "sv": "Body",
+ "pos": 647,
+ "end": 651,
+ "flags": 0,
+ "parent": {
+ "$ref": "85"
+ },
+ "_id": 1037
+ },
+ "templateParameters": [
+ {
+ "$id": "87",
+ "kind": 46,
+ "id": {
+ "$id": "88",
+ "kind": 3,
+ "sv": "Type",
+ "pos": 652,
+ "end": 656,
+ "flags": 0,
+ "parent": {
+ "$ref": "87"
+ },
+ "_id": 1039
+ },
+ "pos": 652,
+ "end": 656,
+ "flags": 0,
+ "parent": {
+ "$ref": "85"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "87"
+ }
+ ],
+ "name": "Type",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "85"
+ }
+ ],
+ "name": "Body",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 110
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 111
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 651,
+ "end": 657
+ },
+ "decorators": [
+ {
+ "$id": "89",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "90",
+ "kind": 32,
+ "value": "",
+ "pos": 637,
+ "end": 639,
+ "flags": 0,
+ "parent": {
+ "$ref": "89"
+ }
+ }
+ ],
+ "target": {
+ "$id": "91",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 633,
+ "end": 636,
+ "flags": 1,
+ "parent": {
+ "$ref": "89"
+ },
+ "_id": 1038
+ },
+ "pos": 632,
+ "end": 640,
+ "flags": 0,
+ "parent": {
+ "$ref": "85"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "92",
+ "kind": 15,
+ "id": {
+ "$id": "93",
+ "kind": 3,
+ "sv": "body",
+ "pos": 732,
+ "end": 736,
+ "flags": 0,
+ "parent": {
+ "$ref": "92"
+ },
+ "_id": 1040
+ },
+ "decorators": [
+ {
+ "$id": "94",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "95",
+ "kind": 3,
+ "sv": "body",
+ "pos": 663,
+ "end": 667,
+ "flags": 1,
+ "parent": {
+ "$ref": "94"
+ },
+ "_id": 1041
+ },
+ "pos": 662,
+ "end": 667,
+ "flags": 0,
+ "parent": {
+ "$ref": "92"
+ }
+ },
+ {
+ "$id": "96",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "97",
+ "kind": 32,
+ "value": "The body type of the operation request or response.",
+ "pos": 675,
+ "end": 728,
+ "flags": 0,
+ "parent": {
+ "$ref": "96"
+ }
+ }
+ ],
+ "target": {
+ "$id": "98",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 671,
+ "end": 674,
+ "flags": 1,
+ "parent": {
+ "$ref": "96"
+ },
+ "_id": 1046
+ },
+ "pos": 670,
+ "end": 729,
+ "flags": 0,
+ "parent": {
+ "$ref": "92"
+ }
+ }
+ ],
+ "value": {
+ "$id": "99",
+ "kind": 45,
+ "target": {
+ "$id": "100",
+ "kind": 3,
+ "sv": "Type",
+ "pos": 738,
+ "end": 742,
+ "flags": 1,
+ "parent": {
+ "$ref": "99"
+ },
+ "_id": 1048
+ },
+ "arguments": [],
+ "pos": 738,
+ "end": 742,
+ "flags": 1,
+ "parent": {
+ "$ref": "92"
+ },
+ "_id": 1047
+ },
+ "optional": false,
+ "pos": 662,
+ "end": 742,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "85"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "92"
+ },
+ "name": "body",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "85"
+ }
+ ],
+ "name": "Body",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 110
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 658,
+ "end": 745
+ },
+ "pos": 356,
+ "end": 745,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "101",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "102",
+ "kind": 52,
+ "text": "Defines a model with a single property of the given type, marked with `@body`.\n\nThis can be useful in situations where you cannot use a bare type as the body\nand it is awkward to add a property.",
+ "pos": 359,
+ "end": 572,
+ "flags": 0,
+ "parent": {
+ "$ref": "101"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "103",
+ "kind": 57,
+ "tagName": {
+ "$id": "104",
+ "kind": 3,
+ "sv": "template",
+ "pos": 573,
+ "end": 581,
+ "flags": 0,
+ "parent": {
+ "$ref": "103"
+ }
+ },
+ "paramName": {
+ "$id": "105",
+ "kind": 3,
+ "sv": "Type",
+ "pos": 582,
+ "end": 586,
+ "flags": 0,
+ "parent": {
+ "$ref": "103"
+ }
+ },
+ "content": [
+ {
+ "$id": "106",
+ "kind": 52,
+ "text": "The type of the model's `body` property.",
+ "pos": 587,
+ "end": 629,
+ "flags": 0,
+ "parent": {
+ "$ref": "103"
+ }
+ }
+ ],
+ "pos": 572,
+ "end": 629,
+ "flags": 0,
+ "parent": {
+ "$ref": "101"
+ }
+ }
+ ],
+ "pos": 356,
+ "end": 631,
+ "flags": 0,
+ "parent": {
+ "$ref": "85"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "85"
+ }
+ ],
+ "name": "Body",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 110
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "107",
+ "kind": 13,
+ "id": {
+ "$id": "108",
+ "kind": 3,
+ "sv": "LocationHeader",
+ "pos": 864,
+ "end": 878,
+ "flags": 0,
+ "parent": {
+ "$ref": "107"
+ },
+ "_id": 1049
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "109",
+ "kind": 15,
+ "id": {
+ "$id": "110",
+ "kind": 3,
+ "sv": "location",
+ "pos": 1003,
+ "end": 1011,
+ "flags": 0,
+ "parent": {
+ "$ref": "109"
+ },
+ "_id": 1050
+ },
+ "decorators": [
+ {
+ "$id": "111",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "112",
+ "kind": 32,
+ "value": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "pos": 888,
+ "end": 989,
+ "flags": 0,
+ "parent": {
+ "$ref": "111"
+ }
+ }
+ ],
+ "target": {
+ "$id": "113",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 884,
+ "end": 887,
+ "flags": 1,
+ "parent": {
+ "$ref": "111"
+ },
+ "_id": 1051
+ },
+ "pos": 883,
+ "end": 990,
+ "flags": 0,
+ "parent": {
+ "$ref": "109"
+ }
+ },
+ {
+ "$id": "114",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "115",
+ "kind": 3,
+ "sv": "header",
+ "pos": 994,
+ "end": 1000,
+ "flags": 1,
+ "parent": {
+ "$ref": "114"
+ },
+ "_id": 1052
+ },
+ "pos": 993,
+ "end": 1000,
+ "flags": 0,
+ "parent": {
+ "$ref": "109"
+ }
+ }
+ ],
+ "value": {
+ "$id": "116",
+ "kind": 45,
+ "target": {
+ "$id": "117",
+ "kind": 3,
+ "sv": "string",
+ "pos": 1013,
+ "end": 1019,
+ "flags": 1,
+ "parent": {
+ "$ref": "116"
+ },
+ "_id": 1070
+ },
+ "arguments": [],
+ "pos": 1013,
+ "end": 1019,
+ "flags": 1,
+ "parent": {
+ "$ref": "109"
+ },
+ "_id": 1069
+ },
+ "optional": false,
+ "pos": 883,
+ "end": 1019,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "107"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "109"
+ },
+ "name": "location",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "107"
+ }
+ ],
+ "name": "LocationHeader",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 112
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 879,
+ "end": 1022
+ },
+ "pos": 747,
+ "end": 1022,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "118",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "119",
+ "kind": 52,
+ "text": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "pos": 750,
+ "end": 855,
+ "flags": 0,
+ "parent": {
+ "$ref": "118"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 747,
+ "end": 857,
+ "flags": 0,
+ "parent": {
+ "$ref": "107"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "107"
+ }
+ ],
+ "name": "LocationHeader",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 112
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "120",
+ "kind": 13,
+ "id": {
+ "$id": "121",
+ "kind": 3,
+ "sv": "OkResponse",
+ "pos": 1319,
+ "end": 1329,
+ "flags": 0,
+ "parent": {
+ "$ref": "120"
+ },
+ "_id": 1071
+ },
+ "is": {
+ "$id": "122",
+ "kind": 45,
+ "target": {
+ "$id": "123",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 1333,
+ "end": 1341,
+ "flags": 1,
+ "parent": {
+ "$ref": "122"
+ },
+ "_id": 1073
+ },
+ "arguments": [
+ {
+ "$id": "124",
+ "kind": 61,
+ "argument": {
+ "$id": "125",
+ "kind": 33,
+ "value": 200,
+ "valueAsString": "200",
+ "pos": 1342,
+ "end": 1345,
+ "flags": 1,
+ "parent": {
+ "$ref": "124"
+ }
+ },
+ "pos": 1342,
+ "end": 1345,
+ "flags": 1,
+ "parent": {
+ "$ref": "122"
+ }
+ }
+ ],
+ "pos": 1333,
+ "end": 1346,
+ "flags": 1,
+ "parent": {
+ "$ref": "120"
+ },
+ "_id": 1072
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 1275,
+ "end": 1347,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "126",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "127",
+ "kind": 52,
+ "text": "The request has succeeded.",
+ "pos": 1278,
+ "end": 1310,
+ "flags": 0,
+ "parent": {
+ "$ref": "126"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1275,
+ "end": 1312,
+ "flags": 0,
+ "parent": {
+ "$ref": "120"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "120"
+ }
+ ],
+ "name": "OkResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 114
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "128",
+ "kind": 13,
+ "id": {
+ "$id": "129",
+ "kind": 3,
+ "sv": "CreatedResponse",
+ "pos": 1440,
+ "end": 1455,
+ "flags": 0,
+ "parent": {
+ "$ref": "128"
+ },
+ "_id": 1074
+ },
+ "is": {
+ "$id": "130",
+ "kind": 45,
+ "target": {
+ "$id": "131",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 1459,
+ "end": 1467,
+ "flags": 1,
+ "parent": {
+ "$ref": "130"
+ },
+ "_id": 1076
+ },
+ "arguments": [
+ {
+ "$id": "132",
+ "kind": 61,
+ "argument": {
+ "$id": "133",
+ "kind": 33,
+ "value": 201,
+ "valueAsString": "201",
+ "pos": 1468,
+ "end": 1471,
+ "flags": 1,
+ "parent": {
+ "$ref": "132"
+ }
+ },
+ "pos": 1468,
+ "end": 1471,
+ "flags": 1,
+ "parent": {
+ "$ref": "130"
+ }
+ }
+ ],
+ "pos": 1459,
+ "end": 1472,
+ "flags": 1,
+ "parent": {
+ "$ref": "128"
+ },
+ "_id": 1075
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 1348,
+ "end": 1473,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "134",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "135",
+ "kind": 52,
+ "text": "The request has succeeded and a new resource has been created as a result.",
+ "pos": 1351,
+ "end": 1431,
+ "flags": 0,
+ "parent": {
+ "$ref": "134"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1348,
+ "end": 1433,
+ "flags": 0,
+ "parent": {
+ "$ref": "128"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "128"
+ }
+ ],
+ "name": "CreatedResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 115
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "136",
+ "kind": 13,
+ "id": {
+ "$id": "137",
+ "kind": 3,
+ "sv": "AcceptedResponse",
+ "pos": 1575,
+ "end": 1591,
+ "flags": 0,
+ "parent": {
+ "$ref": "136"
+ },
+ "_id": 1077
+ },
+ "is": {
+ "$id": "138",
+ "kind": 45,
+ "target": {
+ "$id": "139",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 1595,
+ "end": 1603,
+ "flags": 1,
+ "parent": {
+ "$ref": "138"
+ },
+ "_id": 1079
+ },
+ "arguments": [
+ {
+ "$id": "140",
+ "kind": 61,
+ "argument": {
+ "$id": "141",
+ "kind": 33,
+ "value": 202,
+ "valueAsString": "202",
+ "pos": 1604,
+ "end": 1607,
+ "flags": 1,
+ "parent": {
+ "$ref": "140"
+ }
+ },
+ "pos": 1604,
+ "end": 1607,
+ "flags": 1,
+ "parent": {
+ "$ref": "138"
+ }
+ }
+ ],
+ "pos": 1595,
+ "end": 1608,
+ "flags": 1,
+ "parent": {
+ "$ref": "136"
+ },
+ "_id": 1078
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 1474,
+ "end": 1609,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "142",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "143",
+ "kind": 52,
+ "text": "The request has been accepted for processing, but processing has not yet completed.",
+ "pos": 1477,
+ "end": 1566,
+ "flags": 0,
+ "parent": {
+ "$ref": "142"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1474,
+ "end": 1568,
+ "flags": 0,
+ "parent": {
+ "$ref": "136"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "136"
+ }
+ ],
+ "name": "AcceptedResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 116
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "144",
+ "kind": 13,
+ "id": {
+ "$id": "145",
+ "kind": 3,
+ "sv": "NoContentResponse",
+ "pos": 1704,
+ "end": 1721,
+ "flags": 0,
+ "parent": {
+ "$ref": "144"
+ },
+ "_id": 941
+ },
+ "is": {
+ "$id": "146",
+ "kind": 45,
+ "target": {
+ "$id": "147",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 1725,
+ "end": 1733,
+ "flags": 1,
+ "parent": {
+ "$ref": "146"
+ },
+ "_id": 943
+ },
+ "arguments": [
+ {
+ "$id": "148",
+ "kind": 61,
+ "argument": {
+ "$id": "149",
+ "kind": 33,
+ "value": 204,
+ "valueAsString": "204",
+ "pos": 1734,
+ "end": 1737,
+ "flags": 1,
+ "parent": {
+ "$ref": "148"
+ }
+ },
+ "pos": 1734,
+ "end": 1737,
+ "flags": 1,
+ "parent": {
+ "$ref": "146"
+ }
+ }
+ ],
+ "pos": 1725,
+ "end": 1738,
+ "flags": 1,
+ "parent": {
+ "$ref": "144"
+ },
+ "_id": 942
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 1610,
+ "end": 1739,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "150",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "151",
+ "kind": 52,
+ "text": "There is no content to send for this request, but the headers may be useful.",
+ "pos": 1613,
+ "end": 1695,
+ "flags": 0,
+ "parent": {
+ "$ref": "150"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1610,
+ "end": 1697,
+ "flags": 0,
+ "parent": {
+ "$ref": "144"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "144"
+ }
+ ],
+ "name": "NoContentResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 100
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "152",
+ "kind": 13,
+ "id": {
+ "$id": "153",
+ "kind": 3,
+ "sv": "MovedResponse",
+ "pos": 1859,
+ "end": 1872,
+ "flags": 0,
+ "parent": {
+ "$ref": "152"
+ },
+ "_id": 1080
+ },
+ "is": {
+ "$id": "154",
+ "kind": 45,
+ "target": {
+ "$id": "155",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 1876,
+ "end": 1884,
+ "flags": 1,
+ "parent": {
+ "$ref": "154"
+ },
+ "_id": 1082
+ },
+ "arguments": [
+ {
+ "$id": "156",
+ "kind": 61,
+ "argument": {
+ "$id": "157",
+ "kind": 33,
+ "value": 301,
+ "valueAsString": "301",
+ "pos": 1885,
+ "end": 1888,
+ "flags": 1,
+ "parent": {
+ "$ref": "156"
+ }
+ },
+ "pos": 1885,
+ "end": 1888,
+ "flags": 1,
+ "parent": {
+ "$ref": "154"
+ }
+ }
+ ],
+ "pos": 1876,
+ "end": 1889,
+ "flags": 1,
+ "parent": {
+ "$ref": "152"
+ },
+ "_id": 1081
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "158",
+ "kind": 16,
+ "target": {
+ "$id": "159",
+ "kind": 45,
+ "target": {
+ "$id": "160",
+ "kind": 3,
+ "sv": "LocationHeader",
+ "pos": 1897,
+ "end": 1911,
+ "flags": 1,
+ "parent": {
+ "$ref": "159"
+ },
+ "_id": 1084
+ },
+ "arguments": [],
+ "pos": 1897,
+ "end": 1911,
+ "flags": 1,
+ "parent": {
+ "$ref": "158"
+ },
+ "_id": 1083
+ },
+ "pos": 1894,
+ "end": 1911,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "152"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 1890,
+ "end": 1914
+ },
+ "pos": 1740,
+ "end": 1914,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "161",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "162",
+ "kind": 52,
+ "text": "The URL of the requested resource has been changed permanently. The new URL is given in the response.",
+ "pos": 1743,
+ "end": 1850,
+ "flags": 0,
+ "parent": {
+ "$ref": "161"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1740,
+ "end": 1852,
+ "flags": 0,
+ "parent": {
+ "$ref": "152"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "152"
+ }
+ ],
+ "name": "MovedResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 117
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "163",
+ "kind": 13,
+ "id": {
+ "$id": "164",
+ "kind": 3,
+ "sv": "NotModifiedResponse",
+ "pos": 2014,
+ "end": 2033,
+ "flags": 0,
+ "parent": {
+ "$ref": "163"
+ },
+ "_id": 1085
+ },
+ "is": {
+ "$id": "165",
+ "kind": 45,
+ "target": {
+ "$id": "166",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 2037,
+ "end": 2045,
+ "flags": 1,
+ "parent": {
+ "$ref": "165"
+ },
+ "_id": 1087
+ },
+ "arguments": [
+ {
+ "$id": "167",
+ "kind": 61,
+ "argument": {
+ "$id": "168",
+ "kind": 33,
+ "value": 304,
+ "valueAsString": "304",
+ "pos": 2046,
+ "end": 2049,
+ "flags": 1,
+ "parent": {
+ "$ref": "167"
+ }
+ },
+ "pos": 2046,
+ "end": 2049,
+ "flags": 1,
+ "parent": {
+ "$ref": "165"
+ }
+ }
+ ],
+ "pos": 2037,
+ "end": 2050,
+ "flags": 1,
+ "parent": {
+ "$ref": "163"
+ },
+ "_id": 1086
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 1915,
+ "end": 2051,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "169",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "170",
+ "kind": 52,
+ "text": "The client has made a conditional request and the resource has not been modified.",
+ "pos": 1918,
+ "end": 2005,
+ "flags": 0,
+ "parent": {
+ "$ref": "169"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1915,
+ "end": 2007,
+ "flags": 0,
+ "parent": {
+ "$ref": "163"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "163"
+ }
+ ],
+ "name": "NotModifiedResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 118
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "171",
+ "kind": 13,
+ "id": {
+ "$id": "172",
+ "kind": 3,
+ "sv": "BadRequestResponse",
+ "pos": 2136,
+ "end": 2154,
+ "flags": 0,
+ "parent": {
+ "$ref": "171"
+ },
+ "_id": 1088
+ },
+ "is": {
+ "$id": "173",
+ "kind": 45,
+ "target": {
+ "$id": "174",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 2158,
+ "end": 2166,
+ "flags": 1,
+ "parent": {
+ "$ref": "173"
+ },
+ "_id": 1090
+ },
+ "arguments": [
+ {
+ "$id": "175",
+ "kind": 61,
+ "argument": {
+ "$id": "176",
+ "kind": 33,
+ "value": 400,
+ "valueAsString": "400",
+ "pos": 2167,
+ "end": 2170,
+ "flags": 1,
+ "parent": {
+ "$ref": "175"
+ }
+ },
+ "pos": 2167,
+ "end": 2170,
+ "flags": 1,
+ "parent": {
+ "$ref": "173"
+ }
+ }
+ ],
+ "pos": 2158,
+ "end": 2171,
+ "flags": 1,
+ "parent": {
+ "$ref": "171"
+ },
+ "_id": 1089
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 2052,
+ "end": 2172,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "177",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "178",
+ "kind": 52,
+ "text": "The server could not understand the request due to invalid syntax.",
+ "pos": 2055,
+ "end": 2127,
+ "flags": 0,
+ "parent": {
+ "$ref": "177"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 2052,
+ "end": 2129,
+ "flags": 0,
+ "parent": {
+ "$ref": "171"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "171"
+ }
+ ],
+ "name": "BadRequestResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 119
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "179",
+ "kind": 13,
+ "id": {
+ "$id": "180",
+ "kind": 3,
+ "sv": "UnauthorizedResponse",
+ "pos": 2214,
+ "end": 2234,
+ "flags": 0,
+ "parent": {
+ "$ref": "179"
+ },
+ "_id": 1091
+ },
+ "is": {
+ "$id": "181",
+ "kind": 45,
+ "target": {
+ "$id": "182",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 2238,
+ "end": 2246,
+ "flags": 1,
+ "parent": {
+ "$ref": "181"
+ },
+ "_id": 1093
+ },
+ "arguments": [
+ {
+ "$id": "183",
+ "kind": 61,
+ "argument": {
+ "$id": "184",
+ "kind": 33,
+ "value": 401,
+ "valueAsString": "401",
+ "pos": 2247,
+ "end": 2250,
+ "flags": 1,
+ "parent": {
+ "$ref": "183"
+ }
+ },
+ "pos": 2247,
+ "end": 2250,
+ "flags": 1,
+ "parent": {
+ "$ref": "181"
+ }
+ }
+ ],
+ "pos": 2238,
+ "end": 2251,
+ "flags": 1,
+ "parent": {
+ "$ref": "179"
+ },
+ "_id": 1092
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 2173,
+ "end": 2252,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "185",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "186",
+ "kind": 52,
+ "text": "Access is unauthorized.",
+ "pos": 2176,
+ "end": 2205,
+ "flags": 0,
+ "parent": {
+ "$ref": "185"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 2173,
+ "end": 2207,
+ "flags": 0,
+ "parent": {
+ "$ref": "179"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "179"
+ }
+ ],
+ "name": "UnauthorizedResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 120
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "187",
+ "kind": 13,
+ "id": {
+ "$id": "188",
+ "kind": 3,
+ "sv": "ForbiddenResponse",
+ "pos": 2291,
+ "end": 2308,
+ "flags": 0,
+ "parent": {
+ "$ref": "187"
+ },
+ "_id": 1094
+ },
+ "is": {
+ "$id": "189",
+ "kind": 45,
+ "target": {
+ "$id": "190",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 2312,
+ "end": 2320,
+ "flags": 1,
+ "parent": {
+ "$ref": "189"
+ },
+ "_id": 1096
+ },
+ "arguments": [
+ {
+ "$id": "191",
+ "kind": 61,
+ "argument": {
+ "$id": "192",
+ "kind": 33,
+ "value": 403,
+ "valueAsString": "403",
+ "pos": 2321,
+ "end": 2324,
+ "flags": 1,
+ "parent": {
+ "$ref": "191"
+ }
+ },
+ "pos": 2321,
+ "end": 2324,
+ "flags": 1,
+ "parent": {
+ "$ref": "189"
+ }
+ }
+ ],
+ "pos": 2312,
+ "end": 2325,
+ "flags": 1,
+ "parent": {
+ "$ref": "187"
+ },
+ "_id": 1095
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 2253,
+ "end": 2326,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "193",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "194",
+ "kind": 52,
+ "text": "Access is forbidden.",
+ "pos": 2256,
+ "end": 2282,
+ "flags": 0,
+ "parent": {
+ "$ref": "193"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 2253,
+ "end": 2284,
+ "flags": 0,
+ "parent": {
+ "$ref": "187"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "187"
+ }
+ ],
+ "name": "ForbiddenResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 121
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "195",
+ "kind": 13,
+ "id": {
+ "$id": "196",
+ "kind": 3,
+ "sv": "NotFoundResponse",
+ "pos": 2391,
+ "end": 2407,
+ "flags": 0,
+ "parent": {
+ "$ref": "195"
+ },
+ "_id": 1097
+ },
+ "is": {
+ "$id": "197",
+ "kind": 45,
+ "target": {
+ "$id": "198",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 2411,
+ "end": 2419,
+ "flags": 1,
+ "parent": {
+ "$ref": "197"
+ },
+ "_id": 1099
+ },
+ "arguments": [
+ {
+ "$id": "199",
+ "kind": 61,
+ "argument": {
+ "$id": "200",
+ "kind": 33,
+ "value": 404,
+ "valueAsString": "404",
+ "pos": 2420,
+ "end": 2423,
+ "flags": 1,
+ "parent": {
+ "$ref": "199"
+ }
+ },
+ "pos": 2420,
+ "end": 2423,
+ "flags": 1,
+ "parent": {
+ "$ref": "197"
+ }
+ }
+ ],
+ "pos": 2411,
+ "end": 2424,
+ "flags": 1,
+ "parent": {
+ "$ref": "195"
+ },
+ "_id": 1098
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 2327,
+ "end": 2425,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "201",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "202",
+ "kind": 52,
+ "text": "The server cannot find the requested resource.",
+ "pos": 2330,
+ "end": 2382,
+ "flags": 0,
+ "parent": {
+ "$ref": "201"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 2327,
+ "end": 2384,
+ "flags": 0,
+ "parent": {
+ "$ref": "195"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "195"
+ }
+ ],
+ "name": "NotFoundResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 122
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "203",
+ "kind": 13,
+ "id": {
+ "$id": "204",
+ "kind": 3,
+ "sv": "ConflictResponse",
+ "pos": 2503,
+ "end": 2519,
+ "flags": 0,
+ "parent": {
+ "$ref": "203"
+ },
+ "_id": 1100
+ },
+ "is": {
+ "$id": "205",
+ "kind": 45,
+ "target": {
+ "$id": "206",
+ "kind": 3,
+ "sv": "Response",
+ "pos": 2523,
+ "end": 2531,
+ "flags": 1,
+ "parent": {
+ "$ref": "205"
+ },
+ "_id": 1102
+ },
+ "arguments": [
+ {
+ "$id": "207",
+ "kind": 61,
+ "argument": {
+ "$id": "208",
+ "kind": 33,
+ "value": 409,
+ "valueAsString": "409",
+ "pos": 2532,
+ "end": 2535,
+ "flags": 1,
+ "parent": {
+ "$ref": "207"
+ }
+ },
+ "pos": 2532,
+ "end": 2535,
+ "flags": 1,
+ "parent": {
+ "$ref": "205"
+ }
+ }
+ ],
+ "pos": 2523,
+ "end": 2536,
+ "flags": 1,
+ "parent": {
+ "$ref": "203"
+ },
+ "_id": 1101
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "pos": 2426,
+ "end": 2537,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "209",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "210",
+ "kind": 52,
+ "text": "The request conflicts with the current state of the server.",
+ "pos": 2429,
+ "end": 2494,
+ "flags": 0,
+ "parent": {
+ "$ref": "209"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 2426,
+ "end": 2496,
+ "flags": 0,
+ "parent": {
+ "$ref": "203"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "203"
+ }
+ ],
+ "name": "ConflictResponse",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 123
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "211",
+ "kind": 13,
+ "id": {
+ "$id": "212",
+ "kind": 3,
+ "sv": "PlainData",
+ "pos": 2773,
+ "end": 2782,
+ "flags": 0,
+ "parent": {
+ "$ref": "211"
+ },
+ "_id": 1103
+ },
+ "templateParameters": [
+ {
+ "$id": "213",
+ "kind": 46,
+ "id": {
+ "$id": "214",
+ "kind": 3,
+ "sv": "Data",
+ "pos": 2783,
+ "end": 2787,
+ "flags": 0,
+ "parent": {
+ "$ref": "213"
+ },
+ "_id": 1106
+ },
+ "pos": 2783,
+ "end": 2787,
+ "flags": 0,
+ "parent": {
+ "$ref": "211"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "213"
+ }
+ ],
+ "name": "Data",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "211"
+ }
+ ],
+ "name": "PlainData",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 124
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 125
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 2782,
+ "end": 2788
+ },
+ "decorators": [
+ {
+ "$id": "215",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "216",
+ "kind": 3,
+ "sv": "plainData",
+ "pos": 2757,
+ "end": 2766,
+ "flags": 1,
+ "parent": {
+ "$ref": "215"
+ },
+ "_id": 1107
+ },
+ "pos": 2756,
+ "end": 2766,
+ "flags": 0,
+ "parent": {
+ "$ref": "211"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "217",
+ "kind": 16,
+ "target": {
+ "$id": "218",
+ "kind": 45,
+ "target": {
+ "$id": "219",
+ "kind": 3,
+ "sv": "Data",
+ "pos": 2796,
+ "end": 2800,
+ "flags": 1,
+ "parent": {
+ "$ref": "218"
+ },
+ "_id": 1105
+ },
+ "arguments": [],
+ "pos": 2796,
+ "end": 2800,
+ "flags": 1,
+ "parent": {
+ "$ref": "217"
+ },
+ "_id": 1104
+ },
+ "pos": 2793,
+ "end": 2800,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "211"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 2789,
+ "end": 2803
+ },
+ "pos": 2539,
+ "end": 2803,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "220",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "221",
+ "kind": 52,
+ "text": "Produces a new model with the same properties as T, but with `@query`,\n`@header`, `@body`, and `@path` decorators removed from all properties.",
+ "pos": 2542,
+ "end": 2698,
+ "flags": 0,
+ "parent": {
+ "$ref": "220"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "222",
+ "kind": 57,
+ "tagName": {
+ "$id": "223",
+ "kind": 3,
+ "sv": "template",
+ "pos": 2699,
+ "end": 2707,
+ "flags": 0,
+ "parent": {
+ "$ref": "222"
+ }
+ },
+ "paramName": {
+ "$id": "224",
+ "kind": 3,
+ "sv": "Data",
+ "pos": 2708,
+ "end": 2712,
+ "flags": 0,
+ "parent": {
+ "$ref": "222"
+ }
+ },
+ "content": [
+ {
+ "$id": "225",
+ "kind": 52,
+ "text": "The model to spread as the plain data.",
+ "pos": 2713,
+ "end": 2753,
+ "flags": 0,
+ "parent": {
+ "$ref": "222"
+ }
+ }
+ ],
+ "pos": 2698,
+ "end": 2753,
+ "flags": 0,
+ "parent": {
+ "$ref": "220"
+ }
+ }
+ ],
+ "pos": 2539,
+ "end": 2755,
+ "flags": 0,
+ "parent": {
+ "$ref": "211"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "211"
+ }
+ ],
+ "name": "PlainData",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 124
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$ref": "40"
+ },
+ {
+ "$id": "226",
+ "kind": 13,
+ "id": {
+ "$id": "227",
+ "kind": 3,
+ "sv": "HttpPartOptions",
+ "pos": 8992,
+ "end": 9007,
+ "flags": 0,
+ "parent": {
+ "$ref": "226"
+ },
+ "_id": 1116
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "228",
+ "kind": 15,
+ "id": {
+ "$id": "229",
+ "kind": 3,
+ "sv": "name",
+ "pos": 9065,
+ "end": 9069,
+ "flags": 0,
+ "parent": {
+ "$ref": "228"
+ },
+ "_id": 1117
+ },
+ "decorators": [],
+ "value": {
+ "$id": "230",
+ "kind": 45,
+ "target": {
+ "$id": "231",
+ "kind": 3,
+ "sv": "string",
+ "pos": 9072,
+ "end": 9078,
+ "flags": 1,
+ "parent": {
+ "$ref": "230"
+ },
+ "_id": 1119
+ },
+ "arguments": [],
+ "pos": 9072,
+ "end": 9078,
+ "flags": 1,
+ "parent": {
+ "$ref": "228"
+ },
+ "_id": 1118
+ },
+ "optional": true,
+ "pos": 9012,
+ "end": 9078,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "232",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "233",
+ "kind": 52,
+ "text": "Name of the part when using the array form.",
+ "pos": 9015,
+ "end": 9060,
+ "flags": 0,
+ "parent": {
+ "$ref": "232"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 9012,
+ "end": 9062,
+ "flags": 0,
+ "parent": {
+ "$ref": "228"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "226"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "228"
+ },
+ "name": "name",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "226"
+ }
+ ],
+ "name": "HttpPartOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 126
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 9008,
+ "end": 9081
+ },
+ "pos": 8986,
+ "end": 9081,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "226"
+ }
+ ],
+ "name": "HttpPartOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 126
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "234",
+ "kind": 13,
+ "id": {
+ "$id": "235",
+ "kind": 3,
+ "sv": "HttpPart",
+ "pos": 9122,
+ "end": 9130,
+ "flags": 0,
+ "parent": {
+ "$ref": "234"
+ },
+ "_id": 1120
+ },
+ "templateParameters": [
+ {
+ "$id": "236",
+ "kind": 46,
+ "id": {
+ "$id": "237",
+ "kind": 3,
+ "sv": "Type",
+ "pos": 9131,
+ "end": 9135,
+ "flags": 0,
+ "parent": {
+ "$ref": "236"
+ },
+ "_id": 1138
+ },
+ "pos": 9131,
+ "end": 9135,
+ "flags": 0,
+ "parent": {
+ "$ref": "234"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "236"
+ }
+ ],
+ "name": "Type",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "234"
+ }
+ ],
+ "name": "HttpPart",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 127
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 128
+ }
+ },
+ {
+ "$id": "238",
+ "kind": 46,
+ "id": {
+ "$id": "239",
+ "kind": 3,
+ "sv": "Options",
+ "pos": 9137,
+ "end": 9144,
+ "flags": 0,
+ "parent": {
+ "$ref": "238"
+ },
+ "_id": 1141
+ },
+ "constraint": {
+ "$id": "240",
+ "kind": 44,
+ "target": {
+ "$id": "241",
+ "kind": 45,
+ "target": {
+ "$id": "242",
+ "kind": 3,
+ "sv": "HttpPartOptions",
+ "pos": 9161,
+ "end": 9176,
+ "flags": 1,
+ "parent": {
+ "$ref": "241"
+ },
+ "_id": 1143
+ },
+ "arguments": [],
+ "pos": 9161,
+ "end": 9176,
+ "flags": 1,
+ "parent": {
+ "$ref": "240"
+ },
+ "_id": 1142
+ },
+ "pos": 9153,
+ "end": 9176,
+ "flags": 0,
+ "parent": {
+ "$ref": "238"
+ }
+ },
+ "default": {
+ "$id": "243",
+ "kind": 63,
+ "properties": [],
+ "bodyRange": {
+ "pos": 9179,
+ "end": 9182
+ },
+ "pos": 9179,
+ "end": 9182,
+ "flags": 0,
+ "parent": {
+ "$ref": "238"
+ }
+ },
+ "pos": 9137,
+ "end": 9182,
+ "flags": 0,
+ "parent": {
+ "$ref": "234"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "238"
+ }
+ ],
+ "name": "Options",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "234"
+ }
+ ],
+ "name": "HttpPart",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 127
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 129
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 9130,
+ "end": 9183
+ },
+ "decorators": [
+ {
+ "$id": "244",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "245",
+ "kind": 45,
+ "target": {
+ "$id": "246",
+ "kind": 3,
+ "sv": "Type",
+ "pos": 9101,
+ "end": 9105,
+ "flags": 1,
+ "parent": {
+ "$ref": "245"
+ },
+ "_id": 1137
+ },
+ "arguments": [],
+ "pos": 9101,
+ "end": 9105,
+ "flags": 1,
+ "parent": {
+ "$ref": "244"
+ },
+ "_id": 1136
+ },
+ {
+ "$id": "247",
+ "kind": 45,
+ "target": {
+ "$id": "248",
+ "kind": 3,
+ "sv": "Options",
+ "pos": 9107,
+ "end": 9114,
+ "flags": 1,
+ "parent": {
+ "$ref": "247"
+ },
+ "_id": 1140
+ },
+ "arguments": [],
+ "pos": 9107,
+ "end": 9114,
+ "flags": 1,
+ "parent": {
+ "$ref": "244"
+ },
+ "_id": 1139
+ }
+ ],
+ "target": {
+ "$id": "249",
+ "kind": 7,
+ "base": {
+ "$id": "250",
+ "kind": 3,
+ "sv": "Private",
+ "pos": 9084,
+ "end": 9091,
+ "flags": 1,
+ "parent": {
+ "$ref": "249"
+ },
+ "_id": 1122
+ },
+ "id": {
+ "$id": "251",
+ "kind": 3,
+ "sv": "httpPart",
+ "pos": 9092,
+ "end": 9100,
+ "flags": 1,
+ "parent": {
+ "$ref": "249"
+ },
+ "_id": 1123
+ },
+ "selector": ".",
+ "pos": 9084,
+ "end": 9100,
+ "flags": 1,
+ "parent": {
+ "$ref": "244"
+ },
+ "_id": 1121
+ },
+ "pos": 9083,
+ "end": 9115,
+ "flags": 0,
+ "parent": {
+ "$ref": "234"
+ }
+ }
+ ],
+ "properties": [],
+ "bodyRange": {
+ "pos": 9184,
+ "end": 9186
+ },
+ "pos": 9083,
+ "end": 9186,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "234"
+ }
+ ],
+ "name": "HttpPart",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 127
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "252",
+ "kind": 13,
+ "id": {
+ "$id": "253",
+ "kind": 3,
+ "sv": "Link",
+ "pos": 9194,
+ "end": 9198,
+ "flags": 0,
+ "parent": {
+ "$ref": "252"
+ },
+ "_id": 1144
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "254",
+ "kind": 15,
+ "id": {
+ "$id": "255",
+ "kind": 3,
+ "sv": "target",
+ "pos": 9203,
+ "end": 9209,
+ "flags": 0,
+ "parent": {
+ "$ref": "254"
+ },
+ "_id": 1145
+ },
+ "decorators": [],
+ "value": {
+ "$id": "256",
+ "kind": 45,
+ "target": {
+ "$id": "257",
+ "kind": 3,
+ "sv": "url",
+ "pos": 9211,
+ "end": 9214,
+ "flags": 1,
+ "parent": {
+ "$ref": "256"
+ },
+ "_id": 1147
+ },
+ "arguments": [],
+ "pos": 9211,
+ "end": 9214,
+ "flags": 1,
+ "parent": {
+ "$ref": "254"
+ },
+ "_id": 1146
+ },
+ "optional": false,
+ "pos": 9203,
+ "end": 9214,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "252"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "254"
+ },
+ "name": "target",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "252"
+ }
+ ],
+ "name": "Link",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 130
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "258",
+ "kind": 15,
+ "id": {
+ "$id": "259",
+ "kind": 3,
+ "sv": "rel",
+ "pos": 9218,
+ "end": 9221,
+ "flags": 0,
+ "parent": {
+ "$ref": "258"
+ },
+ "_id": 1148
+ },
+ "decorators": [],
+ "value": {
+ "$id": "260",
+ "kind": 45,
+ "target": {
+ "$id": "261",
+ "kind": 3,
+ "sv": "string",
+ "pos": 9223,
+ "end": 9229,
+ "flags": 1,
+ "parent": {
+ "$ref": "260"
+ },
+ "_id": 1150
+ },
+ "arguments": [],
+ "pos": 9223,
+ "end": 9229,
+ "flags": 1,
+ "parent": {
+ "$ref": "258"
+ },
+ "_id": 1149
+ },
+ "optional": false,
+ "pos": 9218,
+ "end": 9229,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "252"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "258"
+ },
+ "name": "rel",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "252"
+ }
+ ],
+ "name": "Link",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 130
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "262",
+ "kind": 15,
+ "id": {
+ "$id": "263",
+ "kind": 3,
+ "sv": "attributes",
+ "pos": 9233,
+ "end": 9243,
+ "flags": 0,
+ "parent": {
+ "$ref": "262"
+ },
+ "_id": 1151
+ },
+ "decorators": [],
+ "value": {
+ "$id": "264",
+ "kind": 45,
+ "target": {
+ "$id": "265",
+ "kind": 3,
+ "sv": "Record",
+ "pos": 9246,
+ "end": 9252,
+ "flags": 1,
+ "parent": {
+ "$ref": "264"
+ },
+ "_id": 1153
+ },
+ "arguments": [
+ {
+ "$id": "266",
+ "kind": 61,
+ "argument": {
+ "$id": "267",
+ "kind": 43,
+ "pos": 9253,
+ "end": 9260,
+ "flags": 1,
+ "parent": {
+ "$ref": "266"
+ }
+ },
+ "pos": 9253,
+ "end": 9260,
+ "flags": 1,
+ "parent": {
+ "$ref": "264"
+ }
+ }
+ ],
+ "pos": 9246,
+ "end": 9261,
+ "flags": 1,
+ "parent": {
+ "$ref": "262"
+ },
+ "_id": 1152
+ },
+ "optional": true,
+ "pos": 9233,
+ "end": 9261,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "252"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "262"
+ },
+ "name": "attributes",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "252"
+ }
+ ],
+ "name": "Link",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 130
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 9199,
+ "end": 9264
+ },
+ "pos": 9188,
+ "end": 9264,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "252"
+ }
+ ],
+ "name": "Link",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 130
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "268",
+ "kind": 17,
+ "id": {
+ "$id": "269",
+ "kind": 3,
+ "sv": "LinkHeader",
+ "pos": 9273,
+ "end": 9283,
+ "flags": 0,
+ "parent": {
+ "$ref": "268"
+ },
+ "_id": 1154
+ },
+ "templateParameters": [
+ {
+ "$id": "270",
+ "kind": 46,
+ "id": {
+ "$id": "271",
+ "kind": 3,
+ "sv": "T",
+ "pos": 9284,
+ "end": 9285,
+ "flags": 0,
+ "parent": {
+ "$ref": "270"
+ },
+ "_id": 1157
+ },
+ "constraint": {
+ "$id": "272",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "273",
+ "kind": 45,
+ "target": {
+ "$id": "274",
+ "kind": 3,
+ "sv": "Record",
+ "pos": 9294,
+ "end": 9300,
+ "flags": 1,
+ "parent": {
+ "$ref": "273"
+ },
+ "_id": 1159
+ },
+ "arguments": [
+ {
+ "$id": "275",
+ "kind": 61,
+ "argument": {
+ "$id": "276",
+ "kind": 45,
+ "target": {
+ "$id": "277",
+ "kind": 3,
+ "sv": "url",
+ "pos": 9301,
+ "end": 9304,
+ "flags": 1,
+ "parent": {
+ "$ref": "276"
+ },
+ "_id": 1161
+ },
+ "arguments": [],
+ "pos": 9301,
+ "end": 9304,
+ "flags": 1,
+ "parent": {
+ "$ref": "275"
+ },
+ "_id": 1160
+ },
+ "pos": 9301,
+ "end": 9304,
+ "flags": 1,
+ "parent": {
+ "$ref": "273"
+ }
+ }
+ ],
+ "pos": 9294,
+ "end": 9305,
+ "flags": 1,
+ "parent": {
+ "$ref": "272"
+ },
+ "_id": 1158
+ },
+ {
+ "$id": "278",
+ "kind": 31,
+ "elementType": {
+ "$id": "279",
+ "kind": 45,
+ "target": {
+ "$id": "280",
+ "kind": 3,
+ "sv": "Link",
+ "pos": 9308,
+ "end": 9312,
+ "flags": 1,
+ "parent": {
+ "$ref": "279"
+ },
+ "_id": 1163
+ },
+ "arguments": [],
+ "pos": 9308,
+ "end": 9312,
+ "flags": 1,
+ "parent": {
+ "$ref": "278"
+ },
+ "_id": 1162
+ },
+ "pos": 9308,
+ "end": 9314,
+ "flags": 0,
+ "parent": {
+ "$ref": "272"
+ }
+ }
+ ],
+ "pos": 9294,
+ "end": 9314,
+ "flags": 0,
+ "parent": {
+ "$ref": "270"
+ }
+ },
+ "pos": 9284,
+ "end": 9314,
+ "flags": 0,
+ "parent": {
+ "$ref": "268"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "270"
+ }
+ ],
+ "name": "T",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "268"
+ }
+ ],
+ "name": "LinkHeader",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 131
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 132
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 9283,
+ "end": 9315
+ },
+ "extends": {
+ "$id": "281",
+ "kind": 45,
+ "target": {
+ "$id": "282",
+ "kind": 3,
+ "sv": "string",
+ "pos": 9324,
+ "end": 9330,
+ "flags": 1,
+ "parent": {
+ "$ref": "281"
+ },
+ "_id": 1156
+ },
+ "arguments": [],
+ "pos": 9324,
+ "end": 9330,
+ "flags": 1,
+ "parent": {
+ "$ref": "268"
+ },
+ "_id": 1155
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 9266,
+ "end": 9331,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "268"
+ }
+ ],
+ "name": "LinkHeader",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 131
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "283",
+ "kind": 13,
+ "id": {
+ "$id": "284",
+ "kind": 3,
+ "sv": "MergePatchUpdate",
+ "pos": 11019,
+ "end": 11035,
+ "flags": 0,
+ "parent": {
+ "$ref": "283"
+ },
+ "_id": 1164
+ },
+ "templateParameters": [
+ {
+ "$id": "285",
+ "kind": 46,
+ "id": {
+ "$id": "286",
+ "kind": 3,
+ "sv": "T",
+ "pos": 11039,
+ "end": 11040,
+ "flags": 0,
+ "parent": {
+ "$ref": "285"
+ },
+ "_id": 1178
+ },
+ "constraint": {
+ "$id": "287",
+ "kind": 45,
+ "target": {
+ "$id": "288",
+ "kind": 7,
+ "base": {
+ "$id": "289",
+ "kind": 3,
+ "sv": "Reflection",
+ "pos": 11049,
+ "end": 11059,
+ "flags": 1,
+ "parent": {
+ "$ref": "288"
+ },
+ "_id": 1176
+ },
+ "id": {
+ "$id": "290",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 11060,
+ "end": 11065,
+ "flags": 1,
+ "parent": {
+ "$ref": "288"
+ },
+ "_id": 1177
+ },
+ "selector": ".",
+ "pos": 11049,
+ "end": 11065,
+ "flags": 1,
+ "parent": {
+ "$ref": "287"
+ },
+ "_id": 1175
+ },
+ "arguments": [],
+ "pos": 11049,
+ "end": 11065,
+ "flags": 1,
+ "parent": {
+ "$ref": "285"
+ },
+ "_id": 1174
+ },
+ "pos": 11039,
+ "end": 11065,
+ "flags": 0,
+ "parent": {
+ "$ref": "283"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "285"
+ }
+ ],
+ "name": "T",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "283"
+ }
+ ],
+ "name": "MergePatchUpdate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 133
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 135
+ }
+ },
+ {
+ "$id": "291",
+ "kind": 46,
+ "id": {
+ "$id": "292",
+ "kind": 3,
+ "sv": "NameTemplate",
+ "pos": 11069,
+ "end": 11081,
+ "flags": 0,
+ "parent": {
+ "$ref": "291"
+ },
+ "_id": 1169
+ },
+ "constraint": {
+ "$id": "293",
+ "kind": 44,
+ "target": {
+ "$id": "294",
+ "kind": 45,
+ "target": {
+ "$id": "295",
+ "kind": 3,
+ "sv": "string",
+ "pos": 11098,
+ "end": 11104,
+ "flags": 1,
+ "parent": {
+ "$ref": "294"
+ },
+ "_id": 1171
+ },
+ "arguments": [],
+ "pos": 11098,
+ "end": 11104,
+ "flags": 1,
+ "parent": {
+ "$ref": "293"
+ },
+ "_id": 1170
+ },
+ "pos": 11090,
+ "end": 11104,
+ "flags": 0,
+ "parent": {
+ "$ref": "291"
+ }
+ },
+ "default": {
+ "$id": "296",
+ "kind": 32,
+ "value": "{name}MergePatchUpdate",
+ "pos": 11107,
+ "end": 11131,
+ "flags": 0,
+ "parent": {
+ "$ref": "291"
+ }
+ },
+ "pos": 11069,
+ "end": 11131,
+ "flags": 0,
+ "parent": {
+ "$ref": "283"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "291"
+ }
+ ],
+ "name": "NameTemplate",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "283"
+ }
+ ],
+ "name": "MergePatchUpdate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 133
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 134
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 11035,
+ "end": 11133
+ },
+ "decorators": [
+ {
+ "$id": "297",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "298",
+ "kind": 32,
+ "value": "",
+ "pos": 10835,
+ "end": 10837,
+ "flags": 0,
+ "parent": {
+ "$ref": "297"
+ }
+ }
+ ],
+ "target": {
+ "$id": "299",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 10831,
+ "end": 10834,
+ "flags": 1,
+ "parent": {
+ "$ref": "297"
+ },
+ "_id": 1165
+ },
+ "pos": 10830,
+ "end": 10838,
+ "flags": 0,
+ "parent": {
+ "$ref": "283"
+ }
+ },
+ {
+ "$id": "300",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "301",
+ "kind": 45,
+ "target": {
+ "$id": "302",
+ "kind": 3,
+ "sv": "NameTemplate",
+ "pos": 10853,
+ "end": 10865,
+ "flags": 1,
+ "parent": {
+ "$ref": "301"
+ },
+ "_id": 1168
+ },
+ "arguments": [],
+ "pos": 10853,
+ "end": 10865,
+ "flags": 1,
+ "parent": {
+ "$ref": "300"
+ },
+ "_id": 1167
+ },
+ {
+ "$id": "303",
+ "kind": 45,
+ "target": {
+ "$id": "304",
+ "kind": 3,
+ "sv": "T",
+ "pos": 10867,
+ "end": 10868,
+ "flags": 1,
+ "parent": {
+ "$ref": "303"
+ },
+ "_id": 1173
+ },
+ "arguments": [],
+ "pos": 10867,
+ "end": 10868,
+ "flags": 1,
+ "parent": {
+ "$ref": "300"
+ },
+ "_id": 1172
+ }
+ ],
+ "target": {
+ "$id": "305",
+ "kind": 3,
+ "sv": "friendlyName",
+ "pos": 10840,
+ "end": 10852,
+ "flags": 1,
+ "parent": {
+ "$ref": "300"
+ },
+ "_id": 1166
+ },
+ "pos": 10839,
+ "end": 10869,
+ "flags": 0,
+ "parent": {
+ "$ref": "283"
+ }
+ },
+ {
+ "$id": "306",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "307",
+ "kind": 32,
+ "value": "application/merge-patch+json",
+ "pos": 10885,
+ "end": 10915,
+ "flags": 0,
+ "parent": {
+ "$ref": "306"
+ }
+ }
+ ],
+ "target": {
+ "$id": "308",
+ "kind": 3,
+ "sv": "mediaTypeHint",
+ "pos": 10871,
+ "end": 10884,
+ "flags": 1,
+ "parent": {
+ "$ref": "306"
+ },
+ "_id": 1179
+ },
+ "pos": 10870,
+ "end": 10916,
+ "flags": 0,
+ "parent": {
+ "$ref": "283"
+ }
+ },
+ {
+ "$id": "309",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "310",
+ "kind": 45,
+ "target": {
+ "$id": "311",
+ "kind": 3,
+ "sv": "T",
+ "pos": 10934,
+ "end": 10935,
+ "flags": 1,
+ "parent": {
+ "$ref": "310"
+ },
+ "_id": 1206
+ },
+ "arguments": [],
+ "pos": 10934,
+ "end": 10935,
+ "flags": 1,
+ "parent": {
+ "$ref": "309"
+ },
+ "_id": 1205
+ },
+ {
+ "$id": "312",
+ "kind": 45,
+ "target": {
+ "$id": "313",
+ "kind": 3,
+ "sv": "NameTemplate",
+ "pos": 10937,
+ "end": 10949,
+ "flags": 1,
+ "parent": {
+ "$ref": "312"
+ },
+ "_id": 1208
+ },
+ "arguments": [],
+ "pos": 10937,
+ "end": 10949,
+ "flags": 1,
+ "parent": {
+ "$ref": "309"
+ },
+ "_id": 1207
+ },
+ {
+ "$id": "314",
+ "kind": 63,
+ "properties": [
+ {
+ "$id": "315",
+ "kind": 64,
+ "id": {
+ "$id": "316",
+ "kind": 3,
+ "sv": "visibilityMode",
+ "pos": 10954,
+ "end": 10968,
+ "flags": 0,
+ "parent": {
+ "$ref": "315"
+ },
+ "_id": 1209
+ },
+ "value": {
+ "$id": "317",
+ "kind": 45,
+ "target": {
+ "$id": "318",
+ "kind": 7,
+ "base": {
+ "$id": "319",
+ "kind": 7,
+ "base": {
+ "$id": "320",
+ "kind": 3,
+ "sv": "Private",
+ "pos": 10970,
+ "end": 10977,
+ "flags": 1,
+ "parent": {
+ "$ref": "319"
+ },
+ "_id": 1213
+ },
+ "id": {
+ "$id": "321",
+ "kind": 3,
+ "sv": "MergePatchVisibilityMode",
+ "pos": 10978,
+ "end": 11002,
+ "flags": 1,
+ "parent": {
+ "$ref": "319"
+ },
+ "_id": 1214
+ },
+ "selector": ".",
+ "pos": 10970,
+ "end": 11002,
+ "flags": 1,
+ "parent": {
+ "$ref": "318"
+ },
+ "_id": 1212
+ },
+ "id": {
+ "$id": "322",
+ "kind": 3,
+ "sv": "Update",
+ "pos": 11003,
+ "end": 11009,
+ "flags": 1,
+ "parent": {
+ "$ref": "318"
+ },
+ "_id": 1215
+ },
+ "selector": ".",
+ "pos": 10970,
+ "end": 11009,
+ "flags": 1,
+ "parent": {
+ "$ref": "317"
+ },
+ "_id": 1211
+ },
+ "arguments": [],
+ "pos": 10970,
+ "end": 11009,
+ "flags": 1,
+ "parent": {
+ "$ref": "315"
+ },
+ "_id": 1210
+ },
+ "pos": 10954,
+ "end": 11009,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "314"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 10951,
+ "end": 11011
+ },
+ "pos": 10951,
+ "end": 11011,
+ "flags": 0,
+ "parent": {
+ "$ref": "309"
+ }
+ }
+ ],
+ "target": {
+ "$id": "323",
+ "kind": 3,
+ "sv": "applyMergePatch",
+ "pos": 10918,
+ "end": 10933,
+ "flags": 1,
+ "parent": {
+ "$ref": "309"
+ },
+ "_id": 1180
+ },
+ "pos": 10917,
+ "end": 11012,
+ "flags": 0,
+ "parent": {
+ "$ref": "283"
+ }
+ }
+ ],
+ "properties": [],
+ "bodyRange": {
+ "pos": 11134,
+ "end": 11136
+ },
+ "pos": 9333,
+ "end": 11136,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "324",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "325",
+ "kind": 52,
+ "text": "Create a MergePatch Request body for updating the given resource Model.\nThe MergePatch request created by this template provides a TypeSpec description of a\nJSON MergePatch request that can successfully update the given resource.\nThe transformation follows the definition of JSON MergePatch requests in\nrfc 7396: https://www.rfc-editor.org/rfc/rfc7396,\napplying the merge-patch transform recursively to keyed types in the resource Model.\n\nUsing this template in a PATCH request body overrides the `implicitOptionality`\nsetting for PATCH operations and sets `application/merge-patch+json` as the request\ncontent-type.",
+ "pos": 9336,
+ "end": 9989,
+ "flags": 0,
+ "parent": {
+ "$ref": "324"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "326",
+ "kind": 57,
+ "tagName": {
+ "$id": "327",
+ "kind": 3,
+ "sv": "template",
+ "pos": 9990,
+ "end": 9998,
+ "flags": 0,
+ "parent": {
+ "$ref": "326"
+ }
+ },
+ "paramName": {
+ "$id": "328",
+ "kind": 3,
+ "sv": "T",
+ "pos": 9999,
+ "end": 10000,
+ "flags": 0,
+ "parent": {
+ "$ref": "326"
+ }
+ },
+ "content": [
+ {
+ "$id": "329",
+ "kind": 52,
+ "text": "The type of the resource to create a MergePatch update request body for.",
+ "pos": 10001,
+ "end": 10077,
+ "flags": 0,
+ "parent": {
+ "$ref": "326"
+ }
+ }
+ ],
+ "pos": 9989,
+ "end": 10077,
+ "flags": 0,
+ "parent": {
+ "$ref": "324"
+ }
+ },
+ {
+ "$id": "330",
+ "kind": 57,
+ "tagName": {
+ "$id": "331",
+ "kind": 3,
+ "sv": "template",
+ "pos": 10078,
+ "end": 10086,
+ "flags": 0,
+ "parent": {
+ "$ref": "330"
+ }
+ },
+ "paramName": {
+ "$id": "332",
+ "kind": 3,
+ "sv": "NameTemplate",
+ "pos": 10087,
+ "end": 10099,
+ "flags": 0,
+ "parent": {
+ "$ref": "330"
+ }
+ },
+ "content": [
+ {
+ "$id": "333",
+ "kind": 52,
+ "text": "A StringTemplate used to name any models created by applying\nthe merge-patch transform to the resource. The default name template is `{name}MergePatchUpdate`,\nfor example, the merge patch transform of model `Widget` is named `WidgetMergePatchUpdate`.",
+ "pos": 10100,
+ "end": 10363,
+ "flags": 0,
+ "parent": {
+ "$ref": "330"
+ }
+ }
+ ],
+ "pos": 10077,
+ "end": 10363,
+ "flags": 0,
+ "parent": {
+ "$ref": "324"
+ }
+ },
+ {
+ "$id": "334",
+ "kind": 58,
+ "tagName": {
+ "$id": "335",
+ "kind": 3,
+ "sv": "example",
+ "pos": 10364,
+ "end": 10371,
+ "flags": 0,
+ "parent": {
+ "$ref": "334"
+ }
+ },
+ "content": [
+ {
+ "$id": "336",
+ "kind": 52,
+ "text": "```tsp\n// An operation updating a 'Widget' using merge-patch\n@patch op update(@body request: MergePatchUpdate): Widget;\n```",
+ "pos": 10371,
+ "end": 10522,
+ "flags": 0,
+ "parent": {
+ "$ref": "334"
+ }
+ }
+ ],
+ "pos": 10363,
+ "end": 10522,
+ "flags": 0,
+ "parent": {
+ "$ref": "324"
+ }
+ },
+ {
+ "$id": "337",
+ "kind": 58,
+ "tagName": {
+ "$id": "338",
+ "kind": 3,
+ "sv": "example",
+ "pos": 10523,
+ "end": 10530,
+ "flags": 0,
+ "parent": {
+ "$ref": "337"
+ }
+ },
+ "content": [
+ {
+ "$id": "339",
+ "kind": 52,
+ "text": "```tsp\n// An operation updating a 'Widget' using merge-patch\n@patch op update(@bodyRoot request: MergePatchUpdate): Widget;\n```",
+ "pos": 10530,
+ "end": 10685,
+ "flags": 0,
+ "parent": {
+ "$ref": "337"
+ }
+ }
+ ],
+ "pos": 10522,
+ "end": 10685,
+ "flags": 0,
+ "parent": {
+ "$ref": "324"
+ }
+ },
+ {
+ "$id": "340",
+ "kind": 58,
+ "tagName": {
+ "$id": "341",
+ "kind": 3,
+ "sv": "example",
+ "pos": 10686,
+ "end": 10693,
+ "flags": 0,
+ "parent": {
+ "$ref": "340"
+ }
+ },
+ "content": [
+ {
+ "$id": "342",
+ "kind": 52,
+ "text": "```tsp\n// An operation updating a 'Widget' using merge-patch\n@patch op update(...MergePatchUpdate): Widget;\n```",
+ "pos": 10693,
+ "end": 10827,
+ "flags": 0,
+ "parent": {
+ "$ref": "340"
+ }
+ }
+ ],
+ "pos": 10685,
+ "end": 10827,
+ "flags": 0,
+ "parent": {
+ "$ref": "324"
+ }
+ }
+ ],
+ "pos": 9333,
+ "end": 10829,
+ "flags": 0,
+ "parent": {
+ "$ref": "283"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "283"
+ }
+ ],
+ "name": "MergePatchUpdate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 133
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "343",
+ "kind": 13,
+ "id": {
+ "$id": "344",
+ "kind": 3,
+ "sv": "MergePatchCreateOrUpdate",
+ "pos": 12902,
+ "end": 12926,
+ "flags": 0,
+ "parent": {
+ "$ref": "343"
+ },
+ "_id": 1216
+ },
+ "templateParameters": [
+ {
+ "$id": "345",
+ "kind": 46,
+ "id": {
+ "$id": "346",
+ "kind": 3,
+ "sv": "T",
+ "pos": 12930,
+ "end": 12931,
+ "flags": 0,
+ "parent": {
+ "$ref": "345"
+ },
+ "_id": 1230
+ },
+ "constraint": {
+ "$id": "347",
+ "kind": 45,
+ "target": {
+ "$id": "348",
+ "kind": 7,
+ "base": {
+ "$id": "349",
+ "kind": 3,
+ "sv": "Reflection",
+ "pos": 12940,
+ "end": 12950,
+ "flags": 1,
+ "parent": {
+ "$ref": "348"
+ },
+ "_id": 1228
+ },
+ "id": {
+ "$id": "350",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 12951,
+ "end": 12956,
+ "flags": 1,
+ "parent": {
+ "$ref": "348"
+ },
+ "_id": 1229
+ },
+ "selector": ".",
+ "pos": 12940,
+ "end": 12956,
+ "flags": 1,
+ "parent": {
+ "$ref": "347"
+ },
+ "_id": 1227
+ },
+ "arguments": [],
+ "pos": 12940,
+ "end": 12956,
+ "flags": 1,
+ "parent": {
+ "$ref": "345"
+ },
+ "_id": 1226
+ },
+ "pos": 12930,
+ "end": 12956,
+ "flags": 0,
+ "parent": {
+ "$ref": "343"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "345"
+ }
+ ],
+ "name": "T",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "343"
+ }
+ ],
+ "name": "MergePatchCreateOrUpdate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 138
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 140
+ }
+ },
+ {
+ "$id": "351",
+ "kind": 46,
+ "id": {
+ "$id": "352",
+ "kind": 3,
+ "sv": "NameTemplate",
+ "pos": 12960,
+ "end": 12972,
+ "flags": 0,
+ "parent": {
+ "$ref": "351"
+ },
+ "_id": 1221
+ },
+ "constraint": {
+ "$id": "353",
+ "kind": 44,
+ "target": {
+ "$id": "354",
+ "kind": 45,
+ "target": {
+ "$id": "355",
+ "kind": 3,
+ "sv": "string",
+ "pos": 12989,
+ "end": 12995,
+ "flags": 1,
+ "parent": {
+ "$ref": "354"
+ },
+ "_id": 1223
+ },
+ "arguments": [],
+ "pos": 12989,
+ "end": 12995,
+ "flags": 1,
+ "parent": {
+ "$ref": "353"
+ },
+ "_id": 1222
+ },
+ "pos": 12981,
+ "end": 12995,
+ "flags": 0,
+ "parent": {
+ "$ref": "351"
+ }
+ },
+ "default": {
+ "$id": "356",
+ "kind": 32,
+ "value": "{name}MergePatchCreateOrUpdate",
+ "pos": 12998,
+ "end": 13030,
+ "flags": 0,
+ "parent": {
+ "$ref": "351"
+ }
+ },
+ "pos": 12960,
+ "end": 13030,
+ "flags": 0,
+ "parent": {
+ "$ref": "343"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "351"
+ }
+ ],
+ "name": "NameTemplate",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "343"
+ }
+ ],
+ "name": "MergePatchCreateOrUpdate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 138
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 139
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 12926,
+ "end": 13032
+ },
+ "decorators": [
+ {
+ "$id": "357",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "358",
+ "kind": 32,
+ "value": "",
+ "pos": 12702,
+ "end": 12704,
+ "flags": 0,
+ "parent": {
+ "$ref": "357"
+ }
+ }
+ ],
+ "target": {
+ "$id": "359",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 12698,
+ "end": 12701,
+ "flags": 1,
+ "parent": {
+ "$ref": "357"
+ },
+ "_id": 1217
+ },
+ "pos": 12697,
+ "end": 12705,
+ "flags": 0,
+ "parent": {
+ "$ref": "343"
+ }
+ },
+ {
+ "$id": "360",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "361",
+ "kind": 45,
+ "target": {
+ "$id": "362",
+ "kind": 3,
+ "sv": "NameTemplate",
+ "pos": 12720,
+ "end": 12732,
+ "flags": 1,
+ "parent": {
+ "$ref": "361"
+ },
+ "_id": 1220
+ },
+ "arguments": [],
+ "pos": 12720,
+ "end": 12732,
+ "flags": 1,
+ "parent": {
+ "$ref": "360"
+ },
+ "_id": 1219
+ },
+ {
+ "$id": "363",
+ "kind": 45,
+ "target": {
+ "$id": "364",
+ "kind": 3,
+ "sv": "T",
+ "pos": 12734,
+ "end": 12735,
+ "flags": 1,
+ "parent": {
+ "$ref": "363"
+ },
+ "_id": 1225
+ },
+ "arguments": [],
+ "pos": 12734,
+ "end": 12735,
+ "flags": 1,
+ "parent": {
+ "$ref": "360"
+ },
+ "_id": 1224
+ }
+ ],
+ "target": {
+ "$id": "365",
+ "kind": 3,
+ "sv": "friendlyName",
+ "pos": 12707,
+ "end": 12719,
+ "flags": 1,
+ "parent": {
+ "$ref": "360"
+ },
+ "_id": 1218
+ },
+ "pos": 12706,
+ "end": 12736,
+ "flags": 0,
+ "parent": {
+ "$ref": "343"
+ }
+ },
+ {
+ "$id": "366",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "367",
+ "kind": 32,
+ "value": "application/merge-patch+json",
+ "pos": 12752,
+ "end": 12782,
+ "flags": 0,
+ "parent": {
+ "$ref": "366"
+ }
+ }
+ ],
+ "target": {
+ "$id": "368",
+ "kind": 3,
+ "sv": "mediaTypeHint",
+ "pos": 12738,
+ "end": 12751,
+ "flags": 1,
+ "parent": {
+ "$ref": "366"
+ },
+ "_id": 1231
+ },
+ "pos": 12737,
+ "end": 12783,
+ "flags": 0,
+ "parent": {
+ "$ref": "343"
+ }
+ },
+ {
+ "$id": "369",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "370",
+ "kind": 45,
+ "target": {
+ "$id": "371",
+ "kind": 3,
+ "sv": "T",
+ "pos": 12804,
+ "end": 12805,
+ "flags": 1,
+ "parent": {
+ "$ref": "370"
+ },
+ "_id": 1234
+ },
+ "arguments": [],
+ "pos": 12804,
+ "end": 12805,
+ "flags": 1,
+ "parent": {
+ "$ref": "369"
+ },
+ "_id": 1233
+ },
+ {
+ "$id": "372",
+ "kind": 45,
+ "target": {
+ "$id": "373",
+ "kind": 3,
+ "sv": "NameTemplate",
+ "pos": 12809,
+ "end": 12821,
+ "flags": 1,
+ "parent": {
+ "$ref": "372"
+ },
+ "_id": 1236
+ },
+ "arguments": [],
+ "pos": 12809,
+ "end": 12821,
+ "flags": 1,
+ "parent": {
+ "$ref": "369"
+ },
+ "_id": 1235
+ },
+ {
+ "$id": "374",
+ "kind": 63,
+ "properties": [
+ {
+ "$id": "375",
+ "kind": 64,
+ "id": {
+ "$id": "376",
+ "kind": 3,
+ "sv": "visibilityMode",
+ "pos": 12828,
+ "end": 12842,
+ "flags": 0,
+ "parent": {
+ "$ref": "375"
+ },
+ "_id": 1237
+ },
+ "value": {
+ "$id": "377",
+ "kind": 45,
+ "target": {
+ "$id": "378",
+ "kind": 7,
+ "base": {
+ "$id": "379",
+ "kind": 7,
+ "base": {
+ "$id": "380",
+ "kind": 3,
+ "sv": "Private",
+ "pos": 12844,
+ "end": 12851,
+ "flags": 1,
+ "parent": {
+ "$ref": "379"
+ },
+ "_id": 1241
+ },
+ "id": {
+ "$id": "381",
+ "kind": 3,
+ "sv": "MergePatchVisibilityMode",
+ "pos": 12852,
+ "end": 12876,
+ "flags": 1,
+ "parent": {
+ "$ref": "379"
+ },
+ "_id": 1242
+ },
+ "selector": ".",
+ "pos": 12844,
+ "end": 12876,
+ "flags": 1,
+ "parent": {
+ "$ref": "378"
+ },
+ "_id": 1240
+ },
+ "id": {
+ "$id": "382",
+ "kind": 3,
+ "sv": "CreateOrUpdate",
+ "pos": 12877,
+ "end": 12891,
+ "flags": 1,
+ "parent": {
+ "$ref": "378"
+ },
+ "_id": 1243
+ },
+ "selector": ".",
+ "pos": 12844,
+ "end": 12891,
+ "flags": 1,
+ "parent": {
+ "$ref": "377"
+ },
+ "_id": 1239
+ },
+ "arguments": [],
+ "pos": 12844,
+ "end": 12891,
+ "flags": 1,
+ "parent": {
+ "$ref": "375"
+ },
+ "_id": 1238
+ },
+ "pos": 12828,
+ "end": 12891,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "374"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 12825,
+ "end": 12893
+ },
+ "pos": 12825,
+ "end": 12893,
+ "flags": 0,
+ "parent": {
+ "$ref": "369"
+ }
+ }
+ ],
+ "target": {
+ "$id": "383",
+ "kind": 3,
+ "sv": "applyMergePatch",
+ "pos": 12785,
+ "end": 12800,
+ "flags": 1,
+ "parent": {
+ "$ref": "369"
+ },
+ "_id": 1232
+ },
+ "pos": 12784,
+ "end": 12895,
+ "flags": 0,
+ "parent": {
+ "$ref": "343"
+ }
+ }
+ ],
+ "properties": [],
+ "bodyRange": {
+ "pos": 13033,
+ "end": 13035
+ },
+ "pos": 11138,
+ "end": 13035,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "384",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "385",
+ "kind": 52,
+ "text": "Create a MergePatch Request body for creating or updating the given resource Model.\nThe MergePatch request created by this template provides a TypeSpec description of a\nJSON MergePatch request that can successfully create or update the given resource.\nThe transformation follows the definition of JSON MergePatch requests in\nrfc 7396: https://www.rfc-editor.org/rfc/rfc7396,\napplying the merge-patch transform recursively to keyed types in the resource Model.\n\nUsing this template in a PATCH request body overrides the `implicitOptionality`\nsetting for PATCH operations and sets `application/merge-patch+json` as the request\ncontent-type.",
+ "pos": 11141,
+ "end": 11816,
+ "flags": 0,
+ "parent": {
+ "$ref": "384"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "386",
+ "kind": 57,
+ "tagName": {
+ "$id": "387",
+ "kind": 3,
+ "sv": "template",
+ "pos": 11817,
+ "end": 11825,
+ "flags": 0,
+ "parent": {
+ "$ref": "386"
+ }
+ },
+ "paramName": {
+ "$id": "388",
+ "kind": 3,
+ "sv": "T",
+ "pos": 11826,
+ "end": 11827,
+ "flags": 0,
+ "parent": {
+ "$ref": "386"
+ }
+ },
+ "content": [
+ {
+ "$id": "389",
+ "kind": 52,
+ "text": "The type of the resource to create a MergePatch update request body for.",
+ "pos": 11828,
+ "end": 11904,
+ "flags": 0,
+ "parent": {
+ "$ref": "386"
+ }
+ }
+ ],
+ "pos": 11816,
+ "end": 11904,
+ "flags": 0,
+ "parent": {
+ "$ref": "384"
+ }
+ },
+ {
+ "$id": "390",
+ "kind": 57,
+ "tagName": {
+ "$id": "391",
+ "kind": 3,
+ "sv": "template",
+ "pos": 11905,
+ "end": 11913,
+ "flags": 0,
+ "parent": {
+ "$ref": "390"
+ }
+ },
+ "paramName": {
+ "$id": "392",
+ "kind": 3,
+ "sv": "NameTemplate",
+ "pos": 11914,
+ "end": 11926,
+ "flags": 0,
+ "parent": {
+ "$ref": "390"
+ }
+ },
+ "content": [
+ {
+ "$id": "393",
+ "kind": 52,
+ "text": "A StringTemplate used to name any models created by applying\nthe merge-patch transform to the resource. The default name template is `{name}MergePatchCreateOrUpdate`,\nfor example, the merge patch transform of model `Widget` is named `WidgetMergePatchCreateOrUpdate`.",
+ "pos": 11927,
+ "end": 12206,
+ "flags": 0,
+ "parent": {
+ "$ref": "390"
+ }
+ }
+ ],
+ "pos": 11904,
+ "end": 12206,
+ "flags": 0,
+ "parent": {
+ "$ref": "384"
+ }
+ },
+ {
+ "$id": "394",
+ "kind": 58,
+ "tagName": {
+ "$id": "395",
+ "kind": 3,
+ "sv": "example",
+ "pos": 12207,
+ "end": 12214,
+ "flags": 0,
+ "parent": {
+ "$ref": "394"
+ }
+ },
+ "content": [
+ {
+ "$id": "396",
+ "kind": 52,
+ "text": "```tsp\n// An operation updating a 'Widget' using merge-patch\n@patch op update(@body request: MergePatchCreateOrUpdate): Widget;\n```",
+ "pos": 12214,
+ "end": 12373,
+ "flags": 0,
+ "parent": {
+ "$ref": "394"
+ }
+ }
+ ],
+ "pos": 12206,
+ "end": 12373,
+ "flags": 0,
+ "parent": {
+ "$ref": "384"
+ }
+ },
+ {
+ "$id": "397",
+ "kind": 58,
+ "tagName": {
+ "$id": "398",
+ "kind": 3,
+ "sv": "example",
+ "pos": 12374,
+ "end": 12381,
+ "flags": 0,
+ "parent": {
+ "$ref": "397"
+ }
+ },
+ "content": [
+ {
+ "$id": "399",
+ "kind": 52,
+ "text": "```tsp\n// An operation updating a 'Widget' using merge-patch\n@patch op update(@bodyRoot request: MergePatchCreateOrUpdate): Widget;\n```",
+ "pos": 12381,
+ "end": 12544,
+ "flags": 0,
+ "parent": {
+ "$ref": "397"
+ }
+ }
+ ],
+ "pos": 12373,
+ "end": 12544,
+ "flags": 0,
+ "parent": {
+ "$ref": "384"
+ }
+ },
+ {
+ "$id": "400",
+ "kind": 58,
+ "tagName": {
+ "$id": "401",
+ "kind": 3,
+ "sv": "example",
+ "pos": 12545,
+ "end": 12552,
+ "flags": 0,
+ "parent": {
+ "$ref": "400"
+ }
+ },
+ "content": [
+ {
+ "$id": "402",
+ "kind": 52,
+ "text": "```tsp\n// An operation updating a 'Widget' using merge-patch\n@patch op update(...MergePatchCreateOrUpdate): Widget;\n```",
+ "pos": 12552,
+ "end": 12694,
+ "flags": 0,
+ "parent": {
+ "$ref": "400"
+ }
+ }
+ ],
+ "pos": 12544,
+ "end": 12694,
+ "flags": 0,
+ "parent": {
+ "$ref": "384"
+ }
+ }
+ ],
+ "pos": 11138,
+ "end": 12696,
+ "flags": 0,
+ "parent": {
+ "$ref": "343"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "343"
+ }
+ ],
+ "name": "MergePatchCreateOrUpdate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 138
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ }
+ ],
+ "file": {
+ "text": "import \"../dist/src/tsp-index.js\";\nimport \"./decorators.tsp\";\nimport \"./private.decorators.tsp\";\nimport \"./auth.tsp\";\n\nnamespace TypeSpec.Http;\n\nusing Private;\n\n/**\n * Describes an HTTP response.\n *\n * @template Status The status code of the response.\n */\n@doc(\"\")\nmodel Response {\n @doc(\"The status code.\")\n @statusCode\n statusCode: Status;\n}\n\n/**\n * Defines a model with a single property of the given type, marked with `@body`.\n *\n * This can be useful in situations where you cannot use a bare type as the body\n * and it is awkward to add a property.\n *\n * @template Type The type of the model's `body` property.\n */\n@doc(\"\")\nmodel Body {\n @body\n @doc(\"The body type of the operation request or response.\")\n body: Type;\n}\n\n/**\n * The Location header contains the URL where the status of the long running operation can be checked.\n */\nmodel LocationHeader {\n @doc(\"The Location header contains the URL where the status of the long running operation can be checked.\")\n @header\n location: string;\n}\n\n// Don't put @doc on these, change `getStatusCodeDescription` implementation\n// to update the default descriptions for these status codes. This ensures\n// that we get consistent emit between different ways to spell the same\n// responses in TypeSpec.\n\n/**\n * The request has succeeded.\n */\nmodel OkResponse is Response<200>;\n/**\n * The request has succeeded and a new resource has been created as a result.\n */\nmodel CreatedResponse is Response<201>;\n/**\n * The request has been accepted for processing, but processing has not yet completed.\n */\nmodel AcceptedResponse is Response<202>;\n/**\n * There is no content to send for this request, but the headers may be useful.\n */\nmodel NoContentResponse is Response<204>;\n/**\n * The URL of the requested resource has been changed permanently. The new URL is given in the response.\n */\nmodel MovedResponse is Response<301> {\n ...LocationHeader;\n}\n/**\n * The client has made a conditional request and the resource has not been modified.\n */\nmodel NotModifiedResponse is Response<304>;\n/**\n * The server could not understand the request due to invalid syntax.\n */\nmodel BadRequestResponse is Response<400>;\n/**\n * Access is unauthorized.\n */\nmodel UnauthorizedResponse is Response<401>;\n/**\n * Access is forbidden.\n */\nmodel ForbiddenResponse is Response<403>;\n/**\n * The server cannot find the requested resource.\n */\nmodel NotFoundResponse is Response<404>;\n/**\n * The request conflicts with the current state of the server.\n */\nmodel ConflictResponse is Response<409>;\n\n/**\n * Produces a new model with the same properties as T, but with `@query`,\n * `@header`, `@body`, and `@path` decorators removed from all properties.\n *\n * @template Data The model to spread as the plain data.\n */\n@plainData\nmodel PlainData {\n ...Data;\n}\n\n/**\n * A file in an HTTP request, response, or multipart payload.\n *\n * Files have a special meaning that the HTTP library understands. When the body of an HTTP request, response,\n * or multipart payload is _effectively_ an instance of `TypeSpec.Http.File` or any type that extends it, the\n * operation is treated as a file upload or download.\n *\n * When using file bodies, the fields of the file model are defined to come from particular locations by default:\n *\n * - `contentType`: The `Content-Type` header of the request, response, or multipart payload (CANNOT be overridden or changed).\n * - `contents`: The body of the request, response, or multipart payload (CANNOT be overridden or changed).\n * - `filename`: The `filename` parameter value of the `Content-Disposition` header of the response or multipart payload\n * (MAY be overridden or changed).\n *\n * A File may be used as a normal structured JSON object in a request or response, if the request specifies an explicit\n * `Content-Type` header. In this case, the entire File model is serialized as if it were any other model. In a JSON payload,\n * it will have a structure like:\n *\n * ```\n * {\n * \"contentType\": ,\n * \"filename\": ,\n * \"contents\": \n * }\n * ```\n *\n * The `contentType` _within_ the file defines what media types the data inside the file can be, but if the specification\n * defines a `Content-Type` for the payload as HTTP metadata, that `Content-Type` metadata defines _how the file is\n * serialized_. See the examples below for more information.\n *\n * NOTE: The `filename` and `contentType` fields are optional. Furthermore, the default location of `filename`\n * (`Content-Disposition: ; filename=`) is only valid in HTTP responses and multipart payloads. If\n * you wish to send the `filename` in a request, you must use HTTP metadata decorators to describe the location of the\n * `filename` field. You can combine the metadata decorators with `@visibility` to control when the `filename` location\n * is overridden, as shown in the examples below.\n *\n * @template ContentType The allowed media (MIME) types of the file contents.\n * @template Contents The type of the file contents. This can be `string`, `bytes`, or any scalar that extends them.\n *\n * @example\n * ```tsp\n * // Download a file\n * @get op download(): File;\n *\n * // Upload a file\n * @post op upload(@bodyRoot file: File): void;\n * ```\n *\n * @example\n * ```tsp\n * // Upload and download files in a multipart payload\n * op multipartFormDataUpload(\n * @multipartBody fields: {\n * files: HttpPart[];\n * },\n * ): void;\n *\n * op multipartFormDataDownload(): {\n * @multipartBody formFields: {\n * files: HttpPart[];\n * }\n * };\n * ```\n *\n * @example\n * ```tsp\n * // Declare a custom type of text file, where the filename goes in the path\n * // in requests.\n * model SpecFile extends File<\"application/json\" | \"application/yaml\", string> {\n * // Provide a header that contains the name of the file when created or updated\n * @header(\"x-filename\")\n * @path filename: string;\n * }\n *\n * @get op downloadSpec(@path name: string): SpecFile;\n *\n * @post op uploadSpec(@bodyRoot spec: SpecFile): void;\n * ```\n *\n * @example\n * ```tsp\n * // Declare a custom type of binary file\n * model ImageFile extends File {\n * contentType: \"image/png\" | \"image/jpeg\";\n * @path filename: string;\n * }\n *\n * @get op downloadImage(@path name: string): ImageFile;\n *\n * @post op uploadImage(@bodyRoot image: ImageFile): void;\n * ```\n *\n * @example\n * ```tsp\n * // Use a File as a structured JSON object. The HTTP library will warn you that the File will be serialized as JSON,\n * // so you should suppress the warning if it's really what you want instead of a binary file upload/download.\n *\n * // The response body is a JSON object like `{\"contentType\":,\"filename\":,\"contents\":}`\n * @get op downloadTextFileJson(): {\n * @header contentType: \"application/json\",\n * @body file: File<\"text/plain\", string>,\n * };\n *\n * // The request body is a JSON object like `{\"contentType\":,\"filename\":,\"contents\":}`\n * @post op uploadBinaryFileJson(\n * @header contentType: \"application/json\",\n * @body file: File<\"image/png\", bytes>,\n * ): void;\n *\n */\n@summary(\"A file in an HTTP request, response, or multipart payload.\")\n@Private.httpFile\nmodel File {\n /**\n * The allowed media (MIME) types of the file contents.\n *\n * In file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\n * this value is serialized as a field in the response.\n *\n * NOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\n * it will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n * _contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.\n */\n @summary(\"The allowed media (MIME) types of the file contents.\")\n contentType?: ContentType;\n\n /**\n * The name of the file, if any.\n *\n * In file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\n * or multipart payload. In JSON bodies, this value is serialized as a field in the response.\n *\n * NOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\n * payloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\n * you must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\n * decorators.\n */\n @summary(\"The name of the file, if any.\")\n filename?: string;\n\n /**\n * The contents of the file.\n *\n * In file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,\n * this value is serialized as a field in the response.\n */\n @summary(\"The contents of the file.\")\n contents: Contents;\n}\n\nmodel HttpPartOptions {\n /** Name of the part when using the array form. */\n name?: string;\n}\n\n@Private.httpPart(Type, Options)\nmodel HttpPart {}\n\nmodel Link {\n target: url;\n rel: string;\n attributes?: Record;\n}\n\nscalar LinkHeader | Link[]> extends string;\n\n/**\n * Create a MergePatch Request body for updating the given resource Model.\n * The MergePatch request created by this template provides a TypeSpec description of a\n * JSON MergePatch request that can successfully update the given resource.\n * The transformation follows the definition of JSON MergePatch requests in\n * rfc 7396: https://www.rfc-editor.org/rfc/rfc7396,\n * applying the merge-patch transform recursively to keyed types in the resource Model.\n *\n * Using this template in a PATCH request body overrides the `implicitOptionality`\n * setting for PATCH operations and sets `application/merge-patch+json` as the request\n * content-type.\n *\n * @template T The type of the resource to create a MergePatch update request body for.\n * @template NameTemplate A StringTemplate used to name any models created by applying\n * the merge-patch transform to the resource. The default name template is `{name}MergePatchUpdate`,\n * for example, the merge patch transform of model `Widget` is named `WidgetMergePatchUpdate`.\n *\n * @example\n * ```tsp\n * // An operation updating a 'Widget' using merge-patch\n * @patch op update(@body request: MergePatchUpdate): Widget;\n * ```\n *\n * @example\n * ```tsp\n * // An operation updating a 'Widget' using merge-patch\n * @patch op update(@bodyRoot request: MergePatchUpdate): Widget;\n * ```\n *\n * @example\n * ```tsp\n * // An operation updating a 'Widget' using merge-patch\n * @patch op update(...MergePatchUpdate): Widget;\n * ```\n */\n@doc(\"\")\n@friendlyName(NameTemplate, T)\n@mediaTypeHint(\"application/merge-patch+json\")\n@applyMergePatch(T, NameTemplate, #{ visibilityMode: Private.MergePatchVisibilityMode.Update })\nmodel MergePatchUpdate<\n T extends Reflection.Model,\n NameTemplate extends valueof string = \"{name}MergePatchUpdate\"\n> {}\n\n/**\n * Create a MergePatch Request body for creating or updating the given resource Model.\n * The MergePatch request created by this template provides a TypeSpec description of a\n * JSON MergePatch request that can successfully create or update the given resource.\n * The transformation follows the definition of JSON MergePatch requests in\n * rfc 7396: https://www.rfc-editor.org/rfc/rfc7396,\n * applying the merge-patch transform recursively to keyed types in the resource Model.\n *\n * Using this template in a PATCH request body overrides the `implicitOptionality`\n * setting for PATCH operations and sets `application/merge-patch+json` as the request\n * content-type.\n *\n * @template T The type of the resource to create a MergePatch update request body for.\n * @template NameTemplate A StringTemplate used to name any models created by applying\n * the merge-patch transform to the resource. The default name template is `{name}MergePatchCreateOrUpdate`,\n * for example, the merge patch transform of model `Widget` is named `WidgetMergePatchCreateOrUpdate`.\n *\n * @example\n * ```tsp\n * // An operation updating a 'Widget' using merge-patch\n * @patch op update(@body request: MergePatchCreateOrUpdate): Widget;\n * ```\n *\n * @example\n * ```tsp\n * // An operation updating a 'Widget' using merge-patch\n * @patch op update(@bodyRoot request: MergePatchCreateOrUpdate): Widget;\n * ```\n *\n * @example\n * ```tsp\n * // An operation updating a 'Widget' using merge-patch\n * @patch op update(...MergePatchCreateOrUpdate): Widget;\n * ```\n */\n@doc(\"\")\n@friendlyName(NameTemplate, T)\n@mediaTypeHint(\"application/merge-patch+json\")\n@applyMergePatch(\n T,\n NameTemplate,\n #{ visibilityMode: Private.MergePatchVisibilityMode.CreateOrUpdate }\n)\nmodel MergePatchCreateOrUpdate<\n T extends Reflection.Model,\n NameTemplate extends valueof string = \"{name}MergePatchCreateOrUpdate\"\n> {}\n",
+ "path": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http/lib/main.tsp"
+ },
+ "id": {
+ "$id": "403",
+ "kind": 3,
+ "sv": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http/lib/main.tsp",
+ "pos": 0,
+ "end": 0,
+ "flags": 8,
+ "parent": {
+ "$ref": "52"
+ }
+ },
+ "namespaces": [
+ {
+ "$ref": "50"
+ },
+ {
+ "$ref": "48"
+ }
+ ],
+ "usings": [
+ {
+ "$ref": "61"
+ }
+ ],
+ "locals": {
+ "duplicates": {}
+ },
+ "inScopeNamespaces": [
+ {
+ "$ref": "48"
+ },
+ {
+ "$ref": "50"
+ }
+ ],
+ "parseDiagnostics": [],
+ "comments": [],
+ "printable": true,
+ "parseOptions": {},
+ "pos": 0,
+ "end": 13035,
+ "flags": 0,
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "52"
+ },
+ "name": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http/lib/main.tsp",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 32768,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "50"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ }
+ ],
+ "name": "Http",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "50"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 97
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 98
+ }
+ },
+ {
+ "$id": "404",
+ "kind": 46,
+ "id": {
+ "$id": "405",
+ "kind": 3,
+ "sv": "Contents",
+ "pos": 7252,
+ "end": 7260,
+ "flags": 0,
+ "parent": {
+ "$ref": "404"
+ },
+ "_id": 920
+ },
+ "constraint": {
+ "$id": "406",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "407",
+ "kind": 45,
+ "target": {
+ "$id": "408",
+ "kind": 3,
+ "sv": "bytes",
+ "pos": 7269,
+ "end": 7274,
+ "flags": 1,
+ "parent": {
+ "$ref": "407"
+ },
+ "_id": 922
+ },
+ "arguments": [],
+ "pos": 7269,
+ "end": 7274,
+ "flags": 1,
+ "parent": {
+ "$ref": "406"
+ },
+ "_id": 921
+ },
+ {
+ "$id": "409",
+ "kind": 45,
+ "target": {
+ "$id": "410",
+ "kind": 3,
+ "sv": "string",
+ "pos": 7277,
+ "end": 7283,
+ "flags": 1,
+ "parent": {
+ "$ref": "409"
+ },
+ "_id": 924
+ },
+ "arguments": [],
+ "pos": 7277,
+ "end": 7283,
+ "flags": 1,
+ "parent": {
+ "$ref": "406"
+ },
+ "_id": 923
+ }
+ ],
+ "pos": 7269,
+ "end": 7283,
+ "flags": 0,
+ "parent": {
+ "$ref": "404"
+ }
+ },
+ "default": {
+ "$id": "411",
+ "kind": 45,
+ "target": {
+ "$id": "412",
+ "kind": 3,
+ "sv": "bytes",
+ "pos": 7286,
+ "end": 7291,
+ "flags": 1,
+ "parent": {
+ "$ref": "411"
+ },
+ "_id": 926
+ },
+ "arguments": [],
+ "pos": 7286,
+ "end": 7291,
+ "flags": 1,
+ "parent": {
+ "$ref": "404"
+ },
+ "_id": 925
+ },
+ "pos": 7252,
+ "end": 7291,
+ "flags": 0,
+ "parent": {
+ "$ref": "40"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "404"
+ }
+ ],
+ "name": "Contents",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "40"
+ }
+ ],
+ "name": "File",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "48"
+ }
+ ],
+ "name": "Http",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "50"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 97
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 99
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 7214,
+ "end": 7292
+ },
+ "decorators": [
+ {
+ "$id": "413",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "414",
+ "kind": 32,
+ "value": "A file in an HTTP request, response, or multipart payload.",
+ "pos": 7124,
+ "end": 7184,
+ "flags": 0,
+ "parent": {
+ "$ref": "413"
+ }
+ }
+ ],
+ "target": {
+ "$id": "415",
+ "kind": 3,
+ "sv": "summary",
+ "pos": 7116,
+ "end": 7123,
+ "flags": 1,
+ "parent": {
+ "$ref": "413"
+ },
+ "_id": 903
+ },
+ "pos": 7115,
+ "end": 7185,
+ "flags": 0,
+ "parent": {
+ "$ref": "40"
+ }
+ },
+ {
+ "$id": "416",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "417",
+ "kind": 7,
+ "base": {
+ "$id": "418",
+ "kind": 3,
+ "sv": "Private",
+ "pos": 7187,
+ "end": 7194,
+ "flags": 1,
+ "parent": {
+ "$ref": "417"
+ },
+ "_id": 905
+ },
+ "id": {
+ "$id": "419",
+ "kind": 3,
+ "sv": "httpFile",
+ "pos": 7195,
+ "end": 7203,
+ "flags": 1,
+ "parent": {
+ "$ref": "417"
+ },
+ "_id": 906
+ },
+ "selector": ".",
+ "pos": 7187,
+ "end": 7203,
+ "flags": 1,
+ "parent": {
+ "$ref": "416"
+ },
+ "_id": 904
+ },
+ "pos": 7186,
+ "end": 7203,
+ "flags": 0,
+ "parent": {
+ "$ref": "40"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "420",
+ "kind": 15,
+ "id": {
+ "$id": "421",
+ "kind": 3,
+ "sv": "contentType",
+ "pos": 7946,
+ "end": 7957,
+ "flags": 0,
+ "parent": {
+ "$ref": "420"
+ },
+ "_id": 927
+ },
+ "decorators": [
+ {
+ "$id": "422",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "423",
+ "kind": 32,
+ "value": "The allowed media (MIME) types of the file contents.",
+ "pos": 7888,
+ "end": 7942,
+ "flags": 0,
+ "parent": {
+ "$ref": "422"
+ }
+ }
+ ],
+ "target": {
+ "$id": "424",
+ "kind": 3,
+ "sv": "summary",
+ "pos": 7880,
+ "end": 7887,
+ "flags": 1,
+ "parent": {
+ "$ref": "422"
+ },
+ "_id": 928
+ },
+ "pos": 7879,
+ "end": 7943,
+ "flags": 0,
+ "parent": {
+ "$ref": "420"
+ }
+ }
+ ],
+ "value": {
+ "$id": "425",
+ "kind": 45,
+ "target": {
+ "$id": "426",
+ "kind": 3,
+ "sv": "ContentType",
+ "pos": 7960,
+ "end": 7971,
+ "flags": 1,
+ "parent": {
+ "$ref": "425"
+ },
+ "_id": 930
+ },
+ "arguments": [],
+ "pos": 7960,
+ "end": 7971,
+ "flags": 1,
+ "parent": {
+ "$ref": "420"
+ },
+ "_id": 929
+ },
+ "optional": true,
+ "pos": 7297,
+ "end": 7971,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "427",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "428",
+ "kind": 52,
+ "text": "The allowed media (MIME) types of the file contents.\n\nIn file bodies, this value comes from the `Content-Type` header of the request or response. In JSON bodies,\nthis value is serialized as a field in the response.\n\nNOTE: this is not _necessarily_ the same as the `Content-Type` header of the request or response, but\nit will be for file bodies. It may be different if the file is serialized as a JSON object. It always refers to the\n_contents_ of the file, and not necessarily the way the file itself is transmitted or serialized.",
+ "pos": 7300,
+ "end": 7874,
+ "flags": 0,
+ "parent": {
+ "$ref": "427"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 7297,
+ "end": 7876,
+ "flags": 0,
+ "parent": {
+ "$ref": "420"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "40"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "420"
+ },
+ "name": "contentType",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "40"
+ }
+ ],
+ "name": "File",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "48"
+ }
+ ],
+ "name": "Http",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "50"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 97
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$ref": "31"
+ },
+ {
+ "$id": "429",
+ "kind": 15,
+ "id": {
+ "$id": "430",
+ "kind": 3,
+ "sv": "contents",
+ "pos": 8963,
+ "end": 8971,
+ "flags": 0,
+ "parent": {
+ "$ref": "429"
+ },
+ "_id": 935
+ },
+ "decorators": [
+ {
+ "$id": "431",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "432",
+ "kind": 32,
+ "value": "The contents of the file.",
+ "pos": 8932,
+ "end": 8959,
+ "flags": 0,
+ "parent": {
+ "$ref": "431"
+ }
+ }
+ ],
+ "target": {
+ "$id": "433",
+ "kind": 3,
+ "sv": "summary",
+ "pos": 8924,
+ "end": 8931,
+ "flags": 1,
+ "parent": {
+ "$ref": "431"
+ },
+ "_id": 936
+ },
+ "pos": 8923,
+ "end": 8960,
+ "flags": 0,
+ "parent": {
+ "$ref": "429"
+ }
+ }
+ ],
+ "value": {
+ "$id": "434",
+ "kind": 45,
+ "target": {
+ "$id": "435",
+ "kind": 3,
+ "sv": "Contents",
+ "pos": 8973,
+ "end": 8981,
+ "flags": 1,
+ "parent": {
+ "$ref": "434"
+ },
+ "_id": 938
+ },
+ "arguments": [],
+ "pos": 8973,
+ "end": 8981,
+ "flags": 1,
+ "parent": {
+ "$ref": "429"
+ },
+ "_id": 937
+ },
+ "optional": false,
+ "pos": 8701,
+ "end": 8981,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "436",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "437",
+ "kind": 52,
+ "text": "The contents of the file.\n\nIn file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies,\nthis value is serialized as a field in the response.",
+ "pos": 8704,
+ "end": 8918,
+ "flags": 0,
+ "parent": {
+ "$ref": "436"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 8701,
+ "end": 8920,
+ "flags": 0,
+ "parent": {
+ "$ref": "429"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "40"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "429"
+ },
+ "name": "contents",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "40"
+ }
+ ],
+ "name": "File",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "48"
+ }
+ ],
+ "name": "Http",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "50"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 97
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 7293,
+ "end": 8984
+ },
+ "pos": 2805,
+ "end": 8984,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "438",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "439",
+ "kind": 52,
+ "text": "A file in an HTTP request, response, or multipart payload.\n\nFiles have a special meaning that the HTTP library understands. When the body of an HTTP request, response,\nor multipart payload is _effectively_ an instance of `TypeSpec.Http.File` or any type that extends it, the\noperation is treated as a file upload or download.\n\nWhen using file bodies, the fields of the file model are defined to come from particular locations by default:\n\n- `contentType`: The `Content-Type` header of the request, response, or multipart payload (CANNOT be overridden or changed).\n- `contents`: The body of the request, response, or multipart payload (CANNOT be overridden or changed).\n- `filename`: The `filename` parameter value of the `Content-Disposition` header of the response or multipart payload\n(MAY be overridden or changed).\n\nA File may be used as a normal structured JSON object in a request or response, if the request specifies an explicit\n`Content-Type` header. In this case, the entire File model is serialized as if it were any other model. In a JSON payload,\nit will have a structure like:\n\n```\n{\n \"contentType\": ,\n \"filename\": ,\n \"contents\": \n}\n```\n\nThe `contentType` _within_ the file defines what media types the data inside the file can be, but if the specification\ndefines a `Content-Type` for the payload as HTTP metadata, that `Content-Type` metadata defines _how the file is\nserialized_. See the examples below for more information.\n\nNOTE: The `filename` and `contentType` fields are optional. Furthermore, the default location of `filename`\n(`Content-Disposition: ; filename=`) is only valid in HTTP responses and multipart payloads. If\nyou wish to send the `filename` in a request, you must use HTTP metadata decorators to describe the location of the\n`filename` field. You can combine the metadata decorators with `@visibility` to control when the `filename` location\nis overridden, as shown in the examples below.",
+ "pos": 2808,
+ "end": 4899,
+ "flags": 0,
+ "parent": {
+ "$ref": "438"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "440",
+ "kind": 57,
+ "tagName": {
+ "$id": "441",
+ "kind": 3,
+ "sv": "template",
+ "pos": 4900,
+ "end": 4908,
+ "flags": 0,
+ "parent": {
+ "$ref": "440"
+ }
+ },
+ "paramName": {
+ "$id": "442",
+ "kind": 3,
+ "sv": "ContentType",
+ "pos": 4909,
+ "end": 4920,
+ "flags": 0,
+ "parent": {
+ "$ref": "440"
+ }
+ },
+ "content": [
+ {
+ "$id": "443",
+ "kind": 52,
+ "text": "The allowed media (MIME) types of the file contents.",
+ "pos": 4921,
+ "end": 4977,
+ "flags": 0,
+ "parent": {
+ "$ref": "440"
+ }
+ }
+ ],
+ "pos": 4899,
+ "end": 4977,
+ "flags": 0,
+ "parent": {
+ "$ref": "438"
+ }
+ },
+ {
+ "$id": "444",
+ "kind": 57,
+ "tagName": {
+ "$id": "445",
+ "kind": 3,
+ "sv": "template",
+ "pos": 4978,
+ "end": 4986,
+ "flags": 0,
+ "parent": {
+ "$ref": "444"
+ }
+ },
+ "paramName": {
+ "$id": "446",
+ "kind": 3,
+ "sv": "Contents",
+ "pos": 4987,
+ "end": 4995,
+ "flags": 0,
+ "parent": {
+ "$ref": "444"
+ }
+ },
+ "content": [
+ {
+ "$id": "447",
+ "kind": 52,
+ "text": "The type of the file contents. This can be `string`, `bytes`, or any scalar that extends them.",
+ "pos": 4996,
+ "end": 5097,
+ "flags": 0,
+ "parent": {
+ "$ref": "444"
+ }
+ }
+ ],
+ "pos": 4977,
+ "end": 5097,
+ "flags": 0,
+ "parent": {
+ "$ref": "438"
+ }
+ },
+ {
+ "$id": "448",
+ "kind": 58,
+ "tagName": {
+ "$id": "449",
+ "kind": 3,
+ "sv": "example",
+ "pos": 5098,
+ "end": 5105,
+ "flags": 0,
+ "parent": {
+ "$ref": "448"
+ }
+ },
+ "content": [
+ {
+ "$id": "450",
+ "kind": 52,
+ "text": "```tsp\n// Download a file\n@get op download(): File;\n\n// Upload a file\n@post op upload(@bodyRoot file: File): void;\n```",
+ "pos": 5105,
+ "end": 5251,
+ "flags": 0,
+ "parent": {
+ "$ref": "448"
+ }
+ }
+ ],
+ "pos": 5097,
+ "end": 5251,
+ "flags": 0,
+ "parent": {
+ "$ref": "438"
+ }
+ },
+ {
+ "$id": "451",
+ "kind": 58,
+ "tagName": {
+ "$id": "452",
+ "kind": 3,
+ "sv": "example",
+ "pos": 5252,
+ "end": 5259,
+ "flags": 0,
+ "parent": {
+ "$ref": "451"
+ }
+ },
+ "content": [
+ {
+ "$id": "453",
+ "kind": 52,
+ "text": "```tsp\n// Upload and download files in a multipart payload\nop multipartFormDataUpload(\n @multipartBody fields: {\n files: HttpPart[];\n },\n): void;\n\nop multipartFormDataDownload(): {\n @multipartBody formFields: {\n files: HttpPart[];\n }\n};\n```",
+ "pos": 5259,
+ "end": 5570,
+ "flags": 0,
+ "parent": {
+ "$ref": "451"
+ }
+ }
+ ],
+ "pos": 5251,
+ "end": 5570,
+ "flags": 0,
+ "parent": {
+ "$ref": "438"
+ }
+ },
+ {
+ "$id": "454",
+ "kind": 58,
+ "tagName": {
+ "$id": "455",
+ "kind": 3,
+ "sv": "example",
+ "pos": 5571,
+ "end": 5578,
+ "flags": 0,
+ "parent": {
+ "$ref": "454"
+ }
+ },
+ "content": [
+ {
+ "$id": "456",
+ "kind": 52,
+ "text": "```tsp\n// Declare a custom type of text file, where the filename goes in the path\n// in requests.\nmodel SpecFile extends File<\"application/json\" | \"application/yaml\", string> {\n // Provide a header that contains the name of the file when created or updated\n @header(\"x-filename\")\n @path filename: string;\n}\n\n@get op downloadSpec(@path name: string): SpecFile;\n\n@post op uploadSpec(@bodyRoot spec: SpecFile): void;\n```",
+ "pos": 5578,
+ "end": 6043,
+ "flags": 0,
+ "parent": {
+ "$ref": "454"
+ }
+ }
+ ],
+ "pos": 5570,
+ "end": 6043,
+ "flags": 0,
+ "parent": {
+ "$ref": "438"
+ }
+ },
+ {
+ "$id": "457",
+ "kind": 58,
+ "tagName": {
+ "$id": "458",
+ "kind": 3,
+ "sv": "example",
+ "pos": 6044,
+ "end": 6051,
+ "flags": 0,
+ "parent": {
+ "$ref": "457"
+ }
+ },
+ "content": [
+ {
+ "$id": "459",
+ "kind": 52,
+ "text": "```tsp\n// Declare a custom type of binary file\nmodel ImageFile extends File {\n contentType: \"image/png\" | \"image/jpeg\";\n @path filename: string;\n}\n\n@get op downloadImage(@path name: string): ImageFile;\n\n@post op uploadImage(@bodyRoot image: ImageFile): void;\n```",
+ "pos": 6051,
+ "end": 6354,
+ "flags": 0,
+ "parent": {
+ "$ref": "457"
+ }
+ }
+ ],
+ "pos": 6043,
+ "end": 6354,
+ "flags": 0,
+ "parent": {
+ "$ref": "438"
+ }
+ },
+ {
+ "$id": "460",
+ "kind": 58,
+ "tagName": {
+ "$id": "461",
+ "kind": 3,
+ "sv": "example",
+ "pos": 6355,
+ "end": 6362,
+ "flags": 0,
+ "parent": {
+ "$ref": "460"
+ }
+ },
+ "content": [
+ {
+ "$id": "462",
+ "kind": 52,
+ "text": "```tsp\n// Use a File as a structured JSON object. The HTTP library will warn you that the File will be serialized as JSON,\n// so you should suppress the warning if it's really what you want instead of a binary file upload/download.\n\n// The response body is a JSON object like `{\"contentType\":,\"filename\":,\"contents\":}`\n@get op downloadTextFileJson(): {\n @header contentType: \"application/json\",\n @body file: File<\"text/plain\", string>,\n};\n\n// The request body is a JSON object like `{\"contentType\":,\"filename\":,\"contents\":}`\n@post op uploadBinaryFileJson(\n @header contentType: \"application/json\",\n @body file: File<\"image/png\", bytes>,\n): void;",
+ "pos": 6362,
+ "end": 7112,
+ "flags": 0,
+ "parent": {
+ "$ref": "460"
+ }
+ }
+ ],
+ "pos": 6354,
+ "end": 7112,
+ "flags": 0,
+ "parent": {
+ "$ref": "438"
+ }
+ }
+ ],
+ "pos": 2805,
+ "end": 7114,
+ "flags": 0,
+ "parent": {
+ "$ref": "40"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "52"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "40"
+ }
+ ],
+ "name": "File",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "48"
+ }
+ ],
+ "name": "Http",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "50"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 97
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "31"
+ },
+ "name": "filename",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "40"
+ }
+ ],
+ "name": "File",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "48"
+ }
+ ],
+ "name": "Http",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "50"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 97
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "optional": true,
+ "type": {
+ "$id": "463",
+ "kind": "Scalar",
+ "name": "string",
+ "node": {
+ "$id": "464",
+ "kind": 17,
+ "id": {
+ "$id": "465",
+ "kind": 3,
+ "sv": "string",
+ "pos": 1973,
+ "end": 1979,
+ "flags": 0,
+ "parent": {
+ "$ref": "464"
+ },
+ "_id": 63
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1921,
+ "end": 1980,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "466",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "467",
+ "kind": 52,
+ "text": "A sequence of textual characters.",
+ "pos": 1924,
+ "end": 1963,
+ "flags": 0,
+ "parent": {
+ "$ref": "466"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1921,
+ "end": 1965,
+ "flags": 0,
+ "parent": {
+ "$ref": "464"
+ }
+ }
+ ],
+ "parent": {
+ "$id": "468",
+ "kind": 0,
+ "statements": [
+ {
+ "$id": "469",
+ "kind": 2,
+ "path": {
+ "$id": "470",
+ "kind": 32,
+ "value": "../dist/src/lib/intrinsic/tsp-index.js",
+ "pos": 7,
+ "end": 47,
+ "flags": 0,
+ "parent": {
+ "$ref": "469"
+ }
+ },
+ "pos": 0,
+ "end": 48,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "468"
+ }
+ },
+ {
+ "$id": "471",
+ "kind": 2,
+ "path": {
+ "$id": "472",
+ "kind": 32,
+ "value": "./prototypes.tsp",
+ "pos": 56,
+ "end": 74,
+ "flags": 0,
+ "parent": {
+ "$ref": "471"
+ }
+ },
+ "pos": 49,
+ "end": 75,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "468"
+ }
+ },
+ {
+ "$id": "473",
+ "kind": 8,
+ "decorators": [],
+ "docs": [],
+ "id": {
+ "$id": "474",
+ "kind": 3,
+ "sv": "TypeSpec",
+ "pos": 184,
+ "end": 192,
+ "flags": 0,
+ "parent": {
+ "$ref": "473"
+ },
+ "_id": 15
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "directives": [],
+ "pos": 174,
+ "end": 193,
+ "flags": 0,
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "475",
+ "kind": 17,
+ "id": {
+ "$id": "476",
+ "kind": 3,
+ "sv": "bytes",
+ "pos": 236,
+ "end": 241,
+ "flags": 0,
+ "parent": {
+ "$ref": "475"
+ },
+ "_id": 16
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 195,
+ "end": 242,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "477",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "478",
+ "kind": 52,
+ "text": "Represent a byte array",
+ "pos": 198,
+ "end": 226,
+ "flags": 0,
+ "parent": {
+ "$ref": "477"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 195,
+ "end": 228,
+ "flags": 0,
+ "parent": {
+ "$ref": "475"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "475"
+ }
+ ],
+ "name": "bytes",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 0
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "479",
+ "kind": 17,
+ "id": {
+ "$id": "480",
+ "kind": 3,
+ "sv": "numeric",
+ "pos": 277,
+ "end": 284,
+ "flags": 0,
+ "parent": {
+ "$ref": "479"
+ },
+ "_id": 17
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 244,
+ "end": 285,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "481",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "482",
+ "kind": 52,
+ "text": "A numeric type",
+ "pos": 247,
+ "end": 267,
+ "flags": 0,
+ "parent": {
+ "$ref": "481"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 244,
+ "end": 269,
+ "flags": 0,
+ "parent": {
+ "$ref": "479"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "479"
+ }
+ ],
+ "name": "numeric",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 1
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "483",
+ "kind": 17,
+ "id": {
+ "$id": "484",
+ "kind": 3,
+ "sv": "integer",
+ "pos": 431,
+ "end": 438,
+ "flags": 0,
+ "parent": {
+ "$ref": "483"
+ },
+ "_id": 18
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "485",
+ "kind": 45,
+ "target": {
+ "$id": "486",
+ "kind": 3,
+ "sv": "numeric",
+ "pos": 447,
+ "end": 454,
+ "flags": 1,
+ "parent": {
+ "$ref": "485"
+ },
+ "_id": 20
+ },
+ "arguments": [],
+ "pos": 447,
+ "end": 454,
+ "flags": 1,
+ "parent": {
+ "$ref": "483"
+ },
+ "_id": 19
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 287,
+ "end": 455,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "487",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "488",
+ "kind": 52,
+ "text": "A whole number. This represent any `integer` value possible.\nIt is commonly represented as `BigInteger` in some languages.",
+ "pos": 290,
+ "end": 421,
+ "flags": 0,
+ "parent": {
+ "$ref": "487"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 287,
+ "end": 423,
+ "flags": 0,
+ "parent": {
+ "$ref": "483"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "483"
+ }
+ ],
+ "name": "integer",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 2
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "489",
+ "kind": 17,
+ "id": {
+ "$id": "490",
+ "kind": 3,
+ "sv": "float",
+ "pos": 503,
+ "end": 508,
+ "flags": 0,
+ "parent": {
+ "$ref": "489"
+ },
+ "_id": 21
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "491",
+ "kind": 45,
+ "target": {
+ "$id": "492",
+ "kind": 3,
+ "sv": "numeric",
+ "pos": 517,
+ "end": 524,
+ "flags": 1,
+ "parent": {
+ "$ref": "491"
+ },
+ "_id": 23
+ },
+ "arguments": [],
+ "pos": 517,
+ "end": 524,
+ "flags": 1,
+ "parent": {
+ "$ref": "489"
+ },
+ "_id": 22
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 457,
+ "end": 525,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "493",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "494",
+ "kind": 52,
+ "text": "A number with decimal value",
+ "pos": 460,
+ "end": 493,
+ "flags": 0,
+ "parent": {
+ "$ref": "493"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 457,
+ "end": 495,
+ "flags": 0,
+ "parent": {
+ "$ref": "489"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "489"
+ }
+ ],
+ "name": "float",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 3
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "495",
+ "kind": 17,
+ "id": {
+ "$id": "496",
+ "kind": 3,
+ "sv": "int64",
+ "pos": 625,
+ "end": 630,
+ "flags": 0,
+ "parent": {
+ "$ref": "495"
+ },
+ "_id": 24
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "497",
+ "kind": 45,
+ "target": {
+ "$id": "498",
+ "kind": 3,
+ "sv": "integer",
+ "pos": 639,
+ "end": 646,
+ "flags": 1,
+ "parent": {
+ "$ref": "497"
+ },
+ "_id": 26
+ },
+ "arguments": [],
+ "pos": 639,
+ "end": 646,
+ "flags": 1,
+ "parent": {
+ "$ref": "495"
+ },
+ "_id": 25
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 527,
+ "end": 647,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "499",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "500",
+ "kind": 52,
+ "text": "A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`)",
+ "pos": 530,
+ "end": 615,
+ "flags": 0,
+ "parent": {
+ "$ref": "499"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 527,
+ "end": 617,
+ "flags": 0,
+ "parent": {
+ "$ref": "495"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "495"
+ }
+ ],
+ "name": "int64",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 4
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "501",
+ "kind": 17,
+ "id": {
+ "$id": "502",
+ "kind": 3,
+ "sv": "int32",
+ "pos": 723,
+ "end": 728,
+ "flags": 0,
+ "parent": {
+ "$ref": "501"
+ },
+ "_id": 27
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "503",
+ "kind": 45,
+ "target": {
+ "$id": "504",
+ "kind": 3,
+ "sv": "int64",
+ "pos": 737,
+ "end": 742,
+ "flags": 1,
+ "parent": {
+ "$ref": "503"
+ },
+ "_id": 29
+ },
+ "arguments": [],
+ "pos": 737,
+ "end": 742,
+ "flags": 1,
+ "parent": {
+ "$ref": "501"
+ },
+ "_id": 28
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 649,
+ "end": 743,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "505",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "506",
+ "kind": 52,
+ "text": "A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)",
+ "pos": 652,
+ "end": 713,
+ "flags": 0,
+ "parent": {
+ "$ref": "505"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 649,
+ "end": 715,
+ "flags": 0,
+ "parent": {
+ "$ref": "501"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "501"
+ }
+ ],
+ "name": "int32",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 5
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "507",
+ "kind": 17,
+ "id": {
+ "$id": "508",
+ "kind": 3,
+ "sv": "int16",
+ "pos": 805,
+ "end": 810,
+ "flags": 0,
+ "parent": {
+ "$ref": "507"
+ },
+ "_id": 30
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "509",
+ "kind": 45,
+ "target": {
+ "$id": "510",
+ "kind": 3,
+ "sv": "int32",
+ "pos": 819,
+ "end": 824,
+ "flags": 1,
+ "parent": {
+ "$ref": "509"
+ },
+ "_id": 32
+ },
+ "arguments": [],
+ "pos": 819,
+ "end": 824,
+ "flags": 1,
+ "parent": {
+ "$ref": "507"
+ },
+ "_id": 31
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 745,
+ "end": 825,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "511",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "512",
+ "kind": 52,
+ "text": "A 16-bit integer. (`-32,768` to `32,767`)",
+ "pos": 748,
+ "end": 795,
+ "flags": 0,
+ "parent": {
+ "$ref": "511"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 745,
+ "end": 797,
+ "flags": 0,
+ "parent": {
+ "$ref": "507"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "507"
+ }
+ ],
+ "name": "int16",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 6
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "513",
+ "kind": 17,
+ "id": {
+ "$id": "514",
+ "kind": 3,
+ "sv": "int8",
+ "pos": 880,
+ "end": 884,
+ "flags": 0,
+ "parent": {
+ "$ref": "513"
+ },
+ "_id": 33
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "515",
+ "kind": 45,
+ "target": {
+ "$id": "516",
+ "kind": 3,
+ "sv": "int16",
+ "pos": 893,
+ "end": 898,
+ "flags": 1,
+ "parent": {
+ "$ref": "515"
+ },
+ "_id": 35
+ },
+ "arguments": [],
+ "pos": 893,
+ "end": 898,
+ "flags": 1,
+ "parent": {
+ "$ref": "513"
+ },
+ "_id": 34
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 827,
+ "end": 899,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "517",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "518",
+ "kind": 52,
+ "text": "A 8-bit integer. (`-128` to `127`)",
+ "pos": 830,
+ "end": 870,
+ "flags": 0,
+ "parent": {
+ "$ref": "517"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 827,
+ "end": 872,
+ "flags": 0,
+ "parent": {
+ "$ref": "513"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "513"
+ }
+ ],
+ "name": "int8",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 7
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "519",
+ "kind": 17,
+ "id": {
+ "$id": "520",
+ "kind": 3,
+ "sv": "uint64",
+ "pos": 983,
+ "end": 989,
+ "flags": 0,
+ "parent": {
+ "$ref": "519"
+ },
+ "_id": 36
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "521",
+ "kind": 45,
+ "target": {
+ "$id": "522",
+ "kind": 3,
+ "sv": "integer",
+ "pos": 998,
+ "end": 1005,
+ "flags": 1,
+ "parent": {
+ "$ref": "521"
+ },
+ "_id": 38
+ },
+ "arguments": [],
+ "pos": 998,
+ "end": 1005,
+ "flags": 1,
+ "parent": {
+ "$ref": "519"
+ },
+ "_id": 37
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 901,
+ "end": 1006,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "523",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "524",
+ "kind": 52,
+ "text": "A 64-bit unsigned integer (`0` to `18,446,744,073,709,551,615`)",
+ "pos": 904,
+ "end": 973,
+ "flags": 0,
+ "parent": {
+ "$ref": "523"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 901,
+ "end": 975,
+ "flags": 0,
+ "parent": {
+ "$ref": "519"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "519"
+ }
+ ],
+ "name": "uint64",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 8
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "525",
+ "kind": 17,
+ "id": {
+ "$id": "526",
+ "kind": 3,
+ "sv": "uint32",
+ "pos": 1077,
+ "end": 1083,
+ "flags": 0,
+ "parent": {
+ "$ref": "525"
+ },
+ "_id": 39
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "527",
+ "kind": 45,
+ "target": {
+ "$id": "528",
+ "kind": 3,
+ "sv": "uint64",
+ "pos": 1092,
+ "end": 1098,
+ "flags": 1,
+ "parent": {
+ "$ref": "527"
+ },
+ "_id": 41
+ },
+ "arguments": [],
+ "pos": 1092,
+ "end": 1098,
+ "flags": 1,
+ "parent": {
+ "$ref": "525"
+ },
+ "_id": 40
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1008,
+ "end": 1099,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "529",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "530",
+ "kind": 52,
+ "text": "A 32-bit unsigned integer (`0` to `4,294,967,295`)",
+ "pos": 1011,
+ "end": 1067,
+ "flags": 0,
+ "parent": {
+ "$ref": "529"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1008,
+ "end": 1069,
+ "flags": 0,
+ "parent": {
+ "$ref": "525"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "525"
+ }
+ ],
+ "name": "uint32",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 9
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "531",
+ "kind": 17,
+ "id": {
+ "$id": "532",
+ "kind": 3,
+ "sv": "uint16",
+ "pos": 1163,
+ "end": 1169,
+ "flags": 0,
+ "parent": {
+ "$ref": "531"
+ },
+ "_id": 42
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "533",
+ "kind": 45,
+ "target": {
+ "$id": "534",
+ "kind": 3,
+ "sv": "uint32",
+ "pos": 1178,
+ "end": 1184,
+ "flags": 1,
+ "parent": {
+ "$ref": "533"
+ },
+ "_id": 44
+ },
+ "arguments": [],
+ "pos": 1178,
+ "end": 1184,
+ "flags": 1,
+ "parent": {
+ "$ref": "531"
+ },
+ "_id": 43
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1101,
+ "end": 1185,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "535",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "536",
+ "kind": 52,
+ "text": "A 16-bit unsigned integer (`0` to `65,535`)",
+ "pos": 1104,
+ "end": 1153,
+ "flags": 0,
+ "parent": {
+ "$ref": "535"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1101,
+ "end": 1155,
+ "flags": 0,
+ "parent": {
+ "$ref": "531"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "531"
+ }
+ ],
+ "name": "uint16",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 10
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "537",
+ "kind": 17,
+ "id": {
+ "$id": "538",
+ "kind": 3,
+ "sv": "uint8",
+ "pos": 1245,
+ "end": 1250,
+ "flags": 0,
+ "parent": {
+ "$ref": "537"
+ },
+ "_id": 45
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "539",
+ "kind": 45,
+ "target": {
+ "$id": "540",
+ "kind": 3,
+ "sv": "uint16",
+ "pos": 1259,
+ "end": 1265,
+ "flags": 1,
+ "parent": {
+ "$ref": "539"
+ },
+ "_id": 47
+ },
+ "arguments": [],
+ "pos": 1259,
+ "end": 1265,
+ "flags": 1,
+ "parent": {
+ "$ref": "537"
+ },
+ "_id": 46
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1187,
+ "end": 1266,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "541",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "542",
+ "kind": 52,
+ "text": "A 8-bit unsigned integer (`0` to `255`)",
+ "pos": 1190,
+ "end": 1235,
+ "flags": 0,
+ "parent": {
+ "$ref": "541"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1187,
+ "end": 1237,
+ "flags": 0,
+ "parent": {
+ "$ref": "537"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "537"
+ }
+ ],
+ "name": "uint8",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 11
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "543",
+ "kind": 17,
+ "id": {
+ "$id": "544",
+ "kind": 3,
+ "sv": "safeint",
+ "pos": 1398,
+ "end": 1405,
+ "flags": 0,
+ "parent": {
+ "$ref": "543"
+ },
+ "_id": 48
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "545",
+ "kind": 45,
+ "target": {
+ "$id": "546",
+ "kind": 3,
+ "sv": "int64",
+ "pos": 1414,
+ "end": 1419,
+ "flags": 1,
+ "parent": {
+ "$ref": "545"
+ },
+ "_id": 50
+ },
+ "arguments": [],
+ "pos": 1414,
+ "end": 1419,
+ "flags": 1,
+ "parent": {
+ "$ref": "543"
+ },
+ "_id": 49
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1268,
+ "end": 1420,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "547",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "548",
+ "kind": 52,
+ "text": "An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` )",
+ "pos": 1271,
+ "end": 1388,
+ "flags": 0,
+ "parent": {
+ "$ref": "547"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1268,
+ "end": 1390,
+ "flags": 0,
+ "parent": {
+ "$ref": "543"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "543"
+ }
+ ],
+ "name": "safeint",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 12
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "549",
+ "kind": 17,
+ "id": {
+ "$id": "550",
+ "kind": 3,
+ "sv": "float64",
+ "pos": 1510,
+ "end": 1517,
+ "flags": 0,
+ "parent": {
+ "$ref": "549"
+ },
+ "_id": 51
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "551",
+ "kind": 45,
+ "target": {
+ "$id": "552",
+ "kind": 3,
+ "sv": "float",
+ "pos": 1526,
+ "end": 1531,
+ "flags": 1,
+ "parent": {
+ "$ref": "551"
+ },
+ "_id": 53
+ },
+ "arguments": [],
+ "pos": 1526,
+ "end": 1531,
+ "flags": 1,
+ "parent": {
+ "$ref": "549"
+ },
+ "_id": 52
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1422,
+ "end": 1532,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "553",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "554",
+ "kind": 52,
+ "text": "A 64 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`)",
+ "pos": 1425,
+ "end": 1500,
+ "flags": 0,
+ "parent": {
+ "$ref": "553"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1422,
+ "end": 1502,
+ "flags": 0,
+ "parent": {
+ "$ref": "549"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "549"
+ }
+ ],
+ "name": "float64",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 13
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "555",
+ "kind": 17,
+ "id": {
+ "$id": "556",
+ "kind": 3,
+ "sv": "float32",
+ "pos": 1620,
+ "end": 1627,
+ "flags": 0,
+ "parent": {
+ "$ref": "555"
+ },
+ "_id": 54
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "557",
+ "kind": 45,
+ "target": {
+ "$id": "558",
+ "kind": 3,
+ "sv": "float64",
+ "pos": 1636,
+ "end": 1643,
+ "flags": 1,
+ "parent": {
+ "$ref": "557"
+ },
+ "_id": 56
+ },
+ "arguments": [],
+ "pos": 1636,
+ "end": 1643,
+ "flags": 1,
+ "parent": {
+ "$ref": "555"
+ },
+ "_id": 55
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1534,
+ "end": 1644,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "559",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "560",
+ "kind": 52,
+ "text": "A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`)",
+ "pos": 1537,
+ "end": 1610,
+ "flags": 0,
+ "parent": {
+ "$ref": "559"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1534,
+ "end": 1612,
+ "flags": 0,
+ "parent": {
+ "$ref": "555"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "555"
+ }
+ ],
+ "name": "float32",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 14
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "561",
+ "kind": 17,
+ "id": {
+ "$id": "562",
+ "kind": 3,
+ "sv": "decimal",
+ "pos": 1822,
+ "end": 1829,
+ "flags": 0,
+ "parent": {
+ "$ref": "561"
+ },
+ "_id": 57
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "563",
+ "kind": 45,
+ "target": {
+ "$id": "564",
+ "kind": 3,
+ "sv": "numeric",
+ "pos": 1838,
+ "end": 1845,
+ "flags": 1,
+ "parent": {
+ "$ref": "563"
+ },
+ "_id": 59
+ },
+ "arguments": [],
+ "pos": 1838,
+ "end": 1845,
+ "flags": 1,
+ "parent": {
+ "$ref": "561"
+ },
+ "_id": 58
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1646,
+ "end": 1846,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "565",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "566",
+ "kind": 52,
+ "text": "A decimal number with any length and precision. This represent any `decimal` value possible.\nIt is commonly represented as `BigDecimal` in some languages.",
+ "pos": 1649,
+ "end": 1812,
+ "flags": 0,
+ "parent": {
+ "$ref": "565"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1646,
+ "end": 1814,
+ "flags": 0,
+ "parent": {
+ "$ref": "561"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "561"
+ }
+ ],
+ "name": "decimal",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 15
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "567",
+ "kind": 17,
+ "id": {
+ "$id": "568",
+ "kind": 3,
+ "sv": "decimal128",
+ "pos": 1892,
+ "end": 1902,
+ "flags": 0,
+ "parent": {
+ "$ref": "567"
+ },
+ "_id": 60
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "569",
+ "kind": 45,
+ "target": {
+ "$id": "570",
+ "kind": 3,
+ "sv": "decimal",
+ "pos": 1911,
+ "end": 1918,
+ "flags": 1,
+ "parent": {
+ "$ref": "569"
+ },
+ "_id": 62
+ },
+ "arguments": [],
+ "pos": 1911,
+ "end": 1918,
+ "flags": 1,
+ "parent": {
+ "$ref": "567"
+ },
+ "_id": 61
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 1848,
+ "end": 1919,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "571",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "572",
+ "kind": 52,
+ "text": "A 128-bit decimal number.",
+ "pos": 1851,
+ "end": 1882,
+ "flags": 0,
+ "parent": {
+ "$ref": "571"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1848,
+ "end": 1884,
+ "flags": 0,
+ "parent": {
+ "$ref": "567"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "567"
+ }
+ ],
+ "name": "decimal128",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 16
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$ref": "464"
+ },
+ {
+ "$id": "573",
+ "kind": 17,
+ "id": {
+ "$id": "574",
+ "kind": 3,
+ "sv": "plainDate",
+ "pos": 2060,
+ "end": 2069,
+ "flags": 0,
+ "parent": {
+ "$ref": "573"
+ },
+ "_id": 64
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [
+ {
+ "$id": "575",
+ "kind": 69,
+ "id": {
+ "$id": "576",
+ "kind": 3,
+ "sv": "fromISO",
+ "pos": 2232,
+ "end": 2239,
+ "flags": 0,
+ "parent": {
+ "$ref": "575"
+ },
+ "_id": 65
+ },
+ "parameters": [
+ {
+ "$id": "577",
+ "kind": 27,
+ "id": {
+ "$id": "578",
+ "kind": 3,
+ "sv": "value",
+ "pos": 2240,
+ "end": 2245,
+ "flags": 0,
+ "parent": {
+ "$ref": "577"
+ },
+ "_id": 66
+ },
+ "type": {
+ "$id": "579",
+ "kind": 45,
+ "target": {
+ "$id": "580",
+ "kind": 3,
+ "sv": "string",
+ "pos": 2247,
+ "end": 2253,
+ "flags": 1,
+ "parent": {
+ "$ref": "579"
+ },
+ "_id": 68
+ },
+ "arguments": [],
+ "pos": 2247,
+ "end": 2253,
+ "flags": 1,
+ "parent": {
+ "$ref": "577"
+ },
+ "_id": 67
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 2240,
+ "end": 2253,
+ "flags": 0,
+ "parent": {
+ "$ref": "575"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "577"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "573"
+ }
+ ],
+ "name": "plainDate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 18
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 194
+ }
+ }
+ ],
+ "pos": 2074,
+ "end": 2254,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "581",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "582",
+ "kind": 52,
+ "text": "Create a plain date from an ISO 8601 string.",
+ "pos": 2077,
+ "end": 2133,
+ "flags": 0,
+ "parent": {
+ "$ref": "581"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "583",
+ "kind": 58,
+ "tagName": {
+ "$id": "584",
+ "kind": 3,
+ "sv": "example",
+ "pos": 2134,
+ "end": 2141,
+ "flags": 0,
+ "parent": {
+ "$ref": "583"
+ }
+ },
+ "content": [
+ {
+ "$id": "585",
+ "kind": 52,
+ "text": "```tsp\nconst date = plainDate.fromISO(\"2024-05-06\");\n```",
+ "pos": 2141,
+ "end": 2222,
+ "flags": 0,
+ "parent": {
+ "$ref": "583"
+ }
+ }
+ ],
+ "pos": 2133,
+ "end": 2222,
+ "flags": 0,
+ "parent": {
+ "$ref": "581"
+ }
+ }
+ ],
+ "pos": 2074,
+ "end": 2224,
+ "flags": 0,
+ "parent": {
+ "$ref": "575"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "573"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "575"
+ },
+ "name": "fromISO",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "573"
+ }
+ ],
+ "name": "plainDate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 18
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "586",
+ "kind": 69,
+ "id": {
+ "$id": "587",
+ "kind": 3,
+ "sv": "now",
+ "pos": 2407,
+ "end": 2410,
+ "flags": 0,
+ "parent": {
+ "$ref": "586"
+ },
+ "_id": 69
+ },
+ "parameters": [],
+ "pos": 2259,
+ "end": 2412,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "588",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "589",
+ "kind": 52,
+ "text": "Create a plain date representing the current date.",
+ "pos": 2262,
+ "end": 2324,
+ "flags": 0,
+ "parent": {
+ "$ref": "588"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "590",
+ "kind": 58,
+ "tagName": {
+ "$id": "591",
+ "kind": 3,
+ "sv": "example",
+ "pos": 2325,
+ "end": 2332,
+ "flags": 0,
+ "parent": {
+ "$ref": "590"
+ }
+ },
+ "content": [
+ {
+ "$id": "592",
+ "kind": 52,
+ "text": "```tsp\nconst date = plainDate.now();\n```",
+ "pos": 2332,
+ "end": 2397,
+ "flags": 0,
+ "parent": {
+ "$ref": "590"
+ }
+ }
+ ],
+ "pos": 2324,
+ "end": 2397,
+ "flags": 0,
+ "parent": {
+ "$ref": "588"
+ }
+ }
+ ],
+ "pos": 2259,
+ "end": 2399,
+ "flags": 0,
+ "parent": {
+ "$ref": "586"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "573"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "586"
+ },
+ "name": "now",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "573"
+ }
+ ],
+ "name": "plainDate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 18
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 2070,
+ "end": 2415
+ },
+ "decorators": [],
+ "pos": 1982,
+ "end": 2415,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "593",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "594",
+ "kind": 52,
+ "text": "A date on a calendar without a time zone, e.g. \"April 10th\"",
+ "pos": 1985,
+ "end": 2050,
+ "flags": 0,
+ "parent": {
+ "$ref": "593"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1982,
+ "end": 2052,
+ "flags": 0,
+ "parent": {
+ "$ref": "573"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "573"
+ }
+ ],
+ "name": "plainDate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 18
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "595",
+ "kind": 17,
+ "id": {
+ "$id": "596",
+ "kind": 3,
+ "sv": "plainTime",
+ "pos": 2489,
+ "end": 2498,
+ "flags": 0,
+ "parent": {
+ "$ref": "595"
+ },
+ "_id": 70
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [
+ {
+ "$id": "597",
+ "kind": 69,
+ "id": {
+ "$id": "598",
+ "kind": 3,
+ "sv": "fromISO",
+ "pos": 2656,
+ "end": 2663,
+ "flags": 0,
+ "parent": {
+ "$ref": "597"
+ },
+ "_id": 71
+ },
+ "parameters": [
+ {
+ "$id": "599",
+ "kind": 27,
+ "id": {
+ "$id": "600",
+ "kind": 3,
+ "sv": "value",
+ "pos": 2664,
+ "end": 2669,
+ "flags": 0,
+ "parent": {
+ "$ref": "599"
+ },
+ "_id": 72
+ },
+ "type": {
+ "$id": "601",
+ "kind": 45,
+ "target": {
+ "$id": "602",
+ "kind": 3,
+ "sv": "string",
+ "pos": 2671,
+ "end": 2677,
+ "flags": 1,
+ "parent": {
+ "$ref": "601"
+ },
+ "_id": 74
+ },
+ "arguments": [],
+ "pos": 2671,
+ "end": 2677,
+ "flags": 1,
+ "parent": {
+ "$ref": "599"
+ },
+ "_id": 73
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 2664,
+ "end": 2677,
+ "flags": 0,
+ "parent": {
+ "$ref": "597"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "599"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "595"
+ }
+ ],
+ "name": "plainTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 19
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 197
+ }
+ }
+ ],
+ "pos": 2503,
+ "end": 2678,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "603",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "604",
+ "kind": 52,
+ "text": "Create a plain time from an ISO 8601 string.",
+ "pos": 2506,
+ "end": 2562,
+ "flags": 0,
+ "parent": {
+ "$ref": "603"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "605",
+ "kind": 58,
+ "tagName": {
+ "$id": "606",
+ "kind": 3,
+ "sv": "example",
+ "pos": 2563,
+ "end": 2570,
+ "flags": 0,
+ "parent": {
+ "$ref": "605"
+ }
+ },
+ "content": [
+ {
+ "$id": "607",
+ "kind": 52,
+ "text": "```tsp\nconst time = plainTime.fromISO(\"12:34\");\n```",
+ "pos": 2570,
+ "end": 2646,
+ "flags": 0,
+ "parent": {
+ "$ref": "605"
+ }
+ }
+ ],
+ "pos": 2562,
+ "end": 2646,
+ "flags": 0,
+ "parent": {
+ "$ref": "603"
+ }
+ }
+ ],
+ "pos": 2503,
+ "end": 2648,
+ "flags": 0,
+ "parent": {
+ "$ref": "597"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "595"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "597"
+ },
+ "name": "fromISO",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "595"
+ }
+ ],
+ "name": "plainTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 19
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "608",
+ "kind": 69,
+ "id": {
+ "$id": "609",
+ "kind": 3,
+ "sv": "now",
+ "pos": 2831,
+ "end": 2834,
+ "flags": 0,
+ "parent": {
+ "$ref": "608"
+ },
+ "_id": 75
+ },
+ "parameters": [],
+ "pos": 2683,
+ "end": 2836,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "610",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "611",
+ "kind": 52,
+ "text": "Create a plain time representing the current time.",
+ "pos": 2686,
+ "end": 2748,
+ "flags": 0,
+ "parent": {
+ "$ref": "610"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "612",
+ "kind": 58,
+ "tagName": {
+ "$id": "613",
+ "kind": 3,
+ "sv": "example",
+ "pos": 2749,
+ "end": 2756,
+ "flags": 0,
+ "parent": {
+ "$ref": "612"
+ }
+ },
+ "content": [
+ {
+ "$id": "614",
+ "kind": 52,
+ "text": "```tsp\nconst time = plainTime.now();\n```",
+ "pos": 2756,
+ "end": 2821,
+ "flags": 0,
+ "parent": {
+ "$ref": "612"
+ }
+ }
+ ],
+ "pos": 2748,
+ "end": 2821,
+ "flags": 0,
+ "parent": {
+ "$ref": "610"
+ }
+ }
+ ],
+ "pos": 2683,
+ "end": 2823,
+ "flags": 0,
+ "parent": {
+ "$ref": "608"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "595"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "608"
+ },
+ "name": "now",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "595"
+ }
+ ],
+ "name": "plainTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 19
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 2499,
+ "end": 2839
+ },
+ "decorators": [],
+ "pos": 2417,
+ "end": 2839,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "615",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "616",
+ "kind": 52,
+ "text": "A time on a clock without a time zone, e.g. \"3:00 am\"",
+ "pos": 2420,
+ "end": 2479,
+ "flags": 0,
+ "parent": {
+ "$ref": "615"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 2417,
+ "end": 2481,
+ "flags": 0,
+ "parent": {
+ "$ref": "595"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "595"
+ }
+ ],
+ "name": "plainTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 19
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "617",
+ "kind": 17,
+ "id": {
+ "$id": "618",
+ "kind": 3,
+ "sv": "utcDateTime",
+ "pos": 2907,
+ "end": 2918,
+ "flags": 0,
+ "parent": {
+ "$ref": "617"
+ },
+ "_id": 76
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [
+ {
+ "$id": "619",
+ "kind": 69,
+ "id": {
+ "$id": "620",
+ "kind": 3,
+ "sv": "fromISO",
+ "pos": 3087,
+ "end": 3094,
+ "flags": 0,
+ "parent": {
+ "$ref": "619"
+ },
+ "_id": 77
+ },
+ "parameters": [
+ {
+ "$id": "621",
+ "kind": 27,
+ "id": {
+ "$id": "622",
+ "kind": 3,
+ "sv": "value",
+ "pos": 3095,
+ "end": 3100,
+ "flags": 0,
+ "parent": {
+ "$ref": "621"
+ },
+ "_id": 78
+ },
+ "type": {
+ "$id": "623",
+ "kind": 45,
+ "target": {
+ "$id": "624",
+ "kind": 3,
+ "sv": "string",
+ "pos": 3102,
+ "end": 3108,
+ "flags": 1,
+ "parent": {
+ "$ref": "623"
+ },
+ "_id": 80
+ },
+ "arguments": [],
+ "pos": 3102,
+ "end": 3108,
+ "flags": 1,
+ "parent": {
+ "$ref": "621"
+ },
+ "_id": 79
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 3095,
+ "end": 3108,
+ "flags": 0,
+ "parent": {
+ "$ref": "619"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "621"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "617"
+ }
+ ],
+ "name": "utcDateTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 20
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 200
+ }
+ }
+ ],
+ "pos": 2923,
+ "end": 3109,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "625",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "626",
+ "kind": 52,
+ "text": "Create a date from an ISO 8601 string.",
+ "pos": 2926,
+ "end": 2976,
+ "flags": 0,
+ "parent": {
+ "$ref": "625"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "627",
+ "kind": 58,
+ "tagName": {
+ "$id": "628",
+ "kind": 3,
+ "sv": "example",
+ "pos": 2977,
+ "end": 2984,
+ "flags": 0,
+ "parent": {
+ "$ref": "627"
+ }
+ },
+ "content": [
+ {
+ "$id": "629",
+ "kind": 52,
+ "text": "```tsp\nconst time = utcDateTime.fromISO(\"2024-05-06T12:20-12Z\");\n```",
+ "pos": 2984,
+ "end": 3077,
+ "flags": 0,
+ "parent": {
+ "$ref": "627"
+ }
+ }
+ ],
+ "pos": 2976,
+ "end": 3077,
+ "flags": 0,
+ "parent": {
+ "$ref": "625"
+ }
+ }
+ ],
+ "pos": 2923,
+ "end": 3079,
+ "flags": 0,
+ "parent": {
+ "$ref": "619"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "617"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "619"
+ },
+ "name": "fromISO",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "617"
+ }
+ ],
+ "name": "utcDateTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 20
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "630",
+ "kind": 69,
+ "id": {
+ "$id": "631",
+ "kind": 3,
+ "sv": "now",
+ "pos": 3274,
+ "end": 3277,
+ "flags": 0,
+ "parent": {
+ "$ref": "630"
+ },
+ "_id": 81
+ },
+ "parameters": [],
+ "pos": 3114,
+ "end": 3279,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "632",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "633",
+ "kind": 52,
+ "text": "Create a date representing the current date and time in UTC.",
+ "pos": 3117,
+ "end": 3189,
+ "flags": 0,
+ "parent": {
+ "$ref": "632"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "634",
+ "kind": 58,
+ "tagName": {
+ "$id": "635",
+ "kind": 3,
+ "sv": "example",
+ "pos": 3190,
+ "end": 3197,
+ "flags": 0,
+ "parent": {
+ "$ref": "634"
+ }
+ },
+ "content": [
+ {
+ "$id": "636",
+ "kind": 52,
+ "text": "```tsp\nconst time = utcDateTime.now();\n```",
+ "pos": 3197,
+ "end": 3264,
+ "flags": 0,
+ "parent": {
+ "$ref": "634"
+ }
+ }
+ ],
+ "pos": 3189,
+ "end": 3264,
+ "flags": 0,
+ "parent": {
+ "$ref": "632"
+ }
+ }
+ ],
+ "pos": 3114,
+ "end": 3266,
+ "flags": 0,
+ "parent": {
+ "$ref": "630"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "617"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "630"
+ },
+ "name": "now",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "617"
+ }
+ ],
+ "name": "utcDateTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 20
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 2919,
+ "end": 3282
+ },
+ "decorators": [],
+ "pos": 2841,
+ "end": 3282,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "637",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "638",
+ "kind": 52,
+ "text": "An instant in coordinated universal time (UTC)\"",
+ "pos": 2844,
+ "end": 2897,
+ "flags": 0,
+ "parent": {
+ "$ref": "637"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 2841,
+ "end": 2899,
+ "flags": 0,
+ "parent": {
+ "$ref": "617"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "617"
+ }
+ ],
+ "name": "utcDateTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 20
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "639",
+ "kind": 17,
+ "id": {
+ "$id": "640",
+ "kind": 3,
+ "sv": "offsetDateTime",
+ "pos": 3380,
+ "end": 3394,
+ "flags": 0,
+ "parent": {
+ "$ref": "639"
+ },
+ "_id": 82
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [
+ {
+ "$id": "641",
+ "kind": 69,
+ "id": {
+ "$id": "642",
+ "kind": 3,
+ "sv": "fromISO",
+ "pos": 3570,
+ "end": 3577,
+ "flags": 0,
+ "parent": {
+ "$ref": "641"
+ },
+ "_id": 83
+ },
+ "parameters": [
+ {
+ "$id": "643",
+ "kind": 27,
+ "id": {
+ "$id": "644",
+ "kind": 3,
+ "sv": "value",
+ "pos": 3578,
+ "end": 3583,
+ "flags": 0,
+ "parent": {
+ "$ref": "643"
+ },
+ "_id": 84
+ },
+ "type": {
+ "$id": "645",
+ "kind": 45,
+ "target": {
+ "$id": "646",
+ "kind": 3,
+ "sv": "string",
+ "pos": 3585,
+ "end": 3591,
+ "flags": 1,
+ "parent": {
+ "$ref": "645"
+ },
+ "_id": 86
+ },
+ "arguments": [],
+ "pos": 3585,
+ "end": 3591,
+ "flags": 1,
+ "parent": {
+ "$ref": "643"
+ },
+ "_id": 85
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 3578,
+ "end": 3591,
+ "flags": 0,
+ "parent": {
+ "$ref": "641"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "643"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "639"
+ }
+ ],
+ "name": "offsetDateTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 21
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 203
+ }
+ }
+ ],
+ "pos": 3399,
+ "end": 3592,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "647",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "648",
+ "kind": 52,
+ "text": "Create a date from an ISO 8601 string.",
+ "pos": 3402,
+ "end": 3452,
+ "flags": 0,
+ "parent": {
+ "$ref": "647"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "649",
+ "kind": 58,
+ "tagName": {
+ "$id": "650",
+ "kind": 3,
+ "sv": "example",
+ "pos": 3453,
+ "end": 3460,
+ "flags": 0,
+ "parent": {
+ "$ref": "649"
+ }
+ },
+ "content": [
+ {
+ "$id": "651",
+ "kind": 52,
+ "text": "```tsp\nconst time = offsetDateTime.fromISO(\"2024-05-06T12:20-12-0700\");\n```",
+ "pos": 3460,
+ "end": 3560,
+ "flags": 0,
+ "parent": {
+ "$ref": "649"
+ }
+ }
+ ],
+ "pos": 3452,
+ "end": 3560,
+ "flags": 0,
+ "parent": {
+ "$ref": "647"
+ }
+ }
+ ],
+ "pos": 3399,
+ "end": 3562,
+ "flags": 0,
+ "parent": {
+ "$ref": "641"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "639"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "641"
+ },
+ "name": "fromISO",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "639"
+ }
+ ],
+ "name": "offsetDateTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 21
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "652",
+ "kind": 69,
+ "id": {
+ "$id": "653",
+ "kind": 3,
+ "sv": "now",
+ "pos": 3765,
+ "end": 3768,
+ "flags": 0,
+ "parent": {
+ "$ref": "652"
+ },
+ "_id": 87
+ },
+ "parameters": [],
+ "pos": 3597,
+ "end": 3770,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "654",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "655",
+ "kind": 52,
+ "text": "Create a date representing the current date and time with offset.",
+ "pos": 3600,
+ "end": 3677,
+ "flags": 0,
+ "parent": {
+ "$ref": "654"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "656",
+ "kind": 58,
+ "tagName": {
+ "$id": "657",
+ "kind": 3,
+ "sv": "example",
+ "pos": 3678,
+ "end": 3685,
+ "flags": 0,
+ "parent": {
+ "$ref": "656"
+ }
+ },
+ "content": [
+ {
+ "$id": "658",
+ "kind": 52,
+ "text": "```tsp\nconst time = offsetDateTime.now();\n```",
+ "pos": 3685,
+ "end": 3755,
+ "flags": 0,
+ "parent": {
+ "$ref": "656"
+ }
+ }
+ ],
+ "pos": 3677,
+ "end": 3755,
+ "flags": 0,
+ "parent": {
+ "$ref": "654"
+ }
+ }
+ ],
+ "pos": 3597,
+ "end": 3757,
+ "flags": 0,
+ "parent": {
+ "$ref": "652"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "639"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "652"
+ },
+ "name": "now",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "639"
+ }
+ ],
+ "name": "offsetDateTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 21
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 3395,
+ "end": 3773
+ },
+ "decorators": [],
+ "pos": 3284,
+ "end": 3773,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "659",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "660",
+ "kind": 52,
+ "text": "A date and time in a particular time zone, e.g. \"April 10th at 3:00am in PST\"",
+ "pos": 3287,
+ "end": 3370,
+ "flags": 0,
+ "parent": {
+ "$ref": "659"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 3284,
+ "end": 3372,
+ "flags": 0,
+ "parent": {
+ "$ref": "639"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "639"
+ }
+ ],
+ "name": "offsetDateTime",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 21
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "661",
+ "kind": 17,
+ "id": {
+ "$id": "662",
+ "kind": 3,
+ "sv": "duration",
+ "pos": 3829,
+ "end": 3837,
+ "flags": 0,
+ "parent": {
+ "$ref": "661"
+ },
+ "_id": 88
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [
+ {
+ "$id": "663",
+ "kind": 69,
+ "id": {
+ "$id": "664",
+ "kind": 3,
+ "sv": "fromISO",
+ "pos": 3992,
+ "end": 3999,
+ "flags": 0,
+ "parent": {
+ "$ref": "663"
+ },
+ "_id": 89
+ },
+ "parameters": [
+ {
+ "$id": "665",
+ "kind": 27,
+ "id": {
+ "$id": "666",
+ "kind": 3,
+ "sv": "value",
+ "pos": 4000,
+ "end": 4005,
+ "flags": 0,
+ "parent": {
+ "$ref": "665"
+ },
+ "_id": 90
+ },
+ "type": {
+ "$id": "667",
+ "kind": 45,
+ "target": {
+ "$id": "668",
+ "kind": 3,
+ "sv": "string",
+ "pos": 4007,
+ "end": 4013,
+ "flags": 1,
+ "parent": {
+ "$ref": "667"
+ },
+ "_id": 92
+ },
+ "arguments": [],
+ "pos": 4007,
+ "end": 4013,
+ "flags": 1,
+ "parent": {
+ "$ref": "665"
+ },
+ "_id": 91
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 4000,
+ "end": 4013,
+ "flags": 0,
+ "parent": {
+ "$ref": "663"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "665"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "661"
+ }
+ ],
+ "name": "duration",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 22
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 206
+ }
+ }
+ ],
+ "pos": 3842,
+ "end": 4014,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "669",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "670",
+ "kind": 52,
+ "text": "Create a duration from an ISO 8601 string.",
+ "pos": 3845,
+ "end": 3899,
+ "flags": 0,
+ "parent": {
+ "$ref": "669"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "671",
+ "kind": 58,
+ "tagName": {
+ "$id": "672",
+ "kind": 3,
+ "sv": "example",
+ "pos": 3900,
+ "end": 3907,
+ "flags": 0,
+ "parent": {
+ "$ref": "671"
+ }
+ },
+ "content": [
+ {
+ "$id": "673",
+ "kind": 52,
+ "text": "```tsp\nconst time = duration.fromISO(\"P1Y1D\");\n```",
+ "pos": 3907,
+ "end": 3982,
+ "flags": 0,
+ "parent": {
+ "$ref": "671"
+ }
+ }
+ ],
+ "pos": 3899,
+ "end": 3982,
+ "flags": 0,
+ "parent": {
+ "$ref": "669"
+ }
+ }
+ ],
+ "pos": 3842,
+ "end": 3984,
+ "flags": 0,
+ "parent": {
+ "$ref": "663"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "661"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "663"
+ },
+ "name": "fromISO",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "661"
+ }
+ ],
+ "name": "duration",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 22
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 3838,
+ "end": 4017
+ },
+ "decorators": [],
+ "pos": 3775,
+ "end": 4017,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "674",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "675",
+ "kind": 52,
+ "text": "A duration/time period. e.g 5s, 10h",
+ "pos": 3778,
+ "end": 3819,
+ "flags": 0,
+ "parent": {
+ "$ref": "674"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 3775,
+ "end": 3821,
+ "flags": 0,
+ "parent": {
+ "$ref": "661"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "661"
+ }
+ ],
+ "name": "duration",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 22
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "676",
+ "kind": 17,
+ "id": {
+ "$id": "677",
+ "kind": 3,
+ "sv": "boolean",
+ "pos": 4077,
+ "end": 4084,
+ "flags": 0,
+ "parent": {
+ "$ref": "676"
+ },
+ "_id": 93
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 4019,
+ "end": 4085,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "678",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "679",
+ "kind": 52,
+ "text": "Boolean with `true` and `false` values.",
+ "pos": 4022,
+ "end": 4067,
+ "flags": 0,
+ "parent": {
+ "$ref": "678"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 4019,
+ "end": 4069,
+ "flags": 0,
+ "parent": {
+ "$ref": "676"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "676"
+ }
+ ],
+ "name": "boolean",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 23
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "680",
+ "kind": 13,
+ "id": {
+ "$id": "681",
+ "kind": 3,
+ "sv": "Array",
+ "pos": 4232,
+ "end": 4237,
+ "flags": 0,
+ "parent": {
+ "$ref": "680"
+ },
+ "_id": 94
+ },
+ "templateParameters": [
+ {
+ "$id": "682",
+ "kind": 46,
+ "id": {
+ "$id": "683",
+ "kind": 3,
+ "sv": "Element",
+ "pos": 4238,
+ "end": 4245,
+ "flags": 0,
+ "parent": {
+ "$ref": "682"
+ },
+ "_id": 100
+ },
+ "pos": 4238,
+ "end": 4245,
+ "flags": 0,
+ "parent": {
+ "$ref": "680"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "682"
+ }
+ ],
+ "name": "Element",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "680"
+ }
+ ],
+ "name": "Array",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 24
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 25
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 4237,
+ "end": 4246
+ },
+ "decorators": [
+ {
+ "$id": "684",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "685",
+ "kind": 45,
+ "target": {
+ "$id": "686",
+ "kind": 3,
+ "sv": "integer",
+ "pos": 4208,
+ "end": 4215,
+ "flags": 1,
+ "parent": {
+ "$ref": "685"
+ },
+ "_id": 97
+ },
+ "arguments": [],
+ "pos": 4208,
+ "end": 4215,
+ "flags": 1,
+ "parent": {
+ "$ref": "684"
+ },
+ "_id": 96
+ },
+ {
+ "$id": "687",
+ "kind": 45,
+ "target": {
+ "$id": "688",
+ "kind": 3,
+ "sv": "Element",
+ "pos": 4217,
+ "end": 4224,
+ "flags": 1,
+ "parent": {
+ "$ref": "687"
+ },
+ "_id": 99
+ },
+ "arguments": [],
+ "pos": 4217,
+ "end": 4224,
+ "flags": 1,
+ "parent": {
+ "$ref": "684"
+ },
+ "_id": 98
+ }
+ ],
+ "target": {
+ "$id": "689",
+ "kind": 3,
+ "sv": "indexer",
+ "pos": 4200,
+ "end": 4207,
+ "flags": 1,
+ "parent": {
+ "$ref": "684"
+ },
+ "_id": 95
+ },
+ "pos": 4199,
+ "end": 4225,
+ "flags": 0,
+ "parent": {
+ "$ref": "680"
+ }
+ }
+ ],
+ "properties": [],
+ "bodyRange": {
+ "pos": 4247,
+ "end": 4249
+ },
+ "pos": 4087,
+ "end": 4249,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "690",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "691",
+ "kind": 52,
+ "text": "\n",
+ "pos": 4090,
+ "end": 4094,
+ "flags": 0,
+ "parent": {
+ "$ref": "690"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "692",
+ "kind": 58,
+ "tagName": {
+ "$id": "693",
+ "kind": 3,
+ "sv": "dev",
+ "pos": 4095,
+ "end": 4098,
+ "flags": 0,
+ "parent": {
+ "$ref": "692"
+ }
+ },
+ "content": [
+ {
+ "$id": "694",
+ "kind": 52,
+ "text": "Array model type, equivalent to `Element[]`",
+ "pos": 4098,
+ "end": 4146,
+ "flags": 0,
+ "parent": {
+ "$ref": "692"
+ }
+ }
+ ],
+ "pos": 4094,
+ "end": 4146,
+ "flags": 0,
+ "parent": {
+ "$ref": "690"
+ }
+ },
+ {
+ "$id": "695",
+ "kind": 57,
+ "tagName": {
+ "$id": "696",
+ "kind": 3,
+ "sv": "template",
+ "pos": 4147,
+ "end": 4155,
+ "flags": 0,
+ "parent": {
+ "$ref": "695"
+ }
+ },
+ "paramName": {
+ "$id": "697",
+ "kind": 3,
+ "sv": "Element",
+ "pos": 4156,
+ "end": 4163,
+ "flags": 0,
+ "parent": {
+ "$ref": "695"
+ }
+ },
+ "content": [
+ {
+ "$id": "698",
+ "kind": 52,
+ "text": "The type of the array elements",
+ "pos": 4164,
+ "end": 4196,
+ "flags": 0,
+ "parent": {
+ "$ref": "695"
+ }
+ }
+ ],
+ "pos": 4146,
+ "end": 4196,
+ "flags": 0,
+ "parent": {
+ "$ref": "690"
+ }
+ }
+ ],
+ "pos": 4087,
+ "end": 4198,
+ "flags": 0,
+ "parent": {
+ "$ref": "680"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "680"
+ }
+ ],
+ "name": "Array",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 24
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "699",
+ "kind": 13,
+ "id": {
+ "$id": "700",
+ "kind": 3,
+ "sv": "Record",
+ "pos": 4422,
+ "end": 4428,
+ "flags": 0,
+ "parent": {
+ "$ref": "699"
+ },
+ "_id": 101
+ },
+ "templateParameters": [
+ {
+ "$id": "701",
+ "kind": 46,
+ "id": {
+ "$id": "702",
+ "kind": 3,
+ "sv": "Element",
+ "pos": 4429,
+ "end": 4436,
+ "flags": 0,
+ "parent": {
+ "$ref": "701"
+ },
+ "_id": 107
+ },
+ "pos": 4429,
+ "end": 4436,
+ "flags": 0,
+ "parent": {
+ "$ref": "699"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "701"
+ }
+ ],
+ "name": "Element",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "699"
+ }
+ ],
+ "name": "Record",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 26
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 27
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 4428,
+ "end": 4437
+ },
+ "decorators": [
+ {
+ "$id": "703",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "704",
+ "kind": 45,
+ "target": {
+ "$id": "705",
+ "kind": 3,
+ "sv": "string",
+ "pos": 4399,
+ "end": 4405,
+ "flags": 1,
+ "parent": {
+ "$ref": "704"
+ },
+ "_id": 104
+ },
+ "arguments": [],
+ "pos": 4399,
+ "end": 4405,
+ "flags": 1,
+ "parent": {
+ "$ref": "703"
+ },
+ "_id": 103
+ },
+ {
+ "$id": "706",
+ "kind": 45,
+ "target": {
+ "$id": "707",
+ "kind": 3,
+ "sv": "Element",
+ "pos": 4407,
+ "end": 4414,
+ "flags": 1,
+ "parent": {
+ "$ref": "706"
+ },
+ "_id": 106
+ },
+ "arguments": [],
+ "pos": 4407,
+ "end": 4414,
+ "flags": 1,
+ "parent": {
+ "$ref": "703"
+ },
+ "_id": 105
+ }
+ ],
+ "target": {
+ "$id": "708",
+ "kind": 3,
+ "sv": "indexer",
+ "pos": 4391,
+ "end": 4398,
+ "flags": 1,
+ "parent": {
+ "$ref": "703"
+ },
+ "_id": 102
+ },
+ "pos": 4390,
+ "end": 4415,
+ "flags": 0,
+ "parent": {
+ "$ref": "699"
+ }
+ }
+ ],
+ "properties": [],
+ "bodyRange": {
+ "pos": 4438,
+ "end": 4440
+ },
+ "pos": 4251,
+ "end": 4440,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "709",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "710",
+ "kind": 52,
+ "text": "\n",
+ "pos": 4254,
+ "end": 4258,
+ "flags": 0,
+ "parent": {
+ "$ref": "709"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "711",
+ "kind": 58,
+ "tagName": {
+ "$id": "712",
+ "kind": 3,
+ "sv": "dev",
+ "pos": 4259,
+ "end": 4262,
+ "flags": 0,
+ "parent": {
+ "$ref": "711"
+ }
+ },
+ "content": [
+ {
+ "$id": "713",
+ "kind": 52,
+ "text": "Model with string properties where all the properties have type `Property`",
+ "pos": 4262,
+ "end": 4341,
+ "flags": 0,
+ "parent": {
+ "$ref": "711"
+ }
+ }
+ ],
+ "pos": 4258,
+ "end": 4341,
+ "flags": 0,
+ "parent": {
+ "$ref": "709"
+ }
+ },
+ {
+ "$id": "714",
+ "kind": 57,
+ "tagName": {
+ "$id": "715",
+ "kind": 3,
+ "sv": "template",
+ "pos": 4342,
+ "end": 4350,
+ "flags": 0,
+ "parent": {
+ "$ref": "714"
+ }
+ },
+ "paramName": {
+ "$id": "716",
+ "kind": 3,
+ "sv": "Element",
+ "pos": 4351,
+ "end": 4358,
+ "flags": 0,
+ "parent": {
+ "$ref": "714"
+ }
+ },
+ "content": [
+ {
+ "$id": "717",
+ "kind": 52,
+ "text": "The type of the properties",
+ "pos": 4359,
+ "end": 4387,
+ "flags": 0,
+ "parent": {
+ "$ref": "714"
+ }
+ }
+ ],
+ "pos": 4341,
+ "end": 4387,
+ "flags": 0,
+ "parent": {
+ "$ref": "709"
+ }
+ }
+ ],
+ "pos": 4251,
+ "end": 4389,
+ "flags": 0,
+ "parent": {
+ "$ref": "699"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "468"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "699"
+ }
+ ],
+ "name": "Record",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 26
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ }
+ ],
+ "file": {
+ "text": "import \"../dist/src/lib/intrinsic/tsp-index.js\";\nimport \"./prototypes.tsp\";\n\n// This file contains all the intrinsic types of typespec. Everything here will always be loaded\nnamespace TypeSpec;\n\n/**\n * Represent a byte array\n */\nscalar bytes;\n\n/**\n * A numeric type\n */\nscalar numeric;\n\n/**\n * A whole number. This represent any `integer` value possible.\n * It is commonly represented as `BigInteger` in some languages.\n */\nscalar integer extends numeric;\n\n/**\n * A number with decimal value\n */\nscalar float extends numeric;\n\n/**\n * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`)\n */\nscalar int64 extends integer;\n\n/**\n * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)\n */\nscalar int32 extends int64;\n\n/**\n * A 16-bit integer. (`-32,768` to `32,767`)\n */\nscalar int16 extends int32;\n\n/**\n * A 8-bit integer. (`-128` to `127`)\n */\nscalar int8 extends int16;\n\n/**\n * A 64-bit unsigned integer (`0` to `18,446,744,073,709,551,615`)\n */\nscalar uint64 extends integer;\n\n/**\n * A 32-bit unsigned integer (`0` to `4,294,967,295`)\n */\nscalar uint32 extends uint64;\n\n/**\n * A 16-bit unsigned integer (`0` to `65,535`)\n */\nscalar uint16 extends uint32;\n\n/**\n * A 8-bit unsigned integer (`0` to `255`)\n */\nscalar uint8 extends uint16;\n\n/**\n * An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` )\n */\nscalar safeint extends int64;\n\n/**\n * A 64 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`)\n */\nscalar float64 extends float;\n\n/**\n * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`)\n */\nscalar float32 extends float64;\n\n/**\n * A decimal number with any length and precision. This represent any `decimal` value possible.\n * It is commonly represented as `BigDecimal` in some languages.\n */\nscalar decimal extends numeric;\n\n/**\n * A 128-bit decimal number.\n */\nscalar decimal128 extends decimal;\n\n/**\n * A sequence of textual characters.\n */\nscalar string;\n\n/**\n * A date on a calendar without a time zone, e.g. \"April 10th\"\n */\nscalar plainDate {\n /**\n * Create a plain date from an ISO 8601 string.\n * @example\n *\n * ```tsp\n * const date = plainDate.fromISO(\"2024-05-06\");\n * ```\n */\n init fromISO(value: string);\n\n /**\n * Create a plain date representing the current date.\n * @example\n *\n * ```tsp\n * const date = plainDate.now();\n * ```\n */\n init now();\n}\n\n/**\n * A time on a clock without a time zone, e.g. \"3:00 am\"\n */\nscalar plainTime {\n /**\n * Create a plain time from an ISO 8601 string.\n * @example\n *\n * ```tsp\n * const time = plainTime.fromISO(\"12:34\");\n * ```\n */\n init fromISO(value: string);\n\n /**\n * Create a plain time representing the current time.\n * @example\n *\n * ```tsp\n * const time = plainTime.now();\n * ```\n */\n init now();\n}\n\n/**\n * An instant in coordinated universal time (UTC)\"\n */\nscalar utcDateTime {\n /**\n * Create a date from an ISO 8601 string.\n * @example\n *\n * ```tsp\n * const time = utcDateTime.fromISO(\"2024-05-06T12:20-12Z\");\n * ```\n */\n init fromISO(value: string);\n\n /**\n * Create a date representing the current date and time in UTC.\n * @example\n *\n * ```tsp\n * const time = utcDateTime.now();\n * ```\n */\n init now();\n}\n\n/**\n * A date and time in a particular time zone, e.g. \"April 10th at 3:00am in PST\"\n */\nscalar offsetDateTime {\n /**\n * Create a date from an ISO 8601 string.\n * @example\n *\n * ```tsp\n * const time = offsetDateTime.fromISO(\"2024-05-06T12:20-12-0700\");\n * ```\n */\n init fromISO(value: string);\n\n /**\n * Create a date representing the current date and time with offset.\n * @example\n *\n * ```tsp\n * const time = offsetDateTime.now();\n * ```\n */\n init now();\n}\n\n/**\n * A duration/time period. e.g 5s, 10h\n */\nscalar duration {\n /**\n * Create a duration from an ISO 8601 string.\n * @example\n *\n * ```tsp\n * const time = duration.fromISO(\"P1Y1D\");\n * ```\n */\n init fromISO(value: string);\n}\n\n/**\n * Boolean with `true` and `false` values.\n */\nscalar boolean;\n\n/**\n * @dev Array model type, equivalent to `Element[]`\n * @template Element The type of the array elements\n */\n@indexer(integer, Element)\nmodel Array {}\n\n/**\n * @dev Model with string properties where all the properties have type `Property`\n * @template Element The type of the properties\n */\n@indexer(string, Element)\nmodel Record {}\n",
+ "path": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/intrinsics.tsp"
+ },
+ "id": {
+ "$id": "718",
+ "kind": 3,
+ "sv": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/intrinsics.tsp",
+ "pos": 0,
+ "end": 0,
+ "flags": 8,
+ "parent": {
+ "$ref": "468"
+ }
+ },
+ "namespaces": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "usings": [],
+ "locals": {
+ "duplicates": {}
+ },
+ "inScopeNamespaces": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "parseDiagnostics": [],
+ "comments": [],
+ "printable": true,
+ "parseOptions": {},
+ "pos": 0,
+ "end": 4440,
+ "flags": 0,
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "468"
+ },
+ "name": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/intrinsics.tsp",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 32768,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "464"
+ }
+ ],
+ "name": "string",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "473"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 17
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ "constructors": {},
+ "namespace": {
+ "$id": "719",
+ "kind": "Namespace",
+ "name": "TypeSpec",
+ "namespace": {
+ "$id": "720",
+ "kind": "Namespace",
+ "name": "",
+ "node": {
+ "$id": "721",
+ "kind": 8,
+ "decorators": [],
+ "pos": 0,
+ "end": 0,
+ "id": {
+ "$id": "722",
+ "kind": 3,
+ "pos": 0,
+ "end": 0,
+ "sv": "global",
+ "flags": 8
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "721"
+ }
+ ],
+ "name": "global",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 166
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "flags": 8
+ },
+ "models": {},
+ "scalars": {},
+ "operations": {},
+ "namespaces": {},
+ "interfaces": {},
+ "unions": {},
+ "enums": {},
+ "decoratorDeclarations": {},
+ "functionDeclarations": {},
+ "decorators": [],
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "node": {
+ "$ref": "473"
+ },
+ "models": {},
+ "scalars": {},
+ "operations": {},
+ "namespaces": {},
+ "interfaces": {},
+ "unions": {},
+ "enums": {},
+ "decoratorDeclarations": {},
+ "functionDeclarations": {},
+ "decorators": [],
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "decorators": [
+ {
+ "args": [
+ {
+ "value": {
+ "$id": "723",
+ "kind": "String",
+ "value": "self",
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "jsValue": "self"
+ },
+ {
+ "value": {
+ "$id": "724",
+ "kind": "String",
+ "value": "A sequence of textual characters.",
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "jsValue": "A sequence of textual characters."
+ }
+ ]
+ }
+ ],
+ "derivedScalars": [
+ {
+ "$id": "725",
+ "kind": "Scalar",
+ "name": "url",
+ "node": {
+ "$id": "726",
+ "kind": 17,
+ "id": {
+ "$id": "727",
+ "kind": 3,
+ "sv": "url",
+ "pos": 363,
+ "end": 366,
+ "flags": 0,
+ "parent": {
+ "$ref": "726"
+ },
+ "_id": 153
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "728",
+ "kind": 45,
+ "target": {
+ "$id": "729",
+ "kind": 3,
+ "sv": "string",
+ "pos": 375,
+ "end": 381,
+ "flags": 1,
+ "parent": {
+ "$ref": "728"
+ },
+ "_id": 155
+ },
+ "arguments": [],
+ "pos": 375,
+ "end": 381,
+ "flags": 1,
+ "parent": {
+ "$ref": "726"
+ },
+ "_id": 154
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "pos": 277,
+ "end": 382,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "730",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "731",
+ "kind": 52,
+ "text": "Represent a URL string as described by https://url.spec.whatwg.org/",
+ "pos": 280,
+ "end": 353,
+ "flags": 0,
+ "parent": {
+ "$ref": "730"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 277,
+ "end": 355,
+ "flags": 0,
+ "parent": {
+ "$ref": "726"
+ }
+ }
+ ],
+ "parent": {
+ "$id": "732",
+ "kind": 0,
+ "statements": [
+ {
+ "$id": "733",
+ "kind": 8,
+ "decorators": [],
+ "docs": [],
+ "id": {
+ "$id": "734",
+ "kind": 3,
+ "sv": "TypeSpec",
+ "pos": 10,
+ "end": 18,
+ "flags": 0,
+ "parent": {
+ "$ref": "733"
+ },
+ "_id": 127
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "directives": [],
+ "pos": 0,
+ "end": 19,
+ "flags": 0,
+ "parent": {
+ "$ref": "732"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "735",
+ "kind": 17,
+ "id": {
+ "$id": "736",
+ "kind": 3,
+ "sv": "unixTimestamp32",
+ "pos": 239,
+ "end": 254,
+ "flags": 0,
+ "parent": {
+ "$ref": "735"
+ },
+ "_id": 128
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "extends": {
+ "$id": "737",
+ "kind": 45,
+ "target": {
+ "$id": "738",
+ "kind": 3,
+ "sv": "utcDateTime",
+ "pos": 263,
+ "end": 274,
+ "flags": 1,
+ "parent": {
+ "$ref": "737"
+ },
+ "_id": 130
+ },
+ "arguments": [],
+ "pos": 263,
+ "end": 274,
+ "flags": 1,
+ "parent": {
+ "$ref": "735"
+ },
+ "_id": 129
+ },
+ "members": [],
+ "bodyRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [
+ {
+ "$id": "739",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "740",
+ "kind": 32,
+ "value": "unixTimestamp",
+ "pos": 208,
+ "end": 223,
+ "flags": 0,
+ "parent": {
+ "$ref": "739"
+ }
+ },
+ {
+ "$id": "741",
+ "kind": 45,
+ "target": {
+ "$id": "742",
+ "kind": 3,
+ "sv": "int32",
+ "pos": 225,
+ "end": 230,
+ "flags": 1,
+ "parent": {
+ "$ref": "741"
+ },
+ "_id": 152
+ },
+ "arguments": [],
+ "pos": 225,
+ "end": 230,
+ "flags": 1,
+ "parent": {
+ "$ref": "739"
+ },
+ "_id": 151
+ }
+ ],
+ "target": {
+ "$id": "743",
+ "kind": 3,
+ "sv": "encode",
+ "pos": 201,
+ "end": 207,
+ "flags": 1,
+ "parent": {
+ "$ref": "739"
+ },
+ "_id": 131
+ },
+ "pos": 200,
+ "end": 231,
+ "flags": 0,
+ "parent": {
+ "$ref": "735"
+ }
+ }
+ ],
+ "pos": 21,
+ "end": 275,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "744",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "745",
+ "kind": 52,
+ "text": "Represent a 32-bit unix timestamp datetime with 1s of granularity.\nIt measures time by the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970.",
+ "pos": 24,
+ "end": 197,
+ "flags": 0,
+ "parent": {
+ "$ref": "744"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 21,
+ "end": 199,
+ "flags": 0,
+ "parent": {
+ "$ref": "735"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "732"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "735"
+ }
+ ],
+ "name": "unixTimestamp32",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 36
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$ref": "726"
+ },
+ {
+ "$id": "746",
+ "kind": 13,
+ "id": {
+ "$id": "747",
+ "kind": 3,
+ "sv": "OptionalProperties",
+ "pos": 601,
+ "end": 619,
+ "flags": 0,
+ "parent": {
+ "$ref": "746"
+ },
+ "_id": 156
+ },
+ "templateParameters": [
+ {
+ "$id": "748",
+ "kind": 46,
+ "id": {
+ "$id": "749",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 620,
+ "end": 626,
+ "flags": 0,
+ "parent": {
+ "$ref": "748"
+ },
+ "_id": 159
+ },
+ "pos": 620,
+ "end": 626,
+ "flags": 0,
+ "parent": {
+ "$ref": "746"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "748"
+ }
+ ],
+ "name": "Source",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "746"
+ }
+ ],
+ "name": "OptionalProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 41
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 42
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 619,
+ "end": 627
+ },
+ "decorators": [
+ {
+ "$id": "750",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "751",
+ "kind": 32,
+ "value": "The template for adding optional properties.",
+ "pos": 523,
+ "end": 569,
+ "flags": 0,
+ "parent": {
+ "$ref": "750"
+ }
+ }
+ ],
+ "target": {
+ "$id": "752",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 519,
+ "end": 522,
+ "flags": 1,
+ "parent": {
+ "$ref": "750"
+ },
+ "_id": 160
+ },
+ "pos": 518,
+ "end": 570,
+ "flags": 0,
+ "parent": {
+ "$ref": "746"
+ }
+ },
+ {
+ "$id": "753",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "754",
+ "kind": 3,
+ "sv": "withOptionalProperties",
+ "pos": 572,
+ "end": 594,
+ "flags": 1,
+ "parent": {
+ "$ref": "753"
+ },
+ "_id": 167
+ },
+ "pos": 571,
+ "end": 594,
+ "flags": 0,
+ "parent": {
+ "$ref": "746"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "755",
+ "kind": 16,
+ "target": {
+ "$id": "756",
+ "kind": 45,
+ "target": {
+ "$id": "757",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 635,
+ "end": 641,
+ "flags": 1,
+ "parent": {
+ "$ref": "756"
+ },
+ "_id": 158
+ },
+ "arguments": [],
+ "pos": 635,
+ "end": 641,
+ "flags": 1,
+ "parent": {
+ "$ref": "755"
+ },
+ "_id": 157
+ },
+ "pos": 632,
+ "end": 641,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "746"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 628,
+ "end": 644
+ },
+ "pos": 384,
+ "end": 644,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "758",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "759",
+ "kind": 52,
+ "text": "Represents a collection of optional properties.",
+ "pos": 387,
+ "end": 445,
+ "flags": 0,
+ "parent": {
+ "$ref": "758"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "760",
+ "kind": 57,
+ "tagName": {
+ "$id": "761",
+ "kind": 3,
+ "sv": "template",
+ "pos": 446,
+ "end": 454,
+ "flags": 0,
+ "parent": {
+ "$ref": "760"
+ }
+ },
+ "paramName": {
+ "$id": "762",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 455,
+ "end": 461,
+ "flags": 0,
+ "parent": {
+ "$ref": "760"
+ }
+ },
+ "content": [
+ {
+ "$id": "763",
+ "kind": 52,
+ "text": "An object whose spread properties are all optional.",
+ "pos": 462,
+ "end": 515,
+ "flags": 0,
+ "parent": {
+ "$ref": "760"
+ }
+ }
+ ],
+ "pos": 445,
+ "end": 515,
+ "flags": 0,
+ "parent": {
+ "$ref": "758"
+ }
+ }
+ ],
+ "pos": 384,
+ "end": 517,
+ "flags": 0,
+ "parent": {
+ "$ref": "746"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "732"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "746"
+ }
+ ],
+ "name": "OptionalProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 41
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "764",
+ "kind": 13,
+ "id": {
+ "$id": "765",
+ "kind": 3,
+ "sv": "UpdateableProperties",
+ "pos": 871,
+ "end": 891,
+ "flags": 0,
+ "parent": {
+ "$ref": "764"
+ },
+ "_id": 173
+ },
+ "templateParameters": [
+ {
+ "$id": "766",
+ "kind": 46,
+ "id": {
+ "$id": "767",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 892,
+ "end": 898,
+ "flags": 0,
+ "parent": {
+ "$ref": "766"
+ },
+ "_id": 176
+ },
+ "pos": 892,
+ "end": 898,
+ "flags": 0,
+ "parent": {
+ "$ref": "764"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "766"
+ }
+ ],
+ "name": "Source",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "764"
+ }
+ ],
+ "name": "UpdateableProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 45
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 46
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 891,
+ "end": 899
+ },
+ "decorators": [
+ {
+ "$id": "768",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "769",
+ "kind": 32,
+ "value": "The template for adding updateable properties.",
+ "pos": 789,
+ "end": 837,
+ "flags": 0,
+ "parent": {
+ "$ref": "768"
+ }
+ }
+ ],
+ "target": {
+ "$id": "770",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 785,
+ "end": 788,
+ "flags": 1,
+ "parent": {
+ "$ref": "768"
+ },
+ "_id": 177
+ },
+ "pos": 784,
+ "end": 838,
+ "flags": 0,
+ "parent": {
+ "$ref": "764"
+ }
+ },
+ {
+ "$id": "771",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "772",
+ "kind": 3,
+ "sv": "withUpdateableProperties",
+ "pos": 840,
+ "end": 864,
+ "flags": 1,
+ "parent": {
+ "$ref": "771"
+ },
+ "_id": 178
+ },
+ "pos": 839,
+ "end": 864,
+ "flags": 0,
+ "parent": {
+ "$ref": "764"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "773",
+ "kind": 16,
+ "target": {
+ "$id": "774",
+ "kind": 45,
+ "target": {
+ "$id": "775",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 907,
+ "end": 913,
+ "flags": 1,
+ "parent": {
+ "$ref": "774"
+ },
+ "_id": 175
+ },
+ "arguments": [],
+ "pos": 907,
+ "end": 913,
+ "flags": 1,
+ "parent": {
+ "$ref": "773"
+ },
+ "_id": 174
+ },
+ "pos": 904,
+ "end": 913,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "764"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 900,
+ "end": 916
+ },
+ "pos": 646,
+ "end": 916,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "776",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "777",
+ "kind": 52,
+ "text": "Represents a collection of updateable properties.",
+ "pos": 649,
+ "end": 709,
+ "flags": 0,
+ "parent": {
+ "$ref": "776"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "778",
+ "kind": 57,
+ "tagName": {
+ "$id": "779",
+ "kind": 3,
+ "sv": "template",
+ "pos": 710,
+ "end": 718,
+ "flags": 0,
+ "parent": {
+ "$ref": "778"
+ }
+ },
+ "paramName": {
+ "$id": "780",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 719,
+ "end": 725,
+ "flags": 0,
+ "parent": {
+ "$ref": "778"
+ }
+ },
+ "content": [
+ {
+ "$id": "781",
+ "kind": 52,
+ "text": "An object whose spread properties are all updateable.",
+ "pos": 726,
+ "end": 781,
+ "flags": 0,
+ "parent": {
+ "$ref": "778"
+ }
+ }
+ ],
+ "pos": 709,
+ "end": 781,
+ "flags": 0,
+ "parent": {
+ "$ref": "776"
+ }
+ }
+ ],
+ "pos": 646,
+ "end": 783,
+ "flags": 0,
+ "parent": {
+ "$ref": "764"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "732"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "764"
+ }
+ ],
+ "name": "UpdateableProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 45
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "782",
+ "kind": 13,
+ "id": {
+ "$id": "783",
+ "kind": 3,
+ "sv": "OmitProperties",
+ "pos": 1167,
+ "end": 1181,
+ "flags": 0,
+ "parent": {
+ "$ref": "782"
+ },
+ "_id": 183
+ },
+ "templateParameters": [
+ {
+ "$id": "784",
+ "kind": 46,
+ "id": {
+ "$id": "785",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1182,
+ "end": 1188,
+ "flags": 0,
+ "parent": {
+ "$ref": "784"
+ },
+ "_id": 186
+ },
+ "pos": 1182,
+ "end": 1188,
+ "flags": 0,
+ "parent": {
+ "$ref": "782"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "784"
+ }
+ ],
+ "name": "Source",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "782"
+ }
+ ],
+ "name": "OmitProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 47
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 48
+ }
+ },
+ {
+ "$id": "786",
+ "kind": 46,
+ "id": {
+ "$id": "787",
+ "kind": 3,
+ "sv": "Keys",
+ "pos": 1190,
+ "end": 1194,
+ "flags": 0,
+ "parent": {
+ "$ref": "786"
+ },
+ "_id": 203
+ },
+ "constraint": {
+ "$id": "788",
+ "kind": 45,
+ "target": {
+ "$id": "789",
+ "kind": 3,
+ "sv": "string",
+ "pos": 1203,
+ "end": 1209,
+ "flags": 1,
+ "parent": {
+ "$ref": "788"
+ },
+ "_id": 202
+ },
+ "arguments": [],
+ "pos": 1203,
+ "end": 1209,
+ "flags": 1,
+ "parent": {
+ "$ref": "786"
+ },
+ "_id": 201
+ },
+ "pos": 1190,
+ "end": 1209,
+ "flags": 0,
+ "parent": {
+ "$ref": "782"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "786"
+ }
+ ],
+ "name": "Keys",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "782"
+ }
+ ],
+ "name": "OmitProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 47
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 50
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 1181,
+ "end": 1210
+ },
+ "decorators": [
+ {
+ "$id": "790",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "791",
+ "kind": 32,
+ "value": "The template for omitting properties.",
+ "pos": 1088,
+ "end": 1127,
+ "flags": 0,
+ "parent": {
+ "$ref": "790"
+ }
+ }
+ ],
+ "target": {
+ "$id": "792",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 1084,
+ "end": 1087,
+ "flags": 1,
+ "parent": {
+ "$ref": "790"
+ },
+ "_id": 187
+ },
+ "pos": 1083,
+ "end": 1128,
+ "flags": 0,
+ "parent": {
+ "$ref": "782"
+ }
+ },
+ {
+ "$id": "793",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "794",
+ "kind": 45,
+ "target": {
+ "$id": "795",
+ "kind": 3,
+ "sv": "Keys",
+ "pos": 1155,
+ "end": 1159,
+ "flags": 1,
+ "parent": {
+ "$ref": "794"
+ },
+ "_id": 200
+ },
+ "arguments": [],
+ "pos": 1155,
+ "end": 1159,
+ "flags": 1,
+ "parent": {
+ "$ref": "793"
+ },
+ "_id": 199
+ }
+ ],
+ "target": {
+ "$id": "796",
+ "kind": 3,
+ "sv": "withoutOmittedProperties",
+ "pos": 1130,
+ "end": 1154,
+ "flags": 1,
+ "parent": {
+ "$ref": "793"
+ },
+ "_id": 188
+ },
+ "pos": 1129,
+ "end": 1160,
+ "flags": 0,
+ "parent": {
+ "$ref": "782"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "797",
+ "kind": 16,
+ "target": {
+ "$id": "798",
+ "kind": 45,
+ "target": {
+ "$id": "799",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1218,
+ "end": 1224,
+ "flags": 1,
+ "parent": {
+ "$ref": "798"
+ },
+ "_id": 185
+ },
+ "arguments": [],
+ "pos": 1218,
+ "end": 1224,
+ "flags": 1,
+ "parent": {
+ "$ref": "797"
+ },
+ "_id": 184
+ },
+ "pos": 1215,
+ "end": 1224,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "782"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 1211,
+ "end": 1227
+ },
+ "pos": 918,
+ "end": 1227,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "800",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "801",
+ "kind": 52,
+ "text": "Represents a collection of omitted properties.",
+ "pos": 921,
+ "end": 978,
+ "flags": 0,
+ "parent": {
+ "$ref": "800"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "802",
+ "kind": 57,
+ "tagName": {
+ "$id": "803",
+ "kind": 3,
+ "sv": "template",
+ "pos": 979,
+ "end": 987,
+ "flags": 0,
+ "parent": {
+ "$ref": "802"
+ }
+ },
+ "paramName": {
+ "$id": "804",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 988,
+ "end": 994,
+ "flags": 0,
+ "parent": {
+ "$ref": "802"
+ }
+ },
+ "content": [
+ {
+ "$id": "805",
+ "kind": 52,
+ "text": "An object whose properties are spread.",
+ "pos": 995,
+ "end": 1037,
+ "flags": 0,
+ "parent": {
+ "$ref": "802"
+ }
+ }
+ ],
+ "pos": 978,
+ "end": 1037,
+ "flags": 0,
+ "parent": {
+ "$ref": "800"
+ }
+ },
+ {
+ "$id": "806",
+ "kind": 57,
+ "tagName": {
+ "$id": "807",
+ "kind": 3,
+ "sv": "template",
+ "pos": 1038,
+ "end": 1046,
+ "flags": 0,
+ "parent": {
+ "$ref": "806"
+ }
+ },
+ "paramName": {
+ "$id": "808",
+ "kind": 3,
+ "sv": "Keys",
+ "pos": 1047,
+ "end": 1051,
+ "flags": 0,
+ "parent": {
+ "$ref": "806"
+ }
+ },
+ "content": [
+ {
+ "$id": "809",
+ "kind": 52,
+ "text": "The property keys to omit.",
+ "pos": 1052,
+ "end": 1080,
+ "flags": 0,
+ "parent": {
+ "$ref": "806"
+ }
+ }
+ ],
+ "pos": 1037,
+ "end": 1080,
+ "flags": 0,
+ "parent": {
+ "$ref": "800"
+ }
+ }
+ ],
+ "pos": 918,
+ "end": 1082,
+ "flags": 0,
+ "parent": {
+ "$ref": "782"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "732"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "782"
+ }
+ ],
+ "name": "OmitProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 47
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "810",
+ "kind": 13,
+ "id": {
+ "$id": "811",
+ "kind": 3,
+ "sv": "PickProperties",
+ "pos": 1506,
+ "end": 1520,
+ "flags": 0,
+ "parent": {
+ "$ref": "810"
+ },
+ "_id": 204
+ },
+ "templateParameters": [
+ {
+ "$id": "812",
+ "kind": 46,
+ "id": {
+ "$id": "813",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1521,
+ "end": 1527,
+ "flags": 0,
+ "parent": {
+ "$ref": "812"
+ },
+ "_id": 207
+ },
+ "pos": 1521,
+ "end": 1527,
+ "flags": 0,
+ "parent": {
+ "$ref": "810"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "812"
+ }
+ ],
+ "name": "Source",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "810"
+ }
+ ],
+ "name": "PickProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 51
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 52
+ }
+ },
+ {
+ "$id": "814",
+ "kind": 46,
+ "id": {
+ "$id": "815",
+ "kind": 3,
+ "sv": "Keys",
+ "pos": 1529,
+ "end": 1533,
+ "flags": 0,
+ "parent": {
+ "$ref": "814"
+ },
+ "_id": 223
+ },
+ "constraint": {
+ "$id": "816",
+ "kind": 45,
+ "target": {
+ "$id": "817",
+ "kind": 3,
+ "sv": "string",
+ "pos": 1542,
+ "end": 1548,
+ "flags": 1,
+ "parent": {
+ "$ref": "816"
+ },
+ "_id": 222
+ },
+ "arguments": [],
+ "pos": 1542,
+ "end": 1548,
+ "flags": 1,
+ "parent": {
+ "$ref": "814"
+ },
+ "_id": 221
+ },
+ "pos": 1529,
+ "end": 1548,
+ "flags": 0,
+ "parent": {
+ "$ref": "810"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "814"
+ }
+ ],
+ "name": "Keys",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "810"
+ }
+ ],
+ "name": "PickProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 51
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 53
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 1520,
+ "end": 1549
+ },
+ "decorators": [
+ {
+ "$id": "818",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "819",
+ "kind": 32,
+ "value": "The template for picking properties.",
+ "pos": 1432,
+ "end": 1470,
+ "flags": 0,
+ "parent": {
+ "$ref": "818"
+ }
+ }
+ ],
+ "target": {
+ "$id": "820",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 1428,
+ "end": 1431,
+ "flags": 1,
+ "parent": {
+ "$ref": "818"
+ },
+ "_id": 208
+ },
+ "pos": 1427,
+ "end": 1471,
+ "flags": 0,
+ "parent": {
+ "$ref": "810"
+ }
+ },
+ {
+ "$id": "821",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "822",
+ "kind": 45,
+ "target": {
+ "$id": "823",
+ "kind": 3,
+ "sv": "Keys",
+ "pos": 1494,
+ "end": 1498,
+ "flags": 1,
+ "parent": {
+ "$ref": "822"
+ },
+ "_id": 220
+ },
+ "arguments": [],
+ "pos": 1494,
+ "end": 1498,
+ "flags": 1,
+ "parent": {
+ "$ref": "821"
+ },
+ "_id": 219
+ }
+ ],
+ "target": {
+ "$id": "824",
+ "kind": 3,
+ "sv": "withPickedProperties",
+ "pos": 1473,
+ "end": 1493,
+ "flags": 1,
+ "parent": {
+ "$ref": "821"
+ },
+ "_id": 209
+ },
+ "pos": 1472,
+ "end": 1499,
+ "flags": 0,
+ "parent": {
+ "$ref": "810"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "825",
+ "kind": 16,
+ "target": {
+ "$id": "826",
+ "kind": 45,
+ "target": {
+ "$id": "827",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1557,
+ "end": 1563,
+ "flags": 1,
+ "parent": {
+ "$ref": "826"
+ },
+ "_id": 206
+ },
+ "arguments": [],
+ "pos": 1557,
+ "end": 1563,
+ "flags": 1,
+ "parent": {
+ "$ref": "825"
+ },
+ "_id": 205
+ },
+ "pos": 1554,
+ "end": 1563,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "810"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 1550,
+ "end": 1566
+ },
+ "pos": 1229,
+ "end": 1566,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "828",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "829",
+ "kind": 52,
+ "text": "Represents a collection of properties with only the specified keys included.",
+ "pos": 1232,
+ "end": 1319,
+ "flags": 0,
+ "parent": {
+ "$ref": "828"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "830",
+ "kind": 57,
+ "tagName": {
+ "$id": "831",
+ "kind": 3,
+ "sv": "template",
+ "pos": 1320,
+ "end": 1328,
+ "flags": 0,
+ "parent": {
+ "$ref": "830"
+ }
+ },
+ "paramName": {
+ "$id": "832",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1329,
+ "end": 1335,
+ "flags": 0,
+ "parent": {
+ "$ref": "830"
+ }
+ },
+ "content": [
+ {
+ "$id": "833",
+ "kind": 52,
+ "text": "An object whose properties are spread.",
+ "pos": 1336,
+ "end": 1378,
+ "flags": 0,
+ "parent": {
+ "$ref": "830"
+ }
+ }
+ ],
+ "pos": 1319,
+ "end": 1378,
+ "flags": 0,
+ "parent": {
+ "$ref": "828"
+ }
+ },
+ {
+ "$id": "834",
+ "kind": 57,
+ "tagName": {
+ "$id": "835",
+ "kind": 3,
+ "sv": "template",
+ "pos": 1379,
+ "end": 1387,
+ "flags": 0,
+ "parent": {
+ "$ref": "834"
+ }
+ },
+ "paramName": {
+ "$id": "836",
+ "kind": 3,
+ "sv": "Keys",
+ "pos": 1388,
+ "end": 1392,
+ "flags": 0,
+ "parent": {
+ "$ref": "834"
+ }
+ },
+ "content": [
+ {
+ "$id": "837",
+ "kind": 52,
+ "text": "The property keys to include.",
+ "pos": 1393,
+ "end": 1424,
+ "flags": 0,
+ "parent": {
+ "$ref": "834"
+ }
+ }
+ ],
+ "pos": 1378,
+ "end": 1424,
+ "flags": 0,
+ "parent": {
+ "$ref": "828"
+ }
+ }
+ ],
+ "pos": 1229,
+ "end": 1426,
+ "flags": 0,
+ "parent": {
+ "$ref": "810"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "732"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "810"
+ }
+ ],
+ "name": "PickProperties",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 51
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "838",
+ "kind": 13,
+ "id": {
+ "$id": "839",
+ "kind": 3,
+ "sv": "OmitDefaults",
+ "pos": 1755,
+ "end": 1767,
+ "flags": 0,
+ "parent": {
+ "$ref": "838"
+ },
+ "_id": 224
+ },
+ "templateParameters": [
+ {
+ "$id": "840",
+ "kind": 46,
+ "id": {
+ "$id": "841",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1768,
+ "end": 1774,
+ "flags": 0,
+ "parent": {
+ "$ref": "840"
+ },
+ "_id": 227
+ },
+ "pos": 1768,
+ "end": 1774,
+ "flags": 0,
+ "parent": {
+ "$ref": "838"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "840"
+ }
+ ],
+ "name": "Source",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "838"
+ }
+ ],
+ "name": "OmitDefaults",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 54
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 55
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 1767,
+ "end": 1775
+ },
+ "decorators": [
+ {
+ "$id": "842",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "843",
+ "kind": 3,
+ "sv": "withoutDefaultValues",
+ "pos": 1728,
+ "end": 1748,
+ "flags": 1,
+ "parent": {
+ "$ref": "842"
+ },
+ "_id": 228
+ },
+ "pos": 1727,
+ "end": 1748,
+ "flags": 0,
+ "parent": {
+ "$ref": "838"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "844",
+ "kind": 16,
+ "target": {
+ "$id": "845",
+ "kind": 45,
+ "target": {
+ "$id": "846",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1783,
+ "end": 1789,
+ "flags": 1,
+ "parent": {
+ "$ref": "845"
+ },
+ "_id": 226
+ },
+ "arguments": [],
+ "pos": 1783,
+ "end": 1789,
+ "flags": 1,
+ "parent": {
+ "$ref": "844"
+ },
+ "_id": 225
+ },
+ "pos": 1780,
+ "end": 1789,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "838"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 1776,
+ "end": 1792
+ },
+ "pos": 1568,
+ "end": 1792,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "847",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "848",
+ "kind": 52,
+ "text": "Represents a collection of properties with default values omitted.",
+ "pos": 1571,
+ "end": 1648,
+ "flags": 0,
+ "parent": {
+ "$ref": "847"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "849",
+ "kind": 57,
+ "tagName": {
+ "$id": "850",
+ "kind": 3,
+ "sv": "template",
+ "pos": 1649,
+ "end": 1657,
+ "flags": 0,
+ "parent": {
+ "$ref": "849"
+ }
+ },
+ "paramName": {
+ "$id": "851",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1658,
+ "end": 1664,
+ "flags": 0,
+ "parent": {
+ "$ref": "849"
+ }
+ },
+ "content": [
+ {
+ "$id": "852",
+ "kind": 52,
+ "text": "An object whose spread property defaults are all omitted.",
+ "pos": 1665,
+ "end": 1724,
+ "flags": 0,
+ "parent": {
+ "$ref": "849"
+ }
+ }
+ ],
+ "pos": 1648,
+ "end": 1724,
+ "flags": 0,
+ "parent": {
+ "$ref": "847"
+ }
+ }
+ ],
+ "pos": 1568,
+ "end": 1726,
+ "flags": 0,
+ "parent": {
+ "$ref": "838"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "732"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "838"
+ }
+ ],
+ "name": "OmitDefaults",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 54
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "853",
+ "kind": 13,
+ "id": {
+ "$id": "854",
+ "kind": 3,
+ "sv": "DefaultKeyVisibility",
+ "pos": 2113,
+ "end": 2133,
+ "flags": 0,
+ "parent": {
+ "$ref": "853"
+ },
+ "_id": 233
+ },
+ "templateParameters": [
+ {
+ "$id": "855",
+ "kind": 46,
+ "id": {
+ "$id": "856",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 2134,
+ "end": 2140,
+ "flags": 0,
+ "parent": {
+ "$ref": "855"
+ },
+ "_id": 236
+ },
+ "pos": 2134,
+ "end": 2140,
+ "flags": 0,
+ "parent": {
+ "$ref": "853"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "855"
+ }
+ ],
+ "name": "Source",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "853"
+ }
+ ],
+ "name": "DefaultKeyVisibility",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 56
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 57
+ }
+ },
+ {
+ "$id": "857",
+ "kind": 46,
+ "id": {
+ "$id": "858",
+ "kind": 3,
+ "sv": "Visibility",
+ "pos": 2142,
+ "end": 2152,
+ "flags": 0,
+ "parent": {
+ "$ref": "857"
+ },
+ "_id": 248
+ },
+ "constraint": {
+ "$id": "859",
+ "kind": 44,
+ "target": {
+ "$id": "860",
+ "kind": 45,
+ "target": {
+ "$id": "861",
+ "kind": 7,
+ "base": {
+ "$id": "862",
+ "kind": 3,
+ "sv": "Reflection",
+ "pos": 2169,
+ "end": 2179,
+ "flags": 1,
+ "parent": {
+ "$ref": "861"
+ },
+ "_id": 251
+ },
+ "id": {
+ "$id": "863",
+ "kind": 3,
+ "sv": "EnumMember",
+ "pos": 2180,
+ "end": 2190,
+ "flags": 1,
+ "parent": {
+ "$ref": "861"
+ },
+ "_id": 252
+ },
+ "selector": ".",
+ "pos": 2169,
+ "end": 2190,
+ "flags": 1,
+ "parent": {
+ "$ref": "860"
+ },
+ "_id": 250
+ },
+ "arguments": [],
+ "pos": 2169,
+ "end": 2190,
+ "flags": 1,
+ "parent": {
+ "$ref": "859"
+ },
+ "_id": 249
+ },
+ "pos": 2161,
+ "end": 2190,
+ "flags": 0,
+ "parent": {
+ "$ref": "857"
+ }
+ },
+ "pos": 2142,
+ "end": 2190,
+ "flags": 0,
+ "parent": {
+ "$ref": "853"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "857"
+ }
+ ],
+ "name": "Visibility",
+ "flags": 1049600,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "853"
+ }
+ ],
+ "name": "DefaultKeyVisibility",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 56
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 58
+ }
+ }
+ ],
+ "templateParametersRange": {
+ "pos": 2133,
+ "end": 2191
+ },
+ "decorators": [
+ {
+ "$id": "864",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "865",
+ "kind": 32,
+ "value": "The template for setting the default visibility of key properties.",
+ "pos": 1999,
+ "end": 2067,
+ "flags": 0,
+ "parent": {
+ "$ref": "864"
+ }
+ }
+ ],
+ "target": {
+ "$id": "866",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 1995,
+ "end": 1998,
+ "flags": 1,
+ "parent": {
+ "$ref": "864"
+ },
+ "_id": 237
+ },
+ "pos": 1994,
+ "end": 2068,
+ "flags": 0,
+ "parent": {
+ "$ref": "853"
+ }
+ },
+ {
+ "$id": "867",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "868",
+ "kind": 45,
+ "target": {
+ "$id": "869",
+ "kind": 3,
+ "sv": "Visibility",
+ "pos": 2095,
+ "end": 2105,
+ "flags": 1,
+ "parent": {
+ "$ref": "868"
+ },
+ "_id": 247
+ },
+ "arguments": [],
+ "pos": 2095,
+ "end": 2105,
+ "flags": 1,
+ "parent": {
+ "$ref": "867"
+ },
+ "_id": 246
+ }
+ ],
+ "target": {
+ "$id": "870",
+ "kind": 3,
+ "sv": "withDefaultKeyVisibility",
+ "pos": 2070,
+ "end": 2094,
+ "flags": 1,
+ "parent": {
+ "$ref": "867"
+ },
+ "_id": 238
+ },
+ "pos": 2069,
+ "end": 2106,
+ "flags": 0,
+ "parent": {
+ "$ref": "853"
+ }
+ }
+ ],
+ "properties": [
+ {
+ "$id": "871",
+ "kind": 16,
+ "target": {
+ "$id": "872",
+ "kind": 45,
+ "target": {
+ "$id": "873",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 2199,
+ "end": 2205,
+ "flags": 1,
+ "parent": {
+ "$ref": "872"
+ },
+ "_id": 235
+ },
+ "arguments": [],
+ "pos": 2199,
+ "end": 2205,
+ "flags": 1,
+ "parent": {
+ "$ref": "871"
+ },
+ "_id": 234
+ },
+ "pos": 2196,
+ "end": 2205,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "853"
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 2192,
+ "end": 2208
+ },
+ "pos": 1794,
+ "end": 2208,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "874",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "875",
+ "kind": 52,
+ "text": "Applies a visibility setting to a collection of properties.",
+ "pos": 1797,
+ "end": 1867,
+ "flags": 0,
+ "parent": {
+ "$ref": "874"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "876",
+ "kind": 57,
+ "tagName": {
+ "$id": "877",
+ "kind": 3,
+ "sv": "template",
+ "pos": 1868,
+ "end": 1876,
+ "flags": 0,
+ "parent": {
+ "$ref": "876"
+ }
+ },
+ "paramName": {
+ "$id": "878",
+ "kind": 3,
+ "sv": "Source",
+ "pos": 1877,
+ "end": 1883,
+ "flags": 0,
+ "parent": {
+ "$ref": "876"
+ }
+ },
+ "content": [
+ {
+ "$id": "879",
+ "kind": 52,
+ "text": "An object whose properties are spread.",
+ "pos": 1884,
+ "end": 1926,
+ "flags": 0,
+ "parent": {
+ "$ref": "876"
+ }
+ }
+ ],
+ "pos": 1867,
+ "end": 1926,
+ "flags": 0,
+ "parent": {
+ "$ref": "874"
+ }
+ },
+ {
+ "$id": "880",
+ "kind": 57,
+ "tagName": {
+ "$id": "881",
+ "kind": 3,
+ "sv": "template",
+ "pos": 1927,
+ "end": 1935,
+ "flags": 0,
+ "parent": {
+ "$ref": "880"
+ }
+ },
+ "paramName": {
+ "$id": "882",
+ "kind": 3,
+ "sv": "Visibility",
+ "pos": 1936,
+ "end": 1946,
+ "flags": 0,
+ "parent": {
+ "$ref": "880"
+ }
+ },
+ "content": [
+ {
+ "$id": "883",
+ "kind": 52,
+ "text": "The visibility to apply to all properties.",
+ "pos": 1947,
+ "end": 1991,
+ "flags": 0,
+ "parent": {
+ "$ref": "880"
+ }
+ }
+ ],
+ "pos": 1926,
+ "end": 1991,
+ "flags": 0,
+ "parent": {
+ "$ref": "874"
+ }
+ }
+ ],
+ "pos": 1794,
+ "end": 1993,
+ "flags": 0,
+ "parent": {
+ "$ref": "853"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "732"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "853"
+ }
+ ],
+ "name": "DefaultKeyVisibility",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 56
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ }
+ ],
+ "file": {
+ "text": "namespace TypeSpec;\n\n/**\n * Represent a 32-bit unix timestamp datetime with 1s of granularity.\n * It measures time by the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970.\n */\n@encode(\"unixTimestamp\", int32)\nscalar unixTimestamp32 extends utcDateTime;\n\n/**\n * Represent a URL string as described by https://url.spec.whatwg.org/\n */\nscalar url extends string;\n\n/**\n * Represents a collection of optional properties.\n *\n * @template Source An object whose spread properties are all optional.\n */\n@doc(\"The template for adding optional properties.\")\n@withOptionalProperties\nmodel OptionalProperties {\n ...Source;\n}\n\n/**\n * Represents a collection of updateable properties.\n *\n * @template Source An object whose spread properties are all updateable.\n */\n@doc(\"The template for adding updateable properties.\")\n@withUpdateableProperties\nmodel UpdateableProperties {\n ...Source;\n}\n\n/**\n * Represents a collection of omitted properties.\n *\n * @template Source An object whose properties are spread.\n * @template Keys The property keys to omit.\n */\n@doc(\"The template for omitting properties.\")\n@withoutOmittedProperties(Keys)\nmodel OmitProperties {\n ...Source;\n}\n\n/**\n * Represents a collection of properties with only the specified keys included.\n *\n * @template Source An object whose properties are spread.\n * @template Keys The property keys to include.\n */\n@doc(\"The template for picking properties.\")\n@withPickedProperties(Keys)\nmodel PickProperties {\n ...Source;\n}\n\n/**\n * Represents a collection of properties with default values omitted.\n *\n * @template Source An object whose spread property defaults are all omitted.\n */\n@withoutDefaultValues\nmodel OmitDefaults {\n ...Source;\n}\n\n/**\n * Applies a visibility setting to a collection of properties.\n *\n * @template Source An object whose properties are spread.\n * @template Visibility The visibility to apply to all properties.\n */\n@doc(\"The template for setting the default visibility of key properties.\")\n@withDefaultKeyVisibility(Visibility)\nmodel DefaultKeyVisibility {\n ...Source;\n}\n",
+ "path": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/types.tsp"
+ },
+ "id": {
+ "$id": "884",
+ "kind": 3,
+ "sv": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/types.tsp",
+ "pos": 0,
+ "end": 0,
+ "flags": 8,
+ "parent": {
+ "$ref": "732"
+ }
+ },
+ "namespaces": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "usings": [],
+ "locals": {
+ "duplicates": {}
+ },
+ "inScopeNamespaces": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "parseDiagnostics": [],
+ "comments": [],
+ "printable": true,
+ "parseOptions": {},
+ "pos": 0,
+ "end": 2208,
+ "flags": 0,
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "732"
+ },
+ "name": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/types.tsp",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 32768,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "726"
+ }
+ ],
+ "name": "url",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048580,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "733"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 40
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ "constructors": {},
+ "namespace": {
+ "$ref": "719"
+ },
+ "decorators": [
+ {
+ "args": [
+ {
+ "value": {
+ "$ref": "723"
+ },
+ "jsValue": "self"
+ },
+ {
+ "value": {
+ "$id": "885",
+ "kind": "String",
+ "value": "Represent a URL string as described by https://url.spec.whatwg.org/",
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "jsValue": "Represent a URL string as described by https://url.spec.whatwg.org/"
+ }
+ ]
+ }
+ ],
+ "derivedScalars": [],
+ "isFinished": true,
+ "entityKind": "Type",
+ "baseScalar": {
+ "$ref": "463"
+ }
+ },
+ {
+ "$id": "886",
+ "kind": "Scalar",
+ "name": "LinkHeader",
+ "node": {
+ "$ref": "268"
+ },
+ "constructors": {},
+ "namespace": {
+ "$id": "887",
+ "kind": "Namespace",
+ "name": "Http",
+ "namespace": {
+ "$ref": "719"
+ },
+ "node": {
+ "$id": "888",
+ "kind": 60,
+ "id": {
+ "$id": "889",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 0,
+ "end": 0,
+ "flags": 0
+ },
+ "pos": 0,
+ "end": 0,
+ "parent": {
+ "$id": "890",
+ "kind": 1,
+ "id": {
+ "$id": "891",
+ "kind": 3,
+ "sv": "",
+ "pos": 0,
+ "end": 0,
+ "flags": 8
+ },
+ "esmExports": {
+ "$decorators": {
+ "TypeSpec.Http": {},
+ "TypeSpec.Http.Private": {}
+ },
+ "$lib": {
+ "name": "@typespec/http",
+ "diagnostics": {
+ "http-verb-duplicate": {
+ "severity": "error",
+ "messages": {}
+ },
+ "missing-uri-param": {
+ "severity": "error",
+ "messages": {}
+ },
+ "incompatible-uri-param": {
+ "severity": "error",
+ "messages": {}
+ },
+ "use-uri-template": {
+ "severity": "error",
+ "messages": {}
+ },
+ "double-slash": {
+ "severity": "warning",
+ "messages": {}
+ },
+ "missing-server-param": {
+ "severity": "error",
+ "messages": {}
+ },
+ "duplicate-body": {
+ "severity": "error",
+ "messages": {
+ "default": "Operation has multiple @body parameters declared",
+ "duplicateUnannotated": "Operation has multiple unannotated parameters. There can only be one representing the body",
+ "bodyAndUnannotated": "Operation has a @body and an unannotated parameter. There can only be one representing the body"
+ }
+ },
+ "duplicate-route-decorator": {
+ "severity": "error",
+ "messages": {
+ "namespace": "@route was defined twice on this namespace and has different values."
+ }
+ },
+ "operation-param-duplicate-type": {
+ "severity": "error",
+ "messages": {}
+ },
+ "duplicate-operation": {
+ "severity": "error",
+ "messages": {}
+ },
+ "multiple-status-codes": {
+ "severity": "error",
+ "messages": {
+ "default": "Multiple `@statusCode` decorators defined for this operation response."
+ }
+ },
+ "status-code-invalid": {
+ "severity": "error",
+ "messages": {
+ "default": "statusCode value must be a numeric or string literal or union of numeric or string literals",
+ "value": "statusCode value must be a three digit code between 100 and 599"
+ }
+ },
+ "content-type-string": {
+ "severity": "error",
+ "messages": {
+ "default": "contentType parameter must be a string literal or union of string literals"
+ }
+ },
+ "content-type-ignored": {
+ "severity": "warning",
+ "messages": {
+ "default": "`Content-Type` header ignored because there is no body."
+ }
+ },
+ "metadata-ignored": {
+ "severity": "warning",
+ "messages": {}
+ },
+ "response-cookie-not-supported": {
+ "severity": "warning",
+ "messages": {}
+ },
+ "no-service-found": {
+ "severity": "warning",
+ "messages": {}
+ },
+ "invalid-type-for-auth": {
+ "severity": "error",
+ "messages": {}
+ },
+ "shared-inconsistency": {
+ "severity": "error",
+ "messages": {}
+ },
+ "multipart-invalid-content-type": {
+ "severity": "error",
+ "messages": {}
+ },
+ "multipart-model": {
+ "severity": "error",
+ "messages": {
+ "default": "Multipart request body must be a model or a tuple of http parts."
+ }
+ },
+ "no-implicit-multipart": {
+ "severity": "error",
+ "messages": {
+ "default": "Using multipart payloads requires the use of @multipartBody and HttpPart models."
+ }
+ },
+ "multipart-part": {
+ "severity": "error",
+ "messages": {
+ "default": "Expect item to be an HttpPart model."
+ }
+ },
+ "multipart-nested": {
+ "severity": "error",
+ "messages": {
+ "default": "Cannot use @multipartBody inside of an HttpPart"
+ }
+ },
+ "http-file-extra-property": {
+ "severity": "error",
+ "messages": {}
+ },
+ "http-file-disallowed-metadata": {
+ "severity": "error",
+ "messages": {}
+ },
+ "formdata-no-part-name": {
+ "severity": "error",
+ "messages": {
+ "default": "Part used in multipart/form-data must have a name."
+ }
+ },
+ "http-file-structured": {
+ "severity": "warning",
+ "messages": {
+ "union": "An HTTP File in a union is serialized as a structured model instead of being treated as the contents of a file. Declare a separate operation using `@sharedRoute` that has only the File model as the body type to treat it as a file, or suppress this warning if you intend to serialize the File as a model."
+ }
+ },
+ "http-file-content-type-not-string": {
+ "severity": "error",
+ "messages": {}
+ },
+ "http-file-contents-not-scalar": {
+ "severity": "error",
+ "messages": {}
+ },
+ "patch-implicit-optional": {
+ "severity": "warning",
+ "messages": {
+ "default": "Patch operation stopped applying an implicit optional transform to the body in 1.0.0. Use @patch(#{implicitOptionality: true}) to restore the old behavior."
+ }
+ },
+ "merge-patch-contains-null": {
+ "severity": "error",
+ "messages": {
+ "default": "Cannot convert model to a merge-patch compatible shape because it contains the 'null' intrinsic type."
+ }
+ },
+ "merge-patch-content-type": {
+ "severity": "warning",
+ "messages": {}
+ },
+ "merge-patch-contains-metadata": {
+ "severity": "error",
+ "messages": {}
+ }
+ },
+ "state": {
+ "authentication": {
+ "description": "State for the @auth decorator"
+ },
+ "header": {
+ "description": "State for the @header decorator"
+ },
+ "cookie": {
+ "description": "State for the @cookie decorator"
+ },
+ "query": {
+ "description": "State for the @query decorator"
+ },
+ "path": {
+ "description": "State for the @path decorator"
+ },
+ "body": {
+ "description": "State for the @body decorator"
+ },
+ "bodyRoot": {
+ "description": "State for the @bodyRoot decorator"
+ },
+ "bodyIgnore": {
+ "description": "State for the @bodyIgnore decorator"
+ },
+ "multipartBody": {
+ "description": "State for the @bodyIgnore decorator"
+ },
+ "statusCode": {
+ "description": "State for the @statusCode decorator"
+ },
+ "verbs": {
+ "description": "State for the verb decorators (@get, @post, @put, etc.)"
+ },
+ "patchOptions": {
+ "description": "State for the options of the @patch decorator"
+ },
+ "servers": {
+ "description": "State for the @server decorator"
+ },
+ "includeInapplicableMetadataInPayload": {
+ "description": "State for the @includeInapplicableMetadataInPayload decorator"
+ },
+ "externalInterfaces": {},
+ "routeProducer": {},
+ "routes": {},
+ "sharedRoutes": {
+ "description": "State for the @sharedRoute decorator"
+ },
+ "routeOptions": {},
+ "file": {
+ "description": "State for the @Private.file decorator"
+ },
+ "httpPart": {
+ "description": "State for the @Private.httpPart decorator"
+ },
+ "mergePatchModel": {
+ "description": "State marking mergePatch models "
+ },
+ "mergePatchProperty": {
+ "description": "State marking merge path model property source"
+ },
+ "mergePatchPropertyOptions": {
+ "description": "Override options for a property in a merge patch transform"
+ }
+ },
+ "stateKeys": {}
+ }
+ },
+ "file": {
+ "text": "",
+ "path": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http/dist/src/tsp-index.js"
+ },
+ "namespaceSymbols": [],
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "890"
+ }
+ ],
+ "name": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http/dist/src/tsp-index.js",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1081344,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "pos": 0,
+ "end": 0,
+ "flags": 0
+ },
+ "flags": 0,
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "888"
+ }
+ ],
+ "name": "Http",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$id": "892",
+ "kind": 60,
+ "id": {
+ "$id": "893",
+ "kind": 3,
+ "sv": "TypeSpec",
+ "pos": 0,
+ "end": 0,
+ "flags": 0
+ },
+ "pos": 0,
+ "end": 0,
+ "parent": {
+ "$ref": "890"
+ },
+ "flags": 0
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "890"
+ }
+ ],
+ "name": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http/dist/src/tsp-index.js",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1081344,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "models": {},
+ "scalars": {},
+ "operations": {},
+ "namespaces": {},
+ "interfaces": {},
+ "unions": {},
+ "enums": {},
+ "decoratorDeclarations": {},
+ "functionDeclarations": {},
+ "decorators": [],
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "decorators": [],
+ "derivedScalars": [],
+ "isFinished": false,
+ "entityKind": "Type",
+ "baseScalar": {
+ "$ref": "463"
+ }
+ }
+ ],
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "decorators": [
+ {
+ "args": [
+ {
+ "value": {
+ "$ref": "723"
+ },
+ "jsValue": "self"
+ },
+ {
+ "value": {
+ "$id": "894",
+ "kind": "String",
+ "value": "The name of the file, if any.\n\nIn file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\nor multipart payload. In JSON bodies, this value is serialized as a field in the response.\n\nNOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\npayloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\nyou must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\ndecorators.",
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "jsValue": "The name of the file, if any.\n\nIn file bodies, this value comes from the `filename` parameter of the `Content-Disposition` header of the response\nor multipart payload. In JSON bodies, this value is serialized as a field in the response.\n\nNOTE: By default, `filename` cannot be sent in request payloads and can only be sent in responses and multipart\npayloads, as the `Content-Disposition` header is not valid in requests. If you want to send the `filename` in a request,\nyou must extend the `File` model and override the `filename` property with a different location defined by HTTP metadata\ndecorators."
+ }
+ ]
+ },
+ {
+ "definition": {
+ "$id": "895",
+ "kind": "Decorator",
+ "name": "@summary",
+ "namespace": {
+ "$ref": "719"
+ },
+ "node": {
+ "$id": "896",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "897",
+ "kind": 40,
+ "pos": 263,
+ "end": 269,
+ "flags": 0,
+ "parent": {
+ "$ref": "896"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "898",
+ "kind": 3,
+ "sv": "summary",
+ "pos": 274,
+ "end": 281,
+ "flags": 0,
+ "parent": {
+ "$ref": "896"
+ },
+ "_id": 254
+ },
+ "target": {
+ "$id": "899",
+ "kind": 27,
+ "id": {
+ "$id": "900",
+ "kind": 3,
+ "sv": "target",
+ "pos": 282,
+ "end": 288,
+ "flags": 0,
+ "parent": {
+ "$ref": "899"
+ },
+ "_id": 255
+ },
+ "type": {
+ "$id": "901",
+ "kind": 43,
+ "pos": 290,
+ "end": 297,
+ "flags": 0,
+ "parent": {
+ "$ref": "899"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 282,
+ "end": 297,
+ "flags": 0,
+ "parent": {
+ "$ref": "896"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "899"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "parent": {
+ "declarations": [
+ {
+ "$id": "902",
+ "kind": 8,
+ "decorators": [],
+ "docs": [],
+ "id": {
+ "$id": "903",
+ "kind": 3,
+ "sv": "TypeSpec",
+ "pos": 81,
+ "end": 89,
+ "flags": 0,
+ "parent": {
+ "$ref": "902"
+ },
+ "_id": 253
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "directives": [],
+ "pos": 71,
+ "end": 90,
+ "flags": 0,
+ "parent": {
+ "$id": "904",
+ "kind": 0,
+ "statements": [
+ {
+ "$id": "905",
+ "kind": 2,
+ "path": {
+ "$id": "906",
+ "kind": 32,
+ "value": "../../dist/src/lib/tsp-index.js",
+ "pos": 7,
+ "end": 40,
+ "flags": 0,
+ "parent": {
+ "$ref": "905"
+ }
+ },
+ "pos": 0,
+ "end": 41,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "904"
+ }
+ },
+ {
+ "$id": "907",
+ "kind": 9,
+ "name": {
+ "$id": "908",
+ "kind": 7,
+ "base": {
+ "$id": "909",
+ "kind": 3,
+ "sv": "TypeSpec",
+ "pos": 49,
+ "end": 57,
+ "flags": 1,
+ "parent": {
+ "$ref": "908"
+ },
+ "_id": 1
+ },
+ "id": {
+ "$id": "910",
+ "kind": 3,
+ "sv": "Reflection",
+ "pos": 58,
+ "end": 68,
+ "flags": 1,
+ "parent": {
+ "$ref": "908"
+ },
+ "_id": 2
+ },
+ "selector": ".",
+ "pos": 49,
+ "end": 68,
+ "flags": 1,
+ "parent": {
+ "$ref": "907"
+ },
+ "_id": 0
+ },
+ "pos": 43,
+ "end": 69,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "904"
+ }
+ },
+ {
+ "$ref": "902"
+ },
+ {
+ "$ref": "896"
+ },
+ {
+ "$id": "911",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "912",
+ "kind": 40,
+ "pos": 642,
+ "end": 648,
+ "flags": 0,
+ "parent": {
+ "$ref": "911"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "913",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 653,
+ "end": 656,
+ "flags": 0,
+ "parent": {
+ "$ref": "911"
+ },
+ "_id": 161
+ },
+ "target": {
+ "$id": "914",
+ "kind": 27,
+ "id": {
+ "$id": "915",
+ "kind": 3,
+ "sv": "target",
+ "pos": 657,
+ "end": 663,
+ "flags": 0,
+ "parent": {
+ "$ref": "914"
+ },
+ "_id": 162
+ },
+ "type": {
+ "$id": "916",
+ "kind": 43,
+ "pos": 665,
+ "end": 672,
+ "flags": 0,
+ "parent": {
+ "$ref": "914"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 657,
+ "end": 672,
+ "flags": 0,
+ "parent": {
+ "$ref": "911"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "914"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 175
+ }
+ },
+ "parameters": [
+ {
+ "$id": "917",
+ "kind": 27,
+ "id": {
+ "$id": "918",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 674,
+ "end": 677,
+ "flags": 0,
+ "parent": {
+ "$ref": "917"
+ },
+ "_id": 163
+ },
+ "type": {
+ "$id": "919",
+ "kind": 44,
+ "target": {
+ "$id": "920",
+ "kind": 45,
+ "target": {
+ "$id": "921",
+ "kind": 3,
+ "sv": "string",
+ "pos": 687,
+ "end": 693,
+ "flags": 1,
+ "parent": {
+ "$ref": "920"
+ },
+ "_id": 165
+ },
+ "arguments": [],
+ "pos": 687,
+ "end": 693,
+ "flags": 1,
+ "parent": {
+ "$ref": "919"
+ },
+ "_id": 164
+ },
+ "pos": 679,
+ "end": 693,
+ "flags": 0,
+ "parent": {
+ "$ref": "917"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 674,
+ "end": 693,
+ "flags": 0,
+ "parent": {
+ "$ref": "911"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "917"
+ }
+ ],
+ "name": "doc",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 176
+ }
+ },
+ {
+ "$id": "922",
+ "kind": 27,
+ "id": {
+ "$id": "923",
+ "kind": 3,
+ "sv": "formatArgs",
+ "pos": 695,
+ "end": 705,
+ "flags": 0,
+ "parent": {
+ "$ref": "922"
+ },
+ "_id": 166
+ },
+ "type": {
+ "$id": "924",
+ "kind": 14,
+ "properties": [],
+ "bodyRange": {
+ "pos": 708,
+ "end": 710
+ },
+ "pos": 708,
+ "end": 710,
+ "flags": 0,
+ "parent": {
+ "$ref": "922"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "924"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 43
+ }
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 695,
+ "end": 710,
+ "flags": 0,
+ "parent": {
+ "$ref": "911"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "922"
+ }
+ ],
+ "name": "formatArgs",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 177
+ }
+ }
+ ],
+ "pos": 326,
+ "end": 712,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "925",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "926",
+ "kind": 52,
+ "text": "Attach a documentation string. Content support CommonMark markdown formatting.",
+ "pos": 329,
+ "end": 415,
+ "flags": 0,
+ "parent": {
+ "$ref": "925"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "927",
+ "kind": 53,
+ "tagName": {
+ "$id": "928",
+ "kind": 3,
+ "sv": "param",
+ "pos": 416,
+ "end": 421,
+ "flags": 0,
+ "parent": {
+ "$ref": "927"
+ }
+ },
+ "paramName": {
+ "$id": "929",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 422,
+ "end": 425,
+ "flags": 0,
+ "parent": {
+ "$ref": "927"
+ }
+ },
+ "content": [
+ {
+ "$id": "930",
+ "kind": 52,
+ "text": "Documentation string",
+ "pos": 426,
+ "end": 450,
+ "flags": 0,
+ "parent": {
+ "$ref": "927"
+ }
+ }
+ ],
+ "pos": 415,
+ "end": 450,
+ "flags": 0,
+ "parent": {
+ "$ref": "925"
+ }
+ },
+ {
+ "$id": "931",
+ "kind": 53,
+ "tagName": {
+ "$id": "932",
+ "kind": 3,
+ "sv": "param",
+ "pos": 451,
+ "end": 456,
+ "flags": 0,
+ "parent": {
+ "$ref": "931"
+ }
+ },
+ "paramName": {
+ "$id": "933",
+ "kind": 3,
+ "sv": "formatArgs",
+ "pos": 457,
+ "end": 467,
+ "flags": 0,
+ "parent": {
+ "$ref": "931"
+ }
+ },
+ "content": [
+ {
+ "$id": "934",
+ "kind": 52,
+ "text": "Record with key value pair that can be interpolated in the doc.",
+ "pos": 468,
+ "end": 538,
+ "flags": 0,
+ "parent": {
+ "$ref": "931"
+ }
+ }
+ ],
+ "pos": 450,
+ "end": 538,
+ "flags": 0,
+ "parent": {
+ "$ref": "925"
+ }
+ },
+ {
+ "$id": "935",
+ "kind": 58,
+ "tagName": {
+ "$id": "936",
+ "kind": 3,
+ "sv": "example",
+ "pos": 539,
+ "end": 546,
+ "flags": 0,
+ "parent": {
+ "$ref": "935"
+ }
+ },
+ "content": [
+ {
+ "$id": "937",
+ "kind": 52,
+ "text": "```typespec\n@doc(\"Represent a Pet available in the PetStore\")\nmodel Pet {}\n```",
+ "pos": 546,
+ "end": 639,
+ "flags": 0,
+ "parent": {
+ "$ref": "935"
+ }
+ }
+ ],
+ "pos": 538,
+ "end": 639,
+ "flags": 0,
+ "parent": {
+ "$ref": "925"
+ }
+ }
+ ],
+ "pos": 326,
+ "end": 641,
+ "flags": 0,
+ "parent": {
+ "$ref": "911"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "911"
+ }
+ ],
+ "name": "@doc",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "938",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "939",
+ "kind": 40,
+ "pos": 1073,
+ "end": 1079,
+ "flags": 0,
+ "parent": {
+ "$ref": "938"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "940",
+ "kind": 3,
+ "sv": "returnsDoc",
+ "pos": 1084,
+ "end": 1094,
+ "flags": 0,
+ "parent": {
+ "$ref": "938"
+ },
+ "_id": 259
+ },
+ "target": {
+ "$id": "941",
+ "kind": 27,
+ "id": {
+ "$id": "942",
+ "kind": 3,
+ "sv": "target",
+ "pos": 1095,
+ "end": 1101,
+ "flags": 0,
+ "parent": {
+ "$ref": "941"
+ },
+ "_id": 260
+ },
+ "type": {
+ "$id": "943",
+ "kind": 45,
+ "target": {
+ "$id": "944",
+ "kind": 3,
+ "sv": "Operation",
+ "pos": 1103,
+ "end": 1112,
+ "flags": 1,
+ "parent": {
+ "$ref": "943"
+ },
+ "_id": 262
+ },
+ "arguments": [],
+ "pos": 1103,
+ "end": 1112,
+ "flags": 1,
+ "parent": {
+ "$ref": "941"
+ },
+ "_id": 261
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 1095,
+ "end": 1112,
+ "flags": 0,
+ "parent": {
+ "$ref": "938"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "941"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 239
+ }
+ },
+ "parameters": [
+ {
+ "$id": "945",
+ "kind": 27,
+ "id": {
+ "$id": "946",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 1114,
+ "end": 1117,
+ "flags": 0,
+ "parent": {
+ "$ref": "945"
+ },
+ "_id": 264
+ },
+ "type": {
+ "$id": "947",
+ "kind": 44,
+ "target": {
+ "$id": "948",
+ "kind": 45,
+ "target": {
+ "$id": "949",
+ "kind": 3,
+ "sv": "string",
+ "pos": 1127,
+ "end": 1133,
+ "flags": 1,
+ "parent": {
+ "$ref": "948"
+ },
+ "_id": 266
+ },
+ "arguments": [],
+ "pos": 1127,
+ "end": 1133,
+ "flags": 1,
+ "parent": {
+ "$ref": "947"
+ },
+ "_id": 265
+ },
+ "pos": 1119,
+ "end": 1133,
+ "flags": 0,
+ "parent": {
+ "$ref": "945"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 1114,
+ "end": 1133,
+ "flags": 0,
+ "parent": {
+ "$ref": "938"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "945"
+ }
+ ],
+ "name": "doc",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 240
+ }
+ }
+ ],
+ "pos": 714,
+ "end": 1135,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "950",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "951",
+ "kind": 52,
+ "text": "Attach a documentation string to describe the successful return types of an operation.\nIf an operation returns a union of success and errors it only describes the success. See `@errorsDoc` for error documentation.",
+ "pos": 717,
+ "end": 941,
+ "flags": 0,
+ "parent": {
+ "$ref": "950"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "952",
+ "kind": 53,
+ "tagName": {
+ "$id": "953",
+ "kind": 3,
+ "sv": "param",
+ "pos": 942,
+ "end": 947,
+ "flags": 0,
+ "parent": {
+ "$ref": "952"
+ }
+ },
+ "paramName": {
+ "$id": "954",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 948,
+ "end": 951,
+ "flags": 0,
+ "parent": {
+ "$ref": "952"
+ }
+ },
+ "content": [
+ {
+ "$id": "955",
+ "kind": 52,
+ "text": "Documentation string",
+ "pos": 952,
+ "end": 979,
+ "flags": 0,
+ "parent": {
+ "$ref": "952"
+ }
+ }
+ ],
+ "pos": 941,
+ "end": 979,
+ "flags": 0,
+ "parent": {
+ "$ref": "950"
+ }
+ },
+ {
+ "$id": "956",
+ "kind": 58,
+ "tagName": {
+ "$id": "957",
+ "kind": 3,
+ "sv": "example",
+ "pos": 980,
+ "end": 987,
+ "flags": 0,
+ "parent": {
+ "$ref": "956"
+ }
+ },
+ "content": [
+ {
+ "$id": "958",
+ "kind": 52,
+ "text": "```typespec\n@returnsDoc(\"Returns doc\")\nop get(): Pet | NotFound;\n```",
+ "pos": 987,
+ "end": 1070,
+ "flags": 0,
+ "parent": {
+ "$ref": "956"
+ }
+ }
+ ],
+ "pos": 979,
+ "end": 1070,
+ "flags": 0,
+ "parent": {
+ "$ref": "950"
+ }
+ }
+ ],
+ "pos": 714,
+ "end": 1072,
+ "flags": 0,
+ "parent": {
+ "$ref": "938"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "938"
+ }
+ ],
+ "name": "@returnsDoc",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "959",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "960",
+ "kind": 40,
+ "pos": 1491,
+ "end": 1497,
+ "flags": 0,
+ "parent": {
+ "$ref": "959"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "961",
+ "kind": 3,
+ "sv": "errorsDoc",
+ "pos": 1502,
+ "end": 1511,
+ "flags": 0,
+ "parent": {
+ "$ref": "959"
+ },
+ "_id": 267
+ },
+ "target": {
+ "$id": "962",
+ "kind": 27,
+ "id": {
+ "$id": "963",
+ "kind": 3,
+ "sv": "target",
+ "pos": 1512,
+ "end": 1518,
+ "flags": 0,
+ "parent": {
+ "$ref": "962"
+ },
+ "_id": 268
+ },
+ "type": {
+ "$id": "964",
+ "kind": 45,
+ "target": {
+ "$id": "965",
+ "kind": 3,
+ "sv": "Operation",
+ "pos": 1520,
+ "end": 1529,
+ "flags": 1,
+ "parent": {
+ "$ref": "964"
+ },
+ "_id": 270
+ },
+ "arguments": [],
+ "pos": 1520,
+ "end": 1529,
+ "flags": 1,
+ "parent": {
+ "$ref": "962"
+ },
+ "_id": 269
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 1512,
+ "end": 1529,
+ "flags": 0,
+ "parent": {
+ "$ref": "959"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "962"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 242
+ }
+ },
+ "parameters": [
+ {
+ "$id": "966",
+ "kind": 27,
+ "id": {
+ "$id": "967",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 1531,
+ "end": 1534,
+ "flags": 0,
+ "parent": {
+ "$ref": "966"
+ },
+ "_id": 271
+ },
+ "type": {
+ "$id": "968",
+ "kind": 44,
+ "target": {
+ "$id": "969",
+ "kind": 45,
+ "target": {
+ "$id": "970",
+ "kind": 3,
+ "sv": "string",
+ "pos": 1544,
+ "end": 1550,
+ "flags": 1,
+ "parent": {
+ "$ref": "969"
+ },
+ "_id": 273
+ },
+ "arguments": [],
+ "pos": 1544,
+ "end": 1550,
+ "flags": 1,
+ "parent": {
+ "$ref": "968"
+ },
+ "_id": 272
+ },
+ "pos": 1536,
+ "end": 1550,
+ "flags": 0,
+ "parent": {
+ "$ref": "966"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 1531,
+ "end": 1550,
+ "flags": 0,
+ "parent": {
+ "$ref": "959"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "966"
+ }
+ ],
+ "name": "doc",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 243
+ }
+ }
+ ],
+ "pos": 1137,
+ "end": 1552,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "971",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "972",
+ "kind": 52,
+ "text": "Attach a documentation string to describe the error return types of an operation.\nIf an operation returns a union of success and errors it only describes the errors. See `@returnsDoc` for success documentation.",
+ "pos": 1140,
+ "end": 1361,
+ "flags": 0,
+ "parent": {
+ "$ref": "971"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "973",
+ "kind": 53,
+ "tagName": {
+ "$id": "974",
+ "kind": 3,
+ "sv": "param",
+ "pos": 1362,
+ "end": 1367,
+ "flags": 0,
+ "parent": {
+ "$ref": "973"
+ }
+ },
+ "paramName": {
+ "$id": "975",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 1368,
+ "end": 1371,
+ "flags": 0,
+ "parent": {
+ "$ref": "973"
+ }
+ },
+ "content": [
+ {
+ "$id": "976",
+ "kind": 52,
+ "text": "Documentation string",
+ "pos": 1372,
+ "end": 1399,
+ "flags": 0,
+ "parent": {
+ "$ref": "973"
+ }
+ }
+ ],
+ "pos": 1361,
+ "end": 1399,
+ "flags": 0,
+ "parent": {
+ "$ref": "971"
+ }
+ },
+ {
+ "$id": "977",
+ "kind": 58,
+ "tagName": {
+ "$id": "978",
+ "kind": 3,
+ "sv": "example",
+ "pos": 1400,
+ "end": 1407,
+ "flags": 0,
+ "parent": {
+ "$ref": "977"
+ }
+ },
+ "content": [
+ {
+ "$id": "979",
+ "kind": 52,
+ "text": "```typespec\n@errorsDoc(\"Errors doc\")\nop get(): Pet | NotFound;\n```",
+ "pos": 1407,
+ "end": 1488,
+ "flags": 0,
+ "parent": {
+ "$ref": "977"
+ }
+ }
+ ],
+ "pos": 1399,
+ "end": 1488,
+ "flags": 0,
+ "parent": {
+ "$ref": "971"
+ }
+ }
+ ],
+ "pos": 1137,
+ "end": 1490,
+ "flags": 0,
+ "parent": {
+ "$ref": "959"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "959"
+ }
+ ],
+ "name": "@errorsDoc",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "980",
+ "kind": 13,
+ "id": {
+ "$id": "981",
+ "kind": 3,
+ "sv": "ServiceOptions",
+ "pos": 1588,
+ "end": 1602,
+ "flags": 0,
+ "parent": {
+ "$ref": "980"
+ },
+ "_id": 274
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "982",
+ "kind": 15,
+ "id": {
+ "$id": "983",
+ "kind": 3,
+ "sv": "title",
+ "pos": 1646,
+ "end": 1651,
+ "flags": 0,
+ "parent": {
+ "$ref": "982"
+ },
+ "_id": 275
+ },
+ "decorators": [],
+ "value": {
+ "$id": "984",
+ "kind": 45,
+ "target": {
+ "$id": "985",
+ "kind": 3,
+ "sv": "string",
+ "pos": 1654,
+ "end": 1660,
+ "flags": 1,
+ "parent": {
+ "$ref": "984"
+ },
+ "_id": 277
+ },
+ "arguments": [],
+ "pos": 1654,
+ "end": 1660,
+ "flags": 1,
+ "parent": {
+ "$ref": "982"
+ },
+ "_id": 276
+ },
+ "optional": true,
+ "pos": 1607,
+ "end": 1660,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "986",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "987",
+ "kind": 52,
+ "text": "Title of the service.",
+ "pos": 1610,
+ "end": 1641,
+ "flags": 0,
+ "parent": {
+ "$ref": "986"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1607,
+ "end": 1643,
+ "flags": 0,
+ "parent": {
+ "$ref": "982"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "980"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "982"
+ },
+ "name": "title",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "980"
+ }
+ ],
+ "name": "ServiceOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 60
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 1603,
+ "end": 1663
+ },
+ "pos": 1554,
+ "end": 1663,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "988",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "989",
+ "kind": 52,
+ "text": "Service options.",
+ "pos": 1557,
+ "end": 1579,
+ "flags": 0,
+ "parent": {
+ "$ref": "988"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 1554,
+ "end": 1581,
+ "flags": 0,
+ "parent": {
+ "$ref": "980"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "980"
+ }
+ ],
+ "name": "ServiceOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 60
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "990",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "991",
+ "kind": 40,
+ "pos": 2001,
+ "end": 2007,
+ "flags": 0,
+ "parent": {
+ "$ref": "990"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "992",
+ "kind": 3,
+ "sv": "service",
+ "pos": 2012,
+ "end": 2019,
+ "flags": 0,
+ "parent": {
+ "$ref": "990"
+ },
+ "_id": 278
+ },
+ "target": {
+ "$id": "993",
+ "kind": 27,
+ "id": {
+ "$id": "994",
+ "kind": 3,
+ "sv": "target",
+ "pos": 2020,
+ "end": 2026,
+ "flags": 0,
+ "parent": {
+ "$ref": "993"
+ },
+ "_id": 279
+ },
+ "type": {
+ "$id": "995",
+ "kind": 45,
+ "target": {
+ "$id": "996",
+ "kind": 3,
+ "sv": "Namespace",
+ "pos": 2028,
+ "end": 2037,
+ "flags": 1,
+ "parent": {
+ "$ref": "995"
+ },
+ "_id": 281
+ },
+ "arguments": [],
+ "pos": 2028,
+ "end": 2037,
+ "flags": 1,
+ "parent": {
+ "$ref": "993"
+ },
+ "_id": 280
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 2020,
+ "end": 2037,
+ "flags": 0,
+ "parent": {
+ "$ref": "990"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "993"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 246
+ }
+ },
+ "parameters": [
+ {
+ "$id": "997",
+ "kind": 27,
+ "id": {
+ "$id": "998",
+ "kind": 3,
+ "sv": "options",
+ "pos": 2039,
+ "end": 2046,
+ "flags": 0,
+ "parent": {
+ "$ref": "997"
+ },
+ "_id": 283
+ },
+ "type": {
+ "$id": "999",
+ "kind": 44,
+ "target": {
+ "$id": "1000",
+ "kind": 45,
+ "target": {
+ "$id": "1001",
+ "kind": 3,
+ "sv": "ServiceOptions",
+ "pos": 2057,
+ "end": 2071,
+ "flags": 1,
+ "parent": {
+ "$ref": "1000"
+ },
+ "_id": 285
+ },
+ "arguments": [],
+ "pos": 2057,
+ "end": 2071,
+ "flags": 1,
+ "parent": {
+ "$ref": "999"
+ },
+ "_id": 284
+ },
+ "pos": 2049,
+ "end": 2071,
+ "flags": 0,
+ "parent": {
+ "$ref": "997"
+ }
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 2039,
+ "end": 2071,
+ "flags": 0,
+ "parent": {
+ "$ref": "990"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "997"
+ }
+ ],
+ "name": "options",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 247
+ }
+ }
+ ],
+ "pos": 1665,
+ "end": 2073,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1002",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1003",
+ "kind": 52,
+ "text": "Mark this namespace as describing a service and configure service properties.",
+ "pos": 1668,
+ "end": 1753,
+ "flags": 0,
+ "parent": {
+ "$ref": "1002"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1004",
+ "kind": 53,
+ "tagName": {
+ "$id": "1005",
+ "kind": 3,
+ "sv": "param",
+ "pos": 1754,
+ "end": 1759,
+ "flags": 0,
+ "parent": {
+ "$ref": "1004"
+ }
+ },
+ "paramName": {
+ "$id": "1006",
+ "kind": 3,
+ "sv": "options",
+ "pos": 1760,
+ "end": 1767,
+ "flags": 0,
+ "parent": {
+ "$ref": "1004"
+ }
+ },
+ "content": [
+ {
+ "$id": "1007",
+ "kind": 52,
+ "text": "Optional configuration for the service.",
+ "pos": 1768,
+ "end": 1814,
+ "flags": 0,
+ "parent": {
+ "$ref": "1004"
+ }
+ }
+ ],
+ "pos": 1753,
+ "end": 1814,
+ "flags": 0,
+ "parent": {
+ "$ref": "1002"
+ }
+ },
+ {
+ "$id": "1008",
+ "kind": 58,
+ "tagName": {
+ "$id": "1009",
+ "kind": 3,
+ "sv": "example",
+ "pos": 1815,
+ "end": 1822,
+ "flags": 0,
+ "parent": {
+ "$ref": "1008"
+ }
+ },
+ "content": [
+ {
+ "$id": "1010",
+ "kind": 52,
+ "text": "```typespec\n@service\nnamespace PetStore;\n```",
+ "pos": 1822,
+ "end": 1886,
+ "flags": 0,
+ "parent": {
+ "$ref": "1008"
+ }
+ }
+ ],
+ "pos": 1814,
+ "end": 1886,
+ "flags": 0,
+ "parent": {
+ "$ref": "1002"
+ }
+ },
+ {
+ "$id": "1011",
+ "kind": 58,
+ "tagName": {
+ "$id": "1012",
+ "kind": 3,
+ "sv": "example",
+ "pos": 1887,
+ "end": 1894,
+ "flags": 0,
+ "parent": {
+ "$ref": "1011"
+ }
+ },
+ "content": [
+ {
+ "$id": "1013",
+ "kind": 52,
+ "text": "Setting service title\n```typespec\n@service(#{title: \"Pet store\"})\nnamespace PetStore;\n```",
+ "pos": 1894,
+ "end": 1998,
+ "flags": 0,
+ "parent": {
+ "$ref": "1011"
+ }
+ }
+ ],
+ "pos": 1886,
+ "end": 1998,
+ "flags": 0,
+ "parent": {
+ "$ref": "1002"
+ }
+ }
+ ],
+ "pos": 1665,
+ "end": 2000,
+ "flags": 0,
+ "parent": {
+ "$ref": "990"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "990"
+ }
+ ],
+ "name": "@service",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1014",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1015",
+ "kind": 40,
+ "pos": 2307,
+ "end": 2313,
+ "flags": 0,
+ "parent": {
+ "$ref": "1014"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1016",
+ "kind": 3,
+ "sv": "error",
+ "pos": 2318,
+ "end": 2323,
+ "flags": 0,
+ "parent": {
+ "$ref": "1014"
+ },
+ "_id": 286
+ },
+ "target": {
+ "$id": "1017",
+ "kind": 27,
+ "id": {
+ "$id": "1018",
+ "kind": 3,
+ "sv": "target",
+ "pos": 2324,
+ "end": 2330,
+ "flags": 0,
+ "parent": {
+ "$ref": "1017"
+ },
+ "_id": 287
+ },
+ "type": {
+ "$id": "1019",
+ "kind": 45,
+ "target": {
+ "$id": "1020",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 2332,
+ "end": 2337,
+ "flags": 1,
+ "parent": {
+ "$ref": "1019"
+ },
+ "_id": 289
+ },
+ "arguments": [],
+ "pos": 2332,
+ "end": 2337,
+ "flags": 1,
+ "parent": {
+ "$ref": "1017"
+ },
+ "_id": 288
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 2324,
+ "end": 2337,
+ "flags": 0,
+ "parent": {
+ "$ref": "1014"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1017"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 249
+ }
+ },
+ "parameters": [],
+ "pos": 2075,
+ "end": 2339,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1021",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1022",
+ "kind": 52,
+ "text": "Specify that this model is an error type. Operations return error types when the operation has failed.",
+ "pos": 2078,
+ "end": 2191,
+ "flags": 0,
+ "parent": {
+ "$ref": "1021"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1023",
+ "kind": 58,
+ "tagName": {
+ "$id": "1024",
+ "kind": 3,
+ "sv": "example",
+ "pos": 2192,
+ "end": 2199,
+ "flags": 0,
+ "parent": {
+ "$ref": "1023"
+ }
+ },
+ "content": [
+ {
+ "$id": "1025",
+ "kind": 52,
+ "text": "```typespec\n@error\nmodel PetStoreError {\n code: string;\n message: string;\n}\n```",
+ "pos": 2199,
+ "end": 2304,
+ "flags": 0,
+ "parent": {
+ "$ref": "1023"
+ }
+ }
+ ],
+ "pos": 2191,
+ "end": 2304,
+ "flags": 0,
+ "parent": {
+ "$ref": "1021"
+ }
+ }
+ ],
+ "pos": 2075,
+ "end": 2306,
+ "flags": 0,
+ "parent": {
+ "$ref": "1014"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1014"
+ }
+ ],
+ "name": "@error",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1026",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1027",
+ "kind": 40,
+ "pos": 3478,
+ "end": 3484,
+ "flags": 0,
+ "parent": {
+ "$ref": "1026"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1028",
+ "kind": 3,
+ "sv": "mediaTypeHint",
+ "pos": 3489,
+ "end": 3502,
+ "flags": 0,
+ "parent": {
+ "$ref": "1026"
+ },
+ "_id": 290
+ },
+ "target": {
+ "$id": "1029",
+ "kind": 27,
+ "id": {
+ "$id": "1030",
+ "kind": 3,
+ "sv": "target",
+ "pos": 3503,
+ "end": 3509,
+ "flags": 0,
+ "parent": {
+ "$ref": "1029"
+ },
+ "_id": 291
+ },
+ "type": {
+ "$id": "1031",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1032",
+ "kind": 45,
+ "target": {
+ "$id": "1033",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 3511,
+ "end": 3516,
+ "flags": 1,
+ "parent": {
+ "$ref": "1032"
+ },
+ "_id": 293
+ },
+ "arguments": [],
+ "pos": 3511,
+ "end": 3516,
+ "flags": 1,
+ "parent": {
+ "$ref": "1031"
+ },
+ "_id": 292
+ },
+ {
+ "$id": "1034",
+ "kind": 45,
+ "target": {
+ "$id": "1035",
+ "kind": 3,
+ "sv": "Scalar",
+ "pos": 3519,
+ "end": 3525,
+ "flags": 1,
+ "parent": {
+ "$ref": "1034"
+ },
+ "_id": 295
+ },
+ "arguments": [],
+ "pos": 3519,
+ "end": 3525,
+ "flags": 1,
+ "parent": {
+ "$ref": "1031"
+ },
+ "_id": 294
+ },
+ {
+ "$id": "1036",
+ "kind": 45,
+ "target": {
+ "$id": "1037",
+ "kind": 3,
+ "sv": "Enum",
+ "pos": 3528,
+ "end": 3532,
+ "flags": 1,
+ "parent": {
+ "$ref": "1036"
+ },
+ "_id": 297
+ },
+ "arguments": [],
+ "pos": 3528,
+ "end": 3532,
+ "flags": 1,
+ "parent": {
+ "$ref": "1031"
+ },
+ "_id": 296
+ },
+ {
+ "$id": "1038",
+ "kind": 45,
+ "target": {
+ "$id": "1039",
+ "kind": 3,
+ "sv": "Union",
+ "pos": 3535,
+ "end": 3540,
+ "flags": 1,
+ "parent": {
+ "$ref": "1038"
+ },
+ "_id": 300
+ },
+ "arguments": [],
+ "pos": 3535,
+ "end": 3540,
+ "flags": 1,
+ "parent": {
+ "$ref": "1031"
+ },
+ "_id": 299
+ }
+ ],
+ "pos": 3511,
+ "end": 3540,
+ "flags": 0,
+ "parent": {
+ "$ref": "1029"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 3503,
+ "end": 3540,
+ "flags": 0,
+ "parent": {
+ "$ref": "1026"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1029"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 191
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1040",
+ "kind": 27,
+ "id": {
+ "$id": "1041",
+ "kind": 3,
+ "sv": "mediaType",
+ "pos": 3542,
+ "end": 3551,
+ "flags": 0,
+ "parent": {
+ "$ref": "1040"
+ },
+ "_id": 301
+ },
+ "type": {
+ "$id": "1042",
+ "kind": 44,
+ "target": {
+ "$id": "1043",
+ "kind": 45,
+ "target": {
+ "$id": "1044",
+ "kind": 3,
+ "sv": "string",
+ "pos": 3561,
+ "end": 3567,
+ "flags": 1,
+ "parent": {
+ "$ref": "1043"
+ },
+ "_id": 303
+ },
+ "arguments": [],
+ "pos": 3561,
+ "end": 3567,
+ "flags": 1,
+ "parent": {
+ "$ref": "1042"
+ },
+ "_id": 302
+ },
+ "pos": 3553,
+ "end": 3567,
+ "flags": 0,
+ "parent": {
+ "$ref": "1040"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 3542,
+ "end": 3567,
+ "flags": 0,
+ "parent": {
+ "$ref": "1026"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1040"
+ }
+ ],
+ "name": "mediaType",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 192
+ }
+ }
+ ],
+ "pos": 2341,
+ "end": 3569,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1045",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1046",
+ "kind": 52,
+ "text": "Applies a media type hint to a TypeSpec type. Emitters and libraries may choose to use this hint to determine how a\ntype should be serialized. For example, the `@typespec/http` library will use the media type hint of the response\nbody type as a default `Content-Type` if one is not explicitly specified in the operation.\n\nMedia types (also known as MIME types) are defined by RFC 6838. The media type hint should be a valid media type\nstring as defined by the RFC, but the decorator does not enforce or validate this constraint.\n\nNotes: the applied media type is _only_ a hint. It may be overridden or not used at all. Media type hints are\ninherited by subtypes. If a media type hint is applied to a model, it will be inherited by all other models that\n`extend` it unless they delcare their own media type hint.",
+ "pos": 2344,
+ "end": 3191,
+ "flags": 0,
+ "parent": {
+ "$ref": "1045"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1047",
+ "kind": 53,
+ "tagName": {
+ "$id": "1048",
+ "kind": 3,
+ "sv": "param",
+ "pos": 3192,
+ "end": 3197,
+ "flags": 0,
+ "parent": {
+ "$ref": "1047"
+ }
+ },
+ "paramName": {
+ "$id": "1049",
+ "kind": 3,
+ "sv": "mediaType",
+ "pos": 3198,
+ "end": 3207,
+ "flags": 0,
+ "parent": {
+ "$ref": "1047"
+ }
+ },
+ "content": [
+ {
+ "$id": "1050",
+ "kind": 52,
+ "text": "The media type hint to apply to the target type.",
+ "pos": 3208,
+ "end": 3263,
+ "flags": 0,
+ "parent": {
+ "$ref": "1047"
+ }
+ }
+ ],
+ "pos": 3191,
+ "end": 3263,
+ "flags": 0,
+ "parent": {
+ "$ref": "1045"
+ }
+ },
+ {
+ "$id": "1051",
+ "kind": 58,
+ "tagName": {
+ "$id": "1052",
+ "kind": 3,
+ "sv": "example",
+ "pos": 3264,
+ "end": 3271,
+ "flags": 0,
+ "parent": {
+ "$ref": "1051"
+ }
+ },
+ "content": [
+ {
+ "$id": "1053",
+ "kind": 52,
+ "text": "create a model that serializes as XML by default\n\n```tsp\n@mediaTypeHint(\"application/xml\")\nmodel Example {\n @visibility(Lifecycle.Read)\n id: string;\n\n name: string;\n}\n```",
+ "pos": 3271,
+ "end": 3475,
+ "flags": 0,
+ "parent": {
+ "$ref": "1051"
+ }
+ }
+ ],
+ "pos": 3263,
+ "end": 3475,
+ "flags": 0,
+ "parent": {
+ "$ref": "1045"
+ }
+ }
+ ],
+ "pos": 2341,
+ "end": 3477,
+ "flags": 0,
+ "parent": {
+ "$ref": "1026"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1026"
+ }
+ ],
+ "name": "@mediaTypeHint",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1054",
+ "kind": 4,
+ "target": {
+ "$id": "1055",
+ "kind": 3,
+ "sv": "mediaTypeHint",
+ "pos": 3683,
+ "end": 3696,
+ "flags": 1,
+ "parent": {
+ "$ref": "1054"
+ },
+ "_id": 304
+ },
+ "targetType": {
+ "$id": "1056",
+ "kind": 45,
+ "target": {
+ "$id": "1057",
+ "kind": 7,
+ "base": {
+ "$id": "1058",
+ "kind": 3,
+ "sv": "TypeSpec",
+ "pos": 3697,
+ "end": 3705,
+ "flags": 1,
+ "parent": {
+ "$ref": "1057"
+ },
+ "_id": 307
+ },
+ "id": {
+ "$id": "1059",
+ "kind": 3,
+ "sv": "bytes",
+ "pos": 3706,
+ "end": 3711,
+ "flags": 1,
+ "parent": {
+ "$ref": "1057"
+ },
+ "_id": 308
+ },
+ "selector": ".",
+ "pos": 3697,
+ "end": 3711,
+ "flags": 1,
+ "parent": {
+ "$ref": "1056"
+ },
+ "_id": 306
+ },
+ "arguments": [],
+ "pos": 3697,
+ "end": 3711,
+ "flags": 1,
+ "parent": {
+ "$ref": "1054"
+ },
+ "_id": 305
+ },
+ "arguments": [
+ {
+ "$id": "1060",
+ "kind": 32,
+ "value": "application/octet-stream",
+ "pos": 3713,
+ "end": 3739,
+ "flags": 0,
+ "parent": {
+ "$ref": "1054"
+ }
+ }
+ ],
+ "pos": 3681,
+ "end": 3741,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "904"
+ }
+ },
+ {
+ "$id": "1061",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1062",
+ "kind": 40,
+ "pos": 4407,
+ "end": 4413,
+ "flags": 0,
+ "parent": {
+ "$ref": "1061"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1063",
+ "kind": 3,
+ "sv": "format",
+ "pos": 4418,
+ "end": 4424,
+ "flags": 0,
+ "parent": {
+ "$ref": "1061"
+ },
+ "_id": 309
+ },
+ "target": {
+ "$id": "1064",
+ "kind": 27,
+ "id": {
+ "$id": "1065",
+ "kind": 3,
+ "sv": "target",
+ "pos": 4425,
+ "end": 4431,
+ "flags": 0,
+ "parent": {
+ "$ref": "1064"
+ },
+ "_id": 310
+ },
+ "type": {
+ "$id": "1066",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1067",
+ "kind": 45,
+ "target": {
+ "$id": "1068",
+ "kind": 3,
+ "sv": "string",
+ "pos": 4433,
+ "end": 4439,
+ "flags": 1,
+ "parent": {
+ "$ref": "1067"
+ },
+ "_id": 312
+ },
+ "arguments": [],
+ "pos": 4433,
+ "end": 4439,
+ "flags": 1,
+ "parent": {
+ "$ref": "1066"
+ },
+ "_id": 311
+ },
+ {
+ "$id": "1069",
+ "kind": 45,
+ "target": {
+ "$id": "1070",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 4442,
+ "end": 4455,
+ "flags": 1,
+ "parent": {
+ "$ref": "1069"
+ },
+ "_id": 314
+ },
+ "arguments": [],
+ "pos": 4442,
+ "end": 4455,
+ "flags": 1,
+ "parent": {
+ "$ref": "1066"
+ },
+ "_id": 313
+ }
+ ],
+ "pos": 4433,
+ "end": 4455,
+ "flags": 0,
+ "parent": {
+ "$ref": "1064"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 4425,
+ "end": 4455,
+ "flags": 0,
+ "parent": {
+ "$ref": "1061"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1064"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 251
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1071",
+ "kind": 27,
+ "id": {
+ "$id": "1072",
+ "kind": 3,
+ "sv": "format",
+ "pos": 4457,
+ "end": 4463,
+ "flags": 0,
+ "parent": {
+ "$ref": "1071"
+ },
+ "_id": 315
+ },
+ "type": {
+ "$id": "1073",
+ "kind": 44,
+ "target": {
+ "$id": "1074",
+ "kind": 45,
+ "target": {
+ "$id": "1075",
+ "kind": 3,
+ "sv": "string",
+ "pos": 4473,
+ "end": 4479,
+ "flags": 1,
+ "parent": {
+ "$ref": "1074"
+ },
+ "_id": 317
+ },
+ "arguments": [],
+ "pos": 4473,
+ "end": 4479,
+ "flags": 1,
+ "parent": {
+ "$ref": "1073"
+ },
+ "_id": 316
+ },
+ "pos": 4465,
+ "end": 4479,
+ "flags": 0,
+ "parent": {
+ "$ref": "1071"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 4457,
+ "end": 4479,
+ "flags": 0,
+ "parent": {
+ "$ref": "1061"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1071"
+ }
+ ],
+ "name": "format",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 252
+ }
+ }
+ ],
+ "pos": 3978,
+ "end": 4481,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1076",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1077",
+ "kind": 52,
+ "text": "Specify a known data format hint for this string type. For example `uuid`, `uri`, etc.\nThis differs from the `@pattern` decorator which is meant to specify a regular expression while `@format` accepts a known format name.\nThe format names are open ended and are left to emitter to interpret.",
+ "pos": 3981,
+ "end": 4289,
+ "flags": 0,
+ "parent": {
+ "$ref": "1076"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1078",
+ "kind": 53,
+ "tagName": {
+ "$id": "1079",
+ "kind": 3,
+ "sv": "param",
+ "pos": 4290,
+ "end": 4295,
+ "flags": 0,
+ "parent": {
+ "$ref": "1078"
+ }
+ },
+ "paramName": {
+ "$id": "1080",
+ "kind": 3,
+ "sv": "format",
+ "pos": 4296,
+ "end": 4302,
+ "flags": 0,
+ "parent": {
+ "$ref": "1078"
+ }
+ },
+ "content": [
+ {
+ "$id": "1081",
+ "kind": 52,
+ "text": "format name.",
+ "pos": 4303,
+ "end": 4322,
+ "flags": 0,
+ "parent": {
+ "$ref": "1078"
+ }
+ }
+ ],
+ "pos": 4289,
+ "end": 4322,
+ "flags": 0,
+ "parent": {
+ "$ref": "1076"
+ }
+ },
+ {
+ "$id": "1082",
+ "kind": 58,
+ "tagName": {
+ "$id": "1083",
+ "kind": 3,
+ "sv": "example",
+ "pos": 4323,
+ "end": 4330,
+ "flags": 0,
+ "parent": {
+ "$ref": "1082"
+ }
+ },
+ "content": [
+ {
+ "$id": "1084",
+ "kind": 52,
+ "text": "```typespec\n@format(\"uuid\")\nscalar uuid extends string;\n```",
+ "pos": 4330,
+ "end": 4404,
+ "flags": 0,
+ "parent": {
+ "$ref": "1082"
+ }
+ }
+ ],
+ "pos": 4322,
+ "end": 4404,
+ "flags": 0,
+ "parent": {
+ "$ref": "1076"
+ }
+ }
+ ],
+ "pos": 3978,
+ "end": 4406,
+ "flags": 0,
+ "parent": {
+ "$ref": "1061"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1061"
+ }
+ ],
+ "name": "@format",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1085",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1086",
+ "kind": 40,
+ "pos": 5584,
+ "end": 5590,
+ "flags": 0,
+ "parent": {
+ "$ref": "1085"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1087",
+ "kind": 3,
+ "sv": "pattern",
+ "pos": 5595,
+ "end": 5602,
+ "flags": 0,
+ "parent": {
+ "$ref": "1085"
+ },
+ "_id": 318
+ },
+ "target": {
+ "$id": "1088",
+ "kind": 27,
+ "id": {
+ "$id": "1089",
+ "kind": 3,
+ "sv": "target",
+ "pos": 5606,
+ "end": 5612,
+ "flags": 0,
+ "parent": {
+ "$ref": "1088"
+ },
+ "_id": 319
+ },
+ "type": {
+ "$id": "1090",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1091",
+ "kind": 45,
+ "target": {
+ "$id": "1092",
+ "kind": 3,
+ "sv": "string",
+ "pos": 5614,
+ "end": 5620,
+ "flags": 1,
+ "parent": {
+ "$ref": "1091"
+ },
+ "_id": 321
+ },
+ "arguments": [],
+ "pos": 5614,
+ "end": 5620,
+ "flags": 1,
+ "parent": {
+ "$ref": "1090"
+ },
+ "_id": 320
+ },
+ {
+ "$id": "1093",
+ "kind": 45,
+ "target": {
+ "$id": "1094",
+ "kind": 3,
+ "sv": "bytes",
+ "pos": 5623,
+ "end": 5628,
+ "flags": 1,
+ "parent": {
+ "$ref": "1093"
+ },
+ "_id": 323
+ },
+ "arguments": [],
+ "pos": 5623,
+ "end": 5628,
+ "flags": 1,
+ "parent": {
+ "$ref": "1090"
+ },
+ "_id": 322
+ },
+ {
+ "$id": "1095",
+ "kind": 45,
+ "target": {
+ "$id": "1096",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 5631,
+ "end": 5644,
+ "flags": 1,
+ "parent": {
+ "$ref": "1095"
+ },
+ "_id": 325
+ },
+ "arguments": [],
+ "pos": 5631,
+ "end": 5644,
+ "flags": 1,
+ "parent": {
+ "$ref": "1090"
+ },
+ "_id": 324
+ }
+ ],
+ "pos": 5614,
+ "end": 5644,
+ "flags": 0,
+ "parent": {
+ "$ref": "1088"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 5606,
+ "end": 5644,
+ "flags": 0,
+ "parent": {
+ "$ref": "1085"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1088"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 254
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1097",
+ "kind": 27,
+ "id": {
+ "$id": "1098",
+ "kind": 3,
+ "sv": "pattern",
+ "pos": 5648,
+ "end": 5655,
+ "flags": 0,
+ "parent": {
+ "$ref": "1097"
+ },
+ "_id": 326
+ },
+ "type": {
+ "$id": "1099",
+ "kind": 44,
+ "target": {
+ "$id": "1100",
+ "kind": 45,
+ "target": {
+ "$id": "1101",
+ "kind": 3,
+ "sv": "string",
+ "pos": 5665,
+ "end": 5671,
+ "flags": 1,
+ "parent": {
+ "$ref": "1100"
+ },
+ "_id": 328
+ },
+ "arguments": [],
+ "pos": 5665,
+ "end": 5671,
+ "flags": 1,
+ "parent": {
+ "$ref": "1099"
+ },
+ "_id": 327
+ },
+ "pos": 5657,
+ "end": 5671,
+ "flags": 0,
+ "parent": {
+ "$ref": "1097"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 5648,
+ "end": 5671,
+ "flags": 0,
+ "parent": {
+ "$ref": "1085"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1097"
+ }
+ ],
+ "name": "pattern",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 255
+ }
+ },
+ {
+ "$id": "1102",
+ "kind": 27,
+ "id": {
+ "$id": "1103",
+ "kind": 3,
+ "sv": "validationMessage",
+ "pos": 5675,
+ "end": 5692,
+ "flags": 0,
+ "parent": {
+ "$ref": "1102"
+ },
+ "_id": 329
+ },
+ "type": {
+ "$id": "1104",
+ "kind": 44,
+ "target": {
+ "$id": "1105",
+ "kind": 45,
+ "target": {
+ "$id": "1106",
+ "kind": 3,
+ "sv": "string",
+ "pos": 5703,
+ "end": 5709,
+ "flags": 1,
+ "parent": {
+ "$ref": "1105"
+ },
+ "_id": 331
+ },
+ "arguments": [],
+ "pos": 5703,
+ "end": 5709,
+ "flags": 1,
+ "parent": {
+ "$ref": "1104"
+ },
+ "_id": 330
+ },
+ "pos": 5695,
+ "end": 5709,
+ "flags": 0,
+ "parent": {
+ "$ref": "1102"
+ }
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 5675,
+ "end": 5709,
+ "flags": 0,
+ "parent": {
+ "$ref": "1085"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1102"
+ }
+ ],
+ "name": "validationMessage",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 256
+ }
+ }
+ ],
+ "pos": 4483,
+ "end": 5712,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1107",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1108",
+ "kind": 52,
+ "text": "Specify the the pattern this string should respect using simple regular expression syntax.\nThe following syntax is allowed: alternations (`|`), quantifiers (`?`, `*`, `+`, and `{ }`), wildcard (`.`), and grouping parentheses.\nAdvanced features like look-around, capture groups, and references are not supported.\n\nThis decorator may optionally provide a custom validation _message_. Emitters may choose to use the message to provide\ncontext when pattern validation fails. For the sake of consistency, the message should be a phrase that describes in\nplain language what sort of content the pattern attempts to validate. For example, a complex regular expression that\nvalidates a GUID string might have a message like \"Must be a valid GUID.\"",
+ "pos": 4486,
+ "end": 5256,
+ "flags": 0,
+ "parent": {
+ "$ref": "1107"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1109",
+ "kind": 53,
+ "tagName": {
+ "$id": "1110",
+ "kind": 3,
+ "sv": "param",
+ "pos": 5257,
+ "end": 5262,
+ "flags": 0,
+ "parent": {
+ "$ref": "1109"
+ }
+ },
+ "paramName": {
+ "$id": "1111",
+ "kind": 3,
+ "sv": "pattern",
+ "pos": 5263,
+ "end": 5270,
+ "flags": 0,
+ "parent": {
+ "$ref": "1109"
+ }
+ },
+ "content": [
+ {
+ "$id": "1112",
+ "kind": 52,
+ "text": "Regular expression.",
+ "pos": 5271,
+ "end": 5294,
+ "flags": 0,
+ "parent": {
+ "$ref": "1109"
+ }
+ }
+ ],
+ "pos": 5256,
+ "end": 5294,
+ "flags": 0,
+ "parent": {
+ "$ref": "1107"
+ }
+ },
+ {
+ "$id": "1113",
+ "kind": 53,
+ "tagName": {
+ "$id": "1114",
+ "kind": 3,
+ "sv": "param",
+ "pos": 5295,
+ "end": 5300,
+ "flags": 0,
+ "parent": {
+ "$ref": "1113"
+ }
+ },
+ "paramName": {
+ "$id": "1115",
+ "kind": 3,
+ "sv": "validationMessage",
+ "pos": 5301,
+ "end": 5318,
+ "flags": 0,
+ "parent": {
+ "$ref": "1113"
+ }
+ },
+ "content": [
+ {
+ "$id": "1116",
+ "kind": 52,
+ "text": "Optional validation message that may provide context when validation fails.",
+ "pos": 5319,
+ "end": 5401,
+ "flags": 0,
+ "parent": {
+ "$ref": "1113"
+ }
+ }
+ ],
+ "pos": 5294,
+ "end": 5401,
+ "flags": 0,
+ "parent": {
+ "$ref": "1107"
+ }
+ },
+ {
+ "$id": "1117",
+ "kind": 58,
+ "tagName": {
+ "$id": "1118",
+ "kind": 3,
+ "sv": "example",
+ "pos": 5402,
+ "end": 5409,
+ "flags": 0,
+ "parent": {
+ "$ref": "1117"
+ }
+ },
+ "content": [
+ {
+ "$id": "1119",
+ "kind": 52,
+ "text": "```typespec\n@pattern(\"[a-z]+\", \"Must be a string consisting of only lower case letters and of at least one character.\")\nscalar LowerAlpha extends string;\n```",
+ "pos": 5409,
+ "end": 5581,
+ "flags": 0,
+ "parent": {
+ "$ref": "1117"
+ }
+ }
+ ],
+ "pos": 5401,
+ "end": 5581,
+ "flags": 0,
+ "parent": {
+ "$ref": "1107"
+ }
+ }
+ ],
+ "pos": 4483,
+ "end": 5583,
+ "flags": 0,
+ "parent": {
+ "$ref": "1085"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1085"
+ }
+ ],
+ "name": "@pattern",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1120",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1121",
+ "kind": 40,
+ "pos": 5900,
+ "end": 5906,
+ "flags": 0,
+ "parent": {
+ "$ref": "1120"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1122",
+ "kind": 3,
+ "sv": "minLength",
+ "pos": 5911,
+ "end": 5920,
+ "flags": 0,
+ "parent": {
+ "$ref": "1120"
+ },
+ "_id": 332
+ },
+ "target": {
+ "$id": "1123",
+ "kind": 27,
+ "id": {
+ "$id": "1124",
+ "kind": 3,
+ "sv": "target",
+ "pos": 5921,
+ "end": 5927,
+ "flags": 0,
+ "parent": {
+ "$ref": "1123"
+ },
+ "_id": 333
+ },
+ "type": {
+ "$id": "1125",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1126",
+ "kind": 45,
+ "target": {
+ "$id": "1127",
+ "kind": 3,
+ "sv": "string",
+ "pos": 5929,
+ "end": 5935,
+ "flags": 1,
+ "parent": {
+ "$ref": "1126"
+ },
+ "_id": 335
+ },
+ "arguments": [],
+ "pos": 5929,
+ "end": 5935,
+ "flags": 1,
+ "parent": {
+ "$ref": "1125"
+ },
+ "_id": 334
+ },
+ {
+ "$id": "1128",
+ "kind": 45,
+ "target": {
+ "$id": "1129",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 5938,
+ "end": 5951,
+ "flags": 1,
+ "parent": {
+ "$ref": "1128"
+ },
+ "_id": 337
+ },
+ "arguments": [],
+ "pos": 5938,
+ "end": 5951,
+ "flags": 1,
+ "parent": {
+ "$ref": "1125"
+ },
+ "_id": 336
+ }
+ ],
+ "pos": 5929,
+ "end": 5951,
+ "flags": 0,
+ "parent": {
+ "$ref": "1123"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 5921,
+ "end": 5951,
+ "flags": 0,
+ "parent": {
+ "$ref": "1120"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1123"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 258
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1130",
+ "kind": 27,
+ "id": {
+ "$id": "1131",
+ "kind": 3,
+ "sv": "value",
+ "pos": 5953,
+ "end": 5958,
+ "flags": 0,
+ "parent": {
+ "$ref": "1130"
+ },
+ "_id": 338
+ },
+ "type": {
+ "$id": "1132",
+ "kind": 44,
+ "target": {
+ "$id": "1133",
+ "kind": 45,
+ "target": {
+ "$id": "1134",
+ "kind": 3,
+ "sv": "integer",
+ "pos": 5968,
+ "end": 5975,
+ "flags": 1,
+ "parent": {
+ "$ref": "1133"
+ },
+ "_id": 340
+ },
+ "arguments": [],
+ "pos": 5968,
+ "end": 5975,
+ "flags": 1,
+ "parent": {
+ "$ref": "1132"
+ },
+ "_id": 339
+ },
+ "pos": 5960,
+ "end": 5975,
+ "flags": 0,
+ "parent": {
+ "$ref": "1130"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 5953,
+ "end": 5975,
+ "flags": 0,
+ "parent": {
+ "$ref": "1120"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1130"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 259
+ }
+ }
+ ],
+ "pos": 5714,
+ "end": 5977,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1135",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1136",
+ "kind": 52,
+ "text": "Specify the minimum length this string type should be.",
+ "pos": 5717,
+ "end": 5779,
+ "flags": 0,
+ "parent": {
+ "$ref": "1135"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1137",
+ "kind": 53,
+ "tagName": {
+ "$id": "1138",
+ "kind": 3,
+ "sv": "param",
+ "pos": 5780,
+ "end": 5785,
+ "flags": 0,
+ "parent": {
+ "$ref": "1137"
+ }
+ },
+ "paramName": {
+ "$id": "1139",
+ "kind": 3,
+ "sv": "value",
+ "pos": 5786,
+ "end": 5791,
+ "flags": 0,
+ "parent": {
+ "$ref": "1137"
+ }
+ },
+ "content": [
+ {
+ "$id": "1140",
+ "kind": 52,
+ "text": "Minimum length",
+ "pos": 5792,
+ "end": 5813,
+ "flags": 0,
+ "parent": {
+ "$ref": "1137"
+ }
+ }
+ ],
+ "pos": 5779,
+ "end": 5813,
+ "flags": 0,
+ "parent": {
+ "$ref": "1135"
+ }
+ },
+ {
+ "$id": "1141",
+ "kind": 58,
+ "tagName": {
+ "$id": "1142",
+ "kind": 3,
+ "sv": "example",
+ "pos": 5814,
+ "end": 5821,
+ "flags": 0,
+ "parent": {
+ "$ref": "1141"
+ }
+ },
+ "content": [
+ {
+ "$id": "1143",
+ "kind": 52,
+ "text": "```typespec\n@minLength(2)\nscalar Username extends string;\n```",
+ "pos": 5821,
+ "end": 5897,
+ "flags": 0,
+ "parent": {
+ "$ref": "1141"
+ }
+ }
+ ],
+ "pos": 5813,
+ "end": 5897,
+ "flags": 0,
+ "parent": {
+ "$ref": "1135"
+ }
+ }
+ ],
+ "pos": 5714,
+ "end": 5899,
+ "flags": 0,
+ "parent": {
+ "$ref": "1120"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1120"
+ }
+ ],
+ "name": "@minLength",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1144",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1145",
+ "kind": 40,
+ "pos": 6166,
+ "end": 6172,
+ "flags": 0,
+ "parent": {
+ "$ref": "1144"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1146",
+ "kind": 3,
+ "sv": "maxLength",
+ "pos": 6177,
+ "end": 6186,
+ "flags": 0,
+ "parent": {
+ "$ref": "1144"
+ },
+ "_id": 341
+ },
+ "target": {
+ "$id": "1147",
+ "kind": 27,
+ "id": {
+ "$id": "1148",
+ "kind": 3,
+ "sv": "target",
+ "pos": 6187,
+ "end": 6193,
+ "flags": 0,
+ "parent": {
+ "$ref": "1147"
+ },
+ "_id": 342
+ },
+ "type": {
+ "$id": "1149",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1150",
+ "kind": 45,
+ "target": {
+ "$id": "1151",
+ "kind": 3,
+ "sv": "string",
+ "pos": 6195,
+ "end": 6201,
+ "flags": 1,
+ "parent": {
+ "$ref": "1150"
+ },
+ "_id": 344
+ },
+ "arguments": [],
+ "pos": 6195,
+ "end": 6201,
+ "flags": 1,
+ "parent": {
+ "$ref": "1149"
+ },
+ "_id": 343
+ },
+ {
+ "$id": "1152",
+ "kind": 45,
+ "target": {
+ "$id": "1153",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 6204,
+ "end": 6217,
+ "flags": 1,
+ "parent": {
+ "$ref": "1152"
+ },
+ "_id": 346
+ },
+ "arguments": [],
+ "pos": 6204,
+ "end": 6217,
+ "flags": 1,
+ "parent": {
+ "$ref": "1149"
+ },
+ "_id": 345
+ }
+ ],
+ "pos": 6195,
+ "end": 6217,
+ "flags": 0,
+ "parent": {
+ "$ref": "1147"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 6187,
+ "end": 6217,
+ "flags": 0,
+ "parent": {
+ "$ref": "1144"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1147"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 261
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1154",
+ "kind": 27,
+ "id": {
+ "$id": "1155",
+ "kind": 3,
+ "sv": "value",
+ "pos": 6219,
+ "end": 6224,
+ "flags": 0,
+ "parent": {
+ "$ref": "1154"
+ },
+ "_id": 347
+ },
+ "type": {
+ "$id": "1156",
+ "kind": 44,
+ "target": {
+ "$id": "1157",
+ "kind": 45,
+ "target": {
+ "$id": "1158",
+ "kind": 3,
+ "sv": "integer",
+ "pos": 6234,
+ "end": 6241,
+ "flags": 1,
+ "parent": {
+ "$ref": "1157"
+ },
+ "_id": 349
+ },
+ "arguments": [],
+ "pos": 6234,
+ "end": 6241,
+ "flags": 1,
+ "parent": {
+ "$ref": "1156"
+ },
+ "_id": 348
+ },
+ "pos": 6226,
+ "end": 6241,
+ "flags": 0,
+ "parent": {
+ "$ref": "1154"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 6219,
+ "end": 6241,
+ "flags": 0,
+ "parent": {
+ "$ref": "1144"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1154"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 262
+ }
+ }
+ ],
+ "pos": 5979,
+ "end": 6243,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1159",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1160",
+ "kind": 52,
+ "text": "Specify the maximum length this string type should be.",
+ "pos": 5982,
+ "end": 6044,
+ "flags": 0,
+ "parent": {
+ "$ref": "1159"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1161",
+ "kind": 53,
+ "tagName": {
+ "$id": "1162",
+ "kind": 3,
+ "sv": "param",
+ "pos": 6045,
+ "end": 6050,
+ "flags": 0,
+ "parent": {
+ "$ref": "1161"
+ }
+ },
+ "paramName": {
+ "$id": "1163",
+ "kind": 3,
+ "sv": "value",
+ "pos": 6051,
+ "end": 6056,
+ "flags": 0,
+ "parent": {
+ "$ref": "1161"
+ }
+ },
+ "content": [
+ {
+ "$id": "1164",
+ "kind": 52,
+ "text": "Maximum length",
+ "pos": 6057,
+ "end": 6078,
+ "flags": 0,
+ "parent": {
+ "$ref": "1161"
+ }
+ }
+ ],
+ "pos": 6044,
+ "end": 6078,
+ "flags": 0,
+ "parent": {
+ "$ref": "1159"
+ }
+ },
+ {
+ "$id": "1165",
+ "kind": 58,
+ "tagName": {
+ "$id": "1166",
+ "kind": 3,
+ "sv": "example",
+ "pos": 6079,
+ "end": 6086,
+ "flags": 0,
+ "parent": {
+ "$ref": "1165"
+ }
+ },
+ "content": [
+ {
+ "$id": "1167",
+ "kind": 52,
+ "text": "```typespec\n@maxLength(20)\nscalar Username extends string;\n```",
+ "pos": 6086,
+ "end": 6163,
+ "flags": 0,
+ "parent": {
+ "$ref": "1165"
+ }
+ }
+ ],
+ "pos": 6078,
+ "end": 6163,
+ "flags": 0,
+ "parent": {
+ "$ref": "1159"
+ }
+ }
+ ],
+ "pos": 5979,
+ "end": 6165,
+ "flags": 0,
+ "parent": {
+ "$ref": "1144"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1144"
+ }
+ ],
+ "name": "@maxLength",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1168",
+ "kind": 24,
+ "id": {
+ "$id": "1169",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 6291,
+ "end": 6310,
+ "flags": 0,
+ "parent": {
+ "$ref": "1168"
+ },
+ "_id": 350
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "value": {
+ "$id": "1170",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1171",
+ "kind": 45,
+ "target": {
+ "$id": "1172",
+ "kind": 3,
+ "sv": "numeric",
+ "pos": 6317,
+ "end": 6324,
+ "flags": 1,
+ "parent": {
+ "$ref": "1171"
+ },
+ "_id": 352
+ },
+ "arguments": [],
+ "pos": 6317,
+ "end": 6324,
+ "flags": 1,
+ "parent": {
+ "$ref": "1170"
+ },
+ "_id": 351
+ },
+ {
+ "$id": "1173",
+ "kind": 45,
+ "target": {
+ "$id": "1174",
+ "kind": 3,
+ "sv": "utcDateTime",
+ "pos": 6329,
+ "end": 6340,
+ "flags": 1,
+ "parent": {
+ "$ref": "1173"
+ },
+ "_id": 354
+ },
+ "arguments": [],
+ "pos": 6329,
+ "end": 6340,
+ "flags": 1,
+ "parent": {
+ "$ref": "1170"
+ },
+ "_id": 353
+ },
+ {
+ "$id": "1175",
+ "kind": 45,
+ "target": {
+ "$id": "1176",
+ "kind": 3,
+ "sv": "offsetDateTime",
+ "pos": 6345,
+ "end": 6359,
+ "flags": 1,
+ "parent": {
+ "$ref": "1175"
+ },
+ "_id": 356
+ },
+ "arguments": [],
+ "pos": 6345,
+ "end": 6359,
+ "flags": 1,
+ "parent": {
+ "$ref": "1170"
+ },
+ "_id": 355
+ },
+ {
+ "$id": "1177",
+ "kind": 45,
+ "target": {
+ "$id": "1178",
+ "kind": 3,
+ "sv": "plainDate",
+ "pos": 6364,
+ "end": 6373,
+ "flags": 1,
+ "parent": {
+ "$ref": "1177"
+ },
+ "_id": 358
+ },
+ "arguments": [],
+ "pos": 6364,
+ "end": 6373,
+ "flags": 1,
+ "parent": {
+ "$ref": "1170"
+ },
+ "_id": 357
+ },
+ {
+ "$id": "1179",
+ "kind": 45,
+ "target": {
+ "$id": "1180",
+ "kind": 3,
+ "sv": "plainTime",
+ "pos": 6378,
+ "end": 6387,
+ "flags": 1,
+ "parent": {
+ "$ref": "1179"
+ },
+ "_id": 360
+ },
+ "arguments": [],
+ "pos": 6378,
+ "end": 6387,
+ "flags": 1,
+ "parent": {
+ "$ref": "1170"
+ },
+ "_id": 359
+ },
+ {
+ "$id": "1181",
+ "kind": 45,
+ "target": {
+ "$id": "1182",
+ "kind": 3,
+ "sv": "duration",
+ "pos": 6392,
+ "end": 6400,
+ "flags": 1,
+ "parent": {
+ "$ref": "1181"
+ },
+ "_id": 362
+ },
+ "arguments": [],
+ "pos": 6392,
+ "end": 6400,
+ "flags": 1,
+ "parent": {
+ "$ref": "1170"
+ },
+ "_id": 361
+ }
+ ],
+ "pos": 6315,
+ "end": 6400,
+ "flags": 0,
+ "parent": {
+ "$ref": "1168"
+ }
+ },
+ "pos": 6245,
+ "end": 6401,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1183",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1184",
+ "kind": 52,
+ "text": "Types that can have range limits",
+ "pos": 6248,
+ "end": 6282,
+ "flags": 0,
+ "parent": {
+ "$ref": "1183"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 6245,
+ "end": 6284,
+ "flags": 0,
+ "parent": {
+ "$ref": "1168"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1168"
+ }
+ ],
+ "name": "RangeLimitableTypes",
+ "flags": 1048704,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 63
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "1185",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1186",
+ "kind": 40,
+ "pos": 6590,
+ "end": 6596,
+ "flags": 0,
+ "parent": {
+ "$ref": "1185"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1187",
+ "kind": 3,
+ "sv": "minItems",
+ "pos": 6601,
+ "end": 6609,
+ "flags": 0,
+ "parent": {
+ "$ref": "1185"
+ },
+ "_id": 363
+ },
+ "target": {
+ "$id": "1188",
+ "kind": 27,
+ "id": {
+ "$id": "1189",
+ "kind": 3,
+ "sv": "target",
+ "pos": 6610,
+ "end": 6616,
+ "flags": 0,
+ "parent": {
+ "$ref": "1188"
+ },
+ "_id": 364
+ },
+ "type": {
+ "$id": "1190",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1191",
+ "kind": 31,
+ "elementType": {
+ "$id": "1192",
+ "kind": 43,
+ "pos": 6618,
+ "end": 6625,
+ "flags": 0,
+ "parent": {
+ "$ref": "1191"
+ }
+ },
+ "pos": 6618,
+ "end": 6627,
+ "flags": 0,
+ "parent": {
+ "$ref": "1190"
+ }
+ },
+ {
+ "$id": "1193",
+ "kind": 45,
+ "target": {
+ "$id": "1194",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 6630,
+ "end": 6643,
+ "flags": 1,
+ "parent": {
+ "$ref": "1193"
+ },
+ "_id": 366
+ },
+ "arguments": [],
+ "pos": 6630,
+ "end": 6643,
+ "flags": 1,
+ "parent": {
+ "$ref": "1190"
+ },
+ "_id": 365
+ }
+ ],
+ "pos": 6618,
+ "end": 6643,
+ "flags": 0,
+ "parent": {
+ "$ref": "1188"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 6610,
+ "end": 6643,
+ "flags": 0,
+ "parent": {
+ "$ref": "1185"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1188"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 264
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1195",
+ "kind": 27,
+ "id": {
+ "$id": "1196",
+ "kind": 3,
+ "sv": "value",
+ "pos": 6645,
+ "end": 6650,
+ "flags": 0,
+ "parent": {
+ "$ref": "1195"
+ },
+ "_id": 367
+ },
+ "type": {
+ "$id": "1197",
+ "kind": 44,
+ "target": {
+ "$id": "1198",
+ "kind": 45,
+ "target": {
+ "$id": "1199",
+ "kind": 3,
+ "sv": "integer",
+ "pos": 6660,
+ "end": 6667,
+ "flags": 1,
+ "parent": {
+ "$ref": "1198"
+ },
+ "_id": 369
+ },
+ "arguments": [],
+ "pos": 6660,
+ "end": 6667,
+ "flags": 1,
+ "parent": {
+ "$ref": "1197"
+ },
+ "_id": 368
+ },
+ "pos": 6652,
+ "end": 6667,
+ "flags": 0,
+ "parent": {
+ "$ref": "1195"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 6645,
+ "end": 6667,
+ "flags": 0,
+ "parent": {
+ "$ref": "1185"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1195"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 265
+ }
+ }
+ ],
+ "pos": 6403,
+ "end": 6669,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1200",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1201",
+ "kind": 52,
+ "text": "Specify the minimum number of items this array should have.",
+ "pos": 6406,
+ "end": 6473,
+ "flags": 0,
+ "parent": {
+ "$ref": "1200"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1202",
+ "kind": 53,
+ "tagName": {
+ "$id": "1203",
+ "kind": 3,
+ "sv": "param",
+ "pos": 6474,
+ "end": 6479,
+ "flags": 0,
+ "parent": {
+ "$ref": "1202"
+ }
+ },
+ "paramName": {
+ "$id": "1204",
+ "kind": 3,
+ "sv": "value",
+ "pos": 6480,
+ "end": 6485,
+ "flags": 0,
+ "parent": {
+ "$ref": "1202"
+ }
+ },
+ "content": [
+ {
+ "$id": "1205",
+ "kind": 52,
+ "text": "Minimum number",
+ "pos": 6486,
+ "end": 6507,
+ "flags": 0,
+ "parent": {
+ "$ref": "1202"
+ }
+ }
+ ],
+ "pos": 6473,
+ "end": 6507,
+ "flags": 0,
+ "parent": {
+ "$ref": "1200"
+ }
+ },
+ {
+ "$id": "1206",
+ "kind": 58,
+ "tagName": {
+ "$id": "1207",
+ "kind": 3,
+ "sv": "example",
+ "pos": 6508,
+ "end": 6515,
+ "flags": 0,
+ "parent": {
+ "$ref": "1206"
+ }
+ },
+ "content": [
+ {
+ "$id": "1208",
+ "kind": 52,
+ "text": "```typespec\n@minItems(1)\nmodel Endpoints is string[];\n```",
+ "pos": 6515,
+ "end": 6587,
+ "flags": 0,
+ "parent": {
+ "$ref": "1206"
+ }
+ }
+ ],
+ "pos": 6507,
+ "end": 6587,
+ "flags": 0,
+ "parent": {
+ "$ref": "1200"
+ }
+ }
+ ],
+ "pos": 6403,
+ "end": 6589,
+ "flags": 0,
+ "parent": {
+ "$ref": "1185"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1185"
+ }
+ ],
+ "name": "@minItems",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1209",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1210",
+ "kind": 40,
+ "pos": 6858,
+ "end": 6864,
+ "flags": 0,
+ "parent": {
+ "$ref": "1209"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1211",
+ "kind": 3,
+ "sv": "maxItems",
+ "pos": 6869,
+ "end": 6877,
+ "flags": 0,
+ "parent": {
+ "$ref": "1209"
+ },
+ "_id": 370
+ },
+ "target": {
+ "$id": "1212",
+ "kind": 27,
+ "id": {
+ "$id": "1213",
+ "kind": 3,
+ "sv": "target",
+ "pos": 6878,
+ "end": 6884,
+ "flags": 0,
+ "parent": {
+ "$ref": "1212"
+ },
+ "_id": 371
+ },
+ "type": {
+ "$id": "1214",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1215",
+ "kind": 31,
+ "elementType": {
+ "$id": "1216",
+ "kind": 43,
+ "pos": 6886,
+ "end": 6893,
+ "flags": 0,
+ "parent": {
+ "$ref": "1215"
+ }
+ },
+ "pos": 6886,
+ "end": 6895,
+ "flags": 0,
+ "parent": {
+ "$ref": "1214"
+ }
+ },
+ {
+ "$id": "1217",
+ "kind": 45,
+ "target": {
+ "$id": "1218",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 6898,
+ "end": 6911,
+ "flags": 1,
+ "parent": {
+ "$ref": "1217"
+ },
+ "_id": 373
+ },
+ "arguments": [],
+ "pos": 6898,
+ "end": 6911,
+ "flags": 1,
+ "parent": {
+ "$ref": "1214"
+ },
+ "_id": 372
+ }
+ ],
+ "pos": 6886,
+ "end": 6911,
+ "flags": 0,
+ "parent": {
+ "$ref": "1212"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 6878,
+ "end": 6911,
+ "flags": 0,
+ "parent": {
+ "$ref": "1209"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1212"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 267
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1219",
+ "kind": 27,
+ "id": {
+ "$id": "1220",
+ "kind": 3,
+ "sv": "value",
+ "pos": 6913,
+ "end": 6918,
+ "flags": 0,
+ "parent": {
+ "$ref": "1219"
+ },
+ "_id": 374
+ },
+ "type": {
+ "$id": "1221",
+ "kind": 44,
+ "target": {
+ "$id": "1222",
+ "kind": 45,
+ "target": {
+ "$id": "1223",
+ "kind": 3,
+ "sv": "integer",
+ "pos": 6928,
+ "end": 6935,
+ "flags": 1,
+ "parent": {
+ "$ref": "1222"
+ },
+ "_id": 376
+ },
+ "arguments": [],
+ "pos": 6928,
+ "end": 6935,
+ "flags": 1,
+ "parent": {
+ "$ref": "1221"
+ },
+ "_id": 375
+ },
+ "pos": 6920,
+ "end": 6935,
+ "flags": 0,
+ "parent": {
+ "$ref": "1219"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 6913,
+ "end": 6935,
+ "flags": 0,
+ "parent": {
+ "$ref": "1209"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1219"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 268
+ }
+ }
+ ],
+ "pos": 6671,
+ "end": 6937,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1224",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1225",
+ "kind": 52,
+ "text": "Specify the maximum number of items this array should have.",
+ "pos": 6674,
+ "end": 6741,
+ "flags": 0,
+ "parent": {
+ "$ref": "1224"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1226",
+ "kind": 53,
+ "tagName": {
+ "$id": "1227",
+ "kind": 3,
+ "sv": "param",
+ "pos": 6742,
+ "end": 6747,
+ "flags": 0,
+ "parent": {
+ "$ref": "1226"
+ }
+ },
+ "paramName": {
+ "$id": "1228",
+ "kind": 3,
+ "sv": "value",
+ "pos": 6748,
+ "end": 6753,
+ "flags": 0,
+ "parent": {
+ "$ref": "1226"
+ }
+ },
+ "content": [
+ {
+ "$id": "1229",
+ "kind": 52,
+ "text": "Maximum number",
+ "pos": 6754,
+ "end": 6775,
+ "flags": 0,
+ "parent": {
+ "$ref": "1226"
+ }
+ }
+ ],
+ "pos": 6741,
+ "end": 6775,
+ "flags": 0,
+ "parent": {
+ "$ref": "1224"
+ }
+ },
+ {
+ "$id": "1230",
+ "kind": 58,
+ "tagName": {
+ "$id": "1231",
+ "kind": 3,
+ "sv": "example",
+ "pos": 6776,
+ "end": 6783,
+ "flags": 0,
+ "parent": {
+ "$ref": "1230"
+ }
+ },
+ "content": [
+ {
+ "$id": "1232",
+ "kind": 52,
+ "text": "```typespec\n@maxItems(5)\nmodel Endpoints is string[];\n```",
+ "pos": 6783,
+ "end": 6855,
+ "flags": 0,
+ "parent": {
+ "$ref": "1230"
+ }
+ }
+ ],
+ "pos": 6775,
+ "end": 6855,
+ "flags": 0,
+ "parent": {
+ "$ref": "1224"
+ }
+ }
+ ],
+ "pos": 6671,
+ "end": 6857,
+ "flags": 0,
+ "parent": {
+ "$ref": "1209"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1209"
+ }
+ ],
+ "name": "@maxItems",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1233",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1234",
+ "kind": 40,
+ "pos": 7113,
+ "end": 7119,
+ "flags": 0,
+ "parent": {
+ "$ref": "1233"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1235",
+ "kind": 3,
+ "sv": "minValue",
+ "pos": 7124,
+ "end": 7132,
+ "flags": 0,
+ "parent": {
+ "$ref": "1233"
+ },
+ "_id": 377
+ },
+ "target": {
+ "$id": "1236",
+ "kind": 27,
+ "id": {
+ "$id": "1237",
+ "kind": 3,
+ "sv": "target",
+ "pos": 7136,
+ "end": 7142,
+ "flags": 0,
+ "parent": {
+ "$ref": "1236"
+ },
+ "_id": 378
+ },
+ "type": {
+ "$id": "1238",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1239",
+ "kind": 45,
+ "target": {
+ "$id": "1240",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 7144,
+ "end": 7163,
+ "flags": 1,
+ "parent": {
+ "$ref": "1239"
+ },
+ "_id": 380
+ },
+ "arguments": [],
+ "pos": 7144,
+ "end": 7163,
+ "flags": 1,
+ "parent": {
+ "$ref": "1238"
+ },
+ "_id": 379
+ },
+ {
+ "$id": "1241",
+ "kind": 45,
+ "target": {
+ "$id": "1242",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 7166,
+ "end": 7179,
+ "flags": 1,
+ "parent": {
+ "$ref": "1241"
+ },
+ "_id": 382
+ },
+ "arguments": [],
+ "pos": 7166,
+ "end": 7179,
+ "flags": 1,
+ "parent": {
+ "$ref": "1238"
+ },
+ "_id": 381
+ }
+ ],
+ "pos": 7144,
+ "end": 7179,
+ "flags": 0,
+ "parent": {
+ "$ref": "1236"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 7136,
+ "end": 7179,
+ "flags": 0,
+ "parent": {
+ "$ref": "1233"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1236"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 270
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1243",
+ "kind": 27,
+ "id": {
+ "$id": "1244",
+ "kind": 3,
+ "sv": "value",
+ "pos": 7183,
+ "end": 7188,
+ "flags": 0,
+ "parent": {
+ "$ref": "1243"
+ },
+ "_id": 383
+ },
+ "type": {
+ "$id": "1245",
+ "kind": 44,
+ "target": {
+ "$id": "1246",
+ "kind": 45,
+ "target": {
+ "$id": "1247",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 7198,
+ "end": 7217,
+ "flags": 1,
+ "parent": {
+ "$ref": "1246"
+ },
+ "_id": 385
+ },
+ "arguments": [],
+ "pos": 7198,
+ "end": 7217,
+ "flags": 1,
+ "parent": {
+ "$ref": "1245"
+ },
+ "_id": 384
+ },
+ "pos": 7190,
+ "end": 7217,
+ "flags": 0,
+ "parent": {
+ "$ref": "1243"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 7183,
+ "end": 7217,
+ "flags": 0,
+ "parent": {
+ "$ref": "1233"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1243"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 271
+ }
+ }
+ ],
+ "pos": 6939,
+ "end": 7220,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1248",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1249",
+ "kind": 52,
+ "text": "Specify the minimum value this numeric type should be.",
+ "pos": 6942,
+ "end": 7004,
+ "flags": 0,
+ "parent": {
+ "$ref": "1248"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1250",
+ "kind": 53,
+ "tagName": {
+ "$id": "1251",
+ "kind": 3,
+ "sv": "param",
+ "pos": 7005,
+ "end": 7010,
+ "flags": 0,
+ "parent": {
+ "$ref": "1250"
+ }
+ },
+ "paramName": {
+ "$id": "1252",
+ "kind": 3,
+ "sv": "value",
+ "pos": 7011,
+ "end": 7016,
+ "flags": 0,
+ "parent": {
+ "$ref": "1250"
+ }
+ },
+ "content": [
+ {
+ "$id": "1253",
+ "kind": 52,
+ "text": "Minimum value",
+ "pos": 7017,
+ "end": 7037,
+ "flags": 0,
+ "parent": {
+ "$ref": "1250"
+ }
+ }
+ ],
+ "pos": 7004,
+ "end": 7037,
+ "flags": 0,
+ "parent": {
+ "$ref": "1248"
+ }
+ },
+ {
+ "$id": "1254",
+ "kind": 58,
+ "tagName": {
+ "$id": "1255",
+ "kind": 3,
+ "sv": "example",
+ "pos": 7038,
+ "end": 7045,
+ "flags": 0,
+ "parent": {
+ "$ref": "1254"
+ }
+ },
+ "content": [
+ {
+ "$id": "1256",
+ "kind": 52,
+ "text": "```typespec\n@minValue(18)\nscalar Age is int32;\n```",
+ "pos": 7045,
+ "end": 7110,
+ "flags": 0,
+ "parent": {
+ "$ref": "1254"
+ }
+ }
+ ],
+ "pos": 7037,
+ "end": 7110,
+ "flags": 0,
+ "parent": {
+ "$ref": "1248"
+ }
+ }
+ ],
+ "pos": 6939,
+ "end": 7112,
+ "flags": 0,
+ "parent": {
+ "$ref": "1233"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1233"
+ }
+ ],
+ "name": "@minValue",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1257",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1258",
+ "kind": 40,
+ "pos": 7397,
+ "end": 7403,
+ "flags": 0,
+ "parent": {
+ "$ref": "1257"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1259",
+ "kind": 3,
+ "sv": "maxValue",
+ "pos": 7408,
+ "end": 7416,
+ "flags": 0,
+ "parent": {
+ "$ref": "1257"
+ },
+ "_id": 386
+ },
+ "target": {
+ "$id": "1260",
+ "kind": 27,
+ "id": {
+ "$id": "1261",
+ "kind": 3,
+ "sv": "target",
+ "pos": 7420,
+ "end": 7426,
+ "flags": 0,
+ "parent": {
+ "$ref": "1260"
+ },
+ "_id": 387
+ },
+ "type": {
+ "$id": "1262",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1263",
+ "kind": 45,
+ "target": {
+ "$id": "1264",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 7428,
+ "end": 7447,
+ "flags": 1,
+ "parent": {
+ "$ref": "1263"
+ },
+ "_id": 389
+ },
+ "arguments": [],
+ "pos": 7428,
+ "end": 7447,
+ "flags": 1,
+ "parent": {
+ "$ref": "1262"
+ },
+ "_id": 388
+ },
+ {
+ "$id": "1265",
+ "kind": 45,
+ "target": {
+ "$id": "1266",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 7450,
+ "end": 7463,
+ "flags": 1,
+ "parent": {
+ "$ref": "1265"
+ },
+ "_id": 391
+ },
+ "arguments": [],
+ "pos": 7450,
+ "end": 7463,
+ "flags": 1,
+ "parent": {
+ "$ref": "1262"
+ },
+ "_id": 390
+ }
+ ],
+ "pos": 7428,
+ "end": 7463,
+ "flags": 0,
+ "parent": {
+ "$ref": "1260"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 7420,
+ "end": 7463,
+ "flags": 0,
+ "parent": {
+ "$ref": "1257"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1260"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 273
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1267",
+ "kind": 27,
+ "id": {
+ "$id": "1268",
+ "kind": 3,
+ "sv": "value",
+ "pos": 7467,
+ "end": 7472,
+ "flags": 0,
+ "parent": {
+ "$ref": "1267"
+ },
+ "_id": 392
+ },
+ "type": {
+ "$id": "1269",
+ "kind": 44,
+ "target": {
+ "$id": "1270",
+ "kind": 45,
+ "target": {
+ "$id": "1271",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 7482,
+ "end": 7501,
+ "flags": 1,
+ "parent": {
+ "$ref": "1270"
+ },
+ "_id": 394
+ },
+ "arguments": [],
+ "pos": 7482,
+ "end": 7501,
+ "flags": 1,
+ "parent": {
+ "$ref": "1269"
+ },
+ "_id": 393
+ },
+ "pos": 7474,
+ "end": 7501,
+ "flags": 0,
+ "parent": {
+ "$ref": "1267"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 7467,
+ "end": 7501,
+ "flags": 0,
+ "parent": {
+ "$ref": "1257"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1267"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 274
+ }
+ }
+ ],
+ "pos": 7222,
+ "end": 7504,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1272",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1273",
+ "kind": 52,
+ "text": "Specify the maximum value this numeric type should be.",
+ "pos": 7225,
+ "end": 7287,
+ "flags": 0,
+ "parent": {
+ "$ref": "1272"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1274",
+ "kind": 53,
+ "tagName": {
+ "$id": "1275",
+ "kind": 3,
+ "sv": "param",
+ "pos": 7288,
+ "end": 7293,
+ "flags": 0,
+ "parent": {
+ "$ref": "1274"
+ }
+ },
+ "paramName": {
+ "$id": "1276",
+ "kind": 3,
+ "sv": "value",
+ "pos": 7294,
+ "end": 7299,
+ "flags": 0,
+ "parent": {
+ "$ref": "1274"
+ }
+ },
+ "content": [
+ {
+ "$id": "1277",
+ "kind": 52,
+ "text": "Maximum value",
+ "pos": 7300,
+ "end": 7320,
+ "flags": 0,
+ "parent": {
+ "$ref": "1274"
+ }
+ }
+ ],
+ "pos": 7287,
+ "end": 7320,
+ "flags": 0,
+ "parent": {
+ "$ref": "1272"
+ }
+ },
+ {
+ "$id": "1278",
+ "kind": 58,
+ "tagName": {
+ "$id": "1279",
+ "kind": 3,
+ "sv": "example",
+ "pos": 7321,
+ "end": 7328,
+ "flags": 0,
+ "parent": {
+ "$ref": "1278"
+ }
+ },
+ "content": [
+ {
+ "$id": "1280",
+ "kind": 52,
+ "text": "```typespec\n@maxValue(200)\nscalar Age is int32;\n```",
+ "pos": 7328,
+ "end": 7394,
+ "flags": 0,
+ "parent": {
+ "$ref": "1278"
+ }
+ }
+ ],
+ "pos": 7320,
+ "end": 7394,
+ "flags": 0,
+ "parent": {
+ "$ref": "1272"
+ }
+ }
+ ],
+ "pos": 7222,
+ "end": 7396,
+ "flags": 0,
+ "parent": {
+ "$ref": "1257"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1257"
+ }
+ ],
+ "name": "@maxValue",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1281",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1282",
+ "kind": 40,
+ "pos": 7728,
+ "end": 7734,
+ "flags": 0,
+ "parent": {
+ "$ref": "1281"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1283",
+ "kind": 3,
+ "sv": "minValueExclusive",
+ "pos": 7739,
+ "end": 7756,
+ "flags": 0,
+ "parent": {
+ "$ref": "1281"
+ },
+ "_id": 395
+ },
+ "target": {
+ "$id": "1284",
+ "kind": 27,
+ "id": {
+ "$id": "1285",
+ "kind": 3,
+ "sv": "target",
+ "pos": 7760,
+ "end": 7766,
+ "flags": 0,
+ "parent": {
+ "$ref": "1284"
+ },
+ "_id": 396
+ },
+ "type": {
+ "$id": "1286",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1287",
+ "kind": 45,
+ "target": {
+ "$id": "1288",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 7768,
+ "end": 7787,
+ "flags": 1,
+ "parent": {
+ "$ref": "1287"
+ },
+ "_id": 398
+ },
+ "arguments": [],
+ "pos": 7768,
+ "end": 7787,
+ "flags": 1,
+ "parent": {
+ "$ref": "1286"
+ },
+ "_id": 397
+ },
+ {
+ "$id": "1289",
+ "kind": 45,
+ "target": {
+ "$id": "1290",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 7790,
+ "end": 7803,
+ "flags": 1,
+ "parent": {
+ "$ref": "1289"
+ },
+ "_id": 400
+ },
+ "arguments": [],
+ "pos": 7790,
+ "end": 7803,
+ "flags": 1,
+ "parent": {
+ "$ref": "1286"
+ },
+ "_id": 399
+ }
+ ],
+ "pos": 7768,
+ "end": 7803,
+ "flags": 0,
+ "parent": {
+ "$ref": "1284"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 7760,
+ "end": 7803,
+ "flags": 0,
+ "parent": {
+ "$ref": "1281"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1284"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 276
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1291",
+ "kind": 27,
+ "id": {
+ "$id": "1292",
+ "kind": 3,
+ "sv": "value",
+ "pos": 7807,
+ "end": 7812,
+ "flags": 0,
+ "parent": {
+ "$ref": "1291"
+ },
+ "_id": 401
+ },
+ "type": {
+ "$id": "1293",
+ "kind": 44,
+ "target": {
+ "$id": "1294",
+ "kind": 45,
+ "target": {
+ "$id": "1295",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 7822,
+ "end": 7841,
+ "flags": 1,
+ "parent": {
+ "$ref": "1294"
+ },
+ "_id": 403
+ },
+ "arguments": [],
+ "pos": 7822,
+ "end": 7841,
+ "flags": 1,
+ "parent": {
+ "$ref": "1293"
+ },
+ "_id": 402
+ },
+ "pos": 7814,
+ "end": 7841,
+ "flags": 0,
+ "parent": {
+ "$ref": "1291"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 7807,
+ "end": 7841,
+ "flags": 0,
+ "parent": {
+ "$ref": "1281"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1291"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 277
+ }
+ }
+ ],
+ "pos": 7506,
+ "end": 7844,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1296",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1297",
+ "kind": 52,
+ "text": "Specify the minimum value this numeric type should be, exclusive of the given\nvalue.",
+ "pos": 7509,
+ "end": 7604,
+ "flags": 0,
+ "parent": {
+ "$ref": "1296"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1298",
+ "kind": 53,
+ "tagName": {
+ "$id": "1299",
+ "kind": 3,
+ "sv": "param",
+ "pos": 7605,
+ "end": 7610,
+ "flags": 0,
+ "parent": {
+ "$ref": "1298"
+ }
+ },
+ "paramName": {
+ "$id": "1300",
+ "kind": 3,
+ "sv": "value",
+ "pos": 7611,
+ "end": 7616,
+ "flags": 0,
+ "parent": {
+ "$ref": "1298"
+ }
+ },
+ "content": [
+ {
+ "$id": "1301",
+ "kind": 52,
+ "text": "Minimum value",
+ "pos": 7617,
+ "end": 7637,
+ "flags": 0,
+ "parent": {
+ "$ref": "1298"
+ }
+ }
+ ],
+ "pos": 7604,
+ "end": 7637,
+ "flags": 0,
+ "parent": {
+ "$ref": "1296"
+ }
+ },
+ {
+ "$id": "1302",
+ "kind": 58,
+ "tagName": {
+ "$id": "1303",
+ "kind": 3,
+ "sv": "example",
+ "pos": 7638,
+ "end": 7645,
+ "flags": 0,
+ "parent": {
+ "$ref": "1302"
+ }
+ },
+ "content": [
+ {
+ "$id": "1304",
+ "kind": 52,
+ "text": "```typespec\n@minValueExclusive(0)\nscalar distance is float64;\n```",
+ "pos": 7645,
+ "end": 7725,
+ "flags": 0,
+ "parent": {
+ "$ref": "1302"
+ }
+ }
+ ],
+ "pos": 7637,
+ "end": 7725,
+ "flags": 0,
+ "parent": {
+ "$ref": "1296"
+ }
+ }
+ ],
+ "pos": 7506,
+ "end": 7727,
+ "flags": 0,
+ "parent": {
+ "$ref": "1281"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1281"
+ }
+ ],
+ "name": "@minValueExclusive",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1305",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1306",
+ "kind": 40,
+ "pos": 8069,
+ "end": 8075,
+ "flags": 0,
+ "parent": {
+ "$ref": "1305"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1307",
+ "kind": 3,
+ "sv": "maxValueExclusive",
+ "pos": 8080,
+ "end": 8097,
+ "flags": 0,
+ "parent": {
+ "$ref": "1305"
+ },
+ "_id": 404
+ },
+ "target": {
+ "$id": "1308",
+ "kind": 27,
+ "id": {
+ "$id": "1309",
+ "kind": 3,
+ "sv": "target",
+ "pos": 8101,
+ "end": 8107,
+ "flags": 0,
+ "parent": {
+ "$ref": "1308"
+ },
+ "_id": 405
+ },
+ "type": {
+ "$id": "1310",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1311",
+ "kind": 45,
+ "target": {
+ "$id": "1312",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 8109,
+ "end": 8128,
+ "flags": 1,
+ "parent": {
+ "$ref": "1311"
+ },
+ "_id": 407
+ },
+ "arguments": [],
+ "pos": 8109,
+ "end": 8128,
+ "flags": 1,
+ "parent": {
+ "$ref": "1310"
+ },
+ "_id": 406
+ },
+ {
+ "$id": "1313",
+ "kind": 45,
+ "target": {
+ "$id": "1314",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 8131,
+ "end": 8144,
+ "flags": 1,
+ "parent": {
+ "$ref": "1313"
+ },
+ "_id": 409
+ },
+ "arguments": [],
+ "pos": 8131,
+ "end": 8144,
+ "flags": 1,
+ "parent": {
+ "$ref": "1310"
+ },
+ "_id": 408
+ }
+ ],
+ "pos": 8109,
+ "end": 8144,
+ "flags": 0,
+ "parent": {
+ "$ref": "1308"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 8101,
+ "end": 8144,
+ "flags": 0,
+ "parent": {
+ "$ref": "1305"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1308"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 279
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1315",
+ "kind": 27,
+ "id": {
+ "$id": "1316",
+ "kind": 3,
+ "sv": "value",
+ "pos": 8148,
+ "end": 8153,
+ "flags": 0,
+ "parent": {
+ "$ref": "1315"
+ },
+ "_id": 410
+ },
+ "type": {
+ "$id": "1317",
+ "kind": 44,
+ "target": {
+ "$id": "1318",
+ "kind": 45,
+ "target": {
+ "$id": "1319",
+ "kind": 3,
+ "sv": "RangeLimitableTypes",
+ "pos": 8163,
+ "end": 8182,
+ "flags": 1,
+ "parent": {
+ "$ref": "1318"
+ },
+ "_id": 412
+ },
+ "arguments": [],
+ "pos": 8163,
+ "end": 8182,
+ "flags": 1,
+ "parent": {
+ "$ref": "1317"
+ },
+ "_id": 411
+ },
+ "pos": 8155,
+ "end": 8182,
+ "flags": 0,
+ "parent": {
+ "$ref": "1315"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 8148,
+ "end": 8182,
+ "flags": 0,
+ "parent": {
+ "$ref": "1305"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1315"
+ }
+ ],
+ "name": "value",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 280
+ }
+ }
+ ],
+ "pos": 7846,
+ "end": 8185,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1320",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1321",
+ "kind": 52,
+ "text": "Specify the maximum value this numeric type should be, exclusive of the given\nvalue.",
+ "pos": 7849,
+ "end": 7944,
+ "flags": 0,
+ "parent": {
+ "$ref": "1320"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1322",
+ "kind": 53,
+ "tagName": {
+ "$id": "1323",
+ "kind": 3,
+ "sv": "param",
+ "pos": 7945,
+ "end": 7950,
+ "flags": 0,
+ "parent": {
+ "$ref": "1322"
+ }
+ },
+ "paramName": {
+ "$id": "1324",
+ "kind": 3,
+ "sv": "value",
+ "pos": 7951,
+ "end": 7956,
+ "flags": 0,
+ "parent": {
+ "$ref": "1322"
+ }
+ },
+ "content": [
+ {
+ "$id": "1325",
+ "kind": 52,
+ "text": "Maximum value",
+ "pos": 7957,
+ "end": 7977,
+ "flags": 0,
+ "parent": {
+ "$ref": "1322"
+ }
+ }
+ ],
+ "pos": 7944,
+ "end": 7977,
+ "flags": 0,
+ "parent": {
+ "$ref": "1320"
+ }
+ },
+ {
+ "$id": "1326",
+ "kind": 58,
+ "tagName": {
+ "$id": "1327",
+ "kind": 3,
+ "sv": "example",
+ "pos": 7978,
+ "end": 7985,
+ "flags": 0,
+ "parent": {
+ "$ref": "1326"
+ }
+ },
+ "content": [
+ {
+ "$id": "1328",
+ "kind": 52,
+ "text": "```typespec\n@maxValueExclusive(50)\nscalar distance is float64;\n```",
+ "pos": 7985,
+ "end": 8066,
+ "flags": 0,
+ "parent": {
+ "$ref": "1326"
+ }
+ }
+ ],
+ "pos": 7977,
+ "end": 8066,
+ "flags": 0,
+ "parent": {
+ "$ref": "1320"
+ }
+ }
+ ],
+ "pos": 7846,
+ "end": 8068,
+ "flags": 0,
+ "parent": {
+ "$ref": "1305"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1305"
+ }
+ ],
+ "name": "@maxValueExclusive",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1329",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1330",
+ "kind": 40,
+ "pos": 8361,
+ "end": 8367,
+ "flags": 0,
+ "parent": {
+ "$ref": "1329"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1331",
+ "kind": 3,
+ "sv": "secret",
+ "pos": 8372,
+ "end": 8378,
+ "flags": 0,
+ "parent": {
+ "$ref": "1329"
+ },
+ "_id": 413
+ },
+ "target": {
+ "$id": "1332",
+ "kind": 27,
+ "id": {
+ "$id": "1333",
+ "kind": 3,
+ "sv": "target",
+ "pos": 8379,
+ "end": 8385,
+ "flags": 0,
+ "parent": {
+ "$ref": "1332"
+ },
+ "_id": 414
+ },
+ "type": {
+ "$id": "1334",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1335",
+ "kind": 45,
+ "target": {
+ "$id": "1336",
+ "kind": 3,
+ "sv": "Scalar",
+ "pos": 8387,
+ "end": 8393,
+ "flags": 1,
+ "parent": {
+ "$ref": "1335"
+ },
+ "_id": 416
+ },
+ "arguments": [],
+ "pos": 8387,
+ "end": 8393,
+ "flags": 1,
+ "parent": {
+ "$ref": "1334"
+ },
+ "_id": 415
+ },
+ {
+ "$id": "1337",
+ "kind": 45,
+ "target": {
+ "$id": "1338",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 8396,
+ "end": 8409,
+ "flags": 1,
+ "parent": {
+ "$ref": "1337"
+ },
+ "_id": 418
+ },
+ "arguments": [],
+ "pos": 8396,
+ "end": 8409,
+ "flags": 1,
+ "parent": {
+ "$ref": "1334"
+ },
+ "_id": 417
+ },
+ {
+ "$id": "1339",
+ "kind": 45,
+ "target": {
+ "$id": "1340",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 8412,
+ "end": 8417,
+ "flags": 1,
+ "parent": {
+ "$ref": "1339"
+ },
+ "_id": 420
+ },
+ "arguments": [],
+ "pos": 8412,
+ "end": 8417,
+ "flags": 1,
+ "parent": {
+ "$ref": "1334"
+ },
+ "_id": 419
+ },
+ {
+ "$id": "1341",
+ "kind": 45,
+ "target": {
+ "$id": "1342",
+ "kind": 3,
+ "sv": "Union",
+ "pos": 8420,
+ "end": 8425,
+ "flags": 1,
+ "parent": {
+ "$ref": "1341"
+ },
+ "_id": 422
+ },
+ "arguments": [],
+ "pos": 8420,
+ "end": 8425,
+ "flags": 1,
+ "parent": {
+ "$ref": "1334"
+ },
+ "_id": 421
+ },
+ {
+ "$id": "1343",
+ "kind": 45,
+ "target": {
+ "$id": "1344",
+ "kind": 3,
+ "sv": "Enum",
+ "pos": 8428,
+ "end": 8432,
+ "flags": 1,
+ "parent": {
+ "$ref": "1343"
+ },
+ "_id": 424
+ },
+ "arguments": [],
+ "pos": 8428,
+ "end": 8432,
+ "flags": 1,
+ "parent": {
+ "$ref": "1334"
+ },
+ "_id": 423
+ }
+ ],
+ "pos": 8387,
+ "end": 8432,
+ "flags": 0,
+ "parent": {
+ "$ref": "1332"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 8379,
+ "end": 8432,
+ "flags": 0,
+ "parent": {
+ "$ref": "1329"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1332"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 282
+ }
+ },
+ "parameters": [],
+ "pos": 8187,
+ "end": 8434,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1345",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1346",
+ "kind": 52,
+ "text": "Mark this value as a secret value that should be treated carefully to avoid exposure",
+ "pos": 8190,
+ "end": 8285,
+ "flags": 0,
+ "parent": {
+ "$ref": "1345"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1347",
+ "kind": 58,
+ "tagName": {
+ "$id": "1348",
+ "kind": 3,
+ "sv": "example",
+ "pos": 8286,
+ "end": 8293,
+ "flags": 0,
+ "parent": {
+ "$ref": "1347"
+ }
+ },
+ "content": [
+ {
+ "$id": "1349",
+ "kind": 52,
+ "text": "```typespec\n@secret\nscalar Password is string;\n```",
+ "pos": 8293,
+ "end": 8358,
+ "flags": 0,
+ "parent": {
+ "$ref": "1347"
+ }
+ }
+ ],
+ "pos": 8285,
+ "end": 8358,
+ "flags": 0,
+ "parent": {
+ "$ref": "1345"
+ }
+ }
+ ],
+ "pos": 8187,
+ "end": 8360,
+ "flags": 0,
+ "parent": {
+ "$ref": "1329"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1329"
+ }
+ ],
+ "name": "@secret",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1350",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1351",
+ "kind": 40,
+ "pos": 8619,
+ "end": 8625,
+ "flags": 0,
+ "parent": {
+ "$ref": "1350"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1352",
+ "kind": 3,
+ "sv": "tag",
+ "pos": 8630,
+ "end": 8633,
+ "flags": 0,
+ "parent": {
+ "$ref": "1350"
+ },
+ "_id": 425
+ },
+ "target": {
+ "$id": "1353",
+ "kind": 27,
+ "id": {
+ "$id": "1354",
+ "kind": 3,
+ "sv": "target",
+ "pos": 8634,
+ "end": 8640,
+ "flags": 0,
+ "parent": {
+ "$ref": "1353"
+ },
+ "_id": 426
+ },
+ "type": {
+ "$id": "1355",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1356",
+ "kind": 45,
+ "target": {
+ "$id": "1357",
+ "kind": 3,
+ "sv": "Namespace",
+ "pos": 8642,
+ "end": 8651,
+ "flags": 1,
+ "parent": {
+ "$ref": "1356"
+ },
+ "_id": 428
+ },
+ "arguments": [],
+ "pos": 8642,
+ "end": 8651,
+ "flags": 1,
+ "parent": {
+ "$ref": "1355"
+ },
+ "_id": 427
+ },
+ {
+ "$id": "1358",
+ "kind": 45,
+ "target": {
+ "$id": "1359",
+ "kind": 3,
+ "sv": "Interface",
+ "pos": 8654,
+ "end": 8663,
+ "flags": 1,
+ "parent": {
+ "$ref": "1358"
+ },
+ "_id": 430
+ },
+ "arguments": [],
+ "pos": 8654,
+ "end": 8663,
+ "flags": 1,
+ "parent": {
+ "$ref": "1355"
+ },
+ "_id": 429
+ },
+ {
+ "$id": "1360",
+ "kind": 45,
+ "target": {
+ "$id": "1361",
+ "kind": 3,
+ "sv": "Operation",
+ "pos": 8666,
+ "end": 8675,
+ "flags": 1,
+ "parent": {
+ "$ref": "1360"
+ },
+ "_id": 433
+ },
+ "arguments": [],
+ "pos": 8666,
+ "end": 8675,
+ "flags": 1,
+ "parent": {
+ "$ref": "1355"
+ },
+ "_id": 432
+ }
+ ],
+ "pos": 8642,
+ "end": 8675,
+ "flags": 0,
+ "parent": {
+ "$ref": "1353"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 8634,
+ "end": 8675,
+ "flags": 0,
+ "parent": {
+ "$ref": "1350"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1353"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 284
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1362",
+ "kind": 27,
+ "id": {
+ "$id": "1363",
+ "kind": 3,
+ "sv": "tag",
+ "pos": 8677,
+ "end": 8680,
+ "flags": 0,
+ "parent": {
+ "$ref": "1362"
+ },
+ "_id": 434
+ },
+ "type": {
+ "$id": "1364",
+ "kind": 44,
+ "target": {
+ "$id": "1365",
+ "kind": 45,
+ "target": {
+ "$id": "1366",
+ "kind": 3,
+ "sv": "string",
+ "pos": 8690,
+ "end": 8696,
+ "flags": 1,
+ "parent": {
+ "$ref": "1365"
+ },
+ "_id": 436
+ },
+ "arguments": [],
+ "pos": 8690,
+ "end": 8696,
+ "flags": 1,
+ "parent": {
+ "$ref": "1364"
+ },
+ "_id": 435
+ },
+ "pos": 8682,
+ "end": 8696,
+ "flags": 0,
+ "parent": {
+ "$ref": "1362"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 8677,
+ "end": 8696,
+ "flags": 0,
+ "parent": {
+ "$ref": "1350"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1362"
+ }
+ ],
+ "name": "tag",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 285
+ }
+ }
+ ],
+ "pos": 8436,
+ "end": 8698,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1367",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1368",
+ "kind": 52,
+ "text": "Attaches a tag to an operation, interface, or namespace. Multiple `@tag` decorators can be specified to attach multiple tags to a TypeSpec element.",
+ "pos": 8439,
+ "end": 8594,
+ "flags": 0,
+ "parent": {
+ "$ref": "1367"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1369",
+ "kind": 53,
+ "tagName": {
+ "$id": "1370",
+ "kind": 3,
+ "sv": "param",
+ "pos": 8595,
+ "end": 8600,
+ "flags": 0,
+ "parent": {
+ "$ref": "1369"
+ }
+ },
+ "paramName": {
+ "$id": "1371",
+ "kind": 3,
+ "sv": "tag",
+ "pos": 8601,
+ "end": 8604,
+ "flags": 0,
+ "parent": {
+ "$ref": "1369"
+ }
+ },
+ "content": [
+ {
+ "$id": "1372",
+ "kind": 52,
+ "text": "Tag value",
+ "pos": 8605,
+ "end": 8616,
+ "flags": 0,
+ "parent": {
+ "$ref": "1369"
+ }
+ }
+ ],
+ "pos": 8594,
+ "end": 8616,
+ "flags": 0,
+ "parent": {
+ "$ref": "1367"
+ }
+ }
+ ],
+ "pos": 8436,
+ "end": 8618,
+ "flags": 0,
+ "parent": {
+ "$ref": "1350"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1350"
+ }
+ ],
+ "name": "@tag",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1373",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1374",
+ "kind": 40,
+ "pos": 9037,
+ "end": 9043,
+ "flags": 0,
+ "parent": {
+ "$ref": "1373"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1375",
+ "kind": 3,
+ "sv": "friendlyName",
+ "pos": 9048,
+ "end": 9060,
+ "flags": 0,
+ "parent": {
+ "$ref": "1373"
+ },
+ "_id": 437
+ },
+ "target": {
+ "$id": "1376",
+ "kind": 27,
+ "id": {
+ "$id": "1377",
+ "kind": 3,
+ "sv": "target",
+ "pos": 9061,
+ "end": 9067,
+ "flags": 0,
+ "parent": {
+ "$ref": "1376"
+ },
+ "_id": 438
+ },
+ "type": {
+ "$id": "1378",
+ "kind": 43,
+ "pos": 9069,
+ "end": 9076,
+ "flags": 0,
+ "parent": {
+ "$ref": "1376"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 9061,
+ "end": 9076,
+ "flags": 0,
+ "parent": {
+ "$ref": "1373"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1376"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 287
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1379",
+ "kind": 27,
+ "id": {
+ "$id": "1380",
+ "kind": 3,
+ "sv": "name",
+ "pos": 9078,
+ "end": 9082,
+ "flags": 0,
+ "parent": {
+ "$ref": "1379"
+ },
+ "_id": 439
+ },
+ "type": {
+ "$id": "1381",
+ "kind": 44,
+ "target": {
+ "$id": "1382",
+ "kind": 45,
+ "target": {
+ "$id": "1383",
+ "kind": 3,
+ "sv": "string",
+ "pos": 9092,
+ "end": 9098,
+ "flags": 1,
+ "parent": {
+ "$ref": "1382"
+ },
+ "_id": 441
+ },
+ "arguments": [],
+ "pos": 9092,
+ "end": 9098,
+ "flags": 1,
+ "parent": {
+ "$ref": "1381"
+ },
+ "_id": 440
+ },
+ "pos": 9084,
+ "end": 9098,
+ "flags": 0,
+ "parent": {
+ "$ref": "1379"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 9078,
+ "end": 9098,
+ "flags": 0,
+ "parent": {
+ "$ref": "1373"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1379"
+ }
+ ],
+ "name": "name",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 288
+ }
+ },
+ {
+ "$id": "1384",
+ "kind": 27,
+ "id": {
+ "$id": "1385",
+ "kind": 3,
+ "sv": "formatArgs",
+ "pos": 9100,
+ "end": 9110,
+ "flags": 0,
+ "parent": {
+ "$ref": "1384"
+ },
+ "_id": 442
+ },
+ "type": {
+ "$id": "1386",
+ "kind": 43,
+ "pos": 9113,
+ "end": 9120,
+ "flags": 0,
+ "parent": {
+ "$ref": "1384"
+ }
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 9100,
+ "end": 9120,
+ "flags": 0,
+ "parent": {
+ "$ref": "1373"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1384"
+ }
+ ],
+ "name": "formatArgs",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 289
+ }
+ }
+ ],
+ "pos": 8700,
+ "end": 9122,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1387",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1388",
+ "kind": 52,
+ "text": "Specifies how a templated type should name their instances.",
+ "pos": 8703,
+ "end": 8770,
+ "flags": 0,
+ "parent": {
+ "$ref": "1387"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1389",
+ "kind": 53,
+ "tagName": {
+ "$id": "1390",
+ "kind": 3,
+ "sv": "param",
+ "pos": 8771,
+ "end": 8776,
+ "flags": 0,
+ "parent": {
+ "$ref": "1389"
+ }
+ },
+ "paramName": {
+ "$id": "1391",
+ "kind": 3,
+ "sv": "name",
+ "pos": 8777,
+ "end": 8781,
+ "flags": 0,
+ "parent": {
+ "$ref": "1389"
+ }
+ },
+ "content": [
+ {
+ "$id": "1392",
+ "kind": 52,
+ "text": "name the template instance should take",
+ "pos": 8782,
+ "end": 8824,
+ "flags": 0,
+ "parent": {
+ "$ref": "1389"
+ }
+ }
+ ],
+ "pos": 8770,
+ "end": 8824,
+ "flags": 0,
+ "parent": {
+ "$ref": "1387"
+ }
+ },
+ {
+ "$id": "1393",
+ "kind": 53,
+ "tagName": {
+ "$id": "1394",
+ "kind": 3,
+ "sv": "param",
+ "pos": 8825,
+ "end": 8830,
+ "flags": 0,
+ "parent": {
+ "$ref": "1393"
+ }
+ },
+ "paramName": {
+ "$id": "1395",
+ "kind": 3,
+ "sv": "formatArgs",
+ "pos": 8831,
+ "end": 8841,
+ "flags": 0,
+ "parent": {
+ "$ref": "1393"
+ }
+ },
+ "content": [
+ {
+ "$id": "1396",
+ "kind": 52,
+ "text": "Model with key value used to interpolate the name",
+ "pos": 8842,
+ "end": 8898,
+ "flags": 0,
+ "parent": {
+ "$ref": "1393"
+ }
+ }
+ ],
+ "pos": 8824,
+ "end": 8898,
+ "flags": 0,
+ "parent": {
+ "$ref": "1387"
+ }
+ },
+ {
+ "$id": "1397",
+ "kind": 58,
+ "tagName": {
+ "$id": "1398",
+ "kind": 3,
+ "sv": "example",
+ "pos": 8899,
+ "end": 8906,
+ "flags": 0,
+ "parent": {
+ "$ref": "1397"
+ }
+ },
+ "content": [
+ {
+ "$id": "1399",
+ "kind": 52,
+ "text": "```typespec\n@friendlyName(\"{name}List\", T)\nmodel List- {\n value: Item[];\n nextLink: string;\n}\n```",
+ "pos": 8906,
+ "end": 9034,
+ "flags": 0,
+ "parent": {
+ "$ref": "1397"
+ }
+ }
+ ],
+ "pos": 8898,
+ "end": 9034,
+ "flags": 0,
+ "parent": {
+ "$ref": "1387"
+ }
+ }
+ ],
+ "pos": 8700,
+ "end": 9036,
+ "flags": 0,
+ "parent": {
+ "$ref": "1373"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1373"
+ }
+ ],
+ "name": "@friendlyName",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1400",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1401",
+ "kind": 40,
+ "pos": 9377,
+ "end": 9383,
+ "flags": 0,
+ "parent": {
+ "$ref": "1400"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1402",
+ "kind": 3,
+ "sv": "key",
+ "pos": 9388,
+ "end": 9391,
+ "flags": 0,
+ "parent": {
+ "$ref": "1400"
+ },
+ "_id": 443
+ },
+ "target": {
+ "$id": "1403",
+ "kind": 27,
+ "id": {
+ "$id": "1404",
+ "kind": 3,
+ "sv": "target",
+ "pos": 9392,
+ "end": 9398,
+ "flags": 0,
+ "parent": {
+ "$ref": "1403"
+ },
+ "_id": 444
+ },
+ "type": {
+ "$id": "1405",
+ "kind": 45,
+ "target": {
+ "$id": "1406",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 9400,
+ "end": 9413,
+ "flags": 1,
+ "parent": {
+ "$ref": "1405"
+ },
+ "_id": 446
+ },
+ "arguments": [],
+ "pos": 9400,
+ "end": 9413,
+ "flags": 1,
+ "parent": {
+ "$ref": "1403"
+ },
+ "_id": 445
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 9392,
+ "end": 9413,
+ "flags": 0,
+ "parent": {
+ "$ref": "1400"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1403"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 291
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1407",
+ "kind": 27,
+ "id": {
+ "$id": "1408",
+ "kind": 3,
+ "sv": "altName",
+ "pos": 9415,
+ "end": 9422,
+ "flags": 0,
+ "parent": {
+ "$ref": "1407"
+ },
+ "_id": 447
+ },
+ "type": {
+ "$id": "1409",
+ "kind": 44,
+ "target": {
+ "$id": "1410",
+ "kind": 45,
+ "target": {
+ "$id": "1411",
+ "kind": 3,
+ "sv": "string",
+ "pos": 9433,
+ "end": 9439,
+ "flags": 1,
+ "parent": {
+ "$ref": "1410"
+ },
+ "_id": 449
+ },
+ "arguments": [],
+ "pos": 9433,
+ "end": 9439,
+ "flags": 1,
+ "parent": {
+ "$ref": "1409"
+ },
+ "_id": 448
+ },
+ "pos": 9425,
+ "end": 9439,
+ "flags": 0,
+ "parent": {
+ "$ref": "1407"
+ }
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 9415,
+ "end": 9439,
+ "flags": 0,
+ "parent": {
+ "$ref": "1400"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1407"
+ }
+ ],
+ "name": "altName",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 292
+ }
+ }
+ ],
+ "pos": 9124,
+ "end": 9441,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1412",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1413",
+ "kind": 52,
+ "text": "Mark a model property as the key to identify instances of that type",
+ "pos": 9127,
+ "end": 9202,
+ "flags": 0,
+ "parent": {
+ "$ref": "1412"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1414",
+ "kind": 53,
+ "tagName": {
+ "$id": "1415",
+ "kind": 3,
+ "sv": "param",
+ "pos": 9203,
+ "end": 9208,
+ "flags": 0,
+ "parent": {
+ "$ref": "1414"
+ }
+ },
+ "paramName": {
+ "$id": "1416",
+ "kind": 3,
+ "sv": "altName",
+ "pos": 9209,
+ "end": 9216,
+ "flags": 0,
+ "parent": {
+ "$ref": "1414"
+ }
+ },
+ "content": [
+ {
+ "$id": "1417",
+ "kind": 52,
+ "text": "Name of the property. If not specified, the decorated property name is used.",
+ "pos": 9217,
+ "end": 9300,
+ "flags": 0,
+ "parent": {
+ "$ref": "1414"
+ }
+ }
+ ],
+ "pos": 9202,
+ "end": 9300,
+ "flags": 0,
+ "parent": {
+ "$ref": "1412"
+ }
+ },
+ {
+ "$id": "1418",
+ "kind": 58,
+ "tagName": {
+ "$id": "1419",
+ "kind": 3,
+ "sv": "example",
+ "pos": 9301,
+ "end": 9308,
+ "flags": 0,
+ "parent": {
+ "$ref": "1418"
+ }
+ },
+ "content": [
+ {
+ "$id": "1420",
+ "kind": 52,
+ "text": "```typespec\nmodel Pet {\n @key id: string;\n}\n```",
+ "pos": 9308,
+ "end": 9374,
+ "flags": 0,
+ "parent": {
+ "$ref": "1418"
+ }
+ }
+ ],
+ "pos": 9300,
+ "end": 9374,
+ "flags": 0,
+ "parent": {
+ "$ref": "1412"
+ }
+ }
+ ],
+ "pos": 9124,
+ "end": 9376,
+ "flags": 0,
+ "parent": {
+ "$ref": "1400"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1400"
+ }
+ ],
+ "name": "@key",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1421",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1422",
+ "kind": 40,
+ "pos": 9942,
+ "end": 9948,
+ "flags": 0,
+ "parent": {
+ "$ref": "1421"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1423",
+ "kind": 3,
+ "sv": "overload",
+ "pos": 9953,
+ "end": 9961,
+ "flags": 0,
+ "parent": {
+ "$ref": "1421"
+ },
+ "_id": 450
+ },
+ "target": {
+ "$id": "1424",
+ "kind": 27,
+ "id": {
+ "$id": "1425",
+ "kind": 3,
+ "sv": "target",
+ "pos": 9962,
+ "end": 9968,
+ "flags": 0,
+ "parent": {
+ "$ref": "1424"
+ },
+ "_id": 451
+ },
+ "type": {
+ "$id": "1426",
+ "kind": 45,
+ "target": {
+ "$id": "1427",
+ "kind": 3,
+ "sv": "Operation",
+ "pos": 9970,
+ "end": 9979,
+ "flags": 1,
+ "parent": {
+ "$ref": "1426"
+ },
+ "_id": 453
+ },
+ "arguments": [],
+ "pos": 9970,
+ "end": 9979,
+ "flags": 1,
+ "parent": {
+ "$ref": "1424"
+ },
+ "_id": 452
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 9962,
+ "end": 9979,
+ "flags": 0,
+ "parent": {
+ "$ref": "1421"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1424"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 294
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1428",
+ "kind": 27,
+ "id": {
+ "$id": "1429",
+ "kind": 3,
+ "sv": "overloadbase",
+ "pos": 9981,
+ "end": 9993,
+ "flags": 0,
+ "parent": {
+ "$ref": "1428"
+ },
+ "_id": 454
+ },
+ "type": {
+ "$id": "1430",
+ "kind": 45,
+ "target": {
+ "$id": "1431",
+ "kind": 3,
+ "sv": "Operation",
+ "pos": 9995,
+ "end": 10004,
+ "flags": 1,
+ "parent": {
+ "$ref": "1430"
+ },
+ "_id": 456
+ },
+ "arguments": [],
+ "pos": 9995,
+ "end": 10004,
+ "flags": 1,
+ "parent": {
+ "$ref": "1428"
+ },
+ "_id": 455
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 9981,
+ "end": 10004,
+ "flags": 0,
+ "parent": {
+ "$ref": "1421"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1428"
+ }
+ ],
+ "name": "overloadbase",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 295
+ }
+ }
+ ],
+ "pos": 9443,
+ "end": 10006,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1432",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1433",
+ "kind": 52,
+ "text": "Specify this operation is an overload of the given operation.",
+ "pos": 9446,
+ "end": 9515,
+ "flags": 0,
+ "parent": {
+ "$ref": "1432"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1434",
+ "kind": 53,
+ "tagName": {
+ "$id": "1435",
+ "kind": 3,
+ "sv": "param",
+ "pos": 9516,
+ "end": 9521,
+ "flags": 0,
+ "parent": {
+ "$ref": "1434"
+ }
+ },
+ "paramName": {
+ "$id": "1436",
+ "kind": 3,
+ "sv": "overloadbase",
+ "pos": 9522,
+ "end": 9534,
+ "flags": 0,
+ "parent": {
+ "$ref": "1434"
+ }
+ },
+ "content": [
+ {
+ "$id": "1437",
+ "kind": 52,
+ "text": "Base operation that should be a union of all overloads",
+ "pos": 9535,
+ "end": 9596,
+ "flags": 0,
+ "parent": {
+ "$ref": "1434"
+ }
+ }
+ ],
+ "pos": 9515,
+ "end": 9596,
+ "flags": 0,
+ "parent": {
+ "$ref": "1432"
+ }
+ },
+ {
+ "$id": "1438",
+ "kind": 58,
+ "tagName": {
+ "$id": "1439",
+ "kind": 3,
+ "sv": "example",
+ "pos": 9597,
+ "end": 9604,
+ "flags": 0,
+ "parent": {
+ "$ref": "1438"
+ }
+ },
+ "content": [
+ {
+ "$id": "1440",
+ "kind": 52,
+ "text": "```typespec\nop upload(data: string | bytes, @header contentType: \"text/plain\" | \"application/octet-stream\"): void;\n@overload(upload)\nop uploadString(data: string, @header contentType: \"text/plain\" ): void;\n@overload(upload)\nop uploadBytes(data: bytes, @header contentType: \"application/octet-stream\"): void;\n```",
+ "pos": 9604,
+ "end": 9939,
+ "flags": 0,
+ "parent": {
+ "$ref": "1438"
+ }
+ }
+ ],
+ "pos": 9596,
+ "end": 9939,
+ "flags": 0,
+ "parent": {
+ "$ref": "1432"
+ }
+ }
+ ],
+ "pos": 9443,
+ "end": 9941,
+ "flags": 0,
+ "parent": {
+ "$ref": "1421"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1421"
+ }
+ ],
+ "name": "@overload",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1441",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1442",
+ "kind": 40,
+ "pos": 10702,
+ "end": 10708,
+ "flags": 0,
+ "parent": {
+ "$ref": "1441"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1443",
+ "kind": 3,
+ "sv": "encodedName",
+ "pos": 10713,
+ "end": 10724,
+ "flags": 0,
+ "parent": {
+ "$ref": "1441"
+ },
+ "_id": 457
+ },
+ "target": {
+ "$id": "1444",
+ "kind": 27,
+ "id": {
+ "$id": "1445",
+ "kind": 3,
+ "sv": "target",
+ "pos": 10725,
+ "end": 10731,
+ "flags": 0,
+ "parent": {
+ "$ref": "1444"
+ },
+ "_id": 458
+ },
+ "type": {
+ "$id": "1446",
+ "kind": 43,
+ "pos": 10733,
+ "end": 10740,
+ "flags": 0,
+ "parent": {
+ "$ref": "1444"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 10725,
+ "end": 10740,
+ "flags": 0,
+ "parent": {
+ "$ref": "1441"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1444"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 297
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1447",
+ "kind": 27,
+ "id": {
+ "$id": "1448",
+ "kind": 3,
+ "sv": "mimeType",
+ "pos": 10742,
+ "end": 10750,
+ "flags": 0,
+ "parent": {
+ "$ref": "1447"
+ },
+ "_id": 459
+ },
+ "type": {
+ "$id": "1449",
+ "kind": 44,
+ "target": {
+ "$id": "1450",
+ "kind": 45,
+ "target": {
+ "$id": "1451",
+ "kind": 3,
+ "sv": "string",
+ "pos": 10760,
+ "end": 10766,
+ "flags": 1,
+ "parent": {
+ "$ref": "1450"
+ },
+ "_id": 461
+ },
+ "arguments": [],
+ "pos": 10760,
+ "end": 10766,
+ "flags": 1,
+ "parent": {
+ "$ref": "1449"
+ },
+ "_id": 460
+ },
+ "pos": 10752,
+ "end": 10766,
+ "flags": 0,
+ "parent": {
+ "$ref": "1447"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 10742,
+ "end": 10766,
+ "flags": 0,
+ "parent": {
+ "$ref": "1441"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1447"
+ }
+ ],
+ "name": "mimeType",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 298
+ }
+ },
+ {
+ "$id": "1452",
+ "kind": 27,
+ "id": {
+ "$id": "1453",
+ "kind": 3,
+ "sv": "name",
+ "pos": 10768,
+ "end": 10772,
+ "flags": 0,
+ "parent": {
+ "$ref": "1452"
+ },
+ "_id": 462
+ },
+ "type": {
+ "$id": "1454",
+ "kind": 44,
+ "target": {
+ "$id": "1455",
+ "kind": 45,
+ "target": {
+ "$id": "1456",
+ "kind": 3,
+ "sv": "string",
+ "pos": 10782,
+ "end": 10788,
+ "flags": 1,
+ "parent": {
+ "$ref": "1455"
+ },
+ "_id": 464
+ },
+ "arguments": [],
+ "pos": 10782,
+ "end": 10788,
+ "flags": 1,
+ "parent": {
+ "$ref": "1454"
+ },
+ "_id": 463
+ },
+ "pos": 10774,
+ "end": 10788,
+ "flags": 0,
+ "parent": {
+ "$ref": "1452"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 10768,
+ "end": 10788,
+ "flags": 0,
+ "parent": {
+ "$ref": "1441"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1452"
+ }
+ ],
+ "name": "name",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 299
+ }
+ }
+ ],
+ "pos": 10008,
+ "end": 10790,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1457",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1458",
+ "kind": 52,
+ "text": "Provide an alternative name for this type when serialized to the given mime type.",
+ "pos": 10011,
+ "end": 10100,
+ "flags": 0,
+ "parent": {
+ "$ref": "1457"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1459",
+ "kind": 53,
+ "tagName": {
+ "$id": "1460",
+ "kind": 3,
+ "sv": "param",
+ "pos": 10101,
+ "end": 10106,
+ "flags": 0,
+ "parent": {
+ "$ref": "1459"
+ }
+ },
+ "paramName": {
+ "$id": "1461",
+ "kind": 3,
+ "sv": "mimeType",
+ "pos": 10107,
+ "end": 10115,
+ "flags": 0,
+ "parent": {
+ "$ref": "1459"
+ }
+ },
+ "content": [
+ {
+ "$id": "1462",
+ "kind": 52,
+ "text": "Mime type this should apply to. The mime type should be a known mime type as described here https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types without any suffix (e.g. `+json`)",
+ "pos": 10116,
+ "end": 10334,
+ "flags": 0,
+ "parent": {
+ "$ref": "1459"
+ }
+ }
+ ],
+ "pos": 10100,
+ "end": 10334,
+ "flags": 0,
+ "parent": {
+ "$ref": "1457"
+ }
+ },
+ {
+ "$id": "1463",
+ "kind": 53,
+ "tagName": {
+ "$id": "1464",
+ "kind": 3,
+ "sv": "param",
+ "pos": 10335,
+ "end": 10340,
+ "flags": 0,
+ "parent": {
+ "$ref": "1463"
+ }
+ },
+ "paramName": {
+ "$id": "1465",
+ "kind": 3,
+ "sv": "name",
+ "pos": 10341,
+ "end": 10345,
+ "flags": 0,
+ "parent": {
+ "$ref": "1463"
+ }
+ },
+ "content": [
+ {
+ "$id": "1466",
+ "kind": 52,
+ "text": "Alternative name",
+ "pos": 10346,
+ "end": 10369,
+ "flags": 0,
+ "parent": {
+ "$ref": "1463"
+ }
+ }
+ ],
+ "pos": 10334,
+ "end": 10369,
+ "flags": 0,
+ "parent": {
+ "$ref": "1457"
+ }
+ },
+ {
+ "$id": "1467",
+ "kind": 58,
+ "tagName": {
+ "$id": "1468",
+ "kind": 3,
+ "sv": "example",
+ "pos": 10370,
+ "end": 10377,
+ "flags": 0,
+ "parent": {
+ "$ref": "1467"
+ }
+ },
+ "content": [
+ {
+ "$id": "1469",
+ "kind": 52,
+ "text": "```typespec\nmodel Certificate {\n @encodedName(\"application/json\", \"exp\")\n @encodedName(\"application/xml\", \"expiry\")\n expireAt: int32;\n}\n```",
+ "pos": 10377,
+ "end": 10551,
+ "flags": 0,
+ "parent": {
+ "$ref": "1467"
+ }
+ }
+ ],
+ "pos": 10369,
+ "end": 10551,
+ "flags": 0,
+ "parent": {
+ "$ref": "1457"
+ }
+ },
+ {
+ "$id": "1470",
+ "kind": 58,
+ "tagName": {
+ "$id": "1471",
+ "kind": 3,
+ "sv": "example",
+ "pos": 10552,
+ "end": 10559,
+ "flags": 0,
+ "parent": {
+ "$ref": "1470"
+ }
+ },
+ "content": [
+ {
+ "$id": "1472",
+ "kind": 52,
+ "text": "Invalid values\n\n```typespec\n@encodedName(\"application/merge-patch+json\", \"exp\")\n ^ error cannot use subtype\n```",
+ "pos": 10559,
+ "end": 10699,
+ "flags": 0,
+ "parent": {
+ "$ref": "1470"
+ }
+ }
+ ],
+ "pos": 10551,
+ "end": 10699,
+ "flags": 0,
+ "parent": {
+ "$ref": "1457"
+ }
+ }
+ ],
+ "pos": 10008,
+ "end": 10701,
+ "flags": 0,
+ "parent": {
+ "$ref": "1441"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1441"
+ }
+ ],
+ "name": "@encodedName",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1473",
+ "kind": 13,
+ "id": {
+ "$id": "1474",
+ "kind": 3,
+ "sv": "DiscriminatedOptions",
+ "pos": 10849,
+ "end": 10869,
+ "flags": 0,
+ "parent": {
+ "$ref": "1473"
+ },
+ "_id": 465
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "1475",
+ "kind": 15,
+ "id": {
+ "$id": "1476",
+ "kind": 3,
+ "sv": "envelope",
+ "pos": 10955,
+ "end": 10963,
+ "flags": 0,
+ "parent": {
+ "$ref": "1475"
+ },
+ "_id": 466
+ },
+ "decorators": [],
+ "value": {
+ "$id": "1477",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1478",
+ "kind": 32,
+ "value": "object",
+ "pos": 10966,
+ "end": 10974,
+ "flags": 0,
+ "parent": {
+ "$ref": "1477"
+ }
+ },
+ {
+ "$id": "1479",
+ "kind": 32,
+ "value": "none",
+ "pos": 10977,
+ "end": 10983,
+ "flags": 0,
+ "parent": {
+ "$ref": "1477"
+ }
+ }
+ ],
+ "pos": 10966,
+ "end": 10983,
+ "flags": 0,
+ "parent": {
+ "$ref": "1475"
+ }
+ },
+ "optional": true,
+ "pos": 10874,
+ "end": 10983,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1480",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1481",
+ "kind": 52,
+ "text": "How is the discriminated union serialized.",
+ "pos": 10877,
+ "end": 10931,
+ "flags": 0,
+ "parent": {
+ "$ref": "1480"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1482",
+ "kind": 58,
+ "tagName": {
+ "$id": "1483",
+ "kind": 3,
+ "sv": "default",
+ "pos": 10932,
+ "end": 10939,
+ "flags": 0,
+ "parent": {
+ "$ref": "1482"
+ }
+ },
+ "content": [
+ {
+ "$id": "1484",
+ "kind": 52,
+ "text": "object",
+ "pos": 10939,
+ "end": 10950,
+ "flags": 0,
+ "parent": {
+ "$ref": "1482"
+ }
+ }
+ ],
+ "pos": 10931,
+ "end": 10950,
+ "flags": 0,
+ "parent": {
+ "$ref": "1480"
+ }
+ }
+ ],
+ "pos": 10874,
+ "end": 10952,
+ "flags": 0,
+ "parent": {
+ "$ref": "1475"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1473"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1475"
+ },
+ "name": "envelope",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1473"
+ }
+ ],
+ "name": "DiscriminatedOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 65
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1485",
+ "kind": 15,
+ "id": {
+ "$id": "1486",
+ "kind": 3,
+ "sv": "discriminatorPropertyName",
+ "pos": 11032,
+ "end": 11057,
+ "flags": 0,
+ "parent": {
+ "$ref": "1485"
+ },
+ "_id": 467
+ },
+ "decorators": [],
+ "value": {
+ "$id": "1487",
+ "kind": 45,
+ "target": {
+ "$id": "1488",
+ "kind": 3,
+ "sv": "string",
+ "pos": 11060,
+ "end": 11066,
+ "flags": 1,
+ "parent": {
+ "$ref": "1487"
+ },
+ "_id": 469
+ },
+ "arguments": [],
+ "pos": 11060,
+ "end": 11066,
+ "flags": 1,
+ "parent": {
+ "$ref": "1485"
+ },
+ "_id": 468
+ },
+ "optional": true,
+ "pos": 10988,
+ "end": 11066,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1489",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1490",
+ "kind": 52,
+ "text": "Name of the discriminator property",
+ "pos": 10991,
+ "end": 11027,
+ "flags": 0,
+ "parent": {
+ "$ref": "1489"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 10988,
+ "end": 11029,
+ "flags": 0,
+ "parent": {
+ "$ref": "1485"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1473"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1485"
+ },
+ "name": "discriminatorPropertyName",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1473"
+ }
+ ],
+ "name": "DiscriminatedOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 65
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1491",
+ "kind": 15,
+ "id": {
+ "$id": "1492",
+ "kind": 3,
+ "sv": "envelopePropertyName",
+ "pos": 11122,
+ "end": 11142,
+ "flags": 0,
+ "parent": {
+ "$ref": "1491"
+ },
+ "_id": 470
+ },
+ "decorators": [],
+ "value": {
+ "$id": "1493",
+ "kind": 45,
+ "target": {
+ "$id": "1494",
+ "kind": 3,
+ "sv": "string",
+ "pos": 11145,
+ "end": 11151,
+ "flags": 1,
+ "parent": {
+ "$ref": "1493"
+ },
+ "_id": 472
+ },
+ "arguments": [],
+ "pos": 11145,
+ "end": 11151,
+ "flags": 1,
+ "parent": {
+ "$ref": "1491"
+ },
+ "_id": 471
+ },
+ "optional": true,
+ "pos": 11071,
+ "end": 11151,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1495",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1496",
+ "kind": 52,
+ "text": "Name of the property envelopping the data",
+ "pos": 11074,
+ "end": 11117,
+ "flags": 0,
+ "parent": {
+ "$ref": "1495"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 11071,
+ "end": 11119,
+ "flags": 0,
+ "parent": {
+ "$ref": "1491"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1473"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1491"
+ },
+ "name": "envelopePropertyName",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1473"
+ }
+ ],
+ "name": "DiscriminatedOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 65
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 10870,
+ "end": 11154
+ },
+ "pos": 10792,
+ "end": 11154,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1497",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1498",
+ "kind": 52,
+ "text": "Options for `@discriminated` decorator.",
+ "pos": 10795,
+ "end": 10840,
+ "flags": 0,
+ "parent": {
+ "$ref": "1497"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 10792,
+ "end": 10842,
+ "flags": 0,
+ "parent": {
+ "$ref": "1473"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1473"
+ }
+ ],
+ "name": "DiscriminatedOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 65
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "1499",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1500",
+ "kind": 40,
+ "pos": 12232,
+ "end": 12238,
+ "flags": 0,
+ "parent": {
+ "$ref": "1499"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1501",
+ "kind": 3,
+ "sv": "discriminated",
+ "pos": 12243,
+ "end": 12256,
+ "flags": 0,
+ "parent": {
+ "$ref": "1499"
+ },
+ "_id": 473
+ },
+ "target": {
+ "$id": "1502",
+ "kind": 27,
+ "id": {
+ "$id": "1503",
+ "kind": 3,
+ "sv": "target",
+ "pos": 12257,
+ "end": 12263,
+ "flags": 0,
+ "parent": {
+ "$ref": "1502"
+ },
+ "_id": 474
+ },
+ "type": {
+ "$id": "1504",
+ "kind": 45,
+ "target": {
+ "$id": "1505",
+ "kind": 3,
+ "sv": "Union",
+ "pos": 12265,
+ "end": 12270,
+ "flags": 1,
+ "parent": {
+ "$ref": "1504"
+ },
+ "_id": 476
+ },
+ "arguments": [],
+ "pos": 12265,
+ "end": 12270,
+ "flags": 1,
+ "parent": {
+ "$ref": "1502"
+ },
+ "_id": 475
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 12257,
+ "end": 12270,
+ "flags": 0,
+ "parent": {
+ "$ref": "1499"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1502"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 304
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1506",
+ "kind": 27,
+ "id": {
+ "$id": "1507",
+ "kind": 3,
+ "sv": "options",
+ "pos": 12272,
+ "end": 12279,
+ "flags": 0,
+ "parent": {
+ "$ref": "1506"
+ },
+ "_id": 477
+ },
+ "type": {
+ "$id": "1508",
+ "kind": 44,
+ "target": {
+ "$id": "1509",
+ "kind": 45,
+ "target": {
+ "$id": "1510",
+ "kind": 3,
+ "sv": "DiscriminatedOptions",
+ "pos": 12290,
+ "end": 12310,
+ "flags": 1,
+ "parent": {
+ "$ref": "1509"
+ },
+ "_id": 479
+ },
+ "arguments": [],
+ "pos": 12290,
+ "end": 12310,
+ "flags": 1,
+ "parent": {
+ "$ref": "1508"
+ },
+ "_id": 478
+ },
+ "pos": 12282,
+ "end": 12310,
+ "flags": 0,
+ "parent": {
+ "$ref": "1506"
+ }
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 12272,
+ "end": 12310,
+ "flags": 0,
+ "parent": {
+ "$ref": "1499"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1506"
+ }
+ ],
+ "name": "options",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 305
+ }
+ }
+ ],
+ "pos": 11156,
+ "end": 12312,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1511",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1512",
+ "kind": 52,
+ "text": "Specify that this union is discriminated.",
+ "pos": 11159,
+ "end": 11208,
+ "flags": 0,
+ "parent": {
+ "$ref": "1511"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1513",
+ "kind": 53,
+ "tagName": {
+ "$id": "1514",
+ "kind": 3,
+ "sv": "param",
+ "pos": 11209,
+ "end": 11214,
+ "flags": 0,
+ "parent": {
+ "$ref": "1513"
+ }
+ },
+ "paramName": {
+ "$id": "1515",
+ "kind": 3,
+ "sv": "options",
+ "pos": 11215,
+ "end": 11222,
+ "flags": 0,
+ "parent": {
+ "$ref": "1513"
+ }
+ },
+ "content": [
+ {
+ "$id": "1516",
+ "kind": 52,
+ "text": "Options to configure the serialization of the discriminated union.",
+ "pos": 11223,
+ "end": 11296,
+ "flags": 0,
+ "parent": {
+ "$ref": "1513"
+ }
+ }
+ ],
+ "pos": 11208,
+ "end": 11296,
+ "flags": 0,
+ "parent": {
+ "$ref": "1511"
+ }
+ },
+ {
+ "$id": "1517",
+ "kind": 58,
+ "tagName": {
+ "$id": "1518",
+ "kind": 3,
+ "sv": "example",
+ "pos": 11297,
+ "end": 11304,
+ "flags": 0,
+ "parent": {
+ "$ref": "1517"
+ }
+ },
+ "content": [
+ {
+ "$id": "1519",
+ "kind": 52,
+ "text": "```typespec\n@discriminated\nunion Pet{ cat: Cat, dog: Dog }\n\nmodel Cat { name: string, meow: boolean }\nmodel Dog { name: string, bark: boolean }\n```\nSerialized as:\n```json\n{\n \"kind\": \"cat\",\n \"value\": {\n \"name\": \"Whiskers\",\n \"meow\": true\n }\n},\n{\n \"kind\": \"dog\",\n \"value\": {\n \"name\": \"Rex\",\n \"bark\": false\n }\n}\n```",
+ "pos": 11304,
+ "end": 11715,
+ "flags": 0,
+ "parent": {
+ "$ref": "1517"
+ }
+ }
+ ],
+ "pos": 11296,
+ "end": 11715,
+ "flags": 0,
+ "parent": {
+ "$ref": "1511"
+ }
+ },
+ {
+ "$id": "1520",
+ "kind": 58,
+ "tagName": {
+ "$id": "1521",
+ "kind": 3,
+ "sv": "example",
+ "pos": 11716,
+ "end": 11723,
+ "flags": 0,
+ "parent": {
+ "$ref": "1520"
+ }
+ },
+ "content": [
+ {
+ "$id": "1522",
+ "kind": 52,
+ "text": "Custom property names\n\n```typespec\n@discriminated(#{discriminatorPropertyName: \"dataKind\", envelopePropertyName: \"data\"})\nunion Pet{ cat: Cat, dog: Dog }\n\nmodel Cat { name: string, meow: boolean }\nmodel Dog { name: string, bark: boolean }\n```\nSerialized as:\n```json\n{\n \"dataKind\": \"cat\",\n \"data\": {\n \"name\": \"Whiskers\",\n \"meow\": true\n }\n},\n{\n \"dataKind\": \"dog\",\n \"data\": {\n \"name\": \"Rex\",\n \"bark\": false\n }\n}\n```",
+ "pos": 11723,
+ "end": 12229,
+ "flags": 0,
+ "parent": {
+ "$ref": "1520"
+ }
+ }
+ ],
+ "pos": 11715,
+ "end": 12229,
+ "flags": 0,
+ "parent": {
+ "$ref": "1511"
+ }
+ }
+ ],
+ "pos": 11156,
+ "end": 12231,
+ "flags": 0,
+ "parent": {
+ "$ref": "1499"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1499"
+ }
+ ],
+ "name": "@discriminated",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1523",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1524",
+ "kind": 40,
+ "pos": 12658,
+ "end": 12664,
+ "flags": 0,
+ "parent": {
+ "$ref": "1523"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1525",
+ "kind": 3,
+ "sv": "discriminator",
+ "pos": 12669,
+ "end": 12682,
+ "flags": 0,
+ "parent": {
+ "$ref": "1523"
+ },
+ "_id": 480
+ },
+ "target": {
+ "$id": "1526",
+ "kind": 27,
+ "id": {
+ "$id": "1527",
+ "kind": 3,
+ "sv": "target",
+ "pos": 12683,
+ "end": 12689,
+ "flags": 0,
+ "parent": {
+ "$ref": "1526"
+ },
+ "_id": 481
+ },
+ "type": {
+ "$id": "1528",
+ "kind": 45,
+ "target": {
+ "$id": "1529",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 12691,
+ "end": 12696,
+ "flags": 1,
+ "parent": {
+ "$ref": "1528"
+ },
+ "_id": 483
+ },
+ "arguments": [],
+ "pos": 12691,
+ "end": 12696,
+ "flags": 1,
+ "parent": {
+ "$ref": "1526"
+ },
+ "_id": 482
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 12683,
+ "end": 12696,
+ "flags": 0,
+ "parent": {
+ "$ref": "1523"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1526"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 307
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1530",
+ "kind": 27,
+ "id": {
+ "$id": "1531",
+ "kind": 3,
+ "sv": "propertyName",
+ "pos": 12698,
+ "end": 12710,
+ "flags": 0,
+ "parent": {
+ "$ref": "1530"
+ },
+ "_id": 484
+ },
+ "type": {
+ "$id": "1532",
+ "kind": 44,
+ "target": {
+ "$id": "1533",
+ "kind": 45,
+ "target": {
+ "$id": "1534",
+ "kind": 3,
+ "sv": "string",
+ "pos": 12720,
+ "end": 12726,
+ "flags": 1,
+ "parent": {
+ "$ref": "1533"
+ },
+ "_id": 486
+ },
+ "arguments": [],
+ "pos": 12720,
+ "end": 12726,
+ "flags": 1,
+ "parent": {
+ "$ref": "1532"
+ },
+ "_id": 485
+ },
+ "pos": 12712,
+ "end": 12726,
+ "flags": 0,
+ "parent": {
+ "$ref": "1530"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 12698,
+ "end": 12726,
+ "flags": 0,
+ "parent": {
+ "$ref": "1523"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1530"
+ }
+ ],
+ "name": "propertyName",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 308
+ }
+ }
+ ],
+ "pos": 12314,
+ "end": 12728,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1535",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1536",
+ "kind": 52,
+ "text": "Specify the property to be used to discriminate this type.",
+ "pos": 12317,
+ "end": 12383,
+ "flags": 0,
+ "parent": {
+ "$ref": "1535"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1537",
+ "kind": 53,
+ "tagName": {
+ "$id": "1538",
+ "kind": 3,
+ "sv": "param",
+ "pos": 12384,
+ "end": 12389,
+ "flags": 0,
+ "parent": {
+ "$ref": "1537"
+ }
+ },
+ "paramName": {
+ "$id": "1539",
+ "kind": 3,
+ "sv": "propertyName",
+ "pos": 12390,
+ "end": 12402,
+ "flags": 0,
+ "parent": {
+ "$ref": "1537"
+ }
+ },
+ "content": [
+ {
+ "$id": "1540",
+ "kind": 52,
+ "text": "The property name to use for discrimination",
+ "pos": 12403,
+ "end": 12453,
+ "flags": 0,
+ "parent": {
+ "$ref": "1537"
+ }
+ }
+ ],
+ "pos": 12383,
+ "end": 12453,
+ "flags": 0,
+ "parent": {
+ "$ref": "1535"
+ }
+ },
+ {
+ "$id": "1541",
+ "kind": 58,
+ "tagName": {
+ "$id": "1542",
+ "kind": 3,
+ "sv": "example",
+ "pos": 12454,
+ "end": 12461,
+ "flags": 0,
+ "parent": {
+ "$ref": "1541"
+ }
+ },
+ "content": [
+ {
+ "$id": "1543",
+ "kind": 52,
+ "text": "```typespec\n@discriminator(\"kind\")\nmodel Pet{ kind: string }\n\nmodel Cat extends Pet {kind: \"cat\", meow: boolean}\nmodel Dog extends Pet {kind: \"dog\", bark: boolean}\n```",
+ "pos": 12461,
+ "end": 12655,
+ "flags": 0,
+ "parent": {
+ "$ref": "1541"
+ }
+ }
+ ],
+ "pos": 12453,
+ "end": 12655,
+ "flags": 0,
+ "parent": {
+ "$ref": "1535"
+ }
+ }
+ ],
+ "pos": 12314,
+ "end": 12657,
+ "flags": 0,
+ "parent": {
+ "$ref": "1523"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1523"
+ }
+ ],
+ "name": "@discriminator",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1544",
+ "kind": 21,
+ "id": {
+ "$id": "1545",
+ "kind": 3,
+ "sv": "DateTimeKnownEncoding",
+ "pos": 12801,
+ "end": 12822,
+ "flags": 0,
+ "parent": {
+ "$ref": "1544"
+ },
+ "_id": 487
+ },
+ "decorators": [],
+ "members": [
+ {
+ "$id": "1546",
+ "kind": 22,
+ "id": {
+ "$id": "1547",
+ "kind": 3,
+ "sv": "rfc3339",
+ "pos": 12923,
+ "end": 12930,
+ "flags": 0,
+ "parent": {
+ "$ref": "1546"
+ },
+ "_id": 488
+ },
+ "value": {
+ "$id": "1548",
+ "kind": 32,
+ "value": "rfc3339",
+ "pos": 12932,
+ "end": 12941,
+ "flags": 0,
+ "parent": {
+ "$ref": "1546"
+ }
+ },
+ "decorators": [],
+ "pos": 12827,
+ "end": 12941,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1549",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1550",
+ "kind": 52,
+ "text": "RFC 3339 standard. https://www.ietf.org/rfc/rfc3339.txt\nEncode to string.",
+ "pos": 12830,
+ "end": 12918,
+ "flags": 0,
+ "parent": {
+ "$ref": "1549"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 12827,
+ "end": 12920,
+ "flags": 0,
+ "parent": {
+ "$ref": "1546"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1544"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1546"
+ },
+ "name": "rfc3339",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1544"
+ }
+ ],
+ "name": "DateTimeKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 66
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1551",
+ "kind": 22,
+ "id": {
+ "$id": "1552",
+ "kind": 3,
+ "sv": "rfc7231",
+ "pos": 13042,
+ "end": 13049,
+ "flags": 0,
+ "parent": {
+ "$ref": "1551"
+ },
+ "_id": 489
+ },
+ "value": {
+ "$id": "1553",
+ "kind": 32,
+ "value": "rfc7231",
+ "pos": 13051,
+ "end": 13060,
+ "flags": 0,
+ "parent": {
+ "$ref": "1551"
+ }
+ },
+ "decorators": [],
+ "pos": 12946,
+ "end": 13060,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1554",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1555",
+ "kind": 52,
+ "text": "RFC 7231 standard. https://www.ietf.org/rfc/rfc7231.txt\nEncode to string.",
+ "pos": 12949,
+ "end": 13037,
+ "flags": 0,
+ "parent": {
+ "$ref": "1554"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 12946,
+ "end": 13039,
+ "flags": 0,
+ "parent": {
+ "$ref": "1551"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1544"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1551"
+ },
+ "name": "rfc7231",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1544"
+ }
+ ],
+ "name": "DateTimeKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 66
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1556",
+ "kind": 22,
+ "id": {
+ "$id": "1557",
+ "kind": 3,
+ "sv": "unixTimestamp",
+ "pos": 13244,
+ "end": 13257,
+ "flags": 0,
+ "parent": {
+ "$ref": "1556"
+ },
+ "_id": 490
+ },
+ "value": {
+ "$id": "1558",
+ "kind": 32,
+ "value": "unixTimestamp",
+ "pos": 13259,
+ "end": 13274,
+ "flags": 0,
+ "parent": {
+ "$ref": "1556"
+ }
+ },
+ "decorators": [],
+ "pos": 13065,
+ "end": 13274,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1559",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1560",
+ "kind": 52,
+ "text": "Encode a datetime to a unix timestamp.\nUnix timestamps are represented as an integer number of seconds since the Unix epoch and usually encoded as an int32.",
+ "pos": 13068,
+ "end": 13239,
+ "flags": 0,
+ "parent": {
+ "$ref": "1559"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13065,
+ "end": 13241,
+ "flags": 0,
+ "parent": {
+ "$ref": "1556"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1544"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1556"
+ },
+ "name": "unixTimestamp",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1544"
+ }
+ ],
+ "name": "DateTimeKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 66
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "pos": 12730,
+ "end": 13277,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1561",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1562",
+ "kind": 52,
+ "text": "Known encoding to use on utcDateTime or offsetDateTime",
+ "pos": 12733,
+ "end": 12793,
+ "flags": 0,
+ "parent": {
+ "$ref": "1561"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 12730,
+ "end": 12795,
+ "flags": 0,
+ "parent": {
+ "$ref": "1544"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1544"
+ }
+ ],
+ "name": "DateTimeKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 66
+ }
+ },
+ {
+ "$id": "1563",
+ "kind": 21,
+ "id": {
+ "$id": "1564",
+ "kind": 3,
+ "sv": "DurationKnownEncoding",
+ "pos": 13329,
+ "end": 13350,
+ "flags": 0,
+ "parent": {
+ "$ref": "1563"
+ },
+ "_id": 491
+ },
+ "decorators": [],
+ "members": [
+ {
+ "$id": "1565",
+ "kind": 22,
+ "id": {
+ "$id": "1566",
+ "kind": 3,
+ "sv": "ISO8601",
+ "pos": 13389,
+ "end": 13396,
+ "flags": 0,
+ "parent": {
+ "$ref": "1565"
+ },
+ "_id": 492
+ },
+ "value": {
+ "$id": "1567",
+ "kind": 32,
+ "value": "ISO8601",
+ "pos": 13398,
+ "end": 13407,
+ "flags": 0,
+ "parent": {
+ "$ref": "1565"
+ }
+ },
+ "decorators": [],
+ "pos": 13355,
+ "end": 13407,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1568",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1569",
+ "kind": 52,
+ "text": "ISO8601 duration",
+ "pos": 13358,
+ "end": 13384,
+ "flags": 0,
+ "parent": {
+ "$ref": "1568"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13355,
+ "end": 13386,
+ "flags": 0,
+ "parent": {
+ "$ref": "1565"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1563"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1565"
+ },
+ "name": "ISO8601",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1563"
+ }
+ ],
+ "name": "DurationKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 67
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1570",
+ "kind": 22,
+ "id": {
+ "$id": "1571",
+ "kind": 3,
+ "sv": "seconds",
+ "pos": 13467,
+ "end": 13474,
+ "flags": 0,
+ "parent": {
+ "$ref": "1570"
+ },
+ "_id": 493
+ },
+ "value": {
+ "$id": "1572",
+ "kind": 32,
+ "value": "seconds",
+ "pos": 13476,
+ "end": 13485,
+ "flags": 0,
+ "parent": {
+ "$ref": "1570"
+ }
+ },
+ "decorators": [],
+ "pos": 13412,
+ "end": 13485,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1573",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1574",
+ "kind": 52,
+ "text": "Encode to integer or float as seconds",
+ "pos": 13415,
+ "end": 13462,
+ "flags": 0,
+ "parent": {
+ "$ref": "1573"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13412,
+ "end": 13464,
+ "flags": 0,
+ "parent": {
+ "$ref": "1570"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1563"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1570"
+ },
+ "name": "seconds",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1563"
+ }
+ ],
+ "name": "DurationKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 67
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1575",
+ "kind": 22,
+ "id": {
+ "$id": "1576",
+ "kind": 3,
+ "sv": "milliseconds",
+ "pos": 13550,
+ "end": 13562,
+ "flags": 0,
+ "parent": {
+ "$ref": "1575"
+ },
+ "_id": 494
+ },
+ "value": {
+ "$id": "1577",
+ "kind": 32,
+ "value": "milliseconds",
+ "pos": 13564,
+ "end": 13578,
+ "flags": 0,
+ "parent": {
+ "$ref": "1575"
+ }
+ },
+ "decorators": [],
+ "pos": 13490,
+ "end": 13578,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1578",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1579",
+ "kind": 52,
+ "text": "Encode to integer or float as milliseconds",
+ "pos": 13493,
+ "end": 13545,
+ "flags": 0,
+ "parent": {
+ "$ref": "1578"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13490,
+ "end": 13547,
+ "flags": 0,
+ "parent": {
+ "$ref": "1575"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1563"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1575"
+ },
+ "name": "milliseconds",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1563"
+ }
+ ],
+ "name": "DurationKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 67
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "pos": 13279,
+ "end": 13581,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1580",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1581",
+ "kind": 52,
+ "text": "Known encoding to use on duration",
+ "pos": 13282,
+ "end": 13321,
+ "flags": 0,
+ "parent": {
+ "$ref": "1580"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13279,
+ "end": 13323,
+ "flags": 0,
+ "parent": {
+ "$ref": "1563"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1563"
+ }
+ ],
+ "name": "DurationKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 67
+ }
+ },
+ {
+ "$id": "1582",
+ "kind": 21,
+ "id": {
+ "$id": "1583",
+ "kind": 3,
+ "sv": "BytesKnownEncoding",
+ "pos": 13630,
+ "end": 13648,
+ "flags": 0,
+ "parent": {
+ "$ref": "1582"
+ },
+ "_id": 495
+ },
+ "decorators": [],
+ "members": [
+ {
+ "$id": "1584",
+ "kind": 22,
+ "id": {
+ "$id": "1585",
+ "kind": 3,
+ "sv": "base64",
+ "pos": 13687,
+ "end": 13693,
+ "flags": 0,
+ "parent": {
+ "$ref": "1584"
+ },
+ "_id": 496
+ },
+ "value": {
+ "$id": "1586",
+ "kind": 32,
+ "value": "base64",
+ "pos": 13695,
+ "end": 13703,
+ "flags": 0,
+ "parent": {
+ "$ref": "1584"
+ }
+ },
+ "decorators": [],
+ "pos": 13653,
+ "end": 13703,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1587",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1588",
+ "kind": 52,
+ "text": "Encode to Base64",
+ "pos": 13656,
+ "end": 13682,
+ "flags": 0,
+ "parent": {
+ "$ref": "1587"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13653,
+ "end": 13684,
+ "flags": 0,
+ "parent": {
+ "$ref": "1584"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1582"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1584"
+ },
+ "name": "base64",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1582"
+ }
+ ],
+ "name": "BytesKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 68
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1589",
+ "kind": 22,
+ "id": {
+ "$id": "1590",
+ "kind": 3,
+ "sv": "base64url",
+ "pos": 13746,
+ "end": 13755,
+ "flags": 0,
+ "parent": {
+ "$ref": "1589"
+ },
+ "_id": 497
+ },
+ "value": {
+ "$id": "1591",
+ "kind": 32,
+ "value": "base64url",
+ "pos": 13757,
+ "end": 13768,
+ "flags": 0,
+ "parent": {
+ "$ref": "1589"
+ }
+ },
+ "decorators": [],
+ "pos": 13708,
+ "end": 13768,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1592",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1593",
+ "kind": 52,
+ "text": "Encode to Base64 Url",
+ "pos": 13711,
+ "end": 13741,
+ "flags": 0,
+ "parent": {
+ "$ref": "1592"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13708,
+ "end": 13743,
+ "flags": 0,
+ "parent": {
+ "$ref": "1589"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1582"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1589"
+ },
+ "name": "base64url",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1582"
+ }
+ ],
+ "name": "BytesKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 68
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "pos": 13583,
+ "end": 13771,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1594",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1595",
+ "kind": 52,
+ "text": "Known encoding to use on bytes",
+ "pos": 13586,
+ "end": 13622,
+ "flags": 0,
+ "parent": {
+ "$ref": "1594"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13583,
+ "end": 13624,
+ "flags": 0,
+ "parent": {
+ "$ref": "1582"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1582"
+ }
+ ],
+ "name": "BytesKnownEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 68
+ }
+ },
+ {
+ "$id": "1596",
+ "kind": 21,
+ "id": {
+ "$id": "1597",
+ "kind": 3,
+ "sv": "ArrayEncoding",
+ "pos": 13821,
+ "end": 13834,
+ "flags": 0,
+ "parent": {
+ "$ref": "1596"
+ },
+ "_id": 498
+ },
+ "decorators": [],
+ "members": [
+ {
+ "$id": "1598",
+ "kind": 22,
+ "id": {
+ "$id": "1599",
+ "kind": 3,
+ "sv": "pipeDelimited",
+ "pos": 14040,
+ "end": 14053,
+ "flags": 0,
+ "parent": {
+ "$ref": "1598"
+ },
+ "_id": 499
+ },
+ "decorators": [],
+ "pos": 13839,
+ "end": 14053,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1600",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1601",
+ "kind": 52,
+ "text": "Each value of the array is separated by a pipe character (|).\nValues can only contain | if the underlying protocol supports encoding them.\n- json -> error\n- http -> %7C",
+ "pos": 13842,
+ "end": 14035,
+ "flags": 0,
+ "parent": {
+ "$ref": "1600"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13839,
+ "end": 14037,
+ "flags": 0,
+ "parent": {
+ "$ref": "1598"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1596"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1598"
+ },
+ "name": "pipeDelimited",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1596"
+ }
+ ],
+ "name": "ArrayEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 69
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1602",
+ "kind": 22,
+ "id": {
+ "$id": "1603",
+ "kind": 3,
+ "sv": "spaceDelimited",
+ "pos": 14261,
+ "end": 14275,
+ "flags": 0,
+ "parent": {
+ "$ref": "1602"
+ },
+ "_id": 500
+ },
+ "decorators": [],
+ "pos": 14058,
+ "end": 14275,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1604",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1605",
+ "kind": 52,
+ "text": "Each value of the array is separated by a space character.\nValues can only contain spaces if the underlying protocol supports encoding them.\n- json -> error\n- http -> %20",
+ "pos": 14061,
+ "end": 14256,
+ "flags": 0,
+ "parent": {
+ "$ref": "1604"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 14058,
+ "end": 14258,
+ "flags": 0,
+ "parent": {
+ "$ref": "1602"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1596"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1602"
+ },
+ "name": "spaceDelimited",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1596"
+ }
+ ],
+ "name": "ArrayEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 69
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1606",
+ "kind": 22,
+ "id": {
+ "$id": "1607",
+ "kind": 3,
+ "sv": "commaDelimited",
+ "pos": 14477,
+ "end": 14491,
+ "flags": 0,
+ "parent": {
+ "$ref": "1606"
+ },
+ "_id": 501
+ },
+ "decorators": [],
+ "pos": 14280,
+ "end": 14491,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1608",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1609",
+ "kind": 52,
+ "text": "Each value of the array is separated by a comma (,).\nValues can only contain commas if the underlying protocol supports encoding them.\n- json -> error\n- http -> %2C",
+ "pos": 14283,
+ "end": 14472,
+ "flags": 0,
+ "parent": {
+ "$ref": "1608"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 14280,
+ "end": 14474,
+ "flags": 0,
+ "parent": {
+ "$ref": "1606"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1596"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1606"
+ },
+ "name": "commaDelimited",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1596"
+ }
+ ],
+ "name": "ArrayEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 69
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1610",
+ "kind": 22,
+ "id": {
+ "$id": "1611",
+ "kind": 3,
+ "sv": "newlineDelimited",
+ "pos": 14708,
+ "end": 14724,
+ "flags": 0,
+ "parent": {
+ "$ref": "1610"
+ },
+ "_id": 502
+ },
+ "decorators": [],
+ "pos": 14496,
+ "end": 14724,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1612",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1613",
+ "kind": 52,
+ "text": "Each value of the array is separated by a newline character (\\n).\nValues can only contain newlines if the underlying protocol supports encoding them.\n- json -> error\n- http -> %0A",
+ "pos": 14499,
+ "end": 14703,
+ "flags": 0,
+ "parent": {
+ "$ref": "1612"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 14496,
+ "end": 14705,
+ "flags": 0,
+ "parent": {
+ "$ref": "1610"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1596"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1610"
+ },
+ "name": "newlineDelimited",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1596"
+ }
+ ],
+ "name": "ArrayEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 69
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "pos": 13773,
+ "end": 14727,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1614",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1615",
+ "kind": 52,
+ "text": "Encoding for serializing arrays",
+ "pos": 13776,
+ "end": 13813,
+ "flags": 0,
+ "parent": {
+ "$ref": "1614"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 13773,
+ "end": 13815,
+ "flags": 0,
+ "parent": {
+ "$ref": "1596"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1596"
+ }
+ ],
+ "name": "ArrayEncoding",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048592,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 69
+ }
+ },
+ {
+ "$id": "1616",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1617",
+ "kind": 40,
+ "pos": 15399,
+ "end": 15405,
+ "flags": 0,
+ "parent": {
+ "$ref": "1616"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1618",
+ "kind": 3,
+ "sv": "encode",
+ "pos": 15410,
+ "end": 15416,
+ "flags": 0,
+ "parent": {
+ "$ref": "1616"
+ },
+ "_id": 132
+ },
+ "target": {
+ "$id": "1619",
+ "kind": 27,
+ "id": {
+ "$id": "1620",
+ "kind": 3,
+ "sv": "target",
+ "pos": 15420,
+ "end": 15426,
+ "flags": 0,
+ "parent": {
+ "$ref": "1619"
+ },
+ "_id": 133
+ },
+ "type": {
+ "$id": "1621",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1622",
+ "kind": 45,
+ "target": {
+ "$id": "1623",
+ "kind": 3,
+ "sv": "Scalar",
+ "pos": 15428,
+ "end": 15434,
+ "flags": 1,
+ "parent": {
+ "$ref": "1622"
+ },
+ "_id": 135
+ },
+ "arguments": [],
+ "pos": 15428,
+ "end": 15434,
+ "flags": 1,
+ "parent": {
+ "$ref": "1621"
+ },
+ "_id": 134
+ },
+ {
+ "$id": "1624",
+ "kind": 45,
+ "target": {
+ "$id": "1625",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 15437,
+ "end": 15450,
+ "flags": 1,
+ "parent": {
+ "$ref": "1624"
+ },
+ "_id": 138
+ },
+ "arguments": [],
+ "pos": 15437,
+ "end": 15450,
+ "flags": 1,
+ "parent": {
+ "$ref": "1621"
+ },
+ "_id": 137
+ }
+ ],
+ "pos": 15428,
+ "end": 15450,
+ "flags": 0,
+ "parent": {
+ "$ref": "1619"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 15420,
+ "end": 15450,
+ "flags": 0,
+ "parent": {
+ "$ref": "1616"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1619"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 217
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1626",
+ "kind": 27,
+ "id": {
+ "$id": "1627",
+ "kind": 3,
+ "sv": "encodingOrEncodeAs",
+ "pos": 15454,
+ "end": 15472,
+ "flags": 0,
+ "parent": {
+ "$ref": "1626"
+ },
+ "_id": 140
+ },
+ "type": {
+ "$id": "1628",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1629",
+ "kind": 44,
+ "target": {
+ "$id": "1630",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1631",
+ "kind": 45,
+ "target": {
+ "$id": "1632",
+ "kind": 3,
+ "sv": "string",
+ "pos": 15483,
+ "end": 15489,
+ "flags": 1,
+ "parent": {
+ "$ref": "1631"
+ },
+ "_id": 142
+ },
+ "arguments": [],
+ "pos": 15483,
+ "end": 15489,
+ "flags": 1,
+ "parent": {
+ "$ref": "1630"
+ },
+ "_id": 141
+ },
+ {
+ "$id": "1633",
+ "kind": 45,
+ "target": {
+ "$id": "1634",
+ "kind": 3,
+ "sv": "EnumMember",
+ "pos": 15492,
+ "end": 15502,
+ "flags": 1,
+ "parent": {
+ "$ref": "1633"
+ },
+ "_id": 144
+ },
+ "arguments": [],
+ "pos": 15492,
+ "end": 15502,
+ "flags": 1,
+ "parent": {
+ "$ref": "1630"
+ },
+ "_id": 143
+ }
+ ],
+ "pos": 15483,
+ "end": 15502,
+ "flags": 0,
+ "parent": {
+ "$ref": "1629"
+ }
+ },
+ "pos": 15475,
+ "end": 15502,
+ "flags": 0,
+ "parent": {
+ "$ref": "1628"
+ }
+ },
+ {
+ "$id": "1635",
+ "kind": 45,
+ "target": {
+ "$id": "1636",
+ "kind": 3,
+ "sv": "Scalar",
+ "pos": 15506,
+ "end": 15512,
+ "flags": 1,
+ "parent": {
+ "$ref": "1635"
+ },
+ "_id": 147
+ },
+ "arguments": [],
+ "pos": 15506,
+ "end": 15512,
+ "flags": 1,
+ "parent": {
+ "$ref": "1628"
+ },
+ "_id": 146
+ }
+ ],
+ "pos": 15474,
+ "end": 15512,
+ "flags": 0,
+ "parent": {
+ "$ref": "1626"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 15454,
+ "end": 15512,
+ "flags": 0,
+ "parent": {
+ "$ref": "1616"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1626"
+ }
+ ],
+ "name": "encodingOrEncodeAs",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 218
+ }
+ },
+ {
+ "$id": "1637",
+ "kind": 27,
+ "id": {
+ "$id": "1638",
+ "kind": 3,
+ "sv": "encodedAs",
+ "pos": 15516,
+ "end": 15525,
+ "flags": 0,
+ "parent": {
+ "$ref": "1637"
+ },
+ "_id": 148
+ },
+ "type": {
+ "$id": "1639",
+ "kind": 45,
+ "target": {
+ "$id": "1640",
+ "kind": 3,
+ "sv": "Scalar",
+ "pos": 15528,
+ "end": 15534,
+ "flags": 1,
+ "parent": {
+ "$ref": "1639"
+ },
+ "_id": 150
+ },
+ "arguments": [],
+ "pos": 15528,
+ "end": 15534,
+ "flags": 1,
+ "parent": {
+ "$ref": "1637"
+ },
+ "_id": 149
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 15516,
+ "end": 15534,
+ "flags": 0,
+ "parent": {
+ "$ref": "1616"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1637"
+ }
+ ],
+ "name": "encodedAs",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 219
+ }
+ }
+ ],
+ "pos": 14729,
+ "end": 15537,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1641",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1642",
+ "kind": 52,
+ "text": "Specify how to encode the target type.",
+ "pos": 14732,
+ "end": 14778,
+ "flags": 0,
+ "parent": {
+ "$ref": "1641"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1643",
+ "kind": 53,
+ "tagName": {
+ "$id": "1644",
+ "kind": 3,
+ "sv": "param",
+ "pos": 14779,
+ "end": 14784,
+ "flags": 0,
+ "parent": {
+ "$ref": "1643"
+ }
+ },
+ "paramName": {
+ "$id": "1645",
+ "kind": 3,
+ "sv": "encodingOrEncodeAs",
+ "pos": 14785,
+ "end": 14803,
+ "flags": 0,
+ "parent": {
+ "$ref": "1643"
+ }
+ },
+ "content": [
+ {
+ "$id": "1646",
+ "kind": 52,
+ "text": "Known name of an encoding or a scalar type to encode as(Only for numeric types to encode as string).",
+ "pos": 14804,
+ "end": 14908,
+ "flags": 0,
+ "parent": {
+ "$ref": "1643"
+ }
+ }
+ ],
+ "pos": 14778,
+ "end": 14908,
+ "flags": 0,
+ "parent": {
+ "$ref": "1641"
+ }
+ },
+ {
+ "$id": "1647",
+ "kind": 53,
+ "tagName": {
+ "$id": "1648",
+ "kind": 3,
+ "sv": "param",
+ "pos": 14909,
+ "end": 14914,
+ "flags": 0,
+ "parent": {
+ "$ref": "1647"
+ }
+ },
+ "paramName": {
+ "$id": "1649",
+ "kind": 3,
+ "sv": "encodedAs",
+ "pos": 14915,
+ "end": 14924,
+ "flags": 0,
+ "parent": {
+ "$ref": "1647"
+ }
+ },
+ "content": [
+ {
+ "$id": "1650",
+ "kind": 52,
+ "text": "What target type is this being encoded as. Default to string.",
+ "pos": 14925,
+ "end": 14993,
+ "flags": 0,
+ "parent": {
+ "$ref": "1647"
+ }
+ }
+ ],
+ "pos": 14908,
+ "end": 14993,
+ "flags": 0,
+ "parent": {
+ "$ref": "1641"
+ }
+ },
+ {
+ "$id": "1651",
+ "kind": 58,
+ "tagName": {
+ "$id": "1652",
+ "kind": 3,
+ "sv": "example",
+ "pos": 14994,
+ "end": 15001,
+ "flags": 0,
+ "parent": {
+ "$ref": "1651"
+ }
+ },
+ "content": [
+ {
+ "$id": "1653",
+ "kind": 52,
+ "text": "offsetDateTime encoded with rfc7231\n\n```tsp\n@encode(\"rfc7231\")\nscalar myDateTime extends offsetDateTime;\n```",
+ "pos": 15001,
+ "end": 15131,
+ "flags": 0,
+ "parent": {
+ "$ref": "1651"
+ }
+ }
+ ],
+ "pos": 14993,
+ "end": 15131,
+ "flags": 0,
+ "parent": {
+ "$ref": "1641"
+ }
+ },
+ {
+ "$id": "1654",
+ "kind": 58,
+ "tagName": {
+ "$id": "1655",
+ "kind": 3,
+ "sv": "example",
+ "pos": 15132,
+ "end": 15139,
+ "flags": 0,
+ "parent": {
+ "$ref": "1654"
+ }
+ },
+ "content": [
+ {
+ "$id": "1656",
+ "kind": 52,
+ "text": "utcDateTime encoded with unixTimestamp\n\n```tsp\n@encode(\"unixTimestamp\", int32)\nscalar myDateTime extends unixTimestamp;\n```",
+ "pos": 15139,
+ "end": 15284,
+ "flags": 0,
+ "parent": {
+ "$ref": "1654"
+ }
+ }
+ ],
+ "pos": 15131,
+ "end": 15284,
+ "flags": 0,
+ "parent": {
+ "$ref": "1641"
+ }
+ },
+ {
+ "$id": "1657",
+ "kind": 58,
+ "tagName": {
+ "$id": "1658",
+ "kind": 3,
+ "sv": "example",
+ "pos": 15285,
+ "end": 15292,
+ "flags": 0,
+ "parent": {
+ "$ref": "1657"
+ }
+ },
+ "content": [
+ {
+ "$id": "1659",
+ "kind": 52,
+ "text": "encode numeric type to string\n\n```tsp\nmodel Pet {\n @encode(string) id: int64;\n}\n```",
+ "pos": 15292,
+ "end": 15396,
+ "flags": 0,
+ "parent": {
+ "$ref": "1657"
+ }
+ }
+ ],
+ "pos": 15284,
+ "end": 15396,
+ "flags": 0,
+ "parent": {
+ "$ref": "1641"
+ }
+ }
+ ],
+ "pos": 14729,
+ "end": 15398,
+ "flags": 0,
+ "parent": {
+ "$ref": "1616"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1616"
+ }
+ ],
+ "name": "@encode",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1660",
+ "kind": 13,
+ "id": {
+ "$id": "1661",
+ "kind": 3,
+ "sv": "ExampleOptions",
+ "pos": 15583,
+ "end": 15597,
+ "flags": 0,
+ "parent": {
+ "$ref": "1660"
+ },
+ "_id": 503
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "1662",
+ "kind": 15,
+ "id": {
+ "$id": "1663",
+ "kind": 3,
+ "sv": "title",
+ "pos": 15636,
+ "end": 15641,
+ "flags": 0,
+ "parent": {
+ "$ref": "1662"
+ },
+ "_id": 504
+ },
+ "decorators": [],
+ "value": {
+ "$id": "1664",
+ "kind": 45,
+ "target": {
+ "$id": "1665",
+ "kind": 3,
+ "sv": "string",
+ "pos": 15644,
+ "end": 15650,
+ "flags": 1,
+ "parent": {
+ "$ref": "1664"
+ },
+ "_id": 506
+ },
+ "arguments": [],
+ "pos": 15644,
+ "end": 15650,
+ "flags": 1,
+ "parent": {
+ "$ref": "1662"
+ },
+ "_id": 505
+ },
+ "optional": true,
+ "pos": 15602,
+ "end": 15650,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1666",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1667",
+ "kind": 52,
+ "text": "The title of the example",
+ "pos": 15605,
+ "end": 15631,
+ "flags": 0,
+ "parent": {
+ "$ref": "1666"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 15602,
+ "end": 15633,
+ "flags": 0,
+ "parent": {
+ "$ref": "1662"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1660"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1662"
+ },
+ "name": "title",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1660"
+ }
+ ],
+ "name": "ExampleOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 70
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1668",
+ "kind": 15,
+ "id": {
+ "$id": "1669",
+ "kind": 3,
+ "sv": "description",
+ "pos": 15691,
+ "end": 15702,
+ "flags": 0,
+ "parent": {
+ "$ref": "1668"
+ },
+ "_id": 507
+ },
+ "decorators": [],
+ "value": {
+ "$id": "1670",
+ "kind": 45,
+ "target": {
+ "$id": "1671",
+ "kind": 3,
+ "sv": "string",
+ "pos": 15705,
+ "end": 15711,
+ "flags": 1,
+ "parent": {
+ "$ref": "1670"
+ },
+ "_id": 509
+ },
+ "arguments": [],
+ "pos": 15705,
+ "end": 15711,
+ "flags": 1,
+ "parent": {
+ "$ref": "1668"
+ },
+ "_id": 508
+ },
+ "optional": true,
+ "pos": 15655,
+ "end": 15711,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1672",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1673",
+ "kind": 52,
+ "text": "Description of the example",
+ "pos": 15658,
+ "end": 15686,
+ "flags": 0,
+ "parent": {
+ "$ref": "1672"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 15655,
+ "end": 15688,
+ "flags": 0,
+ "parent": {
+ "$ref": "1668"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1660"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1668"
+ },
+ "name": "description",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1660"
+ }
+ ],
+ "name": "ExampleOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 70
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 15598,
+ "end": 15714
+ },
+ "pos": 15539,
+ "end": 15714,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1674",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1675",
+ "kind": 52,
+ "text": "Options for example decorators",
+ "pos": 15542,
+ "end": 15574,
+ "flags": 0,
+ "parent": {
+ "$ref": "1674"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 15539,
+ "end": 15576,
+ "flags": 0,
+ "parent": {
+ "$ref": "1660"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1660"
+ }
+ ],
+ "name": "ExampleOptions",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 70
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "1676",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1677",
+ "kind": 40,
+ "pos": 15986,
+ "end": 15992,
+ "flags": 0,
+ "parent": {
+ "$ref": "1676"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1678",
+ "kind": 3,
+ "sv": "example",
+ "pos": 15997,
+ "end": 16004,
+ "flags": 0,
+ "parent": {
+ "$ref": "1676"
+ },
+ "_id": 510
+ },
+ "target": {
+ "$id": "1679",
+ "kind": 27,
+ "id": {
+ "$id": "1680",
+ "kind": 3,
+ "sv": "target",
+ "pos": 16008,
+ "end": 16014,
+ "flags": 0,
+ "parent": {
+ "$ref": "1679"
+ },
+ "_id": 511
+ },
+ "type": {
+ "$id": "1681",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1682",
+ "kind": 45,
+ "target": {
+ "$id": "1683",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 16016,
+ "end": 16021,
+ "flags": 1,
+ "parent": {
+ "$ref": "1682"
+ },
+ "_id": 513
+ },
+ "arguments": [],
+ "pos": 16016,
+ "end": 16021,
+ "flags": 1,
+ "parent": {
+ "$ref": "1681"
+ },
+ "_id": 512
+ },
+ {
+ "$id": "1684",
+ "kind": 45,
+ "target": {
+ "$id": "1685",
+ "kind": 3,
+ "sv": "Enum",
+ "pos": 16024,
+ "end": 16028,
+ "flags": 1,
+ "parent": {
+ "$ref": "1684"
+ },
+ "_id": 515
+ },
+ "arguments": [],
+ "pos": 16024,
+ "end": 16028,
+ "flags": 1,
+ "parent": {
+ "$ref": "1681"
+ },
+ "_id": 514
+ },
+ {
+ "$id": "1686",
+ "kind": 45,
+ "target": {
+ "$id": "1687",
+ "kind": 3,
+ "sv": "Scalar",
+ "pos": 16031,
+ "end": 16037,
+ "flags": 1,
+ "parent": {
+ "$ref": "1686"
+ },
+ "_id": 517
+ },
+ "arguments": [],
+ "pos": 16031,
+ "end": 16037,
+ "flags": 1,
+ "parent": {
+ "$ref": "1681"
+ },
+ "_id": 516
+ },
+ {
+ "$id": "1688",
+ "kind": 45,
+ "target": {
+ "$id": "1689",
+ "kind": 3,
+ "sv": "Union",
+ "pos": 16040,
+ "end": 16045,
+ "flags": 1,
+ "parent": {
+ "$ref": "1688"
+ },
+ "_id": 519
+ },
+ "arguments": [],
+ "pos": 16040,
+ "end": 16045,
+ "flags": 1,
+ "parent": {
+ "$ref": "1681"
+ },
+ "_id": 518
+ },
+ {
+ "$id": "1690",
+ "kind": 45,
+ "target": {
+ "$id": "1691",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 16048,
+ "end": 16061,
+ "flags": 1,
+ "parent": {
+ "$ref": "1690"
+ },
+ "_id": 521
+ },
+ "arguments": [],
+ "pos": 16048,
+ "end": 16061,
+ "flags": 1,
+ "parent": {
+ "$ref": "1681"
+ },
+ "_id": 520
+ },
+ {
+ "$id": "1692",
+ "kind": 45,
+ "target": {
+ "$id": "1693",
+ "kind": 3,
+ "sv": "UnionVariant",
+ "pos": 16064,
+ "end": 16076,
+ "flags": 1,
+ "parent": {
+ "$ref": "1692"
+ },
+ "_id": 523
+ },
+ "arguments": [],
+ "pos": 16064,
+ "end": 16076,
+ "flags": 1,
+ "parent": {
+ "$ref": "1681"
+ },
+ "_id": 522
+ }
+ ],
+ "pos": 16016,
+ "end": 16076,
+ "flags": 0,
+ "parent": {
+ "$ref": "1679"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 16008,
+ "end": 16076,
+ "flags": 0,
+ "parent": {
+ "$ref": "1676"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1679"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 324
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1694",
+ "kind": 27,
+ "id": {
+ "$id": "1695",
+ "kind": 3,
+ "sv": "example",
+ "pos": 16080,
+ "end": 16087,
+ "flags": 0,
+ "parent": {
+ "$ref": "1694"
+ },
+ "_id": 525
+ },
+ "type": {
+ "$id": "1696",
+ "kind": 44,
+ "target": {
+ "$id": "1697",
+ "kind": 43,
+ "pos": 16097,
+ "end": 16104,
+ "flags": 0,
+ "parent": {
+ "$ref": "1696"
+ }
+ },
+ "pos": 16089,
+ "end": 16104,
+ "flags": 0,
+ "parent": {
+ "$ref": "1694"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 16080,
+ "end": 16104,
+ "flags": 0,
+ "parent": {
+ "$ref": "1676"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1694"
+ }
+ ],
+ "name": "example",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 325
+ }
+ },
+ {
+ "$id": "1698",
+ "kind": 27,
+ "id": {
+ "$id": "1699",
+ "kind": 3,
+ "sv": "options",
+ "pos": 16108,
+ "end": 16115,
+ "flags": 0,
+ "parent": {
+ "$ref": "1698"
+ },
+ "_id": 526
+ },
+ "type": {
+ "$id": "1700",
+ "kind": 44,
+ "target": {
+ "$id": "1701",
+ "kind": 45,
+ "target": {
+ "$id": "1702",
+ "kind": 3,
+ "sv": "ExampleOptions",
+ "pos": 16126,
+ "end": 16140,
+ "flags": 1,
+ "parent": {
+ "$ref": "1701"
+ },
+ "_id": 528
+ },
+ "arguments": [],
+ "pos": 16126,
+ "end": 16140,
+ "flags": 1,
+ "parent": {
+ "$ref": "1700"
+ },
+ "_id": 527
+ },
+ "pos": 16118,
+ "end": 16140,
+ "flags": 0,
+ "parent": {
+ "$ref": "1698"
+ }
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 16108,
+ "end": 16140,
+ "flags": 0,
+ "parent": {
+ "$ref": "1676"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1698"
+ }
+ ],
+ "name": "options",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 326
+ }
+ }
+ ],
+ "pos": 15716,
+ "end": 16143,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1703",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1704",
+ "kind": 52,
+ "text": "Provide an example value for a data type.",
+ "pos": 15719,
+ "end": 15771,
+ "flags": 0,
+ "parent": {
+ "$ref": "1703"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1705",
+ "kind": 53,
+ "tagName": {
+ "$id": "1706",
+ "kind": 3,
+ "sv": "param",
+ "pos": 15772,
+ "end": 15777,
+ "flags": 0,
+ "parent": {
+ "$ref": "1705"
+ }
+ },
+ "paramName": {
+ "$id": "1707",
+ "kind": 3,
+ "sv": "example",
+ "pos": 15778,
+ "end": 15785,
+ "flags": 0,
+ "parent": {
+ "$ref": "1705"
+ }
+ },
+ "content": [
+ {
+ "$id": "1708",
+ "kind": 52,
+ "text": "Example value.",
+ "pos": 15786,
+ "end": 15804,
+ "flags": 0,
+ "parent": {
+ "$ref": "1705"
+ }
+ }
+ ],
+ "pos": 15771,
+ "end": 15804,
+ "flags": 0,
+ "parent": {
+ "$ref": "1703"
+ }
+ },
+ {
+ "$id": "1709",
+ "kind": 53,
+ "tagName": {
+ "$id": "1710",
+ "kind": 3,
+ "sv": "param",
+ "pos": 15805,
+ "end": 15810,
+ "flags": 0,
+ "parent": {
+ "$ref": "1709"
+ }
+ },
+ "paramName": {
+ "$id": "1711",
+ "kind": 3,
+ "sv": "options",
+ "pos": 15811,
+ "end": 15818,
+ "flags": 0,
+ "parent": {
+ "$ref": "1709"
+ }
+ },
+ "content": [
+ {
+ "$id": "1712",
+ "kind": 52,
+ "text": "Optional metadata for the example.",
+ "pos": 15819,
+ "end": 15860,
+ "flags": 0,
+ "parent": {
+ "$ref": "1709"
+ }
+ }
+ ],
+ "pos": 15804,
+ "end": 15860,
+ "flags": 0,
+ "parent": {
+ "$ref": "1703"
+ }
+ },
+ {
+ "$id": "1713",
+ "kind": 58,
+ "tagName": {
+ "$id": "1714",
+ "kind": 3,
+ "sv": "example",
+ "pos": 15861,
+ "end": 15868,
+ "flags": 0,
+ "parent": {
+ "$ref": "1713"
+ }
+ },
+ "content": [
+ {
+ "$id": "1715",
+ "kind": 52,
+ "text": "```tsp\n@example(#{name: \"Fluffy\", age: 2})\nmodel Pet {\n name: string;\n age: int32;\n}\n```",
+ "pos": 15868,
+ "end": 15983,
+ "flags": 0,
+ "parent": {
+ "$ref": "1713"
+ }
+ }
+ ],
+ "pos": 15860,
+ "end": 15983,
+ "flags": 0,
+ "parent": {
+ "$ref": "1703"
+ }
+ }
+ ],
+ "pos": 15716,
+ "end": 15985,
+ "flags": 0,
+ "parent": {
+ "$ref": "1676"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1676"
+ }
+ ],
+ "name": "@example",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1716",
+ "kind": 13,
+ "id": {
+ "$id": "1717",
+ "kind": 3,
+ "sv": "OperationExample",
+ "pos": 16195,
+ "end": 16211,
+ "flags": 0,
+ "parent": {
+ "$ref": "1716"
+ },
+ "_id": 529
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "1718",
+ "kind": 15,
+ "id": {
+ "$id": "1719",
+ "kind": 3,
+ "sv": "parameters",
+ "pos": 16247,
+ "end": 16257,
+ "flags": 0,
+ "parent": {
+ "$ref": "1718"
+ },
+ "_id": 530
+ },
+ "decorators": [],
+ "value": {
+ "$id": "1720",
+ "kind": 43,
+ "pos": 16260,
+ "end": 16267,
+ "flags": 0,
+ "parent": {
+ "$ref": "1718"
+ }
+ },
+ "optional": true,
+ "pos": 16216,
+ "end": 16267,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1721",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1722",
+ "kind": 52,
+ "text": "Example request body.",
+ "pos": 16219,
+ "end": 16242,
+ "flags": 0,
+ "parent": {
+ "$ref": "1721"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 16216,
+ "end": 16244,
+ "flags": 0,
+ "parent": {
+ "$ref": "1718"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1716"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1718"
+ },
+ "name": "parameters",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1716"
+ }
+ ],
+ "name": "OperationExample",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 72
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1723",
+ "kind": 15,
+ "id": {
+ "$id": "1724",
+ "kind": 3,
+ "sv": "returnType",
+ "pos": 16304,
+ "end": 16314,
+ "flags": 0,
+ "parent": {
+ "$ref": "1723"
+ },
+ "_id": 531
+ },
+ "decorators": [],
+ "value": {
+ "$id": "1725",
+ "kind": 43,
+ "pos": 16317,
+ "end": 16324,
+ "flags": 0,
+ "parent": {
+ "$ref": "1723"
+ }
+ },
+ "optional": true,
+ "pos": 16272,
+ "end": 16324,
+ "flags": 0,
+ "docs": [
+ {
+ "$id": "1726",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1727",
+ "kind": 52,
+ "text": "Example response body.",
+ "pos": 16275,
+ "end": 16299,
+ "flags": 0,
+ "parent": {
+ "$ref": "1726"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 16272,
+ "end": 16301,
+ "flags": 0,
+ "parent": {
+ "$ref": "1723"
+ }
+ }
+ ],
+ "directives": [],
+ "parent": {
+ "$ref": "1716"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1723"
+ },
+ "name": "returnType",
+ "flags": 65536,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1716"
+ }
+ ],
+ "name": "OperationExample",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 72
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 16212,
+ "end": 16327
+ },
+ "pos": 16145,
+ "end": 16327,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1728",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1729",
+ "kind": 52,
+ "text": "Operation example configuration.",
+ "pos": 16148,
+ "end": 16186,
+ "flags": 0,
+ "parent": {
+ "$ref": "1728"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 16145,
+ "end": 16188,
+ "flags": 0,
+ "parent": {
+ "$ref": "1716"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1716"
+ }
+ ],
+ "name": "OperationExample",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 72
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "1730",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1731",
+ "kind": 40,
+ "pos": 16685,
+ "end": 16691,
+ "flags": 0,
+ "parent": {
+ "$ref": "1730"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1732",
+ "kind": 3,
+ "sv": "opExample",
+ "pos": 16696,
+ "end": 16705,
+ "flags": 0,
+ "parent": {
+ "$ref": "1730"
+ },
+ "_id": 532
+ },
+ "target": {
+ "$id": "1733",
+ "kind": 27,
+ "id": {
+ "$id": "1734",
+ "kind": 3,
+ "sv": "target",
+ "pos": 16709,
+ "end": 16715,
+ "flags": 0,
+ "parent": {
+ "$ref": "1733"
+ },
+ "_id": 533
+ },
+ "type": {
+ "$id": "1735",
+ "kind": 45,
+ "target": {
+ "$id": "1736",
+ "kind": 3,
+ "sv": "Operation",
+ "pos": 16717,
+ "end": 16726,
+ "flags": 1,
+ "parent": {
+ "$ref": "1735"
+ },
+ "_id": 535
+ },
+ "arguments": [],
+ "pos": 16717,
+ "end": 16726,
+ "flags": 1,
+ "parent": {
+ "$ref": "1733"
+ },
+ "_id": 534
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 16709,
+ "end": 16726,
+ "flags": 0,
+ "parent": {
+ "$ref": "1730"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1733"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 330
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1737",
+ "kind": 27,
+ "id": {
+ "$id": "1738",
+ "kind": 3,
+ "sv": "example",
+ "pos": 16730,
+ "end": 16737,
+ "flags": 0,
+ "parent": {
+ "$ref": "1737"
+ },
+ "_id": 536
+ },
+ "type": {
+ "$id": "1739",
+ "kind": 44,
+ "target": {
+ "$id": "1740",
+ "kind": 45,
+ "target": {
+ "$id": "1741",
+ "kind": 3,
+ "sv": "OperationExample",
+ "pos": 16747,
+ "end": 16763,
+ "flags": 1,
+ "parent": {
+ "$ref": "1740"
+ },
+ "_id": 538
+ },
+ "arguments": [],
+ "pos": 16747,
+ "end": 16763,
+ "flags": 1,
+ "parent": {
+ "$ref": "1739"
+ },
+ "_id": 537
+ },
+ "pos": 16739,
+ "end": 16763,
+ "flags": 0,
+ "parent": {
+ "$ref": "1737"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 16730,
+ "end": 16763,
+ "flags": 0,
+ "parent": {
+ "$ref": "1730"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1737"
+ }
+ ],
+ "name": "example",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 331
+ }
+ },
+ {
+ "$id": "1742",
+ "kind": 27,
+ "id": {
+ "$id": "1743",
+ "kind": 3,
+ "sv": "options",
+ "pos": 16767,
+ "end": 16774,
+ "flags": 0,
+ "parent": {
+ "$ref": "1742"
+ },
+ "_id": 539
+ },
+ "type": {
+ "$id": "1744",
+ "kind": 44,
+ "target": {
+ "$id": "1745",
+ "kind": 45,
+ "target": {
+ "$id": "1746",
+ "kind": 3,
+ "sv": "ExampleOptions",
+ "pos": 16785,
+ "end": 16799,
+ "flags": 1,
+ "parent": {
+ "$ref": "1745"
+ },
+ "_id": 541
+ },
+ "arguments": [],
+ "pos": 16785,
+ "end": 16799,
+ "flags": 1,
+ "parent": {
+ "$ref": "1744"
+ },
+ "_id": 540
+ },
+ "pos": 16777,
+ "end": 16799,
+ "flags": 0,
+ "parent": {
+ "$ref": "1742"
+ }
+ },
+ "optional": true,
+ "rest": false,
+ "pos": 16767,
+ "end": 16799,
+ "flags": 0,
+ "parent": {
+ "$ref": "1730"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1742"
+ }
+ ],
+ "name": "options",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 332
+ }
+ }
+ ],
+ "pos": 16329,
+ "end": 16802,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1747",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1748",
+ "kind": 52,
+ "text": "Provide example values for an operation's parameters and corresponding return type.",
+ "pos": 16332,
+ "end": 16426,
+ "flags": 0,
+ "parent": {
+ "$ref": "1747"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1749",
+ "kind": 53,
+ "tagName": {
+ "$id": "1750",
+ "kind": 3,
+ "sv": "param",
+ "pos": 16427,
+ "end": 16432,
+ "flags": 0,
+ "parent": {
+ "$ref": "1749"
+ }
+ },
+ "paramName": {
+ "$id": "1751",
+ "kind": 3,
+ "sv": "example",
+ "pos": 16433,
+ "end": 16440,
+ "flags": 0,
+ "parent": {
+ "$ref": "1749"
+ }
+ },
+ "content": [
+ {
+ "$id": "1752",
+ "kind": 52,
+ "text": "Example value.",
+ "pos": 16441,
+ "end": 16459,
+ "flags": 0,
+ "parent": {
+ "$ref": "1749"
+ }
+ }
+ ],
+ "pos": 16426,
+ "end": 16459,
+ "flags": 0,
+ "parent": {
+ "$ref": "1747"
+ }
+ },
+ {
+ "$id": "1753",
+ "kind": 53,
+ "tagName": {
+ "$id": "1754",
+ "kind": 3,
+ "sv": "param",
+ "pos": 16460,
+ "end": 16465,
+ "flags": 0,
+ "parent": {
+ "$ref": "1753"
+ }
+ },
+ "paramName": {
+ "$id": "1755",
+ "kind": 3,
+ "sv": "options",
+ "pos": 16466,
+ "end": 16473,
+ "flags": 0,
+ "parent": {
+ "$ref": "1753"
+ }
+ },
+ "content": [
+ {
+ "$id": "1756",
+ "kind": 52,
+ "text": "Optional metadata for the example.",
+ "pos": 16474,
+ "end": 16515,
+ "flags": 0,
+ "parent": {
+ "$ref": "1753"
+ }
+ }
+ ],
+ "pos": 16459,
+ "end": 16515,
+ "flags": 0,
+ "parent": {
+ "$ref": "1747"
+ }
+ },
+ {
+ "$id": "1757",
+ "kind": 58,
+ "tagName": {
+ "$id": "1758",
+ "kind": 3,
+ "sv": "example",
+ "pos": 16516,
+ "end": 16523,
+ "flags": 0,
+ "parent": {
+ "$ref": "1757"
+ }
+ },
+ "content": [
+ {
+ "$id": "1759",
+ "kind": 52,
+ "text": "```tsp\n@opExample(#{parameters: #{name: \"Fluffy\", age: 2}, returnType: #{name: \"Fluffy\", age: 2, id: \"abc\"})\nop createPet(pet: Pet): Pet;\n```",
+ "pos": 16523,
+ "end": 16682,
+ "flags": 0,
+ "parent": {
+ "$ref": "1757"
+ }
+ }
+ ],
+ "pos": 16515,
+ "end": 16682,
+ "flags": 0,
+ "parent": {
+ "$ref": "1747"
+ }
+ }
+ ],
+ "pos": 16329,
+ "end": 16684,
+ "flags": 0,
+ "parent": {
+ "$ref": "1730"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1730"
+ }
+ ],
+ "name": "@opExample",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1760",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1761",
+ "kind": 40,
+ "pos": 16867,
+ "end": 16873,
+ "flags": 0,
+ "parent": {
+ "$ref": "1760"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1762",
+ "kind": 3,
+ "sv": "withOptionalProperties",
+ "pos": 16878,
+ "end": 16900,
+ "flags": 0,
+ "parent": {
+ "$ref": "1760"
+ },
+ "_id": 168
+ },
+ "target": {
+ "$id": "1763",
+ "kind": 27,
+ "id": {
+ "$id": "1764",
+ "kind": 3,
+ "sv": "target",
+ "pos": 16901,
+ "end": 16907,
+ "flags": 0,
+ "parent": {
+ "$ref": "1763"
+ },
+ "_id": 169
+ },
+ "type": {
+ "$id": "1765",
+ "kind": 45,
+ "target": {
+ "$id": "1766",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 16909,
+ "end": 16914,
+ "flags": 1,
+ "parent": {
+ "$ref": "1765"
+ },
+ "_id": 171
+ },
+ "arguments": [],
+ "pos": 16909,
+ "end": 16914,
+ "flags": 1,
+ "parent": {
+ "$ref": "1763"
+ },
+ "_id": 170
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 16901,
+ "end": 16914,
+ "flags": 0,
+ "parent": {
+ "$ref": "1760"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1763"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 221
+ }
+ },
+ "parameters": [],
+ "pos": 16804,
+ "end": 16916,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1767",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1768",
+ "kind": 52,
+ "text": "Returns the model with required properties removed.",
+ "pos": 16807,
+ "end": 16864,
+ "flags": 0,
+ "parent": {
+ "$ref": "1767"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 16804,
+ "end": 16866,
+ "flags": 0,
+ "parent": {
+ "$ref": "1760"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1760"
+ }
+ ],
+ "name": "@withOptionalProperties",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1769",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1770",
+ "kind": 40,
+ "pos": 16980,
+ "end": 16986,
+ "flags": 0,
+ "parent": {
+ "$ref": "1769"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1771",
+ "kind": 3,
+ "sv": "withoutDefaultValues",
+ "pos": 16991,
+ "end": 17011,
+ "flags": 0,
+ "parent": {
+ "$ref": "1769"
+ },
+ "_id": 229
+ },
+ "target": {
+ "$id": "1772",
+ "kind": 27,
+ "id": {
+ "$id": "1773",
+ "kind": 3,
+ "sv": "target",
+ "pos": 17012,
+ "end": 17018,
+ "flags": 0,
+ "parent": {
+ "$ref": "1772"
+ },
+ "_id": 230
+ },
+ "type": {
+ "$id": "1774",
+ "kind": 45,
+ "target": {
+ "$id": "1775",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 17020,
+ "end": 17025,
+ "flags": 1,
+ "parent": {
+ "$ref": "1774"
+ },
+ "_id": 232
+ },
+ "arguments": [],
+ "pos": 17020,
+ "end": 17025,
+ "flags": 1,
+ "parent": {
+ "$ref": "1772"
+ },
+ "_id": 231
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 17012,
+ "end": 17025,
+ "flags": 0,
+ "parent": {
+ "$ref": "1769"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1772"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 231
+ }
+ },
+ "parameters": [],
+ "pos": 16918,
+ "end": 17027,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1776",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1777",
+ "kind": 52,
+ "text": "Returns the model with any default values removed.",
+ "pos": 16921,
+ "end": 16977,
+ "flags": 0,
+ "parent": {
+ "$ref": "1776"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 16918,
+ "end": 16979,
+ "flags": 0,
+ "parent": {
+ "$ref": "1769"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1769"
+ }
+ ],
+ "name": "@withoutDefaultValues",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1778",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1779",
+ "kind": 40,
+ "pos": 17135,
+ "end": 17141,
+ "flags": 0,
+ "parent": {
+ "$ref": "1778"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1780",
+ "kind": 3,
+ "sv": "withoutOmittedProperties",
+ "pos": 17146,
+ "end": 17170,
+ "flags": 0,
+ "parent": {
+ "$ref": "1778"
+ },
+ "_id": 189
+ },
+ "target": {
+ "$id": "1781",
+ "kind": 27,
+ "id": {
+ "$id": "1782",
+ "kind": 3,
+ "sv": "target",
+ "pos": 17171,
+ "end": 17177,
+ "flags": 0,
+ "parent": {
+ "$ref": "1781"
+ },
+ "_id": 190
+ },
+ "type": {
+ "$id": "1783",
+ "kind": 45,
+ "target": {
+ "$id": "1784",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 17179,
+ "end": 17184,
+ "flags": 1,
+ "parent": {
+ "$ref": "1783"
+ },
+ "_id": 192
+ },
+ "arguments": [],
+ "pos": 17179,
+ "end": 17184,
+ "flags": 1,
+ "parent": {
+ "$ref": "1781"
+ },
+ "_id": 191
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 17171,
+ "end": 17184,
+ "flags": 0,
+ "parent": {
+ "$ref": "1778"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1781"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 225
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1785",
+ "kind": 27,
+ "id": {
+ "$id": "1786",
+ "kind": 3,
+ "sv": "omit",
+ "pos": 17186,
+ "end": 17190,
+ "flags": 0,
+ "parent": {
+ "$ref": "1785"
+ },
+ "_id": 193
+ },
+ "type": {
+ "$id": "1787",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1788",
+ "kind": 45,
+ "target": {
+ "$id": "1789",
+ "kind": 3,
+ "sv": "string",
+ "pos": 17192,
+ "end": 17198,
+ "flags": 1,
+ "parent": {
+ "$ref": "1788"
+ },
+ "_id": 195
+ },
+ "arguments": [],
+ "pos": 17192,
+ "end": 17198,
+ "flags": 1,
+ "parent": {
+ "$ref": "1787"
+ },
+ "_id": 194
+ },
+ {
+ "$id": "1790",
+ "kind": 45,
+ "target": {
+ "$id": "1791",
+ "kind": 3,
+ "sv": "Union",
+ "pos": 17201,
+ "end": 17206,
+ "flags": 1,
+ "parent": {
+ "$ref": "1790"
+ },
+ "_id": 197
+ },
+ "arguments": [],
+ "pos": 17201,
+ "end": 17206,
+ "flags": 1,
+ "parent": {
+ "$ref": "1787"
+ },
+ "_id": 196
+ }
+ ],
+ "pos": 17192,
+ "end": 17206,
+ "flags": 0,
+ "parent": {
+ "$ref": "1785"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 17186,
+ "end": 17206,
+ "flags": 0,
+ "parent": {
+ "$ref": "1778"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1785"
+ }
+ ],
+ "name": "omit",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 226
+ }
+ }
+ ],
+ "pos": 17029,
+ "end": 17208,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1792",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1793",
+ "kind": 52,
+ "text": "Returns the model with the given properties omitted.",
+ "pos": 17032,
+ "end": 17092,
+ "flags": 0,
+ "parent": {
+ "$ref": "1792"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1794",
+ "kind": 53,
+ "tagName": {
+ "$id": "1795",
+ "kind": 3,
+ "sv": "param",
+ "pos": 17093,
+ "end": 17098,
+ "flags": 0,
+ "parent": {
+ "$ref": "1794"
+ }
+ },
+ "paramName": {
+ "$id": "1796",
+ "kind": 3,
+ "sv": "omit",
+ "pos": 17099,
+ "end": 17103,
+ "flags": 0,
+ "parent": {
+ "$ref": "1794"
+ }
+ },
+ "content": [
+ {
+ "$id": "1797",
+ "kind": 52,
+ "text": "List of properties to omit",
+ "pos": 17104,
+ "end": 17132,
+ "flags": 0,
+ "parent": {
+ "$ref": "1794"
+ }
+ }
+ ],
+ "pos": 17092,
+ "end": 17132,
+ "flags": 0,
+ "parent": {
+ "$ref": "1792"
+ }
+ }
+ ],
+ "pos": 17029,
+ "end": 17134,
+ "flags": 0,
+ "parent": {
+ "$ref": "1778"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1778"
+ }
+ ],
+ "name": "@withoutOmittedProperties",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1798",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1799",
+ "kind": 40,
+ "pos": 17325,
+ "end": 17331,
+ "flags": 0,
+ "parent": {
+ "$ref": "1798"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1800",
+ "kind": 3,
+ "sv": "withPickedProperties",
+ "pos": 17336,
+ "end": 17356,
+ "flags": 0,
+ "parent": {
+ "$ref": "1798"
+ },
+ "_id": 210
+ },
+ "target": {
+ "$id": "1801",
+ "kind": 27,
+ "id": {
+ "$id": "1802",
+ "kind": 3,
+ "sv": "target",
+ "pos": 17357,
+ "end": 17363,
+ "flags": 0,
+ "parent": {
+ "$ref": "1801"
+ },
+ "_id": 211
+ },
+ "type": {
+ "$id": "1803",
+ "kind": 45,
+ "target": {
+ "$id": "1804",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 17365,
+ "end": 17370,
+ "flags": 1,
+ "parent": {
+ "$ref": "1803"
+ },
+ "_id": 213
+ },
+ "arguments": [],
+ "pos": 17365,
+ "end": 17370,
+ "flags": 1,
+ "parent": {
+ "$ref": "1801"
+ },
+ "_id": 212
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 17357,
+ "end": 17370,
+ "flags": 0,
+ "parent": {
+ "$ref": "1798"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1801"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 228
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1805",
+ "kind": 27,
+ "id": {
+ "$id": "1806",
+ "kind": 3,
+ "sv": "pick",
+ "pos": 17372,
+ "end": 17376,
+ "flags": 0,
+ "parent": {
+ "$ref": "1805"
+ },
+ "_id": 214
+ },
+ "type": {
+ "$id": "1807",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "1808",
+ "kind": 45,
+ "target": {
+ "$id": "1809",
+ "kind": 3,
+ "sv": "string",
+ "pos": 17378,
+ "end": 17384,
+ "flags": 1,
+ "parent": {
+ "$ref": "1808"
+ },
+ "_id": 216
+ },
+ "arguments": [],
+ "pos": 17378,
+ "end": 17384,
+ "flags": 1,
+ "parent": {
+ "$ref": "1807"
+ },
+ "_id": 215
+ },
+ {
+ "$id": "1810",
+ "kind": 45,
+ "target": {
+ "$id": "1811",
+ "kind": 3,
+ "sv": "Union",
+ "pos": 17387,
+ "end": 17392,
+ "flags": 1,
+ "parent": {
+ "$ref": "1810"
+ },
+ "_id": 218
+ },
+ "arguments": [],
+ "pos": 17387,
+ "end": 17392,
+ "flags": 1,
+ "parent": {
+ "$ref": "1807"
+ },
+ "_id": 217
+ }
+ ],
+ "pos": 17378,
+ "end": 17392,
+ "flags": 0,
+ "parent": {
+ "$ref": "1805"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 17372,
+ "end": 17392,
+ "flags": 0,
+ "parent": {
+ "$ref": "1798"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1805"
+ }
+ ],
+ "name": "pick",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 229
+ }
+ }
+ ],
+ "pos": 17210,
+ "end": 17394,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1812",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1813",
+ "kind": 52,
+ "text": "Returns the model with only the given properties included.",
+ "pos": 17213,
+ "end": 17279,
+ "flags": 0,
+ "parent": {
+ "$ref": "1812"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1814",
+ "kind": 53,
+ "tagName": {
+ "$id": "1815",
+ "kind": 3,
+ "sv": "param",
+ "pos": 17280,
+ "end": 17285,
+ "flags": 0,
+ "parent": {
+ "$ref": "1814"
+ }
+ },
+ "paramName": {
+ "$id": "1816",
+ "kind": 3,
+ "sv": "pick",
+ "pos": 17286,
+ "end": 17290,
+ "flags": 0,
+ "parent": {
+ "$ref": "1814"
+ }
+ },
+ "content": [
+ {
+ "$id": "1817",
+ "kind": 52,
+ "text": "List of properties to include",
+ "pos": 17291,
+ "end": 17322,
+ "flags": 0,
+ "parent": {
+ "$ref": "1814"
+ }
+ }
+ ],
+ "pos": 17279,
+ "end": 17322,
+ "flags": 0,
+ "parent": {
+ "$ref": "1812"
+ }
+ }
+ ],
+ "pos": 17210,
+ "end": 17324,
+ "flags": 0,
+ "parent": {
+ "$ref": "1798"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1798"
+ }
+ ],
+ "name": "@withPickedProperties",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1818",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1819",
+ "kind": 40,
+ "pos": 17656,
+ "end": 17662,
+ "flags": 0,
+ "parent": {
+ "$ref": "1818"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1820",
+ "kind": 3,
+ "sv": "list",
+ "pos": 17667,
+ "end": 17671,
+ "flags": 0,
+ "parent": {
+ "$ref": "1818"
+ },
+ "_id": 542
+ },
+ "target": {
+ "$id": "1821",
+ "kind": 27,
+ "id": {
+ "$id": "1822",
+ "kind": 3,
+ "sv": "target",
+ "pos": 17672,
+ "end": 17678,
+ "flags": 0,
+ "parent": {
+ "$ref": "1821"
+ },
+ "_id": 543
+ },
+ "type": {
+ "$id": "1823",
+ "kind": 45,
+ "target": {
+ "$id": "1824",
+ "kind": 3,
+ "sv": "Operation",
+ "pos": 17680,
+ "end": 17689,
+ "flags": 1,
+ "parent": {
+ "$ref": "1823"
+ },
+ "_id": 545
+ },
+ "arguments": [],
+ "pos": 17680,
+ "end": 17689,
+ "flags": 1,
+ "parent": {
+ "$ref": "1821"
+ },
+ "_id": 544
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 17672,
+ "end": 17689,
+ "flags": 0,
+ "parent": {
+ "$ref": "1818"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1821"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 334
+ }
+ },
+ "parameters": [],
+ "pos": 17563,
+ "end": 17691,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1825",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1826",
+ "kind": 52,
+ "text": "Mark this operation as a `list` operation that returns a paginated list of items.",
+ "pos": 17566,
+ "end": 17653,
+ "flags": 0,
+ "parent": {
+ "$ref": "1825"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 17563,
+ "end": 17655,
+ "flags": 0,
+ "parent": {
+ "$ref": "1818"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1818"
+ }
+ ],
+ "name": "@list",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1827",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1828",
+ "kind": 40,
+ "pos": 17923,
+ "end": 17929,
+ "flags": 0,
+ "parent": {
+ "$ref": "1827"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1829",
+ "kind": 3,
+ "sv": "offset",
+ "pos": 17934,
+ "end": 17940,
+ "flags": 0,
+ "parent": {
+ "$ref": "1827"
+ },
+ "_id": 546
+ },
+ "target": {
+ "$id": "1830",
+ "kind": 27,
+ "id": {
+ "$id": "1831",
+ "kind": 3,
+ "sv": "target",
+ "pos": 17941,
+ "end": 17947,
+ "flags": 0,
+ "parent": {
+ "$ref": "1830"
+ },
+ "_id": 547
+ },
+ "type": {
+ "$id": "1832",
+ "kind": 45,
+ "target": {
+ "$id": "1833",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 17949,
+ "end": 17962,
+ "flags": 1,
+ "parent": {
+ "$ref": "1832"
+ },
+ "_id": 549
+ },
+ "arguments": [],
+ "pos": 17949,
+ "end": 17962,
+ "flags": 1,
+ "parent": {
+ "$ref": "1830"
+ },
+ "_id": 548
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 17941,
+ "end": 17962,
+ "flags": 0,
+ "parent": {
+ "$ref": "1827"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1830"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 336
+ }
+ },
+ "parameters": [],
+ "pos": 17693,
+ "end": 17964,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1834",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1835",
+ "kind": 52,
+ "text": "Pagination property defining the number of items to skip.",
+ "pos": 17696,
+ "end": 17761,
+ "flags": 0,
+ "parent": {
+ "$ref": "1834"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1836",
+ "kind": 58,
+ "tagName": {
+ "$id": "1837",
+ "kind": 3,
+ "sv": "example",
+ "pos": 17762,
+ "end": 17769,
+ "flags": 0,
+ "parent": {
+ "$ref": "1836"
+ }
+ },
+ "content": [
+ {
+ "$id": "1838",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n}\n@list op listPets(@offset skip: int32, @pageSize pageSize: int8): Page;\n```",
+ "pos": 17769,
+ "end": 17920,
+ "flags": 0,
+ "parent": {
+ "$ref": "1836"
+ }
+ }
+ ],
+ "pos": 17761,
+ "end": 17920,
+ "flags": 0,
+ "parent": {
+ "$ref": "1834"
+ }
+ }
+ ],
+ "pos": 17693,
+ "end": 17922,
+ "flags": 0,
+ "parent": {
+ "$ref": "1827"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1827"
+ }
+ ],
+ "name": "@offset",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1839",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1840",
+ "kind": 40,
+ "pos": 18189,
+ "end": 18195,
+ "flags": 0,
+ "parent": {
+ "$ref": "1839"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1841",
+ "kind": 3,
+ "sv": "pageIndex",
+ "pos": 18200,
+ "end": 18209,
+ "flags": 0,
+ "parent": {
+ "$ref": "1839"
+ },
+ "_id": 550
+ },
+ "target": {
+ "$id": "1842",
+ "kind": 27,
+ "id": {
+ "$id": "1843",
+ "kind": 3,
+ "sv": "target",
+ "pos": 18210,
+ "end": 18216,
+ "flags": 0,
+ "parent": {
+ "$ref": "1842"
+ },
+ "_id": 551
+ },
+ "type": {
+ "$id": "1844",
+ "kind": 45,
+ "target": {
+ "$id": "1845",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 18218,
+ "end": 18231,
+ "flags": 1,
+ "parent": {
+ "$ref": "1844"
+ },
+ "_id": 553
+ },
+ "arguments": [],
+ "pos": 18218,
+ "end": 18231,
+ "flags": 1,
+ "parent": {
+ "$ref": "1842"
+ },
+ "_id": 552
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 18210,
+ "end": 18231,
+ "flags": 0,
+ "parent": {
+ "$ref": "1839"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1842"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 338
+ }
+ },
+ "parameters": [],
+ "pos": 17966,
+ "end": 18233,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1846",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1847",
+ "kind": 52,
+ "text": "Pagination property defining the page index.",
+ "pos": 17969,
+ "end": 18024,
+ "flags": 0,
+ "parent": {
+ "$ref": "1846"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1848",
+ "kind": 58,
+ "tagName": {
+ "$id": "1849",
+ "kind": 3,
+ "sv": "example",
+ "pos": 18025,
+ "end": 18032,
+ "flags": 0,
+ "parent": {
+ "$ref": "1848"
+ }
+ },
+ "content": [
+ {
+ "$id": "1850",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n}\n@list op listPets(@pageIndex page: int32, @pageSize pageSize: int8): Page;\n```",
+ "pos": 18032,
+ "end": 18186,
+ "flags": 0,
+ "parent": {
+ "$ref": "1848"
+ }
+ }
+ ],
+ "pos": 18024,
+ "end": 18186,
+ "flags": 0,
+ "parent": {
+ "$ref": "1846"
+ }
+ }
+ ],
+ "pos": 17966,
+ "end": 18188,
+ "flags": 0,
+ "parent": {
+ "$ref": "1839"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1839"
+ }
+ ],
+ "name": "@pageIndex",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1851",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1852",
+ "kind": 40,
+ "pos": 18510,
+ "end": 18516,
+ "flags": 0,
+ "parent": {
+ "$ref": "1851"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1853",
+ "kind": 3,
+ "sv": "pageSize",
+ "pos": 18521,
+ "end": 18529,
+ "flags": 0,
+ "parent": {
+ "$ref": "1851"
+ },
+ "_id": 554
+ },
+ "target": {
+ "$id": "1854",
+ "kind": 27,
+ "id": {
+ "$id": "1855",
+ "kind": 3,
+ "sv": "target",
+ "pos": 18530,
+ "end": 18536,
+ "flags": 0,
+ "parent": {
+ "$ref": "1854"
+ },
+ "_id": 555
+ },
+ "type": {
+ "$id": "1856",
+ "kind": 45,
+ "target": {
+ "$id": "1857",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 18538,
+ "end": 18551,
+ "flags": 1,
+ "parent": {
+ "$ref": "1856"
+ },
+ "_id": 557
+ },
+ "arguments": [],
+ "pos": 18538,
+ "end": 18551,
+ "flags": 1,
+ "parent": {
+ "$ref": "1854"
+ },
+ "_id": 556
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 18530,
+ "end": 18551,
+ "flags": 0,
+ "parent": {
+ "$ref": "1851"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1854"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 340
+ }
+ },
+ "parameters": [],
+ "pos": 18235,
+ "end": 18553,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1858",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1859",
+ "kind": 52,
+ "text": "Specify the pagination parameter that controls the maximum number of items to include in a page.",
+ "pos": 18238,
+ "end": 18345,
+ "flags": 0,
+ "parent": {
+ "$ref": "1858"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1860",
+ "kind": 58,
+ "tagName": {
+ "$id": "1861",
+ "kind": 3,
+ "sv": "example",
+ "pos": 18346,
+ "end": 18353,
+ "flags": 0,
+ "parent": {
+ "$ref": "1860"
+ }
+ },
+ "content": [
+ {
+ "$id": "1862",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n}\n@list op listPets(@pageIndex page: int32, @pageSize pageSize: int8): Page;\n```",
+ "pos": 18353,
+ "end": 18507,
+ "flags": 0,
+ "parent": {
+ "$ref": "1860"
+ }
+ }
+ ],
+ "pos": 18345,
+ "end": 18507,
+ "flags": 0,
+ "parent": {
+ "$ref": "1858"
+ }
+ }
+ ],
+ "pos": 18235,
+ "end": 18509,
+ "flags": 0,
+ "parent": {
+ "$ref": "1851"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1851"
+ }
+ ],
+ "name": "@pageSize",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1863",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1864",
+ "kind": 40,
+ "pos": 18797,
+ "end": 18803,
+ "flags": 0,
+ "parent": {
+ "$ref": "1863"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1865",
+ "kind": 3,
+ "sv": "pageItems",
+ "pos": 18808,
+ "end": 18817,
+ "flags": 0,
+ "parent": {
+ "$ref": "1863"
+ },
+ "_id": 558
+ },
+ "target": {
+ "$id": "1866",
+ "kind": 27,
+ "id": {
+ "$id": "1867",
+ "kind": 3,
+ "sv": "target",
+ "pos": 18818,
+ "end": 18824,
+ "flags": 0,
+ "parent": {
+ "$ref": "1866"
+ },
+ "_id": 559
+ },
+ "type": {
+ "$id": "1868",
+ "kind": 45,
+ "target": {
+ "$id": "1869",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 18826,
+ "end": 18839,
+ "flags": 1,
+ "parent": {
+ "$ref": "1868"
+ },
+ "_id": 561
+ },
+ "arguments": [],
+ "pos": 18826,
+ "end": 18839,
+ "flags": 1,
+ "parent": {
+ "$ref": "1866"
+ },
+ "_id": 560
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 18818,
+ "end": 18839,
+ "flags": 0,
+ "parent": {
+ "$ref": "1863"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1866"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 342
+ }
+ },
+ "parameters": [],
+ "pos": 18555,
+ "end": 18841,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1870",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1871",
+ "kind": 52,
+ "text": "Specify the the property that contains the array of page items.",
+ "pos": 18558,
+ "end": 18632,
+ "flags": 0,
+ "parent": {
+ "$ref": "1870"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1872",
+ "kind": 58,
+ "tagName": {
+ "$id": "1873",
+ "kind": 3,
+ "sv": "example",
+ "pos": 18633,
+ "end": 18640,
+ "flags": 0,
+ "parent": {
+ "$ref": "1872"
+ }
+ },
+ "content": [
+ {
+ "$id": "1874",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n}\n@list op listPets(@pageIndex page: int32, @pageSize pageSize: int8): Page;\n```",
+ "pos": 18640,
+ "end": 18794,
+ "flags": 0,
+ "parent": {
+ "$ref": "1872"
+ }
+ }
+ ],
+ "pos": 18632,
+ "end": 18794,
+ "flags": 0,
+ "parent": {
+ "$ref": "1870"
+ }
+ }
+ ],
+ "pos": 18555,
+ "end": 18796,
+ "flags": 0,
+ "parent": {
+ "$ref": "1863"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1863"
+ }
+ ],
+ "name": "@pageItems",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1875",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1876",
+ "kind": 40,
+ "pos": 19204,
+ "end": 19210,
+ "flags": 0,
+ "parent": {
+ "$ref": "1875"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1877",
+ "kind": 3,
+ "sv": "continuationToken",
+ "pos": 19215,
+ "end": 19232,
+ "flags": 0,
+ "parent": {
+ "$ref": "1875"
+ },
+ "_id": 562
+ },
+ "target": {
+ "$id": "1878",
+ "kind": 27,
+ "id": {
+ "$id": "1879",
+ "kind": 3,
+ "sv": "target",
+ "pos": 19233,
+ "end": 19239,
+ "flags": 0,
+ "parent": {
+ "$ref": "1878"
+ },
+ "_id": 563
+ },
+ "type": {
+ "$id": "1880",
+ "kind": 45,
+ "target": {
+ "$id": "1881",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 19241,
+ "end": 19254,
+ "flags": 1,
+ "parent": {
+ "$ref": "1880"
+ },
+ "_id": 565
+ },
+ "arguments": [],
+ "pos": 19241,
+ "end": 19254,
+ "flags": 1,
+ "parent": {
+ "$ref": "1878"
+ },
+ "_id": 564
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 19233,
+ "end": 19254,
+ "flags": 0,
+ "parent": {
+ "$ref": "1875"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1878"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 344
+ }
+ },
+ "parameters": [],
+ "pos": 18843,
+ "end": 19256,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1882",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1883",
+ "kind": 52,
+ "text": "Pagination property defining the token to get to the next page.\nIt MUST be specified both on the request parameter and the response.",
+ "pos": 18846,
+ "end": 18992,
+ "flags": 0,
+ "parent": {
+ "$ref": "1882"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1884",
+ "kind": 58,
+ "tagName": {
+ "$id": "1885",
+ "kind": 3,
+ "sv": "example",
+ "pos": 18993,
+ "end": 19000,
+ "flags": 0,
+ "parent": {
+ "$ref": "1884"
+ }
+ },
+ "content": [
+ {
+ "$id": "1886",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n @continuationToken continuationToken: string;\n}\n@list op listPets(@continuationToken continuationToken: string): Page;\n```",
+ "pos": 19000,
+ "end": 19201,
+ "flags": 0,
+ "parent": {
+ "$ref": "1884"
+ }
+ }
+ ],
+ "pos": 18992,
+ "end": 19201,
+ "flags": 0,
+ "parent": {
+ "$ref": "1882"
+ }
+ }
+ ],
+ "pos": 18843,
+ "end": 19203,
+ "flags": 0,
+ "parent": {
+ "$ref": "1875"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1875"
+ }
+ ],
+ "name": "@continuationToken",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1887",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1888",
+ "kind": 40,
+ "pos": 19684,
+ "end": 19690,
+ "flags": 0,
+ "parent": {
+ "$ref": "1887"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1889",
+ "kind": 3,
+ "sv": "nextLink",
+ "pos": 19695,
+ "end": 19703,
+ "flags": 0,
+ "parent": {
+ "$ref": "1887"
+ },
+ "_id": 566
+ },
+ "target": {
+ "$id": "1890",
+ "kind": 27,
+ "id": {
+ "$id": "1891",
+ "kind": 3,
+ "sv": "target",
+ "pos": 19704,
+ "end": 19710,
+ "flags": 0,
+ "parent": {
+ "$ref": "1890"
+ },
+ "_id": 567
+ },
+ "type": {
+ "$id": "1892",
+ "kind": 45,
+ "target": {
+ "$id": "1893",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 19712,
+ "end": 19725,
+ "flags": 1,
+ "parent": {
+ "$ref": "1892"
+ },
+ "_id": 569
+ },
+ "arguments": [],
+ "pos": 19712,
+ "end": 19725,
+ "flags": 1,
+ "parent": {
+ "$ref": "1890"
+ },
+ "_id": 568
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 19704,
+ "end": 19725,
+ "flags": 0,
+ "parent": {
+ "$ref": "1887"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1890"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 346
+ }
+ },
+ "parameters": [],
+ "pos": 19258,
+ "end": 19727,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1894",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1895",
+ "kind": 52,
+ "text": "Pagination property defining a link to the next page.\n\nIt is expected that navigating to the link will return the same set of responses as the operation that returned the current page.",
+ "pos": 19261,
+ "end": 19461,
+ "flags": 0,
+ "parent": {
+ "$ref": "1894"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1896",
+ "kind": 58,
+ "tagName": {
+ "$id": "1897",
+ "kind": 3,
+ "sv": "example",
+ "pos": 19462,
+ "end": 19469,
+ "flags": 0,
+ "parent": {
+ "$ref": "1896"
+ }
+ },
+ "content": [
+ {
+ "$id": "1898",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n @nextLink next: url;\n @prevLink prev: url;\n @firstLink first: url;\n @lastLink last: url;\n}\n@list op listPets(): Page;\n```",
+ "pos": 19469,
+ "end": 19681,
+ "flags": 0,
+ "parent": {
+ "$ref": "1896"
+ }
+ }
+ ],
+ "pos": 19461,
+ "end": 19681,
+ "flags": 0,
+ "parent": {
+ "$ref": "1894"
+ }
+ }
+ ],
+ "pos": 19258,
+ "end": 19683,
+ "flags": 0,
+ "parent": {
+ "$ref": "1887"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1887"
+ }
+ ],
+ "name": "@nextLink",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1899",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1900",
+ "kind": 40,
+ "pos": 20159,
+ "end": 20165,
+ "flags": 0,
+ "parent": {
+ "$ref": "1899"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1901",
+ "kind": 3,
+ "sv": "prevLink",
+ "pos": 20170,
+ "end": 20178,
+ "flags": 0,
+ "parent": {
+ "$ref": "1899"
+ },
+ "_id": 570
+ },
+ "target": {
+ "$id": "1902",
+ "kind": 27,
+ "id": {
+ "$id": "1903",
+ "kind": 3,
+ "sv": "target",
+ "pos": 20179,
+ "end": 20185,
+ "flags": 0,
+ "parent": {
+ "$ref": "1902"
+ },
+ "_id": 571
+ },
+ "type": {
+ "$id": "1904",
+ "kind": 45,
+ "target": {
+ "$id": "1905",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 20187,
+ "end": 20200,
+ "flags": 1,
+ "parent": {
+ "$ref": "1904"
+ },
+ "_id": 573
+ },
+ "arguments": [],
+ "pos": 20187,
+ "end": 20200,
+ "flags": 1,
+ "parent": {
+ "$ref": "1902"
+ },
+ "_id": 572
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 20179,
+ "end": 20200,
+ "flags": 0,
+ "parent": {
+ "$ref": "1899"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1902"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 348
+ }
+ },
+ "parameters": [],
+ "pos": 19729,
+ "end": 20202,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1906",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1907",
+ "kind": 52,
+ "text": "Pagination property defining a link to the previous page.\n\nIt is expected that navigating to the link will return the same set of responses as the operation that returned the current page.",
+ "pos": 19732,
+ "end": 19936,
+ "flags": 0,
+ "parent": {
+ "$ref": "1906"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1908",
+ "kind": 58,
+ "tagName": {
+ "$id": "1909",
+ "kind": 3,
+ "sv": "example",
+ "pos": 19937,
+ "end": 19944,
+ "flags": 0,
+ "parent": {
+ "$ref": "1908"
+ }
+ },
+ "content": [
+ {
+ "$id": "1910",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n @nextLink next: url;\n @prevLink prev: url;\n @firstLink first: url;\n @lastLink last: url;\n}\n@list op listPets(): Page;\n```",
+ "pos": 19944,
+ "end": 20156,
+ "flags": 0,
+ "parent": {
+ "$ref": "1908"
+ }
+ }
+ ],
+ "pos": 19936,
+ "end": 20156,
+ "flags": 0,
+ "parent": {
+ "$ref": "1906"
+ }
+ }
+ ],
+ "pos": 19729,
+ "end": 20158,
+ "flags": 0,
+ "parent": {
+ "$ref": "1899"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1899"
+ }
+ ],
+ "name": "@prevLink",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1911",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1912",
+ "kind": 40,
+ "pos": 20631,
+ "end": 20637,
+ "flags": 0,
+ "parent": {
+ "$ref": "1911"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1913",
+ "kind": 3,
+ "sv": "firstLink",
+ "pos": 20642,
+ "end": 20651,
+ "flags": 0,
+ "parent": {
+ "$ref": "1911"
+ },
+ "_id": 574
+ },
+ "target": {
+ "$id": "1914",
+ "kind": 27,
+ "id": {
+ "$id": "1915",
+ "kind": 3,
+ "sv": "target",
+ "pos": 20652,
+ "end": 20658,
+ "flags": 0,
+ "parent": {
+ "$ref": "1914"
+ },
+ "_id": 575
+ },
+ "type": {
+ "$id": "1916",
+ "kind": 45,
+ "target": {
+ "$id": "1917",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 20660,
+ "end": 20673,
+ "flags": 1,
+ "parent": {
+ "$ref": "1916"
+ },
+ "_id": 577
+ },
+ "arguments": [],
+ "pos": 20660,
+ "end": 20673,
+ "flags": 1,
+ "parent": {
+ "$ref": "1914"
+ },
+ "_id": 576
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 20652,
+ "end": 20673,
+ "flags": 0,
+ "parent": {
+ "$ref": "1911"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1914"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 350
+ }
+ },
+ "parameters": [],
+ "pos": 20204,
+ "end": 20675,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1918",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1919",
+ "kind": 52,
+ "text": "Pagination property defining a link to the first page.\n\nIt is expected that navigating to the link will return the same set of responses as the operation that returned the current page.",
+ "pos": 20207,
+ "end": 20408,
+ "flags": 0,
+ "parent": {
+ "$ref": "1918"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1920",
+ "kind": 58,
+ "tagName": {
+ "$id": "1921",
+ "kind": 3,
+ "sv": "example",
+ "pos": 20409,
+ "end": 20416,
+ "flags": 0,
+ "parent": {
+ "$ref": "1920"
+ }
+ },
+ "content": [
+ {
+ "$id": "1922",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n @nextLink next: url;\n @prevLink prev: url;\n @firstLink first: url;\n @lastLink last: url;\n}\n@list op listPets(): Page;\n```",
+ "pos": 20416,
+ "end": 20628,
+ "flags": 0,
+ "parent": {
+ "$ref": "1920"
+ }
+ }
+ ],
+ "pos": 20408,
+ "end": 20628,
+ "flags": 0,
+ "parent": {
+ "$ref": "1918"
+ }
+ }
+ ],
+ "pos": 20204,
+ "end": 20630,
+ "flags": 0,
+ "parent": {
+ "$ref": "1911"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1911"
+ }
+ ],
+ "name": "@firstLink",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1923",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1924",
+ "kind": 40,
+ "pos": 21103,
+ "end": 21109,
+ "flags": 0,
+ "parent": {
+ "$ref": "1923"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1925",
+ "kind": 3,
+ "sv": "lastLink",
+ "pos": 21114,
+ "end": 21122,
+ "flags": 0,
+ "parent": {
+ "$ref": "1923"
+ },
+ "_id": 578
+ },
+ "target": {
+ "$id": "1926",
+ "kind": 27,
+ "id": {
+ "$id": "1927",
+ "kind": 3,
+ "sv": "target",
+ "pos": 21123,
+ "end": 21129,
+ "flags": 0,
+ "parent": {
+ "$ref": "1926"
+ },
+ "_id": 579
+ },
+ "type": {
+ "$id": "1928",
+ "kind": 45,
+ "target": {
+ "$id": "1929",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 21131,
+ "end": 21144,
+ "flags": 1,
+ "parent": {
+ "$ref": "1928"
+ },
+ "_id": 581
+ },
+ "arguments": [],
+ "pos": 21131,
+ "end": 21144,
+ "flags": 1,
+ "parent": {
+ "$ref": "1926"
+ },
+ "_id": 580
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 21123,
+ "end": 21144,
+ "flags": 0,
+ "parent": {
+ "$ref": "1923"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1926"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 352
+ }
+ },
+ "parameters": [],
+ "pos": 20677,
+ "end": 21146,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1930",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1931",
+ "kind": 52,
+ "text": "Pagination property defining a link to the last page.\n\nIt is expected that navigating to the link will return the same set of responses as the operation that returned the current page.",
+ "pos": 20680,
+ "end": 20880,
+ "flags": 0,
+ "parent": {
+ "$ref": "1930"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1932",
+ "kind": 58,
+ "tagName": {
+ "$id": "1933",
+ "kind": 3,
+ "sv": "example",
+ "pos": 20881,
+ "end": 20888,
+ "flags": 0,
+ "parent": {
+ "$ref": "1932"
+ }
+ },
+ "content": [
+ {
+ "$id": "1934",
+ "kind": 52,
+ "text": "```tsp\nmodel Page {\n @pageItems items: T[];\n @nextLink next: url;\n @prevLink prev: url;\n @firstLink first: url;\n @lastLink last: url;\n}\n@list op listPets(): Page;\n```",
+ "pos": 20888,
+ "end": 21100,
+ "flags": 0,
+ "parent": {
+ "$ref": "1932"
+ }
+ }
+ ],
+ "pos": 20880,
+ "end": 21100,
+ "flags": 0,
+ "parent": {
+ "$ref": "1930"
+ }
+ }
+ ],
+ "pos": 20677,
+ "end": 21102,
+ "flags": 0,
+ "parent": {
+ "$ref": "1923"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1923"
+ }
+ ],
+ "name": "@lastLink",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1935",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1936",
+ "kind": 40,
+ "pos": 21409,
+ "end": 21415,
+ "flags": 0,
+ "parent": {
+ "$ref": "1935"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1937",
+ "kind": 3,
+ "sv": "inspectType",
+ "pos": 21420,
+ "end": 21431,
+ "flags": 0,
+ "parent": {
+ "$ref": "1935"
+ },
+ "_id": 582
+ },
+ "target": {
+ "$id": "1938",
+ "kind": 27,
+ "id": {
+ "$id": "1939",
+ "kind": 3,
+ "sv": "target",
+ "pos": 21432,
+ "end": 21438,
+ "flags": 0,
+ "parent": {
+ "$ref": "1938"
+ },
+ "_id": 583
+ },
+ "type": {
+ "$id": "1940",
+ "kind": 43,
+ "pos": 21440,
+ "end": 21447,
+ "flags": 0,
+ "parent": {
+ "$ref": "1938"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 21432,
+ "end": 21447,
+ "flags": 0,
+ "parent": {
+ "$ref": "1935"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1938"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 354
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1941",
+ "kind": 27,
+ "id": {
+ "$id": "1942",
+ "kind": 3,
+ "sv": "text",
+ "pos": 21449,
+ "end": 21453,
+ "flags": 0,
+ "parent": {
+ "$ref": "1941"
+ },
+ "_id": 584
+ },
+ "type": {
+ "$id": "1943",
+ "kind": 44,
+ "target": {
+ "$id": "1944",
+ "kind": 45,
+ "target": {
+ "$id": "1945",
+ "kind": 3,
+ "sv": "string",
+ "pos": 21463,
+ "end": 21469,
+ "flags": 1,
+ "parent": {
+ "$ref": "1944"
+ },
+ "_id": 586
+ },
+ "arguments": [],
+ "pos": 21463,
+ "end": 21469,
+ "flags": 1,
+ "parent": {
+ "$ref": "1943"
+ },
+ "_id": 585
+ },
+ "pos": 21455,
+ "end": 21469,
+ "flags": 0,
+ "parent": {
+ "$ref": "1941"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 21449,
+ "end": 21469,
+ "flags": 0,
+ "parent": {
+ "$ref": "1935"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1941"
+ }
+ ],
+ "name": "text",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 355
+ }
+ }
+ ],
+ "pos": 21318,
+ "end": 21471,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1946",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1947",
+ "kind": 52,
+ "text": "A debugging decorator used to inspect a type.",
+ "pos": 21321,
+ "end": 21374,
+ "flags": 0,
+ "parent": {
+ "$ref": "1946"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1948",
+ "kind": 53,
+ "tagName": {
+ "$id": "1949",
+ "kind": 3,
+ "sv": "param",
+ "pos": 21375,
+ "end": 21380,
+ "flags": 0,
+ "parent": {
+ "$ref": "1948"
+ }
+ },
+ "paramName": {
+ "$id": "1950",
+ "kind": 3,
+ "sv": "text",
+ "pos": 21381,
+ "end": 21385,
+ "flags": 0,
+ "parent": {
+ "$ref": "1948"
+ }
+ },
+ "content": [
+ {
+ "$id": "1951",
+ "kind": 52,
+ "text": "Custom text to log",
+ "pos": 21386,
+ "end": 21406,
+ "flags": 0,
+ "parent": {
+ "$ref": "1948"
+ }
+ }
+ ],
+ "pos": 21374,
+ "end": 21406,
+ "flags": 0,
+ "parent": {
+ "$ref": "1946"
+ }
+ }
+ ],
+ "pos": 21318,
+ "end": 21408,
+ "flags": 0,
+ "parent": {
+ "$ref": "1935"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1935"
+ }
+ ],
+ "name": "@inspectType",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "1952",
+ "kind": 25,
+ "modifiers": [
+ {
+ "$id": "1953",
+ "kind": 40,
+ "pos": 21569,
+ "end": 21575,
+ "flags": 0,
+ "parent": {
+ "$ref": "1952"
+ }
+ }
+ ],
+ "modifierFlags": 2,
+ "id": {
+ "$id": "1954",
+ "kind": 3,
+ "sv": "inspectTypeName",
+ "pos": 21580,
+ "end": 21595,
+ "flags": 0,
+ "parent": {
+ "$ref": "1952"
+ },
+ "_id": 587
+ },
+ "target": {
+ "$id": "1955",
+ "kind": 27,
+ "id": {
+ "$id": "1956",
+ "kind": 3,
+ "sv": "target",
+ "pos": 21596,
+ "end": 21602,
+ "flags": 0,
+ "parent": {
+ "$ref": "1955"
+ },
+ "_id": 588
+ },
+ "type": {
+ "$id": "1957",
+ "kind": 43,
+ "pos": 21604,
+ "end": 21611,
+ "flags": 0,
+ "parent": {
+ "$ref": "1955"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 21596,
+ "end": 21611,
+ "flags": 0,
+ "parent": {
+ "$ref": "1952"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1955"
+ }
+ ],
+ "name": "target",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 357
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1958",
+ "kind": 27,
+ "id": {
+ "$id": "1959",
+ "kind": 3,
+ "sv": "text",
+ "pos": 21613,
+ "end": 21617,
+ "flags": 0,
+ "parent": {
+ "$ref": "1958"
+ },
+ "_id": 589
+ },
+ "type": {
+ "$id": "1960",
+ "kind": 44,
+ "target": {
+ "$id": "1961",
+ "kind": 45,
+ "target": {
+ "$id": "1962",
+ "kind": 3,
+ "sv": "string",
+ "pos": 21627,
+ "end": 21633,
+ "flags": 1,
+ "parent": {
+ "$ref": "1961"
+ },
+ "_id": 591
+ },
+ "arguments": [],
+ "pos": 21627,
+ "end": 21633,
+ "flags": 1,
+ "parent": {
+ "$ref": "1960"
+ },
+ "_id": 590
+ },
+ "pos": 21619,
+ "end": 21633,
+ "flags": 0,
+ "parent": {
+ "$ref": "1958"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 21613,
+ "end": 21633,
+ "flags": 0,
+ "parent": {
+ "$ref": "1952"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1958"
+ }
+ ],
+ "name": "text",
+ "flags": 1052672,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 358
+ }
+ }
+ ],
+ "pos": 21473,
+ "end": 21635,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1963",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1964",
+ "kind": 52,
+ "text": "A debugging decorator used to inspect a type name.",
+ "pos": 21476,
+ "end": 21534,
+ "flags": 0,
+ "parent": {
+ "$ref": "1963"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1965",
+ "kind": 53,
+ "tagName": {
+ "$id": "1966",
+ "kind": 3,
+ "sv": "param",
+ "pos": 21535,
+ "end": 21540,
+ "flags": 0,
+ "parent": {
+ "$ref": "1965"
+ }
+ },
+ "paramName": {
+ "$id": "1967",
+ "kind": 3,
+ "sv": "text",
+ "pos": 21541,
+ "end": 21545,
+ "flags": 0,
+ "parent": {
+ "$ref": "1965"
+ }
+ },
+ "content": [
+ {
+ "$id": "1968",
+ "kind": 52,
+ "text": "Custom text to log",
+ "pos": 21546,
+ "end": 21566,
+ "flags": 0,
+ "parent": {
+ "$ref": "1965"
+ }
+ }
+ ],
+ "pos": 21534,
+ "end": 21566,
+ "flags": 0,
+ "parent": {
+ "$ref": "1963"
+ }
+ }
+ ],
+ "pos": 21473,
+ "end": 21568,
+ "flags": 0,
+ "parent": {
+ "$ref": "1952"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1952"
+ }
+ ],
+ "name": "@inspectTypeName",
+ "flags": 1049088,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "file": {
+ "text": "import \"../../dist/src/lib/tsp-index.js\";\n\nusing TypeSpec.Reflection;\n\nnamespace TypeSpec;\n\n/**\n * Typically a short, single-line description.\n * @param summary Summary string.\n *\n * @example\n * ```typespec\n * @summary(\"This is a pet\")\n * model Pet {}\n * ```\n */\nextern dec summary(target: unknown, summary: valueof string);\n\n/**\n * Attach a documentation string. Content support CommonMark markdown formatting.\n * @param doc Documentation string\n * @param formatArgs Record with key value pair that can be interpolated in the doc.\n *\n * @example\n * ```typespec\n * @doc(\"Represent a Pet available in the PetStore\")\n * model Pet {}\n * ```\n */\nextern dec doc(target: unknown, doc: valueof string, formatArgs?: {});\n\n/**\n * Attach a documentation string to describe the successful return types of an operation.\n * If an operation returns a union of success and errors it only describes the success. See `@errorsDoc` for error documentation.\n * @param doc Documentation string\n *\n * @example\n * ```typespec\n * @returnsDoc(\"Returns doc\")\n * op get(): Pet | NotFound;\n * ```\n */\nextern dec returnsDoc(target: Operation, doc: valueof string);\n\n/**\n * Attach a documentation string to describe the error return types of an operation.\n * If an operation returns a union of success and errors it only describes the errors. See `@returnsDoc` for success documentation.\n * @param doc Documentation string\n *\n * @example\n * ```typespec\n * @errorsDoc(\"Errors doc\")\n * op get(): Pet | NotFound;\n * ```\n */\nextern dec errorsDoc(target: Operation, doc: valueof string);\n\n/**\n * Service options.\n */\nmodel ServiceOptions {\n /**\n * Title of the service.\n */\n title?: string;\n}\n\n/**\n * Mark this namespace as describing a service and configure service properties.\n * @param options Optional configuration for the service.\n *\n * @example\n * ```typespec\n * @service\n * namespace PetStore;\n * ```\n *\n * @example Setting service title\n * ```typespec\n * @service(#{title: \"Pet store\"})\n * namespace PetStore;\n * ```\n */\nextern dec service(target: Namespace, options?: valueof ServiceOptions);\n\n/**\n * Specify that this model is an error type. Operations return error types when the operation has failed.\n *\n * @example\n * ```typespec\n * @error\n * model PetStoreError {\n * code: string;\n * message: string;\n * }\n * ```\n */\nextern dec error(target: Model);\n\n/**\n * Applies a media type hint to a TypeSpec type. Emitters and libraries may choose to use this hint to determine how a\n * type should be serialized. For example, the `@typespec/http` library will use the media type hint of the response\n * body type as a default `Content-Type` if one is not explicitly specified in the operation.\n *\n * Media types (also known as MIME types) are defined by RFC 6838. The media type hint should be a valid media type\n * string as defined by the RFC, but the decorator does not enforce or validate this constraint.\n *\n * Notes: the applied media type is _only_ a hint. It may be overridden or not used at all. Media type hints are\n * inherited by subtypes. If a media type hint is applied to a model, it will be inherited by all other models that\n * `extend` it unless they delcare their own media type hint.\n *\n * @param mediaType The media type hint to apply to the target type.\n *\n * @example create a model that serializes as XML by default\n *\n * ```tsp\n * @mediaTypeHint(\"application/xml\")\n * model Example {\n * @visibility(Lifecycle.Read)\n * id: string;\n *\n * name: string;\n * }\n * ```\n */\nextern dec mediaTypeHint(target: Model | Scalar | Enum | Union, mediaType: valueof string);\n\n// Cannot apply this to the scalar itself. Needs to be applied here so that we don't crash nostdlib scenarios\n@@mediaTypeHint(TypeSpec.bytes, \"application/octet-stream\");\n\n// @@mediaTypeHint(TypeSpec.string \"text/plain\") -- This is hardcoded in the compiler to avoid circularity\n// between the initialization of the string scalar and the `valueof string` required to call the\n// `mediaTypeHint` decorator.\n\n/**\n * Specify a known data format hint for this string type. For example `uuid`, `uri`, etc.\n * This differs from the `@pattern` decorator which is meant to specify a regular expression while `@format` accepts a known format name.\n * The format names are open ended and are left to emitter to interpret.\n *\n * @param format format name.\n *\n * @example\n * ```typespec\n * @format(\"uuid\")\n * scalar uuid extends string;\n * ```\n */\nextern dec format(target: string | ModelProperty, format: valueof string);\n\n/**\n * Specify the the pattern this string should respect using simple regular expression syntax.\n * The following syntax is allowed: alternations (`|`), quantifiers (`?`, `*`, `+`, and `{ }`), wildcard (`.`), and grouping parentheses.\n * Advanced features like look-around, capture groups, and references are not supported.\n *\n * This decorator may optionally provide a custom validation _message_. Emitters may choose to use the message to provide\n * context when pattern validation fails. For the sake of consistency, the message should be a phrase that describes in\n * plain language what sort of content the pattern attempts to validate. For example, a complex regular expression that\n * validates a GUID string might have a message like \"Must be a valid GUID.\"\n *\n * @param pattern Regular expression.\n * @param validationMessage Optional validation message that may provide context when validation fails.\n *\n * @example\n * ```typespec\n * @pattern(\"[a-z]+\", \"Must be a string consisting of only lower case letters and of at least one character.\")\n * scalar LowerAlpha extends string;\n * ```\n */\nextern dec pattern(\n target: string | bytes | ModelProperty,\n pattern: valueof string,\n validationMessage?: valueof string\n);\n\n/**\n * Specify the minimum length this string type should be.\n * @param value Minimum length\n *\n * @example\n * ```typespec\n * @minLength(2)\n * scalar Username extends string;\n * ```\n */\nextern dec minLength(target: string | ModelProperty, value: valueof integer);\n\n/**\n * Specify the maximum length this string type should be.\n * @param value Maximum length\n *\n * @example\n * ```typespec\n * @maxLength(20)\n * scalar Username extends string;\n * ```\n */\nextern dec maxLength(target: string | ModelProperty, value: valueof integer);\n\n/** Types that can have range limits */\nalias RangeLimitableTypes =\n | numeric\n | utcDateTime\n | offsetDateTime\n | plainDate\n | plainTime\n | duration;\n\n/**\n * Specify the minimum number of items this array should have.\n * @param value Minimum number\n *\n * @example\n * ```typespec\n * @minItems(1)\n * model Endpoints is string[];\n * ```\n */\nextern dec minItems(target: unknown[] | ModelProperty, value: valueof integer);\n\n/**\n * Specify the maximum number of items this array should have.\n * @param value Maximum number\n *\n * @example\n * ```typespec\n * @maxItems(5)\n * model Endpoints is string[];\n * ```\n */\nextern dec maxItems(target: unknown[] | ModelProperty, value: valueof integer);\n\n/**\n * Specify the minimum value this numeric type should be.\n * @param value Minimum value\n *\n * @example\n * ```typespec\n * @minValue(18)\n * scalar Age is int32;\n * ```\n */\nextern dec minValue(\n target: RangeLimitableTypes | ModelProperty,\n value: valueof RangeLimitableTypes\n);\n\n/**\n * Specify the maximum value this numeric type should be.\n * @param value Maximum value\n *\n * @example\n * ```typespec\n * @maxValue(200)\n * scalar Age is int32;\n * ```\n */\nextern dec maxValue(\n target: RangeLimitableTypes | ModelProperty,\n value: valueof RangeLimitableTypes\n);\n\n/**\n * Specify the minimum value this numeric type should be, exclusive of the given\n * value.\n * @param value Minimum value\n *\n * @example\n * ```typespec\n * @minValueExclusive(0)\n * scalar distance is float64;\n * ```\n */\nextern dec minValueExclusive(\n target: RangeLimitableTypes | ModelProperty,\n value: valueof RangeLimitableTypes\n);\n\n/**\n * Specify the maximum value this numeric type should be, exclusive of the given\n * value.\n * @param value Maximum value\n *\n * @example\n * ```typespec\n * @maxValueExclusive(50)\n * scalar distance is float64;\n * ```\n */\nextern dec maxValueExclusive(\n target: RangeLimitableTypes | ModelProperty,\n value: valueof RangeLimitableTypes\n);\n\n/**\n * Mark this value as a secret value that should be treated carefully to avoid exposure\n *\n * @example\n * ```typespec\n * @secret\n * scalar Password is string;\n * ```\n */\nextern dec secret(target: Scalar | ModelProperty | Model | Union | Enum);\n\n/**\n * Attaches a tag to an operation, interface, or namespace. Multiple `@tag` decorators can be specified to attach multiple tags to a TypeSpec element.\n * @param tag Tag value\n */\nextern dec tag(target: Namespace | Interface | Operation, tag: valueof string);\n\n/**\n * Specifies how a templated type should name their instances.\n * @param name name the template instance should take\n * @param formatArgs Model with key value used to interpolate the name\n *\n * @example\n * ```typespec\n * @friendlyName(\"{name}List\", T)\n * model List
- {\n * value: Item[];\n * nextLink: string;\n * }\n * ```\n */\nextern dec friendlyName(target: unknown, name: valueof string, formatArgs?: unknown);\n\n/**\n * Mark a model property as the key to identify instances of that type\n * @param altName Name of the property. If not specified, the decorated property name is used.\n *\n * @example\n * ```typespec\n * model Pet {\n * @key id: string;\n * }\n * ```\n */\nextern dec key(target: ModelProperty, altName?: valueof string);\n\n/**\n * Specify this operation is an overload of the given operation.\n * @param overloadbase Base operation that should be a union of all overloads\n *\n * @example\n * ```typespec\n * op upload(data: string | bytes, @header contentType: \"text/plain\" | \"application/octet-stream\"): void;\n * @overload(upload)\n * op uploadString(data: string, @header contentType: \"text/plain\" ): void;\n * @overload(upload)\n * op uploadBytes(data: bytes, @header contentType: \"application/octet-stream\"): void;\n * ```\n */\nextern dec overload(target: Operation, overloadbase: Operation);\n\n/**\n * Provide an alternative name for this type when serialized to the given mime type.\n * @param mimeType Mime type this should apply to. The mime type should be a known mime type as described here https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types without any suffix (e.g. `+json`)\n * @param name Alternative name\n *\n * @example\n *\n * ```typespec\n * model Certificate {\n * @encodedName(\"application/json\", \"exp\")\n * @encodedName(\"application/xml\", \"expiry\")\n * expireAt: int32;\n * }\n * ```\n *\n * @example Invalid values\n *\n * ```typespec\n * @encodedName(\"application/merge-patch+json\", \"exp\")\n * ^ error cannot use subtype\n * ```\n */\nextern dec encodedName(target: unknown, mimeType: valueof string, name: valueof string);\n\n/**\n * Options for `@discriminated` decorator.\n */\nmodel DiscriminatedOptions {\n /**\n * How is the discriminated union serialized.\n * @default object\n */\n envelope?: \"object\" | \"none\";\n\n /** Name of the discriminator property */\n discriminatorPropertyName?: string;\n\n /** Name of the property envelopping the data */\n envelopePropertyName?: string;\n}\n\n/**\n * Specify that this union is discriminated.\n * @param options Options to configure the serialization of the discriminated union.\n *\n * @example\n *\n * ```typespec\n * @discriminated\n * union Pet{ cat: Cat, dog: Dog }\n *\n * model Cat { name: string, meow: boolean }\n * model Dog { name: string, bark: boolean }\n * ```\n * Serialized as:\n * ```json\n * {\n * \"kind\": \"cat\",\n * \"value\": {\n * \"name\": \"Whiskers\",\n * \"meow\": true\n * }\n * },\n * {\n * \"kind\": \"dog\",\n * \"value\": {\n * \"name\": \"Rex\",\n * \"bark\": false\n * }\n * }\n * ```\n *\n * @example Custom property names\n *\n * ```typespec\n * @discriminated(#{discriminatorPropertyName: \"dataKind\", envelopePropertyName: \"data\"})\n * union Pet{ cat: Cat, dog: Dog }\n *\n * model Cat { name: string, meow: boolean }\n * model Dog { name: string, bark: boolean }\n * ```\n * Serialized as:\n * ```json\n * {\n * \"dataKind\": \"cat\",\n * \"data\": {\n * \"name\": \"Whiskers\",\n * \"meow\": true\n * }\n * },\n * {\n * \"dataKind\": \"dog\",\n * \"data\": {\n * \"name\": \"Rex\",\n * \"bark\": false\n * }\n * }\n * ```\n */\nextern dec discriminated(target: Union, options?: valueof DiscriminatedOptions);\n\n/**\n * Specify the property to be used to discriminate this type.\n * @param propertyName The property name to use for discrimination\n *\n * @example\n *\n * ```typespec\n * @discriminator(\"kind\")\n * model Pet{ kind: string }\n *\n * model Cat extends Pet {kind: \"cat\", meow: boolean}\n * model Dog extends Pet {kind: \"dog\", bark: boolean}\n * ```\n */\nextern dec discriminator(target: Model, propertyName: valueof string);\n\n/**\n * Known encoding to use on utcDateTime or offsetDateTime\n */\nenum DateTimeKnownEncoding {\n /**\n * RFC 3339 standard. https://www.ietf.org/rfc/rfc3339.txt\n * Encode to string.\n */\n rfc3339: \"rfc3339\",\n\n /**\n * RFC 7231 standard. https://www.ietf.org/rfc/rfc7231.txt\n * Encode to string.\n */\n rfc7231: \"rfc7231\",\n\n /**\n * Encode a datetime to a unix timestamp.\n * Unix timestamps are represented as an integer number of seconds since the Unix epoch and usually encoded as an int32.\n */\n unixTimestamp: \"unixTimestamp\",\n}\n\n/**\n * Known encoding to use on duration\n */\nenum DurationKnownEncoding {\n /**\n * ISO8601 duration\n */\n ISO8601: \"ISO8601\",\n\n /**\n * Encode to integer or float as seconds\n */\n seconds: \"seconds\",\n\n /**\n * Encode to integer or float as milliseconds\n */\n milliseconds: \"milliseconds\",\n}\n\n/**\n * Known encoding to use on bytes\n */\nenum BytesKnownEncoding {\n /**\n * Encode to Base64\n */\n base64: \"base64\",\n\n /**\n * Encode to Base64 Url\n */\n base64url: \"base64url\",\n}\n\n/**\n * Encoding for serializing arrays\n */\nenum ArrayEncoding {\n /**\n * Each value of the array is separated by a pipe character (|).\n * Values can only contain | if the underlying protocol supports encoding them.\n * - json -> error\n * - http -> %7C\n */\n pipeDelimited,\n\n /**\n * Each value of the array is separated by a space character.\n * Values can only contain spaces if the underlying protocol supports encoding them.\n * - json -> error\n * - http -> %20\n */\n spaceDelimited,\n\n /**\n * Each value of the array is separated by a comma (,).\n * Values can only contain commas if the underlying protocol supports encoding them.\n * - json -> error\n * - http -> %2C\n */\n commaDelimited,\n\n /**\n * Each value of the array is separated by a newline character (\\n).\n * Values can only contain newlines if the underlying protocol supports encoding them.\n * - json -> error\n * - http -> %0A\n */\n newlineDelimited,\n}\n\n/**\n * Specify how to encode the target type.\n * @param encodingOrEncodeAs Known name of an encoding or a scalar type to encode as(Only for numeric types to encode as string).\n * @param encodedAs What target type is this being encoded as. Default to string.\n *\n * @example offsetDateTime encoded with rfc7231\n *\n * ```tsp\n * @encode(\"rfc7231\")\n * scalar myDateTime extends offsetDateTime;\n * ```\n *\n * @example utcDateTime encoded with unixTimestamp\n *\n * ```tsp\n * @encode(\"unixTimestamp\", int32)\n * scalar myDateTime extends unixTimestamp;\n * ```\n *\n * @example encode numeric type to string\n *\n * ```tsp\n * model Pet {\n * @encode(string) id: int64;\n * }\n * ```\n */\nextern dec encode(\n target: Scalar | ModelProperty,\n encodingOrEncodeAs: (valueof string | EnumMember) | Scalar,\n encodedAs?: Scalar\n);\n\n/** Options for example decorators */\nmodel ExampleOptions {\n /** The title of the example */\n title?: string;\n\n /** Description of the example */\n description?: string;\n}\n\n/**\n * Provide an example value for a data type.\n *\n * @param example Example value.\n * @param options Optional metadata for the example.\n *\n * @example\n *\n * ```tsp\n * @example(#{name: \"Fluffy\", age: 2})\n * model Pet {\n * name: string;\n * age: int32;\n * }\n * ```\n */\nextern dec example(\n target: Model | Enum | Scalar | Union | ModelProperty | UnionVariant,\n example: valueof unknown,\n options?: valueof ExampleOptions\n);\n\n/**\n * Operation example configuration.\n */\nmodel OperationExample {\n /** Example request body. */\n parameters?: unknown;\n\n /** Example response body. */\n returnType?: unknown;\n}\n\n/**\n * Provide example values for an operation's parameters and corresponding return type.\n *\n * @param example Example value.\n * @param options Optional metadata for the example.\n *\n * @example\n *\n * ```tsp\n * @opExample(#{parameters: #{name: \"Fluffy\", age: 2}, returnType: #{name: \"Fluffy\", age: 2, id: \"abc\"})\n * op createPet(pet: Pet): Pet;\n * ```\n */\nextern dec opExample(\n target: Operation,\n example: valueof OperationExample,\n options?: valueof ExampleOptions\n);\n\n/**\n * Returns the model with required properties removed.\n */\nextern dec withOptionalProperties(target: Model);\n\n/**\n * Returns the model with any default values removed.\n */\nextern dec withoutDefaultValues(target: Model);\n\n/**\n * Returns the model with the given properties omitted.\n * @param omit List of properties to omit\n */\nextern dec withoutOmittedProperties(target: Model, omit: string | Union);\n\n/**\n * Returns the model with only the given properties included.\n * @param pick List of properties to include\n */\nextern dec withPickedProperties(target: Model, pick: string | Union);\n\n//---------------------------------------------------------------------------\n// Paging\n//---------------------------------------------------------------------------\n\n/**\n * Mark this operation as a `list` operation that returns a paginated list of items.\n */\nextern dec list(target: Operation);\n\n/**\n * Pagination property defining the number of items to skip.\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * }\n * @list op listPets(@offset skip: int32, @pageSize pageSize: int8): Page;\n * ```\n */\nextern dec offset(target: ModelProperty);\n\n/**\n * Pagination property defining the page index.\n *\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * }\n * @list op listPets(@pageIndex page: int32, @pageSize pageSize: int8): Page;\n * ```\n */\nextern dec pageIndex(target: ModelProperty);\n\n/**\n * Specify the pagination parameter that controls the maximum number of items to include in a page.\n *\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * }\n * @list op listPets(@pageIndex page: int32, @pageSize pageSize: int8): Page;\n * ```\n */\nextern dec pageSize(target: ModelProperty);\n\n/**\n * Specify the the property that contains the array of page items.\n *\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * }\n * @list op listPets(@pageIndex page: int32, @pageSize pageSize: int8): Page;\n * ```\n */\nextern dec pageItems(target: ModelProperty);\n\n/**\n * Pagination property defining the token to get to the next page.\n * It MUST be specified both on the request parameter and the response.\n *\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * @continuationToken continuationToken: string;\n * }\n * @list op listPets(@continuationToken continuationToken: string): Page;\n * ```\n */\nextern dec continuationToken(target: ModelProperty);\n\n/**\n * Pagination property defining a link to the next page.\n *\n * It is expected that navigating to the link will return the same set of responses as the operation that returned the current page.\n *\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * @nextLink next: url;\n * @prevLink prev: url;\n * @firstLink first: url;\n * @lastLink last: url;\n * }\n * @list op listPets(): Page;\n * ```\n */\nextern dec nextLink(target: ModelProperty);\n\n/**\n * Pagination property defining a link to the previous page.\n *\n * It is expected that navigating to the link will return the same set of responses as the operation that returned the current page.\n *\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * @nextLink next: url;\n * @prevLink prev: url;\n * @firstLink first: url;\n * @lastLink last: url;\n * }\n * @list op listPets(): Page;\n * ```\n */\nextern dec prevLink(target: ModelProperty);\n\n/**\n * Pagination property defining a link to the first page.\n *\n * It is expected that navigating to the link will return the same set of responses as the operation that returned the current page.\n *\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * @nextLink next: url;\n * @prevLink prev: url;\n * @firstLink first: url;\n * @lastLink last: url;\n * }\n * @list op listPets(): Page;\n * ```\n */\nextern dec firstLink(target: ModelProperty);\n\n/**\n * Pagination property defining a link to the last page.\n *\n * It is expected that navigating to the link will return the same set of responses as the operation that returned the current page.\n *\n * @example\n * ```tsp\n * model Page {\n * @pageItems items: T[];\n * @nextLink next: url;\n * @prevLink prev: url;\n * @firstLink first: url;\n * @lastLink last: url;\n * }\n * @list op listPets(): Page;\n * ```\n */\nextern dec lastLink(target: ModelProperty);\n\n//---------------------------------------------------------------------------\n// Debugging\n//---------------------------------------------------------------------------\n\n/**\n * A debugging decorator used to inspect a type.\n * @param text Custom text to log\n */\nextern dec inspectType(target: unknown, text: valueof string);\n\n/**\n * A debugging decorator used to inspect a type name.\n * @param text Custom text to log\n */\nextern dec inspectTypeName(target: unknown, text: valueof string);\n",
+ "path": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/decorators.tsp"
+ },
+ "id": {
+ "$id": "1969",
+ "kind": 3,
+ "sv": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/decorators.tsp",
+ "pos": 0,
+ "end": 0,
+ "flags": 8,
+ "parent": {
+ "$ref": "904"
+ }
+ },
+ "namespaces": [
+ {
+ "$ref": "902"
+ }
+ ],
+ "usings": [
+ {
+ "$ref": "907"
+ }
+ ],
+ "locals": {
+ "duplicates": {}
+ },
+ "inScopeNamespaces": [
+ {
+ "$ref": "902"
+ }
+ ],
+ "parseDiagnostics": [],
+ "comments": [],
+ "printable": true,
+ "parseOptions": {},
+ "pos": 0,
+ "end": 21635,
+ "flags": 0,
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "904"
+ },
+ "name": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/decorators.tsp",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 32768,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 236
+ }
+ },
+ "parameters": [
+ {
+ "$id": "1970",
+ "kind": 27,
+ "id": {
+ "$id": "1971",
+ "kind": 3,
+ "sv": "summary",
+ "pos": 299,
+ "end": 306,
+ "flags": 0,
+ "parent": {
+ "$ref": "1970"
+ },
+ "_id": 256
+ },
+ "type": {
+ "$id": "1972",
+ "kind": 44,
+ "target": {
+ "$id": "1973",
+ "kind": 45,
+ "target": {
+ "$id": "1974",
+ "kind": 3,
+ "sv": "string",
+ "pos": 316,
+ "end": 322,
+ "flags": 1,
+ "parent": {
+ "$ref": "1973"
+ },
+ "_id": 258
+ },
+ "arguments": [],
+ "pos": 316,
+ "end": 322,
+ "flags": 1,
+ "parent": {
+ "$ref": "1972"
+ },
+ "_id": 257
+ },
+ "pos": 308,
+ "end": 322,
+ "flags": 0,
+ "parent": {
+ "$ref": "1970"
+ }
+ },
+ "optional": false,
+ "rest": false,
+ "pos": 299,
+ "end": 322,
+ "flags": 0,
+ "parent": {
+ "$ref": "896"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1970"
+ }
+ ],
+ "name": "summary",
+ "flags": 1052672,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "902"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 237
+ }
+ }
+ ],
+ "pos": 92,
+ "end": 324,
+ "flags": 0,
+ "directives": [],
+ "docs": [
+ {
+ "$id": "1975",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "1976",
+ "kind": 52,
+ "text": "Typically a short, single-line description.",
+ "pos": 95,
+ "end": 146,
+ "flags": 0,
+ "parent": {
+ "$ref": "1975"
+ }
+ }
+ ],
+ "tags": [
+ {
+ "$id": "1977",
+ "kind": 53,
+ "tagName": {
+ "$id": "1978",
+ "kind": 3,
+ "sv": "param",
+ "pos": 147,
+ "end": 152,
+ "flags": 0,
+ "parent": {
+ "$ref": "1977"
+ }
+ },
+ "paramName": {
+ "$id": "1979",
+ "kind": 3,
+ "sv": "summary",
+ "pos": 153,
+ "end": 160,
+ "flags": 0,
+ "parent": {
+ "$ref": "1977"
+ }
+ },
+ "content": [
+ {
+ "$id": "1980",
+ "kind": 52,
+ "text": "Summary string.",
+ "pos": 161,
+ "end": 183,
+ "flags": 0,
+ "parent": {
+ "$ref": "1977"
+ }
+ }
+ ],
+ "pos": 146,
+ "end": 183,
+ "flags": 0,
+ "parent": {
+ "$ref": "1975"
+ }
+ },
+ {
+ "$id": "1981",
+ "kind": 58,
+ "tagName": {
+ "$id": "1982",
+ "kind": 3,
+ "sv": "example",
+ "pos": 184,
+ "end": 191,
+ "flags": 0,
+ "parent": {
+ "$ref": "1981"
+ }
+ },
+ "content": [
+ {
+ "$id": "1983",
+ "kind": 52,
+ "text": "```typespec\n@summary(\"This is a pet\")\nmodel Pet {}\n```",
+ "pos": 191,
+ "end": 260,
+ "flags": 0,
+ "parent": {
+ "$ref": "1981"
+ }
+ }
+ ],
+ "pos": 183,
+ "end": 260,
+ "flags": 0,
+ "parent": {
+ "$ref": "1975"
+ }
+ }
+ ],
+ "pos": 92,
+ "end": 262,
+ "flags": 0,
+ "parent": {
+ "$ref": "896"
+ }
+ }
+ ],
+ "parent": {
+ "$ref": "904"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "896"
+ }
+ ],
+ "name": "@summary",
+ "flags": 1049088,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "902"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "target": {
+ "$id": "1984",
+ "kind": "FunctionParameter",
+ "node": {
+ "$ref": "899"
+ },
+ "name": "target",
+ "optional": false,
+ "rest": false,
+ "type": {
+ "entityKind": "MixedParameterConstraint",
+ "node": {
+ "$ref": "901"
+ },
+ "type": {
+ "$id": "1985",
+ "kind": "Intrinsic",
+ "name": "unknown",
+ "isFinished": true,
+ "entityKind": "Type"
+ }
+ },
+ "mixed": true,
+ "isFinished": false,
+ "creating": true,
+ "entityKind": "Type"
+ },
+ "parameters": [
+ {
+ "$id": "1986",
+ "kind": "FunctionParameter",
+ "node": {
+ "$ref": "1970"
+ },
+ "name": "summary",
+ "optional": false,
+ "rest": false,
+ "type": {
+ "entityKind": "MixedParameterConstraint",
+ "node": {
+ "$ref": "1972"
+ },
+ "valueType": {
+ "$ref": "463"
+ }
+ },
+ "mixed": true,
+ "isFinished": false,
+ "creating": true,
+ "entityKind": "Type"
+ }
+ ],
+ "isFinished": false,
+ "creating": true,
+ "entityKind": "Type"
+ },
+ "node": {
+ "$ref": "33"
+ },
+ "args": [
+ {
+ "value": {
+ "entityKind": "Value",
+ "valueKind": "StringValue",
+ "value": "The name of the file, if any.",
+ "type": {
+ "$ref": "463"
+ },
+ "scalar": {
+ "$ref": "463"
+ }
+ },
+ "node": {
+ "$ref": "34"
+ },
+ "jsValue": "The name of the file, if any."
+ }
+ ]
+ }
+ ],
+ "isFinished": true,
+ "entityKind": "Type",
+ "templateMapper": {
+ "partial": false,
+ "args": [
+ {
+ "entityKind": "Indeterminate",
+ "type": {
+ "$id": "1987",
+ "kind": "String",
+ "value": "image/png",
+ "isFinished": true,
+ "entityKind": "Type"
+ }
+ },
+ {
+ "$id": "1988",
+ "kind": "Scalar",
+ "name": "bytes",
+ "node": {
+ "$ref": "475"
+ },
+ "constructors": {},
+ "namespace": {
+ "$ref": "719"
+ },
+ "decorators": [
+ {
+ "args": [
+ {
+ "value": {
+ "$ref": "723"
+ },
+ "jsValue": "self"
+ },
+ {
+ "value": {
+ "$id": "1989",
+ "kind": "String",
+ "value": "Represent a byte array",
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "jsValue": "Represent a byte array"
+ }
+ ]
+ },
+ {
+ "definition": {
+ "$id": "1990",
+ "kind": "Decorator",
+ "name": "@mediaTypeHint",
+ "namespace": {
+ "$ref": "719"
+ },
+ "node": {
+ "$ref": "1026"
+ },
+ "target": {
+ "$id": "1991",
+ "kind": "FunctionParameter",
+ "node": {
+ "$ref": "1029"
+ },
+ "name": "target",
+ "optional": false,
+ "rest": false,
+ "type": {
+ "entityKind": "MixedParameterConstraint",
+ "node": {
+ "$ref": "1031"
+ },
+ "type": {
+ "$id": "1992",
+ "kind": "Union",
+ "node": {
+ "$ref": "1031"
+ },
+ "options": [
+ {
+ "$id": "1993",
+ "kind": "Model",
+ "name": "Model",
+ "node": {
+ "$id": "1994",
+ "kind": 13,
+ "id": {
+ "$id": "1995",
+ "kind": 3,
+ "sv": "Model",
+ "pos": 91,
+ "end": 96,
+ "flags": 0,
+ "parent": {
+ "$ref": "1994"
+ },
+ "_id": 172
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 97,
+ "end": 99
+ },
+ "pos": 85,
+ "end": 99,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$id": "1996",
+ "kind": 0,
+ "statements": [
+ {
+ "$id": "1997",
+ "kind": 8,
+ "decorators": [],
+ "directives": [],
+ "id": {
+ "$id": "1998",
+ "kind": 3,
+ "sv": "TypeSpec",
+ "pos": 10,
+ "end": 18,
+ "flags": 0,
+ "parent": {
+ "$ref": "1997"
+ },
+ "_id": 592
+ },
+ "statements": {
+ "$id": "1999",
+ "kind": 8,
+ "decorators": [],
+ "docs": [],
+ "id": {
+ "$id": "2000",
+ "kind": 3,
+ "sv": "Reflection",
+ "pos": 19,
+ "end": 29,
+ "flags": 0,
+ "parent": {
+ "$ref": "1999"
+ },
+ "_id": 593
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "directives": [],
+ "pos": 0,
+ "end": 30,
+ "flags": 0,
+ "parent": {
+ "$ref": "1997"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "pos": 0,
+ "end": 30,
+ "flags": 0,
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ {
+ "$id": "2001",
+ "kind": 13,
+ "id": {
+ "$id": "2002",
+ "kind": 3,
+ "sv": "Enum",
+ "pos": 38,
+ "end": 42,
+ "flags": 0,
+ "parent": {
+ "$ref": "2001"
+ },
+ "_id": 298
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 43,
+ "end": 45
+ },
+ "pos": 32,
+ "end": 45,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2001"
+ }
+ ],
+ "name": "Enum",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 62
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2003",
+ "kind": 13,
+ "id": {
+ "$id": "2004",
+ "kind": 3,
+ "sv": "EnumMember",
+ "pos": 52,
+ "end": 62,
+ "flags": 0,
+ "parent": {
+ "$ref": "2003"
+ },
+ "_id": 145
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 63,
+ "end": 65
+ },
+ "pos": 46,
+ "end": 65,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2003"
+ }
+ ],
+ "name": "EnumMember",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 39
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2005",
+ "kind": 13,
+ "id": {
+ "$id": "2006",
+ "kind": 3,
+ "sv": "Interface",
+ "pos": 72,
+ "end": 81,
+ "flags": 0,
+ "parent": {
+ "$ref": "2005"
+ },
+ "_id": 431
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 82,
+ "end": 84
+ },
+ "pos": 66,
+ "end": 84,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2005"
+ }
+ ],
+ "name": "Interface",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 64
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$ref": "1994"
+ },
+ {
+ "$id": "2007",
+ "kind": 13,
+ "id": {
+ "$id": "2008",
+ "kind": 3,
+ "sv": "ModelProperty",
+ "pos": 106,
+ "end": 119,
+ "flags": 0,
+ "parent": {
+ "$ref": "2007"
+ },
+ "_id": 139
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 120,
+ "end": 122
+ },
+ "pos": 100,
+ "end": 122,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2007"
+ }
+ ],
+ "name": "ModelProperty",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 38
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2009",
+ "kind": 13,
+ "id": {
+ "$id": "2010",
+ "kind": 3,
+ "sv": "Namespace",
+ "pos": 129,
+ "end": 138,
+ "flags": 0,
+ "parent": {
+ "$ref": "2009"
+ },
+ "_id": 282
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 139,
+ "end": 141
+ },
+ "pos": 123,
+ "end": 141,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2009"
+ }
+ ],
+ "name": "Namespace",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 61
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2011",
+ "kind": 13,
+ "id": {
+ "$id": "2012",
+ "kind": 3,
+ "sv": "Operation",
+ "pos": 148,
+ "end": 157,
+ "flags": 0,
+ "parent": {
+ "$ref": "2011"
+ },
+ "_id": 263
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 158,
+ "end": 160
+ },
+ "pos": 142,
+ "end": 160,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2011"
+ }
+ ],
+ "name": "Operation",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 59
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2013",
+ "kind": 13,
+ "id": {
+ "$id": "2014",
+ "kind": 3,
+ "sv": "Scalar",
+ "pos": 167,
+ "end": 173,
+ "flags": 0,
+ "parent": {
+ "$ref": "2013"
+ },
+ "_id": 136
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 174,
+ "end": 176
+ },
+ "pos": 161,
+ "end": 176,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2013"
+ }
+ ],
+ "name": "Scalar",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 37
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2015",
+ "kind": 13,
+ "id": {
+ "$id": "2016",
+ "kind": 3,
+ "sv": "Union",
+ "pos": 183,
+ "end": 188,
+ "flags": 0,
+ "parent": {
+ "$ref": "2015"
+ },
+ "_id": 198
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 189,
+ "end": 191
+ },
+ "pos": 177,
+ "end": 191,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2015"
+ }
+ ],
+ "name": "Union",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 49
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2017",
+ "kind": 13,
+ "id": {
+ "$id": "2018",
+ "kind": 3,
+ "sv": "UnionVariant",
+ "pos": 198,
+ "end": 210,
+ "flags": 0,
+ "parent": {
+ "$ref": "2017"
+ },
+ "_id": 524
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 211,
+ "end": 213
+ },
+ "pos": 192,
+ "end": 213,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2017"
+ }
+ ],
+ "name": "UnionVariant",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 71
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2019",
+ "kind": 13,
+ "id": {
+ "$id": "2020",
+ "kind": 3,
+ "sv": "StringTemplate",
+ "pos": 220,
+ "end": 234,
+ "flags": 0,
+ "parent": {
+ "$ref": "2019"
+ },
+ "_id": 594
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "decorators": [],
+ "properties": [],
+ "bodyRange": {
+ "pos": 235,
+ "end": 237
+ },
+ "pos": 214,
+ "end": 237,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "1996"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2019"
+ }
+ ],
+ "name": "StringTemplate",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 73
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ }
+ ],
+ "file": {
+ "text": "namespace TypeSpec.Reflection;\n\nmodel Enum {}\nmodel EnumMember {}\nmodel Interface {}\nmodel Model {}\nmodel ModelProperty {}\nmodel Namespace {}\nmodel Operation {}\nmodel Scalar {}\nmodel Union {}\nmodel UnionVariant {}\nmodel StringTemplate {}\n",
+ "path": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/reflection.tsp"
+ },
+ "id": {
+ "$id": "2021",
+ "kind": 3,
+ "sv": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/reflection.tsp",
+ "pos": 0,
+ "end": 0,
+ "flags": 8,
+ "parent": {
+ "$ref": "1996"
+ }
+ },
+ "namespaces": [
+ {
+ "$ref": "1997"
+ },
+ {
+ "$ref": "1999"
+ }
+ ],
+ "usings": [],
+ "locals": {
+ "duplicates": {}
+ },
+ "inScopeNamespaces": [
+ {
+ "$ref": "1999"
+ },
+ {
+ "$ref": "1997"
+ }
+ ],
+ "parseDiagnostics": [],
+ "comments": [],
+ "printable": true,
+ "parseOptions": {},
+ "pos": 0,
+ "end": 237,
+ "flags": 0,
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1996"
+ },
+ "name": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/compiler/lib/std/reflection.tsp",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 32768,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "1994"
+ }
+ ],
+ "name": "Model",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 1048578,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1999"
+ }
+ ],
+ "name": "Reflection",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "1997"
+ }
+ ],
+ "name": "TypeSpec",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 44
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ "properties": {},
+ "namespace": {
+ "$id": "2022",
+ "kind": "Namespace",
+ "name": "Reflection",
+ "namespace": {
+ "$ref": "719"
+ },
+ "node": {
+ "$ref": "1999"
+ },
+ "models": {},
+ "scalars": {},
+ "operations": {},
+ "namespaces": {},
+ "interfaces": {},
+ "unions": {},
+ "enums": {},
+ "decoratorDeclarations": {},
+ "functionDeclarations": {},
+ "decorators": [],
+ "isFinished": true,
+ "entityKind": "Type"
+ },
+ "decorators": [],
+ "sourceModels": [],
+ "derivedModels": [],
+ "isFinished": true,
+ "entityKind": "Type",
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "1994"
+ },
+ "name": "Model",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 4194306,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "type": {
+ "$ref": "1993"
+ }
+ }
+ },
+ {
+ "$id": "2023",
+ "kind": "Model",
+ "name": "Scalar",
+ "node": {
+ "$ref": "2013"
+ },
+ "properties": {},
+ "namespace": {
+ "$ref": "2022"
+ },
+ "decorators": [],
+ "sourceModels": [],
+ "derivedModels": [],
+ "isFinished": true,
+ "entityKind": "Type",
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2013"
+ },
+ "name": "Scalar",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 4194306,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "type": {
+ "$ref": "2023"
+ }
+ }
+ },
+ {
+ "$id": "2024",
+ "kind": "Model",
+ "name": "Enum",
+ "node": {
+ "$ref": "2001"
+ },
+ "properties": {},
+ "namespace": {
+ "$ref": "2022"
+ },
+ "decorators": [],
+ "sourceModels": [],
+ "derivedModels": [],
+ "isFinished": true,
+ "entityKind": "Type",
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2001"
+ },
+ "name": "Enum",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 4194306,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "type": {
+ "$ref": "2024"
+ }
+ }
+ },
+ {
+ "$id": "2025",
+ "kind": "Model",
+ "name": "Union",
+ "node": {
+ "$ref": "2015"
+ },
+ "properties": {},
+ "namespace": {
+ "$ref": "2022"
+ },
+ "decorators": [],
+ "sourceModels": [],
+ "derivedModels": [],
+ "isFinished": true,
+ "entityKind": "Type",
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2015"
+ },
+ "name": "Union",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 4194306,
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "type": {
+ "$ref": "2025"
+ }
+ }
+ }
+ ],
+ "decorators": [],
+ "variants": {},
+ "expression": true,
+ "isFinished": true,
+ "entityKind": "Type"
+ }
+ },
+ "mixed": true,
+ "isFinished": false,
+ "creating": true,
+ "entityKind": "Type"
+ },
+ "parameters": [
+ {
+ "$id": "2026",
+ "kind": "FunctionParameter",
+ "node": {
+ "$ref": "1040"
+ },
+ "name": "mediaType",
+ "optional": false,
+ "rest": false,
+ "type": {
+ "entityKind": "MixedParameterConstraint",
+ "node": {
+ "$ref": "1042"
+ },
+ "valueType": {
+ "$ref": "463"
+ }
+ },
+ "mixed": true,
+ "isFinished": false,
+ "creating": true,
+ "entityKind": "Type"
+ }
+ ],
+ "isFinished": false,
+ "creating": true,
+ "entityKind": "Type"
+ },
+ "node": {
+ "$ref": "1054"
+ },
+ "args": [
+ {
+ "value": {
+ "entityKind": "Value",
+ "valueKind": "StringValue",
+ "value": "application/octet-stream",
+ "type": {
+ "$ref": "463"
+ },
+ "scalar": {
+ "$ref": "463"
+ }
+ },
+ "node": {
+ "$ref": "1060"
+ },
+ "jsValue": "application/octet-stream"
+ }
+ ]
+ }
+ ],
+ "derivedScalars": [],
+ "isFinished": true,
+ "entityKind": "Type"
+ }
+ ],
+ "source": {
+ "node": {
+ "$id": "2027",
+ "kind": 45,
+ "target": {
+ "$id": "2028",
+ "kind": 7,
+ "base": {
+ "$id": "2029",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 646,
+ "end": 650,
+ "flags": 1,
+ "parent": {
+ "$ref": "2028"
+ },
+ "_id": 900
+ },
+ "id": {
+ "$id": "2030",
+ "kind": 3,
+ "sv": "File",
+ "pos": 651,
+ "end": 655,
+ "flags": 1,
+ "parent": {
+ "$ref": "2028"
+ },
+ "_id": 901
+ },
+ "selector": ".",
+ "pos": 646,
+ "end": 655,
+ "flags": 1,
+ "parent": {
+ "$ref": "2027"
+ },
+ "_id": 899
+ },
+ "arguments": [
+ {
+ "$id": "2031",
+ "kind": 61,
+ "argument": {
+ "$id": "2032",
+ "kind": 32,
+ "value": "image/png",
+ "pos": 656,
+ "end": 667,
+ "flags": 1,
+ "parent": {
+ "$ref": "2031"
+ }
+ },
+ "pos": 656,
+ "end": 667,
+ "flags": 1,
+ "parent": {
+ "$ref": "2027"
+ }
+ }
+ ],
+ "pos": 646,
+ "end": 668,
+ "flags": 1,
+ "parent": {
+ "$id": "2033",
+ "kind": 15,
+ "id": {
+ "$id": "2034",
+ "kind": 3,
+ "sv": "file",
+ "pos": 640,
+ "end": 644,
+ "flags": 0,
+ "parent": {
+ "$ref": "2033"
+ },
+ "_id": 892
+ },
+ "decorators": [
+ {
+ "$id": "2035",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2036",
+ "kind": 3,
+ "sv": "bodyRoot",
+ "pos": 631,
+ "end": 639,
+ "flags": 1,
+ "parent": {
+ "$ref": "2035"
+ },
+ "_id": 893
+ },
+ "pos": 630,
+ "end": 639,
+ "flags": 0,
+ "parent": {
+ "$ref": "2033"
+ }
+ }
+ ],
+ "value": {
+ "$ref": "2027"
+ },
+ "optional": false,
+ "pos": 630,
+ "end": 668,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$id": "2037",
+ "kind": 14,
+ "properties": [
+ {
+ "$ref": "2033"
+ }
+ ],
+ "bodyRange": {
+ "pos": 629,
+ "end": 669
+ },
+ "pos": 629,
+ "end": 669,
+ "flags": 0,
+ "parent": {
+ "$id": "2038",
+ "kind": 11,
+ "parameters": {
+ "$ref": "2037"
+ },
+ "returnType": {
+ "$id": "2039",
+ "kind": 45,
+ "target": {
+ "$id": "2040",
+ "kind": 3,
+ "sv": "NoContentResponse",
+ "pos": 671,
+ "end": 688,
+ "flags": 1,
+ "parent": {
+ "$ref": "2039"
+ },
+ "_id": 940
+ },
+ "arguments": [],
+ "pos": 671,
+ "end": 688,
+ "flags": 1,
+ "parent": {
+ "$ref": "2038"
+ },
+ "_id": 939
+ },
+ "pos": 629,
+ "end": 688,
+ "flags": 0,
+ "parent": {
+ "$id": "2041",
+ "kind": 10,
+ "id": {
+ "$id": "2042",
+ "kind": 3,
+ "sv": "uploadFileSpecificContentType",
+ "pos": 600,
+ "end": 629,
+ "flags": 0,
+ "parent": {
+ "$ref": "2041"
+ },
+ "_id": 858
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "signature": {
+ "$ref": "2038"
+ },
+ "decorators": [
+ {
+ "$id": "2043",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2044",
+ "kind": 3,
+ "sv": "scenario",
+ "pos": 312,
+ "end": 320,
+ "flags": 1,
+ "parent": {
+ "$ref": "2043"
+ },
+ "_id": 859
+ },
+ "pos": 311,
+ "end": 320,
+ "flags": 0,
+ "parent": {
+ "$ref": "2041"
+ }
+ },
+ {
+ "$id": "2045",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2046",
+ "kind": 32,
+ "value": "Test File type as request body with specific content type.\nExpected request:\n- Content-Type header: image/png\n- Body: binary content matching packages/http-specs/assets/image.png",
+ "pos": 336,
+ "end": 542,
+ "flags": 0,
+ "parent": {
+ "$ref": "2045"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2047",
+ "kind": 3,
+ "sv": "scenarioDoc",
+ "pos": 324,
+ "end": 335,
+ "flags": 1,
+ "parent": {
+ "$ref": "2045"
+ },
+ "_id": 871
+ },
+ "pos": 323,
+ "end": 543,
+ "flags": 0,
+ "parent": {
+ "$ref": "2041"
+ }
+ },
+ {
+ "$id": "2048",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2049",
+ "kind": 3,
+ "sv": "post",
+ "pos": 547,
+ "end": 551,
+ "flags": 1,
+ "parent": {
+ "$ref": "2048"
+ },
+ "_id": 886
+ },
+ "pos": 546,
+ "end": 551,
+ "flags": 0,
+ "parent": {
+ "$ref": "2041"
+ }
+ },
+ {
+ "$id": "2050",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2051",
+ "kind": 32,
+ "value": "/request/specific-content-type",
+ "pos": 561,
+ "end": 593,
+ "flags": 0,
+ "parent": {
+ "$ref": "2050"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2052",
+ "kind": 3,
+ "sv": "route",
+ "pos": 555,
+ "end": 560,
+ "flags": 1,
+ "parent": {
+ "$ref": "2050"
+ },
+ "_id": 891
+ },
+ "pos": 554,
+ "end": 594,
+ "flags": 0,
+ "parent": {
+ "$ref": "2041"
+ }
+ }
+ ],
+ "pos": 311,
+ "end": 689,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$id": "2053",
+ "kind": 8,
+ "decorators": [
+ {
+ "$id": "2054",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2055",
+ "kind": 32,
+ "value": "/body",
+ "pos": 283,
+ "end": 290,
+ "flags": 0,
+ "parent": {
+ "$ref": "2054"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2056",
+ "kind": 3,
+ "sv": "route",
+ "pos": 277,
+ "end": 282,
+ "flags": 1,
+ "parent": {
+ "$ref": "2054"
+ },
+ "_id": 846
+ },
+ "pos": 276,
+ "end": 291,
+ "flags": 0,
+ "parent": {
+ "$ref": "2053"
+ }
+ }
+ ],
+ "docs": [
+ {
+ "$id": "2057",
+ "kind": 51,
+ "content": [
+ {
+ "$id": "2058",
+ "kind": 52,
+ "text": "Test File as request and response body with specific content type",
+ "pos": 202,
+ "end": 273,
+ "flags": 0,
+ "parent": {
+ "$ref": "2057"
+ }
+ }
+ ],
+ "tags": [],
+ "pos": 199,
+ "end": 275,
+ "flags": 0,
+ "parent": {
+ "$ref": "2053"
+ }
+ }
+ ],
+ "id": {
+ "$id": "2059",
+ "kind": 3,
+ "sv": "Body",
+ "pos": 302,
+ "end": 306,
+ "flags": 0,
+ "parent": {
+ "$ref": "2053"
+ },
+ "_id": 845
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "statements": [
+ {
+ "$ref": "2041"
+ },
+ {
+ "$id": "2060",
+ "kind": 10,
+ "id": {
+ "$id": "2061",
+ "kind": 3,
+ "sv": "uploadFileJsonContentType",
+ "pos": 948,
+ "end": 973,
+ "flags": 0,
+ "parent": {
+ "$ref": "2060"
+ },
+ "_id": 956
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "signature": {
+ "$id": "2062",
+ "kind": 11,
+ "parameters": {
+ "$id": "2063",
+ "kind": 14,
+ "properties": [
+ {
+ "$id": "2064",
+ "kind": 15,
+ "id": {
+ "$id": "2065",
+ "kind": 3,
+ "sv": "file",
+ "pos": 984,
+ "end": 988,
+ "flags": 0,
+ "parent": {
+ "$ref": "2064"
+ },
+ "_id": 961
+ },
+ "decorators": [
+ {
+ "$id": "2066",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2067",
+ "kind": 3,
+ "sv": "bodyRoot",
+ "pos": 975,
+ "end": 983,
+ "flags": 1,
+ "parent": {
+ "$ref": "2066"
+ },
+ "_id": 962
+ },
+ "pos": 974,
+ "end": 983,
+ "flags": 0,
+ "parent": {
+ "$ref": "2064"
+ }
+ }
+ ],
+ "value": {
+ "$id": "2068",
+ "kind": 45,
+ "target": {
+ "$id": "2069",
+ "kind": 7,
+ "base": {
+ "$id": "2070",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 990,
+ "end": 994,
+ "flags": 1,
+ "parent": {
+ "$ref": "2069"
+ },
+ "_id": 965
+ },
+ "id": {
+ "$id": "2071",
+ "kind": 3,
+ "sv": "File",
+ "pos": 995,
+ "end": 999,
+ "flags": 1,
+ "parent": {
+ "$ref": "2069"
+ },
+ "_id": 966
+ },
+ "selector": ".",
+ "pos": 990,
+ "end": 999,
+ "flags": 1,
+ "parent": {
+ "$ref": "2068"
+ },
+ "_id": 964
+ },
+ "arguments": [
+ {
+ "$id": "2072",
+ "kind": 61,
+ "argument": {
+ "$id": "2073",
+ "kind": 32,
+ "value": "application/json",
+ "pos": 1000,
+ "end": 1018,
+ "flags": 1,
+ "parent": {
+ "$ref": "2072"
+ }
+ },
+ "pos": 1000,
+ "end": 1018,
+ "flags": 1,
+ "parent": {
+ "$ref": "2068"
+ }
+ }
+ ],
+ "pos": 990,
+ "end": 1019,
+ "flags": 1,
+ "parent": {
+ "$ref": "2064"
+ },
+ "_id": 963
+ },
+ "optional": false,
+ "pos": 974,
+ "end": 1019,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "2063"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2064"
+ },
+ "name": "file",
+ "flags": 65536,
+ "parent": {
+ "declarations": [],
+ "node": {
+ "$ref": "2063"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2060"
+ }
+ ],
+ "name": "uploadFileJsonContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$id": "2074",
+ "kind": 8,
+ "decorators": [
+ {
+ "$id": "2075",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2076",
+ "kind": 32,
+ "value": "Test for File type usage in request and response bodies",
+ "pos": 87,
+ "end": 144,
+ "flags": 0,
+ "parent": {
+ "$ref": "2075"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2077",
+ "kind": 3,
+ "sv": "doc",
+ "pos": 83,
+ "end": 86,
+ "flags": 1,
+ "parent": {
+ "$ref": "2075"
+ },
+ "_id": 829
+ },
+ "pos": 82,
+ "end": 145,
+ "flags": 0,
+ "parent": {
+ "$ref": "2074"
+ }
+ },
+ {
+ "$id": "2078",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2079",
+ "kind": 32,
+ "value": "/type/file",
+ "pos": 163,
+ "end": 175,
+ "flags": 0,
+ "parent": {
+ "$ref": "2078"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2080",
+ "kind": 3,
+ "sv": "scenarioService",
+ "pos": 147,
+ "end": 162,
+ "flags": 1,
+ "parent": {
+ "$ref": "2078"
+ },
+ "_id": 830
+ },
+ "pos": 146,
+ "end": 176,
+ "flags": 0,
+ "parent": {
+ "$ref": "2074"
+ }
+ }
+ ],
+ "docs": [],
+ "id": {
+ "$id": "2081",
+ "kind": 3,
+ "sv": "File",
+ "pos": 192,
+ "end": 196,
+ "flags": 0,
+ "parent": {
+ "$ref": "2074"
+ },
+ "_id": 828
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "directives": [],
+ "pos": 82,
+ "end": 197,
+ "flags": 0,
+ "parent": {
+ "$id": "2082",
+ "kind": 8,
+ "decorators": [],
+ "directives": [],
+ "id": {
+ "$id": "2083",
+ "kind": 3,
+ "sv": "Type",
+ "pos": 187,
+ "end": 191,
+ "flags": 0,
+ "parent": {
+ "$ref": "2082"
+ },
+ "_id": 827
+ },
+ "statements": {
+ "$ref": "2074"
+ },
+ "locals": {
+ "duplicates": {}
+ },
+ "pos": 82,
+ "end": 197,
+ "flags": 0,
+ "parent": {
+ "$id": "2084",
+ "kind": 0,
+ "statements": [
+ {
+ "$id": "2085",
+ "kind": 2,
+ "path": {
+ "$id": "2086",
+ "kind": 32,
+ "value": "@typespec/http",
+ "pos": 7,
+ "end": 23,
+ "flags": 0,
+ "parent": {
+ "$ref": "2085"
+ }
+ },
+ "pos": 0,
+ "end": 24,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2084"
+ }
+ },
+ {
+ "$id": "2087",
+ "kind": 2,
+ "path": {
+ "$id": "2088",
+ "kind": 32,
+ "value": "@typespec/spector",
+ "pos": 32,
+ "end": 51,
+ "flags": 0,
+ "parent": {
+ "$ref": "2087"
+ }
+ },
+ "pos": 25,
+ "end": 52,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2084"
+ }
+ },
+ {
+ "$id": "2089",
+ "kind": 9,
+ "name": {
+ "$id": "2090",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 60,
+ "end": 64,
+ "flags": 1,
+ "parent": {
+ "$ref": "2089"
+ },
+ "_id": 6
+ },
+ "pos": 54,
+ "end": 65,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2084"
+ }
+ },
+ {
+ "$id": "2091",
+ "kind": 9,
+ "name": {
+ "$id": "2092",
+ "kind": 3,
+ "sv": "Spector",
+ "pos": 72,
+ "end": 79,
+ "flags": 1,
+ "parent": {
+ "$ref": "2091"
+ },
+ "_id": 7
+ },
+ "pos": 66,
+ "end": 80,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2084"
+ }
+ },
+ {
+ "$ref": "2082"
+ },
+ {
+ "$ref": "2053"
+ }
+ ],
+ "file": {
+ "text": "import \"@typespec/http\";\nimport \"@typespec/spector\";\n\nusing Http;\nusing Spector;\n\n@doc(\"Test for File type usage in request and response bodies\")\n@scenarioService(\"/type/file\")\nnamespace Type.File;\n\n/**\n * Test File as request and response body with specific content type\n */\n@route(\"/body\")\nnamespace Body {\n @scenario\n @scenarioDoc(\"\"\"\n Test File type as request body with specific content type.\n Expected request:\n - Content-Type header: image/png\n - Body: binary content matching packages/http-specs/assets/image.png\n \"\"\")\n @post\n @route(\"/request/specific-content-type\")\n op uploadFileSpecificContentType(@bodyRoot file: Http.File<\"image/png\">): NoContentResponse;\n\n @scenario\n @scenarioDoc(\"\"\"\n Test File type as request body with JSON content type.\n Expected request:\n - Content-Type header: application/json\n - Body: JSON content with file data\n \"\"\")\n @post\n @route(\"/request/json-content-type\")\n op uploadFileJsonContentType(@bodyRoot file: Http.File<\"application/json\">): NoContentResponse;\n\n @scenario\n @scenarioDoc(\"\"\"\n Test File type as response body with JSON content type.\n Expected response:\n - Content-Type header: application/json\n - Body: JSON content with file data\n \"\"\")\n @get\n @route(\"/response/json-content-type\")\n op downloadFileJsonContentType(): Http.File<\"application/json\">;\n\n @scenario\n @scenarioDoc(\"\"\"\n Test File type as response body with specific content type.\n Expected response:\n - Content-Type header: image/png\n - Body: binary content matching packages/http-specs/assets/image.png\n \"\"\")\n @get\n @route(\"/response/specific-content-type\")\n op downloadFileSpecificContentType(): Http.File<\"image/png\">;\n\n @scenario\n @scenarioDoc(\"\"\"\n Test File type as request body with multiple allowed content types (image/png or image/jpeg).\n Client should send image/png.\n Expected request:\n - Content-Type header: image/png\n - Body: binary content matching packages/http-specs/assets/image.png\n \"\"\")\n @post\n @route(\"/request/multiple-content-types\")\n op uploadFileMultipleContentTypes(\n @bodyRoot file: Http.File<\"image/png\" | \"image/jpeg\">,\n ): NoContentResponse;\n\n @scenario\n @scenarioDoc(\"\"\"\n Test File type as response body with multiple allowed content types.\n Service will return image/png.\n Expected response:\n - Content-Type header: image/png\n - Body: binary content matching packages/http-specs/assets/image.png\n \"\"\")\n @get\n @route(\"/response/multiple-content-types\")\n op downloadFileMultipleContentTypes(): Http.File<\"image/png\" | \"image/jpeg\">;\n\n @scenario\n @scenarioDoc(\"\"\"\n Test File type as request body with unspecified content type.\n The File type accepts any content type. For testing, sender will use image/png.\n Expected request:\n - Content-Type header: image/png\n - Body: binary content matching packages/http-specs/assets/image.png\n \"\"\")\n @post\n @route(\"/request/default-content-type\")\n op uploadFileDefaultContentType(@bodyRoot file: Http.File): NoContentResponse;\n\n @scenario\n @scenarioDoc(\"\"\"\n Test File type as response body with unspecified content type.\n The File type accepts any content type. For testing, server will return image/png.\n Expected response:\n - Content-Type header: image/png\n - Body: binary content matching packages/http-specs/assets/image.png\n \"\"\")\n @get\n @route(\"/response/default-content-type\")\n op downloadFileDefaultContentType(): Http.File;\n}\n",
+ "path": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http-specs/specs/type/file/main.tsp"
+ },
+ "id": {
+ "$id": "2093",
+ "kind": 3,
+ "sv": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http-specs/specs/type/file/main.tsp",
+ "pos": 0,
+ "end": 0,
+ "flags": 8,
+ "parent": {
+ "$ref": "2084"
+ }
+ },
+ "namespaces": [
+ {
+ "$ref": "2082"
+ },
+ {
+ "$ref": "2074"
+ },
+ {
+ "$ref": "2053"
+ }
+ ],
+ "usings": [
+ {
+ "$ref": "2089"
+ },
+ {
+ "$ref": "2091"
+ }
+ ],
+ "locals": {
+ "duplicates": {}
+ },
+ "inScopeNamespaces": [
+ {
+ "$ref": "2074"
+ },
+ {
+ "$ref": "2082"
+ }
+ ],
+ "parseDiagnostics": [],
+ "comments": [],
+ "printable": true,
+ "parseOptions": {},
+ "pos": 0,
+ "end": 3490,
+ "flags": 0,
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2084"
+ },
+ "name": "/home/runner/work/typespec/typespec/packages/http-client-csharp/node_modules/@typespec/http-specs/specs/type/file/main.tsp",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 32768,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 417
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 103
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 973,
+ "end": 1020
+ },
+ "pos": 973,
+ "end": 1020,
+ "flags": 0,
+ "parent": {
+ "$ref": "2062"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2063"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2060"
+ }
+ ],
+ "name": "uploadFileJsonContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 417
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 103
+ }
+ },
+ "returnType": {
+ "$id": "2094",
+ "kind": 45,
+ "target": {
+ "$id": "2095",
+ "kind": 3,
+ "sv": "NoContentResponse",
+ "pos": 1022,
+ "end": 1039,
+ "flags": 1,
+ "parent": {
+ "$ref": "2094"
+ },
+ "_id": 968
+ },
+ "arguments": [],
+ "pos": 1022,
+ "end": 1039,
+ "flags": 1,
+ "parent": {
+ "$ref": "2062"
+ },
+ "_id": 967
+ },
+ "pos": 973,
+ "end": 1039,
+ "flags": 0,
+ "parent": {
+ "$ref": "2060"
+ }
+ },
+ "decorators": [
+ {
+ "$id": "2096",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2097",
+ "kind": 3,
+ "sv": "scenario",
+ "pos": 694,
+ "end": 702,
+ "flags": 1,
+ "parent": {
+ "$ref": "2096"
+ },
+ "_id": 957
+ },
+ "pos": 693,
+ "end": 702,
+ "flags": 0,
+ "parent": {
+ "$ref": "2060"
+ }
+ },
+ {
+ "$id": "2098",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2099",
+ "kind": 32,
+ "value": "Test File type as request body with JSON content type.\nExpected request:\n- Content-Type header: application/json\n- Body: JSON content with file data",
+ "pos": 718,
+ "end": 894,
+ "flags": 0,
+ "parent": {
+ "$ref": "2098"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2100",
+ "kind": 3,
+ "sv": "scenarioDoc",
+ "pos": 706,
+ "end": 717,
+ "flags": 1,
+ "parent": {
+ "$ref": "2098"
+ },
+ "_id": 958
+ },
+ "pos": 705,
+ "end": 895,
+ "flags": 0,
+ "parent": {
+ "$ref": "2060"
+ }
+ },
+ {
+ "$id": "2101",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2102",
+ "kind": 3,
+ "sv": "post",
+ "pos": 899,
+ "end": 903,
+ "flags": 1,
+ "parent": {
+ "$ref": "2101"
+ },
+ "_id": 959
+ },
+ "pos": 898,
+ "end": 903,
+ "flags": 0,
+ "parent": {
+ "$ref": "2060"
+ }
+ },
+ {
+ "$id": "2103",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2104",
+ "kind": 32,
+ "value": "/request/json-content-type",
+ "pos": 913,
+ "end": 941,
+ "flags": 0,
+ "parent": {
+ "$ref": "2103"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2105",
+ "kind": 3,
+ "sv": "route",
+ "pos": 907,
+ "end": 912,
+ "flags": 1,
+ "parent": {
+ "$ref": "2103"
+ },
+ "_id": 960
+ },
+ "pos": 906,
+ "end": 942,
+ "flags": 0,
+ "parent": {
+ "$ref": "2060"
+ }
+ }
+ ],
+ "pos": 693,
+ "end": 1040,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2053"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2060"
+ }
+ ],
+ "name": "uploadFileJsonContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 417
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2106",
+ "kind": 10,
+ "id": {
+ "$id": "2107",
+ "kind": 3,
+ "sv": "downloadFileJsonContentType",
+ "pos": 1301,
+ "end": 1328,
+ "flags": 0,
+ "parent": {
+ "$ref": "2106"
+ },
+ "_id": 969
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "signature": {
+ "$id": "2108",
+ "kind": 11,
+ "parameters": {
+ "$id": "2109",
+ "kind": 14,
+ "properties": [],
+ "bodyRange": {
+ "pos": 1328,
+ "end": 1330
+ },
+ "pos": 1328,
+ "end": 1330,
+ "flags": 0,
+ "parent": {
+ "$ref": "2108"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2109"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2106"
+ }
+ ],
+ "name": "downloadFileJsonContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 419
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 104
+ }
+ },
+ "returnType": {
+ "$id": "2110",
+ "kind": 45,
+ "target": {
+ "$id": "2111",
+ "kind": 7,
+ "base": {
+ "$id": "2112",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 1332,
+ "end": 1336,
+ "flags": 1,
+ "parent": {
+ "$ref": "2111"
+ },
+ "_id": 980
+ },
+ "id": {
+ "$id": "2113",
+ "kind": 3,
+ "sv": "File",
+ "pos": 1337,
+ "end": 1341,
+ "flags": 1,
+ "parent": {
+ "$ref": "2111"
+ },
+ "_id": 981
+ },
+ "selector": ".",
+ "pos": 1332,
+ "end": 1341,
+ "flags": 1,
+ "parent": {
+ "$ref": "2110"
+ },
+ "_id": 979
+ },
+ "arguments": [
+ {
+ "$id": "2114",
+ "kind": 61,
+ "argument": {
+ "$id": "2115",
+ "kind": 32,
+ "value": "application/json",
+ "pos": 1342,
+ "end": 1360,
+ "flags": 1,
+ "parent": {
+ "$ref": "2114"
+ }
+ },
+ "pos": 1342,
+ "end": 1360,
+ "flags": 1,
+ "parent": {
+ "$ref": "2110"
+ }
+ }
+ ],
+ "pos": 1332,
+ "end": 1361,
+ "flags": 1,
+ "parent": {
+ "$ref": "2108"
+ },
+ "_id": 978
+ },
+ "pos": 1328,
+ "end": 1361,
+ "flags": 0,
+ "parent": {
+ "$ref": "2106"
+ }
+ },
+ "decorators": [
+ {
+ "$id": "2116",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2117",
+ "kind": 3,
+ "sv": "scenario",
+ "pos": 1045,
+ "end": 1053,
+ "flags": 1,
+ "parent": {
+ "$ref": "2116"
+ },
+ "_id": 970
+ },
+ "pos": 1044,
+ "end": 1053,
+ "flags": 0,
+ "parent": {
+ "$ref": "2106"
+ }
+ },
+ {
+ "$id": "2118",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2119",
+ "kind": 32,
+ "value": "Test File type as response body with JSON content type.\nExpected response:\n- Content-Type header: application/json\n- Body: JSON content with file data",
+ "pos": 1069,
+ "end": 1247,
+ "flags": 0,
+ "parent": {
+ "$ref": "2118"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2120",
+ "kind": 3,
+ "sv": "scenarioDoc",
+ "pos": 1057,
+ "end": 1068,
+ "flags": 1,
+ "parent": {
+ "$ref": "2118"
+ },
+ "_id": 971
+ },
+ "pos": 1056,
+ "end": 1248,
+ "flags": 0,
+ "parent": {
+ "$ref": "2106"
+ }
+ },
+ {
+ "$id": "2121",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2122",
+ "kind": 3,
+ "sv": "get",
+ "pos": 1252,
+ "end": 1255,
+ "flags": 1,
+ "parent": {
+ "$ref": "2121"
+ },
+ "_id": 972
+ },
+ "pos": 1251,
+ "end": 1255,
+ "flags": 0,
+ "parent": {
+ "$ref": "2106"
+ }
+ },
+ {
+ "$id": "2123",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2124",
+ "kind": 32,
+ "value": "/response/json-content-type",
+ "pos": 1265,
+ "end": 1294,
+ "flags": 0,
+ "parent": {
+ "$ref": "2123"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2125",
+ "kind": 3,
+ "sv": "route",
+ "pos": 1259,
+ "end": 1264,
+ "flags": 1,
+ "parent": {
+ "$ref": "2123"
+ },
+ "_id": 977
+ },
+ "pos": 1258,
+ "end": 1295,
+ "flags": 0,
+ "parent": {
+ "$ref": "2106"
+ }
+ }
+ ],
+ "pos": 1044,
+ "end": 1362,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2053"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2106"
+ }
+ ],
+ "name": "downloadFileJsonContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 419
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2126",
+ "kind": 10,
+ "id": {
+ "$id": "2127",
+ "kind": 3,
+ "sv": "downloadFileSpecificContentType",
+ "pos": 1657,
+ "end": 1688,
+ "flags": 0,
+ "parent": {
+ "$ref": "2126"
+ },
+ "_id": 982
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "signature": {
+ "$id": "2128",
+ "kind": 11,
+ "parameters": {
+ "$id": "2129",
+ "kind": 14,
+ "properties": [],
+ "bodyRange": {
+ "pos": 1688,
+ "end": 1690
+ },
+ "pos": 1688,
+ "end": 1690,
+ "flags": 0,
+ "parent": {
+ "$ref": "2128"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2129"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2126"
+ }
+ ],
+ "name": "downloadFileSpecificContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 422
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 105
+ }
+ },
+ "returnType": {
+ "$id": "2130",
+ "kind": 45,
+ "target": {
+ "$id": "2131",
+ "kind": 7,
+ "base": {
+ "$id": "2132",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 1692,
+ "end": 1696,
+ "flags": 1,
+ "parent": {
+ "$ref": "2131"
+ },
+ "_id": 989
+ },
+ "id": {
+ "$id": "2133",
+ "kind": 3,
+ "sv": "File",
+ "pos": 1697,
+ "end": 1701,
+ "flags": 1,
+ "parent": {
+ "$ref": "2131"
+ },
+ "_id": 990
+ },
+ "selector": ".",
+ "pos": 1692,
+ "end": 1701,
+ "flags": 1,
+ "parent": {
+ "$ref": "2130"
+ },
+ "_id": 988
+ },
+ "arguments": [
+ {
+ "$id": "2134",
+ "kind": 61,
+ "argument": {
+ "$id": "2135",
+ "kind": 32,
+ "value": "image/png",
+ "pos": 1702,
+ "end": 1713,
+ "flags": 1,
+ "parent": {
+ "$ref": "2134"
+ }
+ },
+ "pos": 1702,
+ "end": 1713,
+ "flags": 1,
+ "parent": {
+ "$ref": "2130"
+ }
+ }
+ ],
+ "pos": 1692,
+ "end": 1714,
+ "flags": 1,
+ "parent": {
+ "$ref": "2128"
+ },
+ "_id": 987
+ },
+ "pos": 1688,
+ "end": 1714,
+ "flags": 0,
+ "parent": {
+ "$ref": "2126"
+ }
+ },
+ "decorators": [
+ {
+ "$id": "2136",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2137",
+ "kind": 3,
+ "sv": "scenario",
+ "pos": 1367,
+ "end": 1375,
+ "flags": 1,
+ "parent": {
+ "$ref": "2136"
+ },
+ "_id": 983
+ },
+ "pos": 1366,
+ "end": 1375,
+ "flags": 0,
+ "parent": {
+ "$ref": "2126"
+ }
+ },
+ {
+ "$id": "2138",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2139",
+ "kind": 32,
+ "value": "Test File type as response body with specific content type.\nExpected response:\n- Content-Type header: image/png\n- Body: binary content matching packages/http-specs/assets/image.png",
+ "pos": 1391,
+ "end": 1599,
+ "flags": 0,
+ "parent": {
+ "$ref": "2138"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2140",
+ "kind": 3,
+ "sv": "scenarioDoc",
+ "pos": 1379,
+ "end": 1390,
+ "flags": 1,
+ "parent": {
+ "$ref": "2138"
+ },
+ "_id": 984
+ },
+ "pos": 1378,
+ "end": 1600,
+ "flags": 0,
+ "parent": {
+ "$ref": "2126"
+ }
+ },
+ {
+ "$id": "2141",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2142",
+ "kind": 3,
+ "sv": "get",
+ "pos": 1604,
+ "end": 1607,
+ "flags": 1,
+ "parent": {
+ "$ref": "2141"
+ },
+ "_id": 985
+ },
+ "pos": 1603,
+ "end": 1607,
+ "flags": 0,
+ "parent": {
+ "$ref": "2126"
+ }
+ },
+ {
+ "$id": "2143",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2144",
+ "kind": 32,
+ "value": "/response/specific-content-type",
+ "pos": 1617,
+ "end": 1650,
+ "flags": 0,
+ "parent": {
+ "$ref": "2143"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2145",
+ "kind": 3,
+ "sv": "route",
+ "pos": 1611,
+ "end": 1616,
+ "flags": 1,
+ "parent": {
+ "$ref": "2143"
+ },
+ "_id": 986
+ },
+ "pos": 1610,
+ "end": 1651,
+ "flags": 0,
+ "parent": {
+ "$ref": "2126"
+ }
+ }
+ ],
+ "pos": 1366,
+ "end": 1715,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2053"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2126"
+ }
+ ],
+ "name": "downloadFileSpecificContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 422
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2146",
+ "kind": 10,
+ "id": {
+ "$id": "2147",
+ "kind": 3,
+ "sv": "uploadFileMultipleContentTypes",
+ "pos": 2078,
+ "end": 2108,
+ "flags": 0,
+ "parent": {
+ "$ref": "2146"
+ },
+ "_id": 991
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "signature": {
+ "$id": "2148",
+ "kind": 11,
+ "parameters": {
+ "$id": "2149",
+ "kind": 14,
+ "properties": [
+ {
+ "$id": "2150",
+ "kind": 15,
+ "id": {
+ "$id": "2151",
+ "kind": 3,
+ "sv": "file",
+ "pos": 2124,
+ "end": 2128,
+ "flags": 0,
+ "parent": {
+ "$ref": "2150"
+ },
+ "_id": 996
+ },
+ "decorators": [
+ {
+ "$id": "2152",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2153",
+ "kind": 3,
+ "sv": "bodyRoot",
+ "pos": 2115,
+ "end": 2123,
+ "flags": 1,
+ "parent": {
+ "$ref": "2152"
+ },
+ "_id": 997
+ },
+ "pos": 2114,
+ "end": 2123,
+ "flags": 0,
+ "parent": {
+ "$ref": "2150"
+ }
+ }
+ ],
+ "value": {
+ "$id": "2154",
+ "kind": 45,
+ "target": {
+ "$id": "2155",
+ "kind": 7,
+ "base": {
+ "$id": "2156",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 2130,
+ "end": 2134,
+ "flags": 1,
+ "parent": {
+ "$ref": "2155"
+ },
+ "_id": 1000
+ },
+ "id": {
+ "$id": "2157",
+ "kind": 3,
+ "sv": "File",
+ "pos": 2135,
+ "end": 2139,
+ "flags": 1,
+ "parent": {
+ "$ref": "2155"
+ },
+ "_id": 1001
+ },
+ "selector": ".",
+ "pos": 2130,
+ "end": 2139,
+ "flags": 1,
+ "parent": {
+ "$ref": "2154"
+ },
+ "_id": 999
+ },
+ "arguments": [
+ {
+ "$id": "2158",
+ "kind": 61,
+ "argument": {
+ "$id": "2159",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "2160",
+ "kind": 32,
+ "value": "image/png",
+ "pos": 2140,
+ "end": 2151,
+ "flags": 1,
+ "parent": {
+ "$ref": "2159"
+ }
+ },
+ {
+ "$id": "2161",
+ "kind": 32,
+ "value": "image/jpeg",
+ "pos": 2154,
+ "end": 2166,
+ "flags": 1,
+ "parent": {
+ "$ref": "2159"
+ }
+ }
+ ],
+ "pos": 2140,
+ "end": 2166,
+ "flags": 1,
+ "parent": {
+ "$ref": "2158"
+ }
+ },
+ "pos": 2140,
+ "end": 2166,
+ "flags": 1,
+ "parent": {
+ "$ref": "2154"
+ }
+ }
+ ],
+ "pos": 2130,
+ "end": 2167,
+ "flags": 1,
+ "parent": {
+ "$ref": "2150"
+ },
+ "_id": 998
+ },
+ "optional": false,
+ "pos": 2114,
+ "end": 2167,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "2149"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2150"
+ },
+ "name": "file",
+ "flags": 65536,
+ "parent": {
+ "declarations": [],
+ "node": {
+ "$ref": "2149"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2146"
+ }
+ ],
+ "name": "uploadFileMultipleContentTypes",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 423
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 106
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 2108,
+ "end": 2172
+ },
+ "pos": 2108,
+ "end": 2172,
+ "flags": 0,
+ "parent": {
+ "$ref": "2148"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2149"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2146"
+ }
+ ],
+ "name": "uploadFileMultipleContentTypes",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 423
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 106
+ }
+ },
+ "returnType": {
+ "$id": "2162",
+ "kind": 45,
+ "target": {
+ "$id": "2163",
+ "kind": 3,
+ "sv": "NoContentResponse",
+ "pos": 2174,
+ "end": 2191,
+ "flags": 1,
+ "parent": {
+ "$ref": "2162"
+ },
+ "_id": 1003
+ },
+ "arguments": [],
+ "pos": 2174,
+ "end": 2191,
+ "flags": 1,
+ "parent": {
+ "$ref": "2148"
+ },
+ "_id": 1002
+ },
+ "pos": 2108,
+ "end": 2191,
+ "flags": 0,
+ "parent": {
+ "$ref": "2146"
+ }
+ },
+ "decorators": [
+ {
+ "$id": "2164",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2165",
+ "kind": 3,
+ "sv": "scenario",
+ "pos": 1720,
+ "end": 1728,
+ "flags": 1,
+ "parent": {
+ "$ref": "2164"
+ },
+ "_id": 992
+ },
+ "pos": 1719,
+ "end": 1728,
+ "flags": 0,
+ "parent": {
+ "$ref": "2146"
+ }
+ },
+ {
+ "$id": "2166",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2167",
+ "kind": 32,
+ "value": "Test File type as request body with multiple allowed content types (image/png or image/jpeg).\nClient should send image/png.\nExpected request:\n- Content-Type header: image/png\n- Body: binary content matching packages/http-specs/assets/image.png",
+ "pos": 1744,
+ "end": 2019,
+ "flags": 0,
+ "parent": {
+ "$ref": "2166"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2168",
+ "kind": 3,
+ "sv": "scenarioDoc",
+ "pos": 1732,
+ "end": 1743,
+ "flags": 1,
+ "parent": {
+ "$ref": "2166"
+ },
+ "_id": 993
+ },
+ "pos": 1731,
+ "end": 2020,
+ "flags": 0,
+ "parent": {
+ "$ref": "2146"
+ }
+ },
+ {
+ "$id": "2169",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2170",
+ "kind": 3,
+ "sv": "post",
+ "pos": 2024,
+ "end": 2028,
+ "flags": 1,
+ "parent": {
+ "$ref": "2169"
+ },
+ "_id": 994
+ },
+ "pos": 2023,
+ "end": 2028,
+ "flags": 0,
+ "parent": {
+ "$ref": "2146"
+ }
+ },
+ {
+ "$id": "2171",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2172",
+ "kind": 32,
+ "value": "/request/multiple-content-types",
+ "pos": 2038,
+ "end": 2071,
+ "flags": 0,
+ "parent": {
+ "$ref": "2171"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2173",
+ "kind": 3,
+ "sv": "route",
+ "pos": 2032,
+ "end": 2037,
+ "flags": 1,
+ "parent": {
+ "$ref": "2171"
+ },
+ "_id": 995
+ },
+ "pos": 2031,
+ "end": 2072,
+ "flags": 0,
+ "parent": {
+ "$ref": "2146"
+ }
+ }
+ ],
+ "pos": 1719,
+ "end": 2192,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2053"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2146"
+ }
+ ],
+ "name": "uploadFileMultipleContentTypes",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 423
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2174",
+ "kind": 10,
+ "id": {
+ "$id": "2175",
+ "kind": 3,
+ "sv": "downloadFileMultipleContentTypes",
+ "pos": 2532,
+ "end": 2564,
+ "flags": 0,
+ "parent": {
+ "$ref": "2174"
+ },
+ "_id": 1004
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "signature": {
+ "$id": "2176",
+ "kind": 11,
+ "parameters": {
+ "$id": "2177",
+ "kind": 14,
+ "properties": [],
+ "bodyRange": {
+ "pos": 2564,
+ "end": 2566
+ },
+ "pos": 2564,
+ "end": 2566,
+ "flags": 0,
+ "parent": {
+ "$ref": "2176"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2177"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2174"
+ }
+ ],
+ "name": "downloadFileMultipleContentTypes",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 425
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 107
+ }
+ },
+ "returnType": {
+ "$id": "2178",
+ "kind": 45,
+ "target": {
+ "$id": "2179",
+ "kind": 7,
+ "base": {
+ "$id": "2180",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 2568,
+ "end": 2572,
+ "flags": 1,
+ "parent": {
+ "$ref": "2179"
+ },
+ "_id": 1011
+ },
+ "id": {
+ "$id": "2181",
+ "kind": 3,
+ "sv": "File",
+ "pos": 2573,
+ "end": 2577,
+ "flags": 1,
+ "parent": {
+ "$ref": "2179"
+ },
+ "_id": 1012
+ },
+ "selector": ".",
+ "pos": 2568,
+ "end": 2577,
+ "flags": 1,
+ "parent": {
+ "$ref": "2178"
+ },
+ "_id": 1010
+ },
+ "arguments": [
+ {
+ "$id": "2182",
+ "kind": 61,
+ "argument": {
+ "$id": "2183",
+ "kind": 28,
+ "options": [
+ {
+ "$id": "2184",
+ "kind": 32,
+ "value": "image/png",
+ "pos": 2578,
+ "end": 2589,
+ "flags": 1,
+ "parent": {
+ "$ref": "2183"
+ }
+ },
+ {
+ "$id": "2185",
+ "kind": 32,
+ "value": "image/jpeg",
+ "pos": 2592,
+ "end": 2604,
+ "flags": 1,
+ "parent": {
+ "$ref": "2183"
+ }
+ }
+ ],
+ "pos": 2578,
+ "end": 2604,
+ "flags": 1,
+ "parent": {
+ "$ref": "2182"
+ }
+ },
+ "pos": 2578,
+ "end": 2604,
+ "flags": 1,
+ "parent": {
+ "$ref": "2178"
+ }
+ }
+ ],
+ "pos": 2568,
+ "end": 2605,
+ "flags": 1,
+ "parent": {
+ "$ref": "2176"
+ },
+ "_id": 1009
+ },
+ "pos": 2564,
+ "end": 2605,
+ "flags": 0,
+ "parent": {
+ "$ref": "2174"
+ }
+ },
+ "decorators": [
+ {
+ "$id": "2186",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2187",
+ "kind": 3,
+ "sv": "scenario",
+ "pos": 2197,
+ "end": 2205,
+ "flags": 1,
+ "parent": {
+ "$ref": "2186"
+ },
+ "_id": 1005
+ },
+ "pos": 2196,
+ "end": 2205,
+ "flags": 0,
+ "parent": {
+ "$ref": "2174"
+ }
+ },
+ {
+ "$id": "2188",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2189",
+ "kind": 32,
+ "value": "Test File type as response body with multiple allowed content types.\nService will return image/png.\nExpected response:\n- Content-Type header: image/png\n- Body: binary content matching packages/http-specs/assets/image.png",
+ "pos": 2221,
+ "end": 2473,
+ "flags": 0,
+ "parent": {
+ "$ref": "2188"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2190",
+ "kind": 3,
+ "sv": "scenarioDoc",
+ "pos": 2209,
+ "end": 2220,
+ "flags": 1,
+ "parent": {
+ "$ref": "2188"
+ },
+ "_id": 1006
+ },
+ "pos": 2208,
+ "end": 2474,
+ "flags": 0,
+ "parent": {
+ "$ref": "2174"
+ }
+ },
+ {
+ "$id": "2191",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2192",
+ "kind": 3,
+ "sv": "get",
+ "pos": 2478,
+ "end": 2481,
+ "flags": 1,
+ "parent": {
+ "$ref": "2191"
+ },
+ "_id": 1007
+ },
+ "pos": 2477,
+ "end": 2481,
+ "flags": 0,
+ "parent": {
+ "$ref": "2174"
+ }
+ },
+ {
+ "$id": "2193",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2194",
+ "kind": 32,
+ "value": "/response/multiple-content-types",
+ "pos": 2491,
+ "end": 2525,
+ "flags": 0,
+ "parent": {
+ "$ref": "2193"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2195",
+ "kind": 3,
+ "sv": "route",
+ "pos": 2485,
+ "end": 2490,
+ "flags": 1,
+ "parent": {
+ "$ref": "2193"
+ },
+ "_id": 1008
+ },
+ "pos": 2484,
+ "end": 2526,
+ "flags": 0,
+ "parent": {
+ "$ref": "2174"
+ }
+ }
+ ],
+ "pos": 2196,
+ "end": 2606,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2053"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2174"
+ }
+ ],
+ "name": "downloadFileMultipleContentTypes",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 425
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2196",
+ "kind": 10,
+ "id": {
+ "$id": "2197",
+ "kind": 3,
+ "sv": "uploadFileDefaultContentType",
+ "pos": 2985,
+ "end": 3013,
+ "flags": 0,
+ "parent": {
+ "$ref": "2196"
+ },
+ "_id": 1013
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "signature": {
+ "$id": "2198",
+ "kind": 11,
+ "parameters": {
+ "$id": "2199",
+ "kind": 14,
+ "properties": [
+ {
+ "$id": "2200",
+ "kind": 15,
+ "id": {
+ "$id": "2201",
+ "kind": 3,
+ "sv": "file",
+ "pos": 3024,
+ "end": 3028,
+ "flags": 0,
+ "parent": {
+ "$ref": "2200"
+ },
+ "_id": 1018
+ },
+ "decorators": [
+ {
+ "$id": "2202",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2203",
+ "kind": 3,
+ "sv": "bodyRoot",
+ "pos": 3015,
+ "end": 3023,
+ "flags": 1,
+ "parent": {
+ "$ref": "2202"
+ },
+ "_id": 1019
+ },
+ "pos": 3014,
+ "end": 3023,
+ "flags": 0,
+ "parent": {
+ "$ref": "2200"
+ }
+ }
+ ],
+ "value": {
+ "$id": "2204",
+ "kind": 45,
+ "target": {
+ "$id": "2205",
+ "kind": 7,
+ "base": {
+ "$id": "2206",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 3030,
+ "end": 3034,
+ "flags": 1,
+ "parent": {
+ "$ref": "2205"
+ },
+ "_id": 1022
+ },
+ "id": {
+ "$id": "2207",
+ "kind": 3,
+ "sv": "File",
+ "pos": 3035,
+ "end": 3039,
+ "flags": 1,
+ "parent": {
+ "$ref": "2205"
+ },
+ "_id": 1023
+ },
+ "selector": ".",
+ "pos": 3030,
+ "end": 3039,
+ "flags": 1,
+ "parent": {
+ "$ref": "2204"
+ },
+ "_id": 1021
+ },
+ "arguments": [],
+ "pos": 3030,
+ "end": 3039,
+ "flags": 1,
+ "parent": {
+ "$ref": "2200"
+ },
+ "_id": 1020
+ },
+ "optional": false,
+ "pos": 3014,
+ "end": 3039,
+ "flags": 0,
+ "docs": [],
+ "directives": [],
+ "parent": {
+ "$ref": "2199"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2200"
+ },
+ "name": "file",
+ "flags": 65536,
+ "parent": {
+ "declarations": [],
+ "node": {
+ "$ref": "2199"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2196"
+ }
+ ],
+ "name": "uploadFileDefaultContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 426
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 108
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ }
+ ],
+ "bodyRange": {
+ "pos": 3013,
+ "end": 3040
+ },
+ "pos": 3013,
+ "end": 3040,
+ "flags": 0,
+ "parent": {
+ "$ref": "2198"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2199"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2196"
+ }
+ ],
+ "name": "uploadFileDefaultContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 426
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 108
+ }
+ },
+ "returnType": {
+ "$id": "2208",
+ "kind": 45,
+ "target": {
+ "$id": "2209",
+ "kind": 3,
+ "sv": "NoContentResponse",
+ "pos": 3042,
+ "end": 3059,
+ "flags": 1,
+ "parent": {
+ "$ref": "2208"
+ },
+ "_id": 1025
+ },
+ "arguments": [],
+ "pos": 3042,
+ "end": 3059,
+ "flags": 1,
+ "parent": {
+ "$ref": "2198"
+ },
+ "_id": 1024
+ },
+ "pos": 3013,
+ "end": 3059,
+ "flags": 0,
+ "parent": {
+ "$ref": "2196"
+ }
+ },
+ "decorators": [
+ {
+ "$id": "2210",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2211",
+ "kind": 3,
+ "sv": "scenario",
+ "pos": 2611,
+ "end": 2619,
+ "flags": 1,
+ "parent": {
+ "$ref": "2210"
+ },
+ "_id": 1014
+ },
+ "pos": 2610,
+ "end": 2619,
+ "flags": 0,
+ "parent": {
+ "$ref": "2196"
+ }
+ },
+ {
+ "$id": "2212",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2213",
+ "kind": 32,
+ "value": "Test File type as request body with unspecified content type.\nThe File type accepts any content type. For testing, sender will use image/png.\nExpected request:\n- Content-Type header: image/png\n- Body: binary content matching packages/http-specs/assets/image.png",
+ "pos": 2635,
+ "end": 2928,
+ "flags": 0,
+ "parent": {
+ "$ref": "2212"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2214",
+ "kind": 3,
+ "sv": "scenarioDoc",
+ "pos": 2623,
+ "end": 2634,
+ "flags": 1,
+ "parent": {
+ "$ref": "2212"
+ },
+ "_id": 1015
+ },
+ "pos": 2622,
+ "end": 2929,
+ "flags": 0,
+ "parent": {
+ "$ref": "2196"
+ }
+ },
+ {
+ "$id": "2215",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2216",
+ "kind": 3,
+ "sv": "post",
+ "pos": 2933,
+ "end": 2937,
+ "flags": 1,
+ "parent": {
+ "$ref": "2215"
+ },
+ "_id": 1016
+ },
+ "pos": 2932,
+ "end": 2937,
+ "flags": 0,
+ "parent": {
+ "$ref": "2196"
+ }
+ },
+ {
+ "$id": "2217",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2218",
+ "kind": 32,
+ "value": "/request/default-content-type",
+ "pos": 2947,
+ "end": 2978,
+ "flags": 0,
+ "parent": {
+ "$ref": "2217"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2219",
+ "kind": 3,
+ "sv": "route",
+ "pos": 2941,
+ "end": 2946,
+ "flags": 1,
+ "parent": {
+ "$ref": "2217"
+ },
+ "_id": 1017
+ },
+ "pos": 2940,
+ "end": 2979,
+ "flags": 0,
+ "parent": {
+ "$ref": "2196"
+ }
+ }
+ ],
+ "pos": 2610,
+ "end": 3060,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2053"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2196"
+ }
+ ],
+ "name": "uploadFileDefaultContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 426
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ },
+ {
+ "$id": "2220",
+ "kind": 10,
+ "id": {
+ "$id": "2221",
+ "kind": 3,
+ "sv": "downloadFileDefaultContentType",
+ "pos": 3444,
+ "end": 3474,
+ "flags": 0,
+ "parent": {
+ "$ref": "2220"
+ },
+ "_id": 1026
+ },
+ "templateParameters": [],
+ "templateParametersRange": {
+ "pos": -1,
+ "end": -1
+ },
+ "signature": {
+ "$id": "2222",
+ "kind": 11,
+ "parameters": {
+ "$id": "2223",
+ "kind": 14,
+ "properties": [],
+ "bodyRange": {
+ "pos": 3474,
+ "end": 3476
+ },
+ "pos": 3474,
+ "end": 3476,
+ "flags": 0,
+ "parent": {
+ "$ref": "2222"
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2223"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2220"
+ }
+ ],
+ "name": "downloadFileDefaultContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 428
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 109
+ }
+ },
+ "returnType": {
+ "$id": "2224",
+ "kind": 45,
+ "target": {
+ "$id": "2225",
+ "kind": 7,
+ "base": {
+ "$id": "2226",
+ "kind": 3,
+ "sv": "Http",
+ "pos": 3478,
+ "end": 3482,
+ "flags": 1,
+ "parent": {
+ "$ref": "2225"
+ },
+ "_id": 1033
+ },
+ "id": {
+ "$id": "2227",
+ "kind": 3,
+ "sv": "File",
+ "pos": 3483,
+ "end": 3487,
+ "flags": 1,
+ "parent": {
+ "$ref": "2225"
+ },
+ "_id": 1034
+ },
+ "selector": ".",
+ "pos": 3478,
+ "end": 3487,
+ "flags": 1,
+ "parent": {
+ "$ref": "2224"
+ },
+ "_id": 1032
+ },
+ "arguments": [],
+ "pos": 3478,
+ "end": 3487,
+ "flags": 1,
+ "parent": {
+ "$ref": "2222"
+ },
+ "_id": 1031
+ },
+ "pos": 3474,
+ "end": 3487,
+ "flags": 0,
+ "parent": {
+ "$ref": "2220"
+ }
+ },
+ "decorators": [
+ {
+ "$id": "2228",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2229",
+ "kind": 3,
+ "sv": "scenario",
+ "pos": 3065,
+ "end": 3073,
+ "flags": 1,
+ "parent": {
+ "$ref": "2228"
+ },
+ "_id": 1027
+ },
+ "pos": 3064,
+ "end": 3073,
+ "flags": 0,
+ "parent": {
+ "$ref": "2220"
+ }
+ },
+ {
+ "$id": "2230",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2231",
+ "kind": 32,
+ "value": "Test File type as response body with unspecified content type.\nThe File type accepts any content type. For testing, server will return image/png.\nExpected response:\n- Content-Type header: image/png\n- Body: binary content matching packages/http-specs/assets/image.png",
+ "pos": 3089,
+ "end": 3387,
+ "flags": 0,
+ "parent": {
+ "$ref": "2230"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2232",
+ "kind": 3,
+ "sv": "scenarioDoc",
+ "pos": 3077,
+ "end": 3088,
+ "flags": 1,
+ "parent": {
+ "$ref": "2230"
+ },
+ "_id": 1028
+ },
+ "pos": 3076,
+ "end": 3388,
+ "flags": 0,
+ "parent": {
+ "$ref": "2220"
+ }
+ },
+ {
+ "$id": "2233",
+ "kind": 5,
+ "arguments": [],
+ "target": {
+ "$id": "2234",
+ "kind": 3,
+ "sv": "get",
+ "pos": 3392,
+ "end": 3395,
+ "flags": 1,
+ "parent": {
+ "$ref": "2233"
+ },
+ "_id": 1029
+ },
+ "pos": 3391,
+ "end": 3395,
+ "flags": 0,
+ "parent": {
+ "$ref": "2220"
+ }
+ },
+ {
+ "$id": "2235",
+ "kind": 5,
+ "arguments": [
+ {
+ "$id": "2236",
+ "kind": 32,
+ "value": "/response/default-content-type",
+ "pos": 3405,
+ "end": 3437,
+ "flags": 0,
+ "parent": {
+ "$ref": "2235"
+ }
+ }
+ ],
+ "target": {
+ "$id": "2237",
+ "kind": 3,
+ "sv": "route",
+ "pos": 3399,
+ "end": 3404,
+ "flags": 1,
+ "parent": {
+ "$ref": "2235"
+ },
+ "_id": 1030
+ },
+ "pos": 3398,
+ "end": 3438,
+ "flags": 0,
+ "parent": {
+ "$ref": "2220"
+ }
+ }
+ ],
+ "pos": 3064,
+ "end": 3488,
+ "flags": 0,
+ "directives": [],
+ "docs": [],
+ "parent": {
+ "$ref": "2053"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2220"
+ }
+ ],
+ "name": "downloadFileDefaultContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 428
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ }
+ ],
+ "directives": [],
+ "pos": 199,
+ "end": 3490,
+ "flags": 0,
+ "parent": {
+ "$ref": "2084"
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "symbol": {
+ "declarations": [
+ {
+ "$ref": "2041"
+ }
+ ],
+ "name": "uploadFileSpecificContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 395
+ },
+ "locals": {
+ "duplicates": {}
+ }
+ }
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2037"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2041"
+ }
+ ],
+ "name": "uploadFileSpecificContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 395
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 96
+ }
+ },
+ "symbol": {
+ "declarations": [],
+ "node": {
+ "$ref": "2033"
+ },
+ "name": "file",
+ "flags": 65536,
+ "parent": {
+ "declarations": [],
+ "node": {
+ "$ref": "2037"
+ },
+ "name": "-",
+ "members": {
+ "duplicates": {}
+ },
+ "flags": 2,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2041"
+ }
+ ],
+ "name": "uploadFileSpecificContentType",
+ "flags": 1048584,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2053"
+ }
+ ],
+ "name": "Body",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2074"
+ }
+ ],
+ "name": "File",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "parent": {
+ "declarations": [
+ {
+ "$ref": "2082"
+ }
+ ],
+ "name": "Type",
+ "exports": {
+ "duplicates": {}
+ },
+ "flags": 1048832,
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 395
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ },
+ "id": 96
+ },
+ "metatypeMembers": {
+ "duplicates": {}
+ }
+ }
+ },
+ "_id": 898
+ }
+ },
+ "map": {}
+ },
+ "model": {
+ "$id": "2238",
+ "kind": "Model",
+ "name": "File",
+ "node": {
+ "$ref": "40"
+ },
+ "properties": {},
+ "namespace": {
+ "$ref": "887"
+ },
+ "decorators": [
+ {
+ "args": [
+ {
+ "value": {
+ "$ref": "723"
+ },
+ "jsValue": "self"
+ },
+ {
+ "value": {
+ "$id": "2239",
+ "kind": "String",
+ "value": "A file in an HTTP request, response, or multipart payload.\n\nFiles have a special meaning that the HTTP library understands. When the body of an HTTP request, response,\nor multipart payload is _effectively_ an instance of `TypeSpec.Http.File` or any type that extends it, the\noperation is treated as a file upload or download.\n\nWhen using file bodies, the fields of the file model are defined to come from particular locations by default:\n\n- `contentType`: The `Content-Type` header of the request, response, or multipart payload (CANNOT be overridden or changed).\n- `contents`: The body of the request, response, or multipart payload (CANNOT be overridden or changed).\n- `filename`: The `filename` parameter value of the `Content-Disposition` header of the response or multipart payload\n(MAY be overridden or changed).\n\nA File may be used as a normal structured JSON object in a request or response, if the request specifies an explicit\n`Content-Type` header. In this case, the entire File model is serialized as if it were any other model. In a JSON payload,\nit will have a structure like:\n\n```\n{\n \"contentType\": ,\n \"filename\": ,\n \"contents\":