diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Properties/launchSettings.json b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Properties/launchSettings.json index dadca87bd7f..744f37906d1 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Properties/launchSettings.json +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Properties/launchSettings.json @@ -45,6 +45,16 @@ "commandName": "Executable", "executablePath": "$(SolutionDir)/../dist/generator/Microsoft.TypeSpec.Generator.exe" }, + "http-documentation": { + "commandLineArgs": "$(SolutionDir)/TestProjects/Spector/http/documentation -g StubLibraryGenerator", + "commandName": "Executable", + "executablePath": "$(SolutionDir)/../dist/generator/Microsoft.TypeSpec.Generator.exe" + }, + "http-encode-array": { + "commandLineArgs": "$(SolutionDir)/TestProjects/Spector/http/encode/array -g StubLibraryGenerator", + "commandName": "Executable", + "executablePath": "$(SolutionDir)/../dist/generator/Microsoft.TypeSpec.Generator.exe" + }, "http-encode-bytes": { "commandLineArgs": "$(SolutionDir)/TestProjects/Spector/http/encode/bytes -g StubLibraryGenerator", "commandName": "Executable", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/Configuration.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/Configuration.json new file mode 100644 index 00000000000..3335831568c --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/Configuration.json @@ -0,0 +1,3 @@ +{ + "package-name": "Documentation" +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/Documentation.sln b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/Documentation.sln new file mode 100644 index 00000000000..a0b3f32bbb2 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/Documentation.sln @@ -0,0 +1,48 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Documentation", "src\Documentation.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE} + EndGlobalSection +EndGlobal diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Documentation.csproj b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Documentation.csproj new file mode 100644 index 00000000000..453321f4b91 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Documentation.csproj @@ -0,0 +1,15 @@ + + + This is the Documentation client library for developing .NET applications with rich experience. + SDK Code Generation Documentation + 1.0.0-beta.1 + Documentation + netstandard2.0;net8.0 + latest + true + + + + + + diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationClient.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationClient.cs new file mode 100644 index 00000000000..8f961dff791 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationClient.cs @@ -0,0 +1,24 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using Documentation._Lists; +using Documentation._TextFormatting; + +namespace Documentation +{ + public partial class DocumentationClient + { + public DocumentationClient() : this(new Uri("http://localhost:3000"), new DocumentationClientOptions()) => throw null; + + public DocumentationClient(Uri endpoint, DocumentationClientOptions options) => throw null; + + public ClientPipeline Pipeline => throw null; + + public virtual Lists GetListsClient() => throw null; + + public virtual TextFormatting GetTextFormattingClient() => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationClientOptions.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationClientOptions.cs new file mode 100644 index 00000000000..d14497f2a3d --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationClientOptions.cs @@ -0,0 +1,12 @@ +// + +#nullable disable + +using System.ClientModel.Primitives; + +namespace Documentation +{ + public partial class DocumentationClientOptions : ClientPipelineOptions + { + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationModelFactory.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationModelFactory.cs new file mode 100644 index 00000000000..4440dc1b6a0 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationModelFactory.cs @@ -0,0 +1,13 @@ +// + +#nullable disable + +using Documentation._Lists; + +namespace Documentation +{ + public static partial class DocumentationModelFactory + { + public static BulletPointsModel BulletPointsModel(BulletPointsEnum prop = default) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Lists.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Lists.cs new file mode 100644 index 00000000000..34bf1c4e427 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Lists.cs @@ -0,0 +1,42 @@ +// + +#nullable disable + +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Threading; +using System.Threading.Tasks; + +namespace Documentation._Lists +{ + public partial class Lists + { + protected Lists() => throw null; + + public ClientPipeline Pipeline => throw null; + + public virtual ClientResult BulletPointsOp(RequestOptions options) => throw null; + + public virtual Task BulletPointsOpAsync(RequestOptions options) => throw null; + + public virtual ClientResult BulletPointsOp(CancellationToken cancellationToken = default) => throw null; + + public virtual Task BulletPointsOpAsync(CancellationToken cancellationToken = default) => throw null; + + public virtual ClientResult BulletPointsModel(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual Task BulletPointsModelAsync(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual ClientResult BulletPointsModel(BulletPointsModel input, CancellationToken cancellationToken = default) => throw null; + + public virtual Task BulletPointsModelAsync(BulletPointsModel input, CancellationToken cancellationToken = default) => throw null; + + public virtual ClientResult Numbered(RequestOptions options) => throw null; + + public virtual Task NumberedAsync(RequestOptions options) => throw null; + + public virtual ClientResult Numbered(CancellationToken cancellationToken = default) => throw null; + + public virtual Task NumberedAsync(CancellationToken cancellationToken = default) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsEnum.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsEnum.cs new file mode 100644 index 00000000000..1487e435c2e --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsEnum.cs @@ -0,0 +1,28 @@ +// + +#nullable disable + +namespace Documentation._Lists +{ + public enum BulletPointsEnum + { + /// + /// Simple bullet point. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// - One: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// - Two: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// + Simple, + /// + /// Bullet point with **bold text**. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// - **One**: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// - **Two**: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// + Bold, + /// + /// Bullet point with *italic text*. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// - *One*: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// - *Two*: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines. + /// + Italic + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsModel.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsModel.Serialization.cs new file mode 100644 index 00000000000..0648f46131f --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsModel.Serialization.cs @@ -0,0 +1,33 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text.Json; + +namespace Documentation._Lists +{ + public partial class BulletPointsModel : IJsonModel + { + internal BulletPointsModel() => throw null; + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + BulletPointsModel IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + protected virtual BulletPointsModel JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null; + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null; + + BulletPointsModel IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null; + + protected virtual BulletPointsModel PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null; + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsModel.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsModel.cs new file mode 100644 index 00000000000..e4a1b38cc2e --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/BulletPointsModel.cs @@ -0,0 +1,13 @@ +// + +#nullable disable + +namespace Documentation._Lists +{ + public partial class BulletPointsModel + { + public BulletPointsModel(BulletPointsEnum prop) => throw null; + + public BulletPointsEnum Prop => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/DocumentationContext.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/DocumentationContext.cs new file mode 100644 index 00000000000..87061329c79 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/Models/DocumentationContext.cs @@ -0,0 +1,14 @@ +// + +#nullable disable + +using System.ClientModel.Primitives; +using Documentation._Lists; + +namespace Documentation +{ + [ModelReaderWriterBuildable(typeof(BulletPointsModel))] + public partial class DocumentationContext : ModelReaderWriterContext + { + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/TextFormatting.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/TextFormatting.cs new file mode 100644 index 00000000000..6fb8a1e8646 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/TextFormatting.cs @@ -0,0 +1,42 @@ +// + +#nullable disable + +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Threading; +using System.Threading.Tasks; + +namespace Documentation._TextFormatting +{ + public partial class TextFormatting + { + protected TextFormatting() => throw null; + + public ClientPipeline Pipeline => throw null; + + public virtual ClientResult BoldText(RequestOptions options) => throw null; + + public virtual Task BoldTextAsync(RequestOptions options) => throw null; + + public virtual ClientResult BoldText(CancellationToken cancellationToken = default) => throw null; + + public virtual Task BoldTextAsync(CancellationToken cancellationToken = default) => throw null; + + public virtual ClientResult ItalicText(RequestOptions options) => throw null; + + public virtual Task ItalicTextAsync(RequestOptions options) => throw null; + + public virtual ClientResult ItalicText(CancellationToken cancellationToken = default) => throw null; + + public virtual Task ItalicTextAsync(CancellationToken cancellationToken = default) => throw null; + + public virtual ClientResult CombinedFormatting(RequestOptions options) => throw null; + + public virtual Task CombinedFormattingAsync(RequestOptions options) => throw null; + + public virtual ClientResult CombinedFormatting(CancellationToken cancellationToken = default) => throw null; + + public virtual Task CombinedFormattingAsync(CancellationToken cancellationToken = default) => throw null; + } +} 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 new file mode 100644 index 00000000000..ce8641158ff --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json @@ -0,0 +1,605 @@ +{ + "name": "Documentation", + "apiVersions": [], + "enums": [ + { + "$id": "1", + "kind": "enum", + "name": "BulletPointsEnum", + "crossLanguageDefinitionId": "Documentation.Lists.BulletPointsEnum", + "valueType": { + "$id": "2", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "3", + "kind": "enumvalue", + "name": "Simple", + "value": "Simple", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Simple bullet point. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- One: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- Two: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.", + "decorators": [] + }, + { + "$id": "4", + "kind": "enumvalue", + "name": "Bold", + "value": "Bold", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Bullet point with **bold text**. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- **One**: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- **Two**: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.", + "decorators": [] + }, + { + "$id": "5", + "kind": "enumvalue", + "name": "Italic", + "value": "Italic", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Bullet point with *italic text*. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- *One*: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- *Two*: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.", + "decorators": [] + } + ], + "namespace": "Documentation.Lists", + "doc": "This tests really long bullet points in enum documentation to see how wrapping and formatting are handled. This should wrap around correctly and maintain proper indentation for each line.\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", + "isFixed": true, + "isFlags": false, + "usage": "Input,Json", + "decorators": [] + } + ], + "constants": [ + { + "$id": "6", + "kind": "constant", + "name": "bulletPointsModelContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "8", + "kind": "model", + "name": "BulletPointsModel", + "namespace": "Documentation.Lists", + "crossLanguageDefinitionId": "Documentation.Lists.BulletPointsModel", + "usage": "Input,Json", + "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", + "decorators": [], + "properties": [ + { + "$id": "9", + "kind": "property", + "name": "prop", + "serializedName": "prop", + "doc": "This property uses an enum with bullet point documentation. The enum documentation includes various formatting styles to test rendering. The styles are:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple\n- Bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**\n- *Italic bullet point*", + "type": { + "$ref": "1" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Documentation.Lists.BulletPointsModel.prop", + "serializationOptions": { + "json": { + "name": "prop" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "10", + "kind": "model", + "name": "BulletPointsModelRequest", + "namespace": "Documentation.Lists", + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.Request.anonymous", + "usage": "Spread,Json", + "decorators": [], + "properties": [ + { + "$id": "11", + "kind": "property", + "name": "input", + "serializedName": "input", + "type": { + "$ref": "8" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.input", + "serializationOptions": { + "json": { + "name": "input" + } + }, + "isHttpMetadata": false + } + ] + } + ], + "clients": [ + { + "$id": "12", + "kind": "client", + "name": "DocumentationClient", + "namespace": "Documentation", + "doc": "Illustrates documentation generation and formatting features", + "methods": [], + "parameters": [ + { + "$id": "13", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "14", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "http://localhost:3000" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Documentation.endpoint" + } + ], + "initializedBy": 1, + "decorators": [], + "crossLanguageDefinitionId": "Documentation", + "apiVersions": [], + "children": [ + { + "$id": "16", + "kind": "client", + "name": "Lists", + "namespace": "Documentation.Lists", + "methods": [ + { + "$id": "17", + "kind": "basic", + "name": "bulletPointsOp", + "accessibility": "public", + "apiVersions": [], + "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", + "operation": { + "$id": "18", + "name": "bulletPointsOp", + "resourceName": "Lists", + "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", + "accessibility": "public", + "parameters": [], + "responses": [ + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/documentation/lists/bullet-points/op", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsOp", + "decorators": [] + }, + "parameters": [], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsOp" + }, + { + "$id": "19", + "kind": "basic", + "name": "bulletPointsModel", + "accessibility": "public", + "apiVersions": [], + "operation": { + "$id": "20", + "name": "bulletPointsModel", + "resourceName": "Lists", + "accessibility": "public", + "parameters": [ + { + "$id": "21", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "6" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.contentType" + }, + { + "$id": "22", + "kind": "body", + "name": "bulletPointsModelRequest", + "serializedName": "bulletPointsModelRequest", + "type": { + "$ref": "10" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Spread", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.body" + } + ], + "responses": [ + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/documentation/lists/bullet-points/model", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel", + "decorators": [] + }, + "parameters": [ + { + "$id": "23", + "kind": "method", + "name": "input", + "serializedName": "input", + "type": { + "$ref": "8" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.input", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "24", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "6" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel" + }, + { + "$id": "25", + "kind": "basic", + "name": "numbered", + "accessibility": "public", + "apiVersions": [], + "doc": "Steps to follow:\n1. First step with **important** note\n2. Second step with *emphasis*\n3. Third step combining **bold** and *italic*\n4. **Final step**: Review all steps for *accuracy*.", + "operation": { + "$id": "26", + "name": "numbered", + "resourceName": "Lists", + "doc": "Steps to follow:\n1. First step with **important** note\n2. Second step with *emphasis*\n3. Third step combining **bold** and *italic*\n4. **Final step**: Review all steps for *accuracy*.", + "accessibility": "public", + "parameters": [], + "responses": [ + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/documentation/lists/numbered", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Documentation.Lists.numbered", + "decorators": [] + }, + "parameters": [], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Documentation.Lists.numbered" + } + ], + "parameters": [ + { + "$id": "27", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "28", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "http://localhost:3000" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Documentation.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "Documentation.Lists", + "apiVersions": [], + "parent": { + "$ref": "12" + } + }, + { + "$id": "30", + "kind": "client", + "name": "TextFormatting", + "namespace": "Documentation.TextFormatting", + "methods": [ + { + "$id": "31", + "kind": "basic", + "name": "boldText", + "accessibility": "public", + "apiVersions": [], + "doc": "This is **bold text** in the middle of a sentence.\nThis is a sentence with **multiple bold** sections and **another bold** section.\n**This entire sentence is bold.**", + "operation": { + "$id": "32", + "name": "boldText", + "resourceName": "TextFormatting", + "doc": "This is **bold text** in the middle of a sentence.\nThis is a sentence with **multiple bold** sections and **another bold** section.\n**This entire sentence is bold.**", + "accessibility": "public", + "parameters": [], + "responses": [ + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/documentation/text-formatting/bold", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Documentation.TextFormatting.boldText", + "decorators": [] + }, + "parameters": [], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Documentation.TextFormatting.boldText" + }, + { + "$id": "33", + "kind": "basic", + "name": "italicText", + "accessibility": "public", + "apiVersions": [], + "doc": "This is *italic text* in the middle of a sentence.\nThis is a sentence with *multiple italic* sections and *another italic* section.\n*This entire sentence is italic.*", + "operation": { + "$id": "34", + "name": "italicText", + "resourceName": "TextFormatting", + "doc": "This is *italic text* in the middle of a sentence.\nThis is a sentence with *multiple italic* sections and *another italic* section.\n*This entire sentence is italic.*", + "accessibility": "public", + "parameters": [], + "responses": [ + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/documentation/text-formatting/italic", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Documentation.TextFormatting.italicText", + "decorators": [] + }, + "parameters": [], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Documentation.TextFormatting.italicText" + }, + { + "$id": "35", + "kind": "basic", + "name": "combinedFormatting", + "accessibility": "public", + "apiVersions": [], + "doc": "This sentence has **bold**, *italic*, and ***bold italic*** text.\nYou can also combine them like **bold with *italic inside* bold**.\nOr *italic with **bold inside** italic*.\nThis is a sentence with **bold**, *italic*, and ***bold italic*** text.", + "operation": { + "$id": "36", + "name": "combinedFormatting", + "resourceName": "TextFormatting", + "doc": "This sentence has **bold**, *italic*, and ***bold italic*** text.\nYou can also combine them like **bold with *italic inside* bold**.\nOr *italic with **bold inside** italic*.\nThis is a sentence with **bold**, *italic*, and ***bold italic*** text.", + "accessibility": "public", + "parameters": [], + "responses": [ + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/documentation/text-formatting/combined", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Documentation.TextFormatting.combinedFormatting", + "decorators": [] + }, + "parameters": [], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Documentation.TextFormatting.combinedFormatting" + } + ], + "parameters": [ + { + "$id": "37", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "38", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "http://localhost:3000" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Documentation.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "Documentation.TextFormatting", + "apiVersions": [], + "parent": { + "$ref": "12" + } + } + ] + } + ] +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/Configuration.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/Configuration.json new file mode 100644 index 00000000000..8bd0bb4f945 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/Configuration.json @@ -0,0 +1,3 @@ +{ + "package-name": "Encode.Array" +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/Encode.Array.sln b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/Encode.Array.sln new file mode 100644 index 00000000000..112586204f8 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/Encode.Array.sln @@ -0,0 +1,48 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Encode.Array", "src\Encode.Array.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE} + EndGlobalSection +EndGlobal diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Encode.Array.csproj b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Encode.Array.csproj new file mode 100644 index 00000000000..36a5912701b --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Encode.Array.csproj @@ -0,0 +1,15 @@ + + + This is the Encode.Array client library for developing .NET applications with rich experience. + SDK Code Generation Encode.Array + 1.0.0-beta.1 + Encode.Array + netstandard2.0;net8.0 + latest + true + + + + + + diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/ArrayClient.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/ArrayClient.cs new file mode 100644 index 00000000000..55ae5b366f0 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/ArrayClient.cs @@ -0,0 +1,21 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using Encode._Array._Property; + +namespace Encode._Array +{ + public partial class ArrayClient + { + public ArrayClient() : this(new Uri("http://localhost:3000"), new ArrayClientOptions()) => throw null; + + public ArrayClient(Uri endpoint, ArrayClientOptions options) => throw null; + + public ClientPipeline Pipeline => throw null; + + public virtual Property GetPropertyClient() => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/ArrayClientOptions.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/ArrayClientOptions.cs new file mode 100644 index 00000000000..392d2e67a55 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/ArrayClientOptions.cs @@ -0,0 +1,12 @@ +// + +#nullable disable + +using System.ClientModel.Primitives; + +namespace Encode._Array +{ + public partial class ArrayClientOptions : ClientPipelineOptions + { + } +} 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 new file mode 100644 index 00000000000..f1b065009ce --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/EncodeArrayModelFactory.cs @@ -0,0 +1,19 @@ +// + +#nullable disable + +using System.Collections.Generic; + +namespace Encode._Array +{ + public static partial class EncodeArrayModelFactory + { + public static CommaDelimitedArrayProperty CommaDelimitedArrayProperty(IEnumerable value = default) => throw null; + + public static SpaceDelimitedArrayProperty SpaceDelimitedArrayProperty(IEnumerable value = default) => throw null; + + public static PipeDelimitedArrayProperty PipeDelimitedArrayProperty(IEnumerable value = default) => throw null; + + public static NewlineDelimitedArrayProperty NewlineDelimitedArrayProperty(IEnumerable value = default) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedArrayProperty.Serialization.cs new file mode 100644 index 00000000000..c0c7fbd4732 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedArrayProperty.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 CommaDelimitedArrayProperty : IJsonModel + { + internal CommaDelimitedArrayProperty() => throw null; + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + CommaDelimitedArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + protected virtual CommaDelimitedArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null; + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null; + + CommaDelimitedArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null; + + protected virtual CommaDelimitedArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null; + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null; + + public static implicit operator BinaryContent(CommaDelimitedArrayProperty commaDelimitedArrayProperty) => throw null; + + public static explicit operator CommaDelimitedArrayProperty(ClientResult result) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedArrayProperty.cs new file mode 100644 index 00000000000..9e62fadd600 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/CommaDelimitedArrayProperty.cs @@ -0,0 +1,15 @@ +// + +#nullable disable + +using System.Collections.Generic; + +namespace Encode._Array +{ + public partial class CommaDelimitedArrayProperty + { + public CommaDelimitedArrayProperty(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 new file mode 100644 index 00000000000..f3ab669d97b --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/Encode_ArrayContext.cs @@ -0,0 +1,16 @@ +// + +#nullable disable + +using System.ClientModel.Primitives; + +namespace Encode._Array +{ + [ModelReaderWriterBuildable(typeof(CommaDelimitedArrayProperty))] + [ModelReaderWriterBuildable(typeof(NewlineDelimitedArrayProperty))] + [ModelReaderWriterBuildable(typeof(PipeDelimitedArrayProperty))] + [ModelReaderWriterBuildable(typeof(SpaceDelimitedArrayProperty))] + public partial class Encode_ArrayContext : ModelReaderWriterContext + { + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedArrayProperty.Serialization.cs new file mode 100644 index 00000000000..cd31ef81498 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedArrayProperty.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 NewlineDelimitedArrayProperty : IJsonModel + { + internal NewlineDelimitedArrayProperty() => throw null; + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + NewlineDelimitedArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + protected virtual NewlineDelimitedArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null; + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null; + + NewlineDelimitedArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null; + + protected virtual NewlineDelimitedArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null; + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null; + + public static implicit operator BinaryContent(NewlineDelimitedArrayProperty newlineDelimitedArrayProperty) => throw null; + + public static explicit operator NewlineDelimitedArrayProperty(ClientResult result) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedArrayProperty.cs new file mode 100644 index 00000000000..1680d3dcc06 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/NewlineDelimitedArrayProperty.cs @@ -0,0 +1,15 @@ +// + +#nullable disable + +using System.Collections.Generic; + +namespace Encode._Array +{ + public partial class NewlineDelimitedArrayProperty + { + public NewlineDelimitedArrayProperty(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/PipeDelimitedArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedArrayProperty.Serialization.cs new file mode 100644 index 00000000000..77fb59cc6da --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedArrayProperty.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 PipeDelimitedArrayProperty : IJsonModel + { + internal PipeDelimitedArrayProperty() => throw null; + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + PipeDelimitedArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + protected virtual PipeDelimitedArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null; + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null; + + PipeDelimitedArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null; + + protected virtual PipeDelimitedArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null; + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null; + + public static implicit operator BinaryContent(PipeDelimitedArrayProperty pipeDelimitedArrayProperty) => throw null; + + public static explicit operator PipeDelimitedArrayProperty(ClientResult result) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedArrayProperty.cs new file mode 100644 index 00000000000..a8267bbaf53 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/PipeDelimitedArrayProperty.cs @@ -0,0 +1,15 @@ +// + +#nullable disable + +using System.Collections.Generic; + +namespace Encode._Array +{ + public partial class PipeDelimitedArrayProperty + { + public PipeDelimitedArrayProperty(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/SpaceDelimitedArrayProperty.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedArrayProperty.Serialization.cs new file mode 100644 index 00000000000..d37d4f47a96 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedArrayProperty.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 SpaceDelimitedArrayProperty : IJsonModel + { + internal SpaceDelimitedArrayProperty() => throw null; + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + SpaceDelimitedArrayProperty IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + protected virtual SpaceDelimitedArrayProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null; + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null; + + SpaceDelimitedArrayProperty IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null; + + protected virtual SpaceDelimitedArrayProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null; + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null; + + public static implicit operator BinaryContent(SpaceDelimitedArrayProperty spaceDelimitedArrayProperty) => throw null; + + public static explicit operator SpaceDelimitedArrayProperty(ClientResult result) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedArrayProperty.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedArrayProperty.cs new file mode 100644 index 00000000000..e93bddfb965 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Models/SpaceDelimitedArrayProperty.cs @@ -0,0 +1,15 @@ +// + +#nullable disable + +using System.Collections.Generic; + +namespace Encode._Array +{ + public partial class SpaceDelimitedArrayProperty + { + public SpaceDelimitedArrayProperty(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 new file mode 100644 index 00000000000..e50400b6ee6 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/src/Generated/Property.cs @@ -0,0 +1,51 @@ +// + +#nullable disable + +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Threading; +using System.Threading.Tasks; +using Encode._Array; + +namespace Encode._Array._Property +{ + public partial class Property + { + protected Property() => throw null; + + public ClientPipeline Pipeline => throw null; + + public virtual ClientResult CommaDelimited(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual Task CommaDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual ClientResult CommaDelimited(CommaDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null; + + public virtual Task> CommaDelimitedAsync(CommaDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null; + + public virtual ClientResult SpaceDelimited(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual Task SpaceDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual ClientResult SpaceDelimited(SpaceDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null; + + public virtual Task> SpaceDelimitedAsync(SpaceDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null; + + public virtual ClientResult PipeDelimited(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual Task PipeDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual ClientResult PipeDelimited(PipeDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null; + + public virtual Task> PipeDelimitedAsync(PipeDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null; + + public virtual ClientResult NewlineDelimited(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual Task NewlineDelimitedAsync(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual ClientResult NewlineDelimited(NewlineDelimitedArrayProperty body, CancellationToken cancellationToken = default) => throw null; + + public virtual Task> NewlineDelimitedAsync(NewlineDelimitedArrayProperty 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 new file mode 100644 index 00000000000..61e145502cc --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json @@ -0,0 +1,995 @@ +{ + "name": "Encode.Array", + "apiVersions": [], + "enums": [], + "constants": [ + { + "$id": "1", + "kind": "constant", + "name": "commaDelimitedContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "2", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "3", + "kind": "constant", + "name": "commaDelimitedContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "4", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "5", + "kind": "constant", + "name": "spaceDelimitedContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "6", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "7", + "kind": "constant", + "name": "spaceDelimitedContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "8", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "9", + "kind": "constant", + "name": "pipeDelimitedContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "10", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "11", + "kind": "constant", + "name": "pipeDelimitedContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "12", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "13", + "kind": "constant", + "name": "newlineDelimitedContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "14", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "15", + "kind": "constant", + "name": "newlineDelimitedContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "16", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "17", + "kind": "model", + "name": "CommaDelimitedArrayProperty", + "namespace": "Encode.Array", + "crossLanguageDefinitionId": "Encode.Array.CommaDelimitedArrayProperty", + "usage": "Input,Output,Json", + "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 + } + ] + }, + { + "$id": "21", + "kind": "model", + "name": "SpaceDelimitedArrayProperty", + "namespace": "Encode.Array", + "crossLanguageDefinitionId": "Encode.Array.SpaceDelimitedArrayProperty", + "usage": "Input,Output,Json", + "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 + } + ] + }, + { + "$id": "23", + "kind": "model", + "name": "PipeDelimitedArrayProperty", + "namespace": "Encode.Array", + "crossLanguageDefinitionId": "Encode.Array.PipeDelimitedArrayProperty", + "usage": "Input,Output,Json", + "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 + } + ] + }, + { + "$id": "25", + "kind": "model", + "name": "NewlineDelimitedArrayProperty", + "namespace": "Encode.Array", + "crossLanguageDefinitionId": "Encode.Array.NewlineDelimitedArrayProperty", + "usage": "Input,Output,Json", + "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 + } + ] + } + ], + "clients": [ + { + "$id": "27", + "kind": "client", + "name": "ArrayClient", + "namespace": "Encode.Array", + "doc": "Test for encode decorator on array.", + "methods": [], + "parameters": [ + { + "$id": "28", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "29", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "30", + "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": "31", + "kind": "client", + "name": "Property", + "namespace": "Encode.Array.Property", + "methods": [ + { + "$id": "32", + "kind": "basic", + "name": "commaDelimited", + "accessibility": "public", + "apiVersions": [], + "operation": { + "$id": "33", + "name": "commaDelimited", + "resourceName": "Property", + "accessibility": "public", + "parameters": [ + { + "$id": "34", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "1" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.contentType" + }, + { + "$id": "35", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "3" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.accept" + }, + { + "$id": "36", + "kind": "body", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "17" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "17" + }, + "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": [] + }, + "parameters": [ + { + "$id": "37", + "kind": "method", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "17" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "38", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "1" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "39", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "3" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "17" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited" + }, + { + "$id": "40", + "kind": "basic", + "name": "spaceDelimited", + "accessibility": "public", + "apiVersions": [], + "operation": { + "$id": "41", + "name": "spaceDelimited", + "resourceName": "Property", + "accessibility": "public", + "parameters": [ + { + "$id": "42", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "5" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.contentType" + }, + { + "$id": "43", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "7" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.accept" + }, + { + "$id": "44", + "kind": "body", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "21" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "21" + }, + "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": [] + }, + "parameters": [ + { + "$id": "45", + "kind": "method", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "21" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "46", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "5" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "47", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "7" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "21" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited" + }, + { + "$id": "48", + "kind": "basic", + "name": "pipeDelimited", + "accessibility": "public", + "apiVersions": [], + "operation": { + "$id": "49", + "name": "pipeDelimited", + "resourceName": "Property", + "accessibility": "public", + "parameters": [ + { + "$id": "50", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "9" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.contentType" + }, + { + "$id": "51", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "11" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.accept" + }, + { + "$id": "52", + "kind": "body", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "23" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "23" + }, + "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": [] + }, + "parameters": [ + { + "$id": "53", + "kind": "method", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "23" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "54", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "9" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "55", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "11" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "23" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited" + }, + { + "$id": "56", + "kind": "basic", + "name": "newlineDelimited", + "accessibility": "public", + "apiVersions": [], + "operation": { + "$id": "57", + "name": "newlineDelimited", + "resourceName": "Property", + "accessibility": "public", + "parameters": [ + { + "$id": "58", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "13" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.contentType" + }, + { + "$id": "59", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "15" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.accept" + }, + { + "$id": "60", + "kind": "body", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "25" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.body" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "25" + }, + "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": [] + }, + "parameters": [ + { + "$id": "61", + "kind": "method", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "25" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "62", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "13" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "63", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "15" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "25" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited" + } + ], + "parameters": [ + { + "$id": "64", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "65", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "66", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "http://localhost:3000" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "Encode.Array.endpoint" + } + ], + "initializedBy": 0, + "decorators": [], + "crossLanguageDefinitionId": "Encode.Array.Property", + "apiVersions": [], + "parent": { + "$ref": "27" + } + } + ] + } + ] +} 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 00c4b992da7..0fed89ca4f3 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 @@ -22,5 +22,13 @@ public partial class ModelProperties public virtual ClientResult SameAsModel(SameAsModel body, CancellationToken cancellationToken = default) => throw null; public virtual Task SameAsModelAsync(SameAsModel body, CancellationToken cancellationToken = default) => throw null; + + public virtual ClientResult DictMethods(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual Task DictMethodsAsync(BinaryContent content, RequestOptions options = null) => throw null; + + public virtual ClientResult DictMethods(DictMethods body, CancellationToken cancellationToken = default) => throw null; + + public virtual Task DictMethodsAsync(DictMethods body, CancellationToken cancellationToken = default) => throw null; } } diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/DictMethods.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/DictMethods.Serialization.cs new file mode 100644 index 00000000000..f445a94dfb9 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/DictMethods.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 DictMethods : IJsonModel + { + internal DictMethods() => throw null; + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null; + + DictMethods IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + protected virtual DictMethods JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null; + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => throw null; + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null; + + DictMethods IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => throw null; + + protected virtual DictMethods PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null; + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null; + + public static implicit operator BinaryContent(DictMethods dictMethods) => throw null; + } +} diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/DictMethods.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/DictMethods.cs new file mode 100644 index 00000000000..c1ae5820b24 --- /dev/null +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/src/Generated/Models/DictMethods.cs @@ -0,0 +1,31 @@ +// + +#nullable disable + +namespace SpecialWords._ModelProperties +{ + public partial class DictMethods + { + public DictMethods(string keys, string items, string values, string popitem, string clear, string update, string setdefault, string pop, string @get, string copy) => throw null; + + public string Keys => throw null; + + public string Items => throw null; + + public string Values => throw null; + + public string Popitem => throw null; + + public string Clear => throw null; + + public string Update => throw null; + + public string Setdefault => throw null; + + public string Pop => throw null; + + public string Get => throw null; + + public string Copy => 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 b09496e73b6..d04f06a1fa5 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 @@ -19,6 +19,7 @@ namespace SpecialWords [ModelReaderWriterBuildable(typeof(Continue))] [ModelReaderWriterBuildable(typeof(Def))] [ModelReaderWriterBuildable(typeof(Del))] + [ModelReaderWriterBuildable(typeof(DictMethods))] [ModelReaderWriterBuildable(typeof(Elif))] [ModelReaderWriterBuildable(typeof(Else))] [ModelReaderWriterBuildable(typeof(Except))] 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 8e69221e0b4..9b130273a61 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 @@ -76,5 +76,7 @@ public static partial class SpecialWordsModelFactory public static Yield Yield(string name = default) => throw null; 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; } } 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 3e16e55a89e..3d955baea83 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 @@ -546,11 +546,27 @@ }, "value": "application/json", "decorators": [] + }, + { + "$id": "69", + "kind": "constant", + "name": "dictMethodsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "70", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] } ], "models": [ { - "$id": "69", + "$id": "71", "kind": "model", "name": "and", "namespace": "SpecialWords.Models", @@ -559,12 +575,12 @@ "decorators": [], "properties": [ { - "$id": "70", + "$id": "72", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "71", + "$id": "73", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -586,7 +602,7 @@ ] }, { - "$id": "72", + "$id": "74", "kind": "model", "name": "as", "namespace": "SpecialWords.Models", @@ -595,12 +611,12 @@ "decorators": [], "properties": [ { - "$id": "73", + "$id": "75", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "74", + "$id": "76", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -622,7 +638,7 @@ ] }, { - "$id": "75", + "$id": "77", "kind": "model", "name": "assert", "namespace": "SpecialWords.Models", @@ -631,12 +647,12 @@ "decorators": [], "properties": [ { - "$id": "76", + "$id": "78", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "77", + "$id": "79", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -658,7 +674,7 @@ ] }, { - "$id": "78", + "$id": "80", "kind": "model", "name": "async", "namespace": "SpecialWords.Models", @@ -667,12 +683,12 @@ "decorators": [], "properties": [ { - "$id": "79", + "$id": "81", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "80", + "$id": "82", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -694,7 +710,7 @@ ] }, { - "$id": "81", + "$id": "83", "kind": "model", "name": "await", "namespace": "SpecialWords.Models", @@ -703,12 +719,12 @@ "decorators": [], "properties": [ { - "$id": "82", + "$id": "84", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "83", + "$id": "85", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -730,7 +746,7 @@ ] }, { - "$id": "84", + "$id": "86", "kind": "model", "name": "break", "namespace": "SpecialWords.Models", @@ -739,12 +755,12 @@ "decorators": [], "properties": [ { - "$id": "85", + "$id": "87", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "86", + "$id": "88", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -766,7 +782,7 @@ ] }, { - "$id": "87", + "$id": "89", "kind": "model", "name": "class", "namespace": "SpecialWords.Models", @@ -775,12 +791,12 @@ "decorators": [], "properties": [ { - "$id": "88", + "$id": "90", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "89", + "$id": "91", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -802,7 +818,7 @@ ] }, { - "$id": "90", + "$id": "92", "kind": "model", "name": "constructor", "namespace": "SpecialWords.Models", @@ -811,12 +827,12 @@ "decorators": [], "properties": [ { - "$id": "91", + "$id": "93", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "92", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -838,7 +854,7 @@ ] }, { - "$id": "93", + "$id": "95", "kind": "model", "name": "continue", "namespace": "SpecialWords.Models", @@ -847,12 +863,12 @@ "decorators": [], "properties": [ { - "$id": "94", + "$id": "96", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "95", + "$id": "97", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -874,7 +890,7 @@ ] }, { - "$id": "96", + "$id": "98", "kind": "model", "name": "def", "namespace": "SpecialWords.Models", @@ -883,12 +899,12 @@ "decorators": [], "properties": [ { - "$id": "97", + "$id": "99", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "98", + "$id": "100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -910,7 +926,7 @@ ] }, { - "$id": "99", + "$id": "101", "kind": "model", "name": "del", "namespace": "SpecialWords.Models", @@ -919,12 +935,12 @@ "decorators": [], "properties": [ { - "$id": "100", + "$id": "102", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "101", + "$id": "103", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -946,7 +962,7 @@ ] }, { - "$id": "102", + "$id": "104", "kind": "model", "name": "elif", "namespace": "SpecialWords.Models", @@ -955,12 +971,12 @@ "decorators": [], "properties": [ { - "$id": "103", + "$id": "105", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "104", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -982,7 +998,7 @@ ] }, { - "$id": "105", + "$id": "107", "kind": "model", "name": "else", "namespace": "SpecialWords.Models", @@ -991,12 +1007,12 @@ "decorators": [], "properties": [ { - "$id": "106", + "$id": "108", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "107", + "$id": "109", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1018,7 +1034,7 @@ ] }, { - "$id": "108", + "$id": "110", "kind": "model", "name": "except", "namespace": "SpecialWords.Models", @@ -1027,12 +1043,12 @@ "decorators": [], "properties": [ { - "$id": "109", + "$id": "111", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "110", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1054,7 +1070,7 @@ ] }, { - "$id": "111", + "$id": "113", "kind": "model", "name": "exec", "namespace": "SpecialWords.Models", @@ -1063,12 +1079,12 @@ "decorators": [], "properties": [ { - "$id": "112", + "$id": "114", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "113", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1090,7 +1106,7 @@ ] }, { - "$id": "114", + "$id": "116", "kind": "model", "name": "finally", "namespace": "SpecialWords.Models", @@ -1099,12 +1115,12 @@ "decorators": [], "properties": [ { - "$id": "115", + "$id": "117", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "116", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1126,7 +1142,7 @@ ] }, { - "$id": "117", + "$id": "119", "kind": "model", "name": "for", "namespace": "SpecialWords.Models", @@ -1135,12 +1151,12 @@ "decorators": [], "properties": [ { - "$id": "118", + "$id": "120", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "119", + "$id": "121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1162,7 +1178,7 @@ ] }, { - "$id": "120", + "$id": "122", "kind": "model", "name": "from", "namespace": "SpecialWords.Models", @@ -1171,12 +1187,12 @@ "decorators": [], "properties": [ { - "$id": "121", + "$id": "123", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "122", + "$id": "124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1198,7 +1214,7 @@ ] }, { - "$id": "123", + "$id": "125", "kind": "model", "name": "global", "namespace": "SpecialWords.Models", @@ -1207,12 +1223,12 @@ "decorators": [], "properties": [ { - "$id": "124", + "$id": "126", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "125", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1234,7 +1250,7 @@ ] }, { - "$id": "126", + "$id": "128", "kind": "model", "name": "if", "namespace": "SpecialWords.Models", @@ -1243,12 +1259,12 @@ "decorators": [], "properties": [ { - "$id": "127", + "$id": "129", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "128", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1270,7 +1286,7 @@ ] }, { - "$id": "129", + "$id": "131", "kind": "model", "name": "import", "namespace": "SpecialWords.Models", @@ -1279,12 +1295,12 @@ "decorators": [], "properties": [ { - "$id": "130", + "$id": "132", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "131", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1306,7 +1322,7 @@ ] }, { - "$id": "132", + "$id": "134", "kind": "model", "name": "in", "namespace": "SpecialWords.Models", @@ -1315,12 +1331,12 @@ "decorators": [], "properties": [ { - "$id": "133", + "$id": "135", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "134", + "$id": "136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1342,7 +1358,7 @@ ] }, { - "$id": "135", + "$id": "137", "kind": "model", "name": "is", "namespace": "SpecialWords.Models", @@ -1351,12 +1367,12 @@ "decorators": [], "properties": [ { - "$id": "136", + "$id": "138", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "137", + "$id": "139", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1378,7 +1394,7 @@ ] }, { - "$id": "138", + "$id": "140", "kind": "model", "name": "lambda", "namespace": "SpecialWords.Models", @@ -1387,12 +1403,12 @@ "decorators": [], "properties": [ { - "$id": "139", + "$id": "141", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "140", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1414,7 +1430,7 @@ ] }, { - "$id": "141", + "$id": "143", "kind": "model", "name": "not", "namespace": "SpecialWords.Models", @@ -1423,12 +1439,12 @@ "decorators": [], "properties": [ { - "$id": "142", + "$id": "144", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "143", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1450,7 +1466,7 @@ ] }, { - "$id": "144", + "$id": "146", "kind": "model", "name": "or", "namespace": "SpecialWords.Models", @@ -1459,12 +1475,12 @@ "decorators": [], "properties": [ { - "$id": "145", + "$id": "147", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "146", + "$id": "148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1486,7 +1502,7 @@ ] }, { - "$id": "147", + "$id": "149", "kind": "model", "name": "pass", "namespace": "SpecialWords.Models", @@ -1495,12 +1511,12 @@ "decorators": [], "properties": [ { - "$id": "148", + "$id": "150", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "149", + "$id": "151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1522,7 +1538,7 @@ ] }, { - "$id": "150", + "$id": "152", "kind": "model", "name": "raise", "namespace": "SpecialWords.Models", @@ -1531,12 +1547,12 @@ "decorators": [], "properties": [ { - "$id": "151", + "$id": "153", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "152", + "$id": "154", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1558,7 +1574,7 @@ ] }, { - "$id": "153", + "$id": "155", "kind": "model", "name": "return", "namespace": "SpecialWords.Models", @@ -1567,12 +1583,12 @@ "decorators": [], "properties": [ { - "$id": "154", + "$id": "156", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "155", + "$id": "157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1594,7 +1610,7 @@ ] }, { - "$id": "156", + "$id": "158", "kind": "model", "name": "try", "namespace": "SpecialWords.Models", @@ -1603,12 +1619,12 @@ "decorators": [], "properties": [ { - "$id": "157", + "$id": "159", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "158", + "$id": "160", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1630,7 +1646,7 @@ ] }, { - "$id": "159", + "$id": "161", "kind": "model", "name": "while", "namespace": "SpecialWords.Models", @@ -1639,12 +1655,12 @@ "decorators": [], "properties": [ { - "$id": "160", + "$id": "162", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "161", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1666,7 +1682,7 @@ ] }, { - "$id": "162", + "$id": "164", "kind": "model", "name": "with", "namespace": "SpecialWords.Models", @@ -1675,12 +1691,12 @@ "decorators": [], "properties": [ { - "$id": "163", + "$id": "165", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "164", + "$id": "166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1702,7 +1718,7 @@ ] }, { - "$id": "165", + "$id": "167", "kind": "model", "name": "yield", "namespace": "SpecialWords.Models", @@ -1711,12 +1727,12 @@ "decorators": [], "properties": [ { - "$id": "166", + "$id": "168", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "167", + "$id": "169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1738,7 +1754,7 @@ ] }, { - "$id": "168", + "$id": "170", "kind": "model", "name": "SameAsModel", "namespace": "SpecialWords.ModelProperties", @@ -1747,12 +1763,12 @@ "decorators": [], "properties": [ { - "$id": "169", + "$id": "171", "kind": "property", "name": "SameAsModel", "serializedName": "SameAsModel", "type": { - "$id": "170", + "$id": "172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1772,11 +1788,272 @@ "isHttpMetadata": false } ] + }, + { + "$id": "173", + "kind": "model", + "name": "DictMethods", + "namespace": "SpecialWords.ModelProperties", + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods", + "usage": "Input,Json", + "decorators": [], + "properties": [ + { + "$id": "174", + "kind": "property", + "name": "keys", + "serializedName": "keys", + "type": { + "$id": "175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.keys", + "serializationOptions": { + "json": { + "name": "keys" + } + }, + "isHttpMetadata": false + }, + { + "$id": "176", + "kind": "property", + "name": "items", + "serializedName": "items", + "type": { + "$id": "177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.items", + "serializationOptions": { + "json": { + "name": "items" + } + }, + "isHttpMetadata": false + }, + { + "$id": "178", + "kind": "property", + "name": "values", + "serializedName": "values", + "type": { + "$id": "179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.values", + "serializationOptions": { + "json": { + "name": "values" + } + }, + "isHttpMetadata": false + }, + { + "$id": "180", + "kind": "property", + "name": "popitem", + "serializedName": "popitem", + "type": { + "$id": "181", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.popitem", + "serializationOptions": { + "json": { + "name": "popitem" + } + }, + "isHttpMetadata": false + }, + { + "$id": "182", + "kind": "property", + "name": "clear", + "serializedName": "clear", + "type": { + "$id": "183", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.clear", + "serializationOptions": { + "json": { + "name": "clear" + } + }, + "isHttpMetadata": false + }, + { + "$id": "184", + "kind": "property", + "name": "update", + "serializedName": "update", + "type": { + "$id": "185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.update", + "serializationOptions": { + "json": { + "name": "update" + } + }, + "isHttpMetadata": false + }, + { + "$id": "186", + "kind": "property", + "name": "setdefault", + "serializedName": "setdefault", + "type": { + "$id": "187", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.setdefault", + "serializationOptions": { + "json": { + "name": "setdefault" + } + }, + "isHttpMetadata": false + }, + { + "$id": "188", + "kind": "property", + "name": "pop", + "serializedName": "pop", + "type": { + "$id": "189", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.pop", + "serializationOptions": { + "json": { + "name": "pop" + } + }, + "isHttpMetadata": false + }, + { + "$id": "190", + "kind": "property", + "name": "get", + "serializedName": "get", + "type": { + "$id": "191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.get", + "serializationOptions": { + "json": { + "name": "get" + } + }, + "isHttpMetadata": false + }, + { + "$id": "192", + "kind": "property", + "name": "copy", + "serializedName": "copy", + "type": { + "$id": "193", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.DictMethods.copy", + "serializationOptions": { + "json": { + "name": "copy" + } + }, + "isHttpMetadata": false + } + ] } ], "clients": [ { - "$id": "171", + "$id": "194", "kind": "client", "name": "SpecialWordsClient", "namespace": "SpecialWords", @@ -1784,13 +2061,13 @@ "methods": [], "parameters": [ { - "$id": "172", + "$id": "195", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "173", + "$id": "196", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -1801,7 +2078,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "174", + "$id": "197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1820,26 +2097,26 @@ "apiVersions": [], "children": [ { - "$id": "175", + "$id": "198", "kind": "client", "name": "Models", "namespace": "SpecialWords.Models", "doc": "Verify model names", "methods": [ { - "$id": "176", + "$id": "199", "kind": "basic", "name": "withAnd", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "177", + "$id": "200", "name": "withAnd", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "178", + "$id": "201", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -1856,12 +2133,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAnd.contentType" }, { - "$id": "179", + "$id": "202", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "69" + "$ref": "71" }, "isApiVersion": false, "contentTypes": [ @@ -1898,12 +2175,12 @@ }, "parameters": [ { - "$id": "180", + "$id": "203", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "69" + "$ref": "71" }, "location": "Body", "isApiVersion": false, @@ -1915,7 +2192,7 @@ "decorators": [] }, { - "$id": "181", + "$id": "204", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -1940,19 +2217,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAnd" }, { - "$id": "182", + "$id": "205", "kind": "basic", "name": "withAs", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "183", + "$id": "206", "name": "withAs", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "184", + "$id": "207", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -1969,12 +2246,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAs.contentType" }, { - "$id": "185", + "$id": "208", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "72" + "$ref": "74" }, "isApiVersion": false, "contentTypes": [ @@ -2011,12 +2288,12 @@ }, "parameters": [ { - "$id": "186", + "$id": "209", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "72" + "$ref": "74" }, "location": "Body", "isApiVersion": false, @@ -2028,7 +2305,7 @@ "decorators": [] }, { - "$id": "187", + "$id": "210", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2053,19 +2330,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAs" }, { - "$id": "188", + "$id": "211", "kind": "basic", "name": "withAssert", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "189", + "$id": "212", "name": "withAssert", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "190", + "$id": "213", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2082,12 +2359,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAssert.contentType" }, { - "$id": "191", + "$id": "214", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "75" + "$ref": "77" }, "isApiVersion": false, "contentTypes": [ @@ -2124,12 +2401,12 @@ }, "parameters": [ { - "$id": "192", + "$id": "215", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "75" + "$ref": "77" }, "location": "Body", "isApiVersion": false, @@ -2141,7 +2418,7 @@ "decorators": [] }, { - "$id": "193", + "$id": "216", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2166,19 +2443,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAssert" }, { - "$id": "194", + "$id": "217", "kind": "basic", "name": "withAsync", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "195", + "$id": "218", "name": "withAsync", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "196", + "$id": "219", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2195,12 +2472,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAsync.contentType" }, { - "$id": "197", + "$id": "220", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "78" + "$ref": "80" }, "isApiVersion": false, "contentTypes": [ @@ -2237,12 +2514,12 @@ }, "parameters": [ { - "$id": "198", + "$id": "221", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "78" + "$ref": "80" }, "location": "Body", "isApiVersion": false, @@ -2254,7 +2531,7 @@ "decorators": [] }, { - "$id": "199", + "$id": "222", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2279,19 +2556,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAsync" }, { - "$id": "200", + "$id": "223", "kind": "basic", "name": "withAwait", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "201", + "$id": "224", "name": "withAwait", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "202", + "$id": "225", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2308,12 +2585,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAwait.contentType" }, { - "$id": "203", + "$id": "226", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "81" + "$ref": "83" }, "isApiVersion": false, "contentTypes": [ @@ -2350,12 +2627,12 @@ }, "parameters": [ { - "$id": "204", + "$id": "227", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "81" + "$ref": "83" }, "location": "Body", "isApiVersion": false, @@ -2367,7 +2644,7 @@ "decorators": [] }, { - "$id": "205", + "$id": "228", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2392,19 +2669,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAwait" }, { - "$id": "206", + "$id": "229", "kind": "basic", "name": "withBreak", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "207", + "$id": "230", "name": "withBreak", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "208", + "$id": "231", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2421,12 +2698,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withBreak.contentType" }, { - "$id": "209", + "$id": "232", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "84" + "$ref": "86" }, "isApiVersion": false, "contentTypes": [ @@ -2463,12 +2740,12 @@ }, "parameters": [ { - "$id": "210", + "$id": "233", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "84" + "$ref": "86" }, "location": "Body", "isApiVersion": false, @@ -2480,7 +2757,7 @@ "decorators": [] }, { - "$id": "211", + "$id": "234", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2505,19 +2782,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withBreak" }, { - "$id": "212", + "$id": "235", "kind": "basic", "name": "withClass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "213", + "$id": "236", "name": "withClass", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "214", + "$id": "237", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2534,12 +2811,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withClass.contentType" }, { - "$id": "215", + "$id": "238", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "87" + "$ref": "89" }, "isApiVersion": false, "contentTypes": [ @@ -2576,12 +2853,12 @@ }, "parameters": [ { - "$id": "216", + "$id": "239", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "87" + "$ref": "89" }, "location": "Body", "isApiVersion": false, @@ -2593,7 +2870,7 @@ "decorators": [] }, { - "$id": "217", + "$id": "240", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2618,19 +2895,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withClass" }, { - "$id": "218", + "$id": "241", "kind": "basic", "name": "withConstructor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "219", + "$id": "242", "name": "withConstructor", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "220", + "$id": "243", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2647,12 +2924,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withConstructor.contentType" }, { - "$id": "221", + "$id": "244", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "90" + "$ref": "92" }, "isApiVersion": false, "contentTypes": [ @@ -2689,12 +2966,12 @@ }, "parameters": [ { - "$id": "222", + "$id": "245", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "90" + "$ref": "92" }, "location": "Body", "isApiVersion": false, @@ -2706,7 +2983,7 @@ "decorators": [] }, { - "$id": "223", + "$id": "246", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2731,19 +3008,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withConstructor" }, { - "$id": "224", + "$id": "247", "kind": "basic", "name": "withContinue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "225", + "$id": "248", "name": "withContinue", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "226", + "$id": "249", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2760,12 +3037,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withContinue.contentType" }, { - "$id": "227", + "$id": "250", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "93" + "$ref": "95" }, "isApiVersion": false, "contentTypes": [ @@ -2802,12 +3079,12 @@ }, "parameters": [ { - "$id": "228", + "$id": "251", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "93" + "$ref": "95" }, "location": "Body", "isApiVersion": false, @@ -2819,7 +3096,7 @@ "decorators": [] }, { - "$id": "229", + "$id": "252", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2844,19 +3121,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withContinue" }, { - "$id": "230", + "$id": "253", "kind": "basic", "name": "withDef", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "231", + "$id": "254", "name": "withDef", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "232", + "$id": "255", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2873,12 +3150,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDef.contentType" }, { - "$id": "233", + "$id": "256", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "96" + "$ref": "98" }, "isApiVersion": false, "contentTypes": [ @@ -2915,12 +3192,12 @@ }, "parameters": [ { - "$id": "234", + "$id": "257", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "96" + "$ref": "98" }, "location": "Body", "isApiVersion": false, @@ -2932,7 +3209,7 @@ "decorators": [] }, { - "$id": "235", + "$id": "258", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -2957,19 +3234,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDef" }, { - "$id": "236", + "$id": "259", "kind": "basic", "name": "withDel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "237", + "$id": "260", "name": "withDel", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "238", + "$id": "261", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -2986,12 +3263,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDel.contentType" }, { - "$id": "239", + "$id": "262", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "99" + "$ref": "101" }, "isApiVersion": false, "contentTypes": [ @@ -3028,12 +3305,12 @@ }, "parameters": [ { - "$id": "240", + "$id": "263", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "99" + "$ref": "101" }, "location": "Body", "isApiVersion": false, @@ -3045,7 +3322,7 @@ "decorators": [] }, { - "$id": "241", + "$id": "264", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3070,19 +3347,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDel" }, { - "$id": "242", + "$id": "265", "kind": "basic", "name": "withElif", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "243", + "$id": "266", "name": "withElif", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "244", + "$id": "267", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -3099,12 +3376,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElif.contentType" }, { - "$id": "245", + "$id": "268", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "102" + "$ref": "104" }, "isApiVersion": false, "contentTypes": [ @@ -3141,12 +3418,12 @@ }, "parameters": [ { - "$id": "246", + "$id": "269", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "102" + "$ref": "104" }, "location": "Body", "isApiVersion": false, @@ -3158,7 +3435,7 @@ "decorators": [] }, { - "$id": "247", + "$id": "270", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3183,19 +3460,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElif" }, { - "$id": "248", + "$id": "271", "kind": "basic", "name": "withElse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "249", + "$id": "272", "name": "withElse", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "250", + "$id": "273", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -3212,12 +3489,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElse.contentType" }, { - "$id": "251", + "$id": "274", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "105" + "$ref": "107" }, "isApiVersion": false, "contentTypes": [ @@ -3254,12 +3531,12 @@ }, "parameters": [ { - "$id": "252", + "$id": "275", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "105" + "$ref": "107" }, "location": "Body", "isApiVersion": false, @@ -3271,7 +3548,7 @@ "decorators": [] }, { - "$id": "253", + "$id": "276", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3296,19 +3573,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElse" }, { - "$id": "254", + "$id": "277", "kind": "basic", "name": "withExcept", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "255", + "$id": "278", "name": "withExcept", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "256", + "$id": "279", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -3325,12 +3602,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExcept.contentType" }, { - "$id": "257", + "$id": "280", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "108" + "$ref": "110" }, "isApiVersion": false, "contentTypes": [ @@ -3367,12 +3644,12 @@ }, "parameters": [ { - "$id": "258", + "$id": "281", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "108" + "$ref": "110" }, "location": "Body", "isApiVersion": false, @@ -3384,7 +3661,7 @@ "decorators": [] }, { - "$id": "259", + "$id": "282", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3409,19 +3686,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExcept" }, { - "$id": "260", + "$id": "283", "kind": "basic", "name": "withExec", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "261", + "$id": "284", "name": "withExec", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "262", + "$id": "285", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -3438,12 +3715,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExec.contentType" }, { - "$id": "263", + "$id": "286", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "111" + "$ref": "113" }, "isApiVersion": false, "contentTypes": [ @@ -3480,12 +3757,12 @@ }, "parameters": [ { - "$id": "264", + "$id": "287", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "111" + "$ref": "113" }, "location": "Body", "isApiVersion": false, @@ -3497,7 +3774,7 @@ "decorators": [] }, { - "$id": "265", + "$id": "288", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3522,19 +3799,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExec" }, { - "$id": "266", + "$id": "289", "kind": "basic", "name": "withFinally", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "267", + "$id": "290", "name": "withFinally", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "268", + "$id": "291", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -3551,12 +3828,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFinally.contentType" }, { - "$id": "269", + "$id": "292", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "114" + "$ref": "116" }, "isApiVersion": false, "contentTypes": [ @@ -3593,12 +3870,12 @@ }, "parameters": [ { - "$id": "270", + "$id": "293", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "114" + "$ref": "116" }, "location": "Body", "isApiVersion": false, @@ -3610,7 +3887,7 @@ "decorators": [] }, { - "$id": "271", + "$id": "294", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3635,19 +3912,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFinally" }, { - "$id": "272", + "$id": "295", "kind": "basic", "name": "withFor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "273", + "$id": "296", "name": "withFor", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "274", + "$id": "297", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -3664,12 +3941,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFor.contentType" }, { - "$id": "275", + "$id": "298", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "117" + "$ref": "119" }, "isApiVersion": false, "contentTypes": [ @@ -3706,12 +3983,12 @@ }, "parameters": [ { - "$id": "276", + "$id": "299", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "117" + "$ref": "119" }, "location": "Body", "isApiVersion": false, @@ -3723,7 +4000,7 @@ "decorators": [] }, { - "$id": "277", + "$id": "300", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3748,19 +4025,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFor" }, { - "$id": "278", + "$id": "301", "kind": "basic", "name": "withFrom", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "279", + "$id": "302", "name": "withFrom", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "280", + "$id": "303", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -3777,12 +4054,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFrom.contentType" }, { - "$id": "281", + "$id": "304", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "120" + "$ref": "122" }, "isApiVersion": false, "contentTypes": [ @@ -3819,12 +4096,12 @@ }, "parameters": [ { - "$id": "282", + "$id": "305", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "120" + "$ref": "122" }, "location": "Body", "isApiVersion": false, @@ -3836,7 +4113,7 @@ "decorators": [] }, { - "$id": "283", + "$id": "306", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3861,19 +4138,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFrom" }, { - "$id": "284", + "$id": "307", "kind": "basic", "name": "withGlobal", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "285", + "$id": "308", "name": "withGlobal", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "286", + "$id": "309", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -3890,12 +4167,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withGlobal.contentType" }, { - "$id": "287", + "$id": "310", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "123" + "$ref": "125" }, "isApiVersion": false, "contentTypes": [ @@ -3932,12 +4209,12 @@ }, "parameters": [ { - "$id": "288", + "$id": "311", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "123" + "$ref": "125" }, "location": "Body", "isApiVersion": false, @@ -3949,7 +4226,7 @@ "decorators": [] }, { - "$id": "289", + "$id": "312", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -3974,19 +4251,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withGlobal" }, { - "$id": "290", + "$id": "313", "kind": "basic", "name": "withIf", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "291", + "$id": "314", "name": "withIf", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "292", + "$id": "315", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4003,12 +4280,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIf.contentType" }, { - "$id": "293", + "$id": "316", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "126" + "$ref": "128" }, "isApiVersion": false, "contentTypes": [ @@ -4045,12 +4322,12 @@ }, "parameters": [ { - "$id": "294", + "$id": "317", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "126" + "$ref": "128" }, "location": "Body", "isApiVersion": false, @@ -4062,7 +4339,7 @@ "decorators": [] }, { - "$id": "295", + "$id": "318", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4087,19 +4364,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIf" }, { - "$id": "296", + "$id": "319", "kind": "basic", "name": "withImport", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "297", + "$id": "320", "name": "withImport", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "298", + "$id": "321", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4116,12 +4393,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withImport.contentType" }, { - "$id": "299", + "$id": "322", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "129" + "$ref": "131" }, "isApiVersion": false, "contentTypes": [ @@ -4158,12 +4435,12 @@ }, "parameters": [ { - "$id": "300", + "$id": "323", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "129" + "$ref": "131" }, "location": "Body", "isApiVersion": false, @@ -4175,7 +4452,7 @@ "decorators": [] }, { - "$id": "301", + "$id": "324", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4200,19 +4477,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withImport" }, { - "$id": "302", + "$id": "325", "kind": "basic", "name": "withIn", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "303", + "$id": "326", "name": "withIn", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "304", + "$id": "327", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4229,12 +4506,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIn.contentType" }, { - "$id": "305", + "$id": "328", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "132" + "$ref": "134" }, "isApiVersion": false, "contentTypes": [ @@ -4271,12 +4548,12 @@ }, "parameters": [ { - "$id": "306", + "$id": "329", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "132" + "$ref": "134" }, "location": "Body", "isApiVersion": false, @@ -4288,7 +4565,7 @@ "decorators": [] }, { - "$id": "307", + "$id": "330", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4313,19 +4590,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIn" }, { - "$id": "308", + "$id": "331", "kind": "basic", "name": "withIs", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "309", + "$id": "332", "name": "withIs", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "310", + "$id": "333", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4342,12 +4619,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIs.contentType" }, { - "$id": "311", + "$id": "334", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "135" + "$ref": "137" }, "isApiVersion": false, "contentTypes": [ @@ -4384,12 +4661,12 @@ }, "parameters": [ { - "$id": "312", + "$id": "335", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "135" + "$ref": "137" }, "location": "Body", "isApiVersion": false, @@ -4401,7 +4678,7 @@ "decorators": [] }, { - "$id": "313", + "$id": "336", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4426,19 +4703,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIs" }, { - "$id": "314", + "$id": "337", "kind": "basic", "name": "withLambda", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "315", + "$id": "338", "name": "withLambda", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "316", + "$id": "339", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4455,12 +4732,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withLambda.contentType" }, { - "$id": "317", + "$id": "340", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "138" + "$ref": "140" }, "isApiVersion": false, "contentTypes": [ @@ -4497,12 +4774,12 @@ }, "parameters": [ { - "$id": "318", + "$id": "341", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "138" + "$ref": "140" }, "location": "Body", "isApiVersion": false, @@ -4514,7 +4791,7 @@ "decorators": [] }, { - "$id": "319", + "$id": "342", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4539,19 +4816,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withLambda" }, { - "$id": "320", + "$id": "343", "kind": "basic", "name": "withNot", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "321", + "$id": "344", "name": "withNot", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "322", + "$id": "345", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4568,12 +4845,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withNot.contentType" }, { - "$id": "323", + "$id": "346", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "141" + "$ref": "143" }, "isApiVersion": false, "contentTypes": [ @@ -4610,12 +4887,12 @@ }, "parameters": [ { - "$id": "324", + "$id": "347", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "141" + "$ref": "143" }, "location": "Body", "isApiVersion": false, @@ -4627,7 +4904,7 @@ "decorators": [] }, { - "$id": "325", + "$id": "348", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4652,19 +4929,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withNot" }, { - "$id": "326", + "$id": "349", "kind": "basic", "name": "withOr", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "327", + "$id": "350", "name": "withOr", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "328", + "$id": "351", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4681,12 +4958,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withOr.contentType" }, { - "$id": "329", + "$id": "352", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "144" + "$ref": "146" }, "isApiVersion": false, "contentTypes": [ @@ -4723,12 +5000,12 @@ }, "parameters": [ { - "$id": "330", + "$id": "353", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "144" + "$ref": "146" }, "location": "Body", "isApiVersion": false, @@ -4740,7 +5017,7 @@ "decorators": [] }, { - "$id": "331", + "$id": "354", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4765,19 +5042,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withOr" }, { - "$id": "332", + "$id": "355", "kind": "basic", "name": "withPass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "333", + "$id": "356", "name": "withPass", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "334", + "$id": "357", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4794,12 +5071,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withPass.contentType" }, { - "$id": "335", + "$id": "358", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "147" + "$ref": "149" }, "isApiVersion": false, "contentTypes": [ @@ -4836,12 +5113,12 @@ }, "parameters": [ { - "$id": "336", + "$id": "359", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "147" + "$ref": "149" }, "location": "Body", "isApiVersion": false, @@ -4853,7 +5130,7 @@ "decorators": [] }, { - "$id": "337", + "$id": "360", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4878,19 +5155,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withPass" }, { - "$id": "338", + "$id": "361", "kind": "basic", "name": "withRaise", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "339", + "$id": "362", "name": "withRaise", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "340", + "$id": "363", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -4907,12 +5184,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withRaise.contentType" }, { - "$id": "341", + "$id": "364", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "150" + "$ref": "152" }, "isApiVersion": false, "contentTypes": [ @@ -4949,12 +5226,12 @@ }, "parameters": [ { - "$id": "342", + "$id": "365", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "150" + "$ref": "152" }, "location": "Body", "isApiVersion": false, @@ -4966,7 +5243,7 @@ "decorators": [] }, { - "$id": "343", + "$id": "366", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -4991,19 +5268,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withRaise" }, { - "$id": "344", + "$id": "367", "kind": "basic", "name": "withReturn", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "345", + "$id": "368", "name": "withReturn", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "346", + "$id": "369", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -5020,12 +5297,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withReturn.contentType" }, { - "$id": "347", + "$id": "370", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "153" + "$ref": "155" }, "isApiVersion": false, "contentTypes": [ @@ -5062,12 +5339,12 @@ }, "parameters": [ { - "$id": "348", + "$id": "371", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "153" + "$ref": "155" }, "location": "Body", "isApiVersion": false, @@ -5079,7 +5356,7 @@ "decorators": [] }, { - "$id": "349", + "$id": "372", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -5104,19 +5381,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withReturn" }, { - "$id": "350", + "$id": "373", "kind": "basic", "name": "withTry", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "351", + "$id": "374", "name": "withTry", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "352", + "$id": "375", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -5133,12 +5410,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withTry.contentType" }, { - "$id": "353", + "$id": "376", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "156" + "$ref": "158" }, "isApiVersion": false, "contentTypes": [ @@ -5175,12 +5452,12 @@ }, "parameters": [ { - "$id": "354", + "$id": "377", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "156" + "$ref": "158" }, "location": "Body", "isApiVersion": false, @@ -5192,7 +5469,7 @@ "decorators": [] }, { - "$id": "355", + "$id": "378", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -5217,19 +5494,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withTry" }, { - "$id": "356", + "$id": "379", "kind": "basic", "name": "withWhile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "357", + "$id": "380", "name": "withWhile", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "358", + "$id": "381", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -5246,12 +5523,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWhile.contentType" }, { - "$id": "359", + "$id": "382", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "159" + "$ref": "161" }, "isApiVersion": false, "contentTypes": [ @@ -5288,12 +5565,12 @@ }, "parameters": [ { - "$id": "360", + "$id": "383", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "159" + "$ref": "161" }, "location": "Body", "isApiVersion": false, @@ -5305,7 +5582,7 @@ "decorators": [] }, { - "$id": "361", + "$id": "384", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -5330,19 +5607,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWhile" }, { - "$id": "362", + "$id": "385", "kind": "basic", "name": "withWith", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "363", + "$id": "386", "name": "withWith", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "364", + "$id": "387", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -5359,12 +5636,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWith.contentType" }, { - "$id": "365", + "$id": "388", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "162" + "$ref": "164" }, "isApiVersion": false, "contentTypes": [ @@ -5401,12 +5678,12 @@ }, "parameters": [ { - "$id": "366", + "$id": "389", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "162" + "$ref": "164" }, "location": "Body", "isApiVersion": false, @@ -5418,7 +5695,7 @@ "decorators": [] }, { - "$id": "367", + "$id": "390", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -5443,19 +5720,19 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWith" }, { - "$id": "368", + "$id": "391", "kind": "basic", "name": "withYield", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "369", + "$id": "392", "name": "withYield", "resourceName": "Models", "accessibility": "public", "parameters": [ { - "$id": "370", + "$id": "393", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -5472,12 +5749,12 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withYield.contentType" }, { - "$id": "371", + "$id": "394", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "165" + "$ref": "167" }, "isApiVersion": false, "contentTypes": [ @@ -5514,12 +5791,12 @@ }, "parameters": [ { - "$id": "372", + "$id": "395", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "165" + "$ref": "167" }, "location": "Body", "isApiVersion": false, @@ -5531,7 +5808,7 @@ "decorators": [] }, { - "$id": "373", + "$id": "396", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -5558,13 +5835,13 @@ ], "parameters": [ { - "$id": "374", + "$id": "397", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "375", + "$id": "398", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5575,7 +5852,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "376", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5593,30 +5870,30 @@ "crossLanguageDefinitionId": "SpecialWords.Models", "apiVersions": [], "parent": { - "$ref": "171" + "$ref": "194" } }, { - "$id": "377", + "$id": "400", "kind": "client", "name": "ModelProperties", "namespace": "SpecialWords.ModelProperties", "doc": "Verify model names", "methods": [ { - "$id": "378", + "$id": "401", "kind": "basic", "name": "sameAsModel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "379", + "$id": "402", "name": "sameAsModel", "resourceName": "ModelProperties", "accessibility": "public", "parameters": [ { - "$id": "380", + "$id": "403", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -5633,12 +5910,12 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.sameAsModel.contentType" }, { - "$id": "381", + "$id": "404", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "168" + "$ref": "170" }, "isApiVersion": false, "contentTypes": [ @@ -5675,12 +5952,12 @@ }, "parameters": [ { - "$id": "382", + "$id": "405", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "168" + "$ref": "170" }, "location": "Body", "isApiVersion": false, @@ -5692,7 +5969,7 @@ "decorators": [] }, { - "$id": "383", + "$id": "406", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -5715,17 +5992,130 @@ "generateConvenient": true, "generateProtocol": true, "crossLanguageDefinitionId": "SpecialWords.ModelProperties.sameAsModel" + }, + { + "$id": "407", + "kind": "basic", + "name": "dictMethods", + "accessibility": "public", + "apiVersions": [], + "operation": { + "$id": "408", + "name": "dictMethods", + "resourceName": "ModelProperties", + "accessibility": "public", + "parameters": [ + { + "$id": "409", + "kind": "header", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "69" + }, + "isApiVersion": false, + "optional": false, + "isContentType": true, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods.contentType" + }, + { + "$id": "410", + "kind": "body", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "173" + }, + "isApiVersion": false, + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods.body" + } + ], + "responses": [ + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/special-words/model-properties/dict-methods", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods", + "decorators": [] + }, + "parameters": [ + { + "$id": "411", + "kind": "method", + "name": "body", + "serializedName": "body", + "type": { + "$ref": "173" + }, + "location": "Body", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods.body", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "412", + "kind": "method", + "name": "contentType", + "serializedName": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "69" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods.contentType", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods" } ], "parameters": [ { - "$id": "384", + "$id": "413", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "385", + "$id": "414", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -5736,7 +6126,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "386", + "$id": "415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -5754,24 +6144,24 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties", "apiVersions": [], "parent": { - "$ref": "171" + "$ref": "194" } }, { - "$id": "387", + "$id": "416", "kind": "client", "name": "Operations", "namespace": "SpecialWords", "doc": "Test reserved words as operation name.", "methods": [ { - "$id": "388", + "$id": "417", "kind": "basic", "name": "and", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "389", + "$id": "418", "name": "and", "resourceName": "Operations", "accessibility": "public", @@ -5802,13 +6192,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.and" }, { - "$id": "390", + "$id": "419", "kind": "basic", "name": "as", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "391", + "$id": "420", "name": "as", "resourceName": "Operations", "accessibility": "public", @@ -5839,13 +6229,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.as" }, { - "$id": "392", + "$id": "421", "kind": "basic", "name": "assert", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "393", + "$id": "422", "name": "assert", "resourceName": "Operations", "accessibility": "public", @@ -5876,13 +6266,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.assert" }, { - "$id": "394", + "$id": "423", "kind": "basic", "name": "async", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "395", + "$id": "424", "name": "async", "resourceName": "Operations", "accessibility": "public", @@ -5913,13 +6303,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.async" }, { - "$id": "396", + "$id": "425", "kind": "basic", "name": "await", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "397", + "$id": "426", "name": "await", "resourceName": "Operations", "accessibility": "public", @@ -5950,13 +6340,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.await" }, { - "$id": "398", + "$id": "427", "kind": "basic", "name": "break", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "399", + "$id": "428", "name": "break", "resourceName": "Operations", "accessibility": "public", @@ -5987,13 +6377,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.break" }, { - "$id": "400", + "$id": "429", "kind": "basic", "name": "class", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "401", + "$id": "430", "name": "class", "resourceName": "Operations", "accessibility": "public", @@ -6024,13 +6414,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.class" }, { - "$id": "402", + "$id": "431", "kind": "basic", "name": "constructor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "403", + "$id": "432", "name": "constructor", "resourceName": "Operations", "accessibility": "public", @@ -6061,13 +6451,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.constructor" }, { - "$id": "404", + "$id": "433", "kind": "basic", "name": "continue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "405", + "$id": "434", "name": "continue", "resourceName": "Operations", "accessibility": "public", @@ -6098,13 +6488,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.continue" }, { - "$id": "406", + "$id": "435", "kind": "basic", "name": "def", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "407", + "$id": "436", "name": "def", "resourceName": "Operations", "accessibility": "public", @@ -6135,13 +6525,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.def" }, { - "$id": "408", + "$id": "437", "kind": "basic", "name": "del", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "409", + "$id": "438", "name": "del", "resourceName": "Operations", "accessibility": "public", @@ -6172,13 +6562,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.del" }, { - "$id": "410", + "$id": "439", "kind": "basic", "name": "elif", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "411", + "$id": "440", "name": "elif", "resourceName": "Operations", "accessibility": "public", @@ -6209,13 +6599,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.elif" }, { - "$id": "412", + "$id": "441", "kind": "basic", "name": "else", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "413", + "$id": "442", "name": "else", "resourceName": "Operations", "accessibility": "public", @@ -6246,13 +6636,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.else" }, { - "$id": "414", + "$id": "443", "kind": "basic", "name": "except", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "415", + "$id": "444", "name": "except", "resourceName": "Operations", "accessibility": "public", @@ -6283,13 +6673,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.except" }, { - "$id": "416", + "$id": "445", "kind": "basic", "name": "exec", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "417", + "$id": "446", "name": "exec", "resourceName": "Operations", "accessibility": "public", @@ -6320,13 +6710,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.exec" }, { - "$id": "418", + "$id": "447", "kind": "basic", "name": "finally", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "419", + "$id": "448", "name": "finally", "resourceName": "Operations", "accessibility": "public", @@ -6357,13 +6747,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.finally" }, { - "$id": "420", + "$id": "449", "kind": "basic", "name": "for", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "421", + "$id": "450", "name": "for", "resourceName": "Operations", "accessibility": "public", @@ -6394,13 +6784,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.for" }, { - "$id": "422", + "$id": "451", "kind": "basic", "name": "from", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "423", + "$id": "452", "name": "from", "resourceName": "Operations", "accessibility": "public", @@ -6431,13 +6821,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.from" }, { - "$id": "424", + "$id": "453", "kind": "basic", "name": "global", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "425", + "$id": "454", "name": "global", "resourceName": "Operations", "accessibility": "public", @@ -6468,13 +6858,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.global" }, { - "$id": "426", + "$id": "455", "kind": "basic", "name": "if", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "427", + "$id": "456", "name": "if", "resourceName": "Operations", "accessibility": "public", @@ -6505,13 +6895,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.if" }, { - "$id": "428", + "$id": "457", "kind": "basic", "name": "import", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "429", + "$id": "458", "name": "import", "resourceName": "Operations", "accessibility": "public", @@ -6542,13 +6932,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.import" }, { - "$id": "430", + "$id": "459", "kind": "basic", "name": "in", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "431", + "$id": "460", "name": "in", "resourceName": "Operations", "accessibility": "public", @@ -6579,13 +6969,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.in" }, { - "$id": "432", + "$id": "461", "kind": "basic", "name": "is", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "433", + "$id": "462", "name": "is", "resourceName": "Operations", "accessibility": "public", @@ -6616,13 +7006,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.is" }, { - "$id": "434", + "$id": "463", "kind": "basic", "name": "lambda", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "435", + "$id": "464", "name": "lambda", "resourceName": "Operations", "accessibility": "public", @@ -6653,13 +7043,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.lambda" }, { - "$id": "436", + "$id": "465", "kind": "basic", "name": "not", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "437", + "$id": "466", "name": "not", "resourceName": "Operations", "accessibility": "public", @@ -6690,13 +7080,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.not" }, { - "$id": "438", + "$id": "467", "kind": "basic", "name": "or", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "439", + "$id": "468", "name": "or", "resourceName": "Operations", "accessibility": "public", @@ -6727,13 +7117,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.or" }, { - "$id": "440", + "$id": "469", "kind": "basic", "name": "pass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "441", + "$id": "470", "name": "pass", "resourceName": "Operations", "accessibility": "public", @@ -6764,13 +7154,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.pass" }, { - "$id": "442", + "$id": "471", "kind": "basic", "name": "raise", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "443", + "$id": "472", "name": "raise", "resourceName": "Operations", "accessibility": "public", @@ -6801,13 +7191,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.raise" }, { - "$id": "444", + "$id": "473", "kind": "basic", "name": "return", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "445", + "$id": "474", "name": "return", "resourceName": "Operations", "accessibility": "public", @@ -6838,13 +7228,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.return" }, { - "$id": "446", + "$id": "475", "kind": "basic", "name": "try", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "447", + "$id": "476", "name": "try", "resourceName": "Operations", "accessibility": "public", @@ -6875,13 +7265,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.try" }, { - "$id": "448", + "$id": "477", "kind": "basic", "name": "while", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "449", + "$id": "478", "name": "while", "resourceName": "Operations", "accessibility": "public", @@ -6912,13 +7302,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.while" }, { - "$id": "450", + "$id": "479", "kind": "basic", "name": "with", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "451", + "$id": "480", "name": "with", "resourceName": "Operations", "accessibility": "public", @@ -6949,13 +7339,13 @@ "crossLanguageDefinitionId": "SpecialWords.Operations.with" }, { - "$id": "452", + "$id": "481", "kind": "basic", "name": "yield", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "453", + "$id": "482", "name": "yield", "resourceName": "Operations", "accessibility": "public", @@ -6988,13 +7378,13 @@ ], "parameters": [ { - "$id": "454", + "$id": "483", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "455", + "$id": "484", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7005,7 +7395,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "456", + "$id": "485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7023,35 +7413,35 @@ "crossLanguageDefinitionId": "SpecialWords.Operations", "apiVersions": [], "parent": { - "$ref": "171" + "$ref": "194" } }, { - "$id": "457", + "$id": "486", "kind": "client", "name": "Parameters", "namespace": "SpecialWords", "doc": "Verify reserved words as parameter name.", "methods": [ { - "$id": "458", + "$id": "487", "kind": "basic", "name": "withAnd", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "459", + "$id": "488", "name": "withAnd", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "460", + "$id": "489", "kind": "query", "name": "and", "serializedName": "and", "type": { - "$id": "461", + "$id": "490", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7086,12 +7476,12 @@ }, "parameters": [ { - "$id": "462", + "$id": "491", "kind": "method", "name": "and", "serializedName": "and", "type": { - "$id": "463", + "$id": "492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7114,24 +7504,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAnd" }, { - "$id": "464", + "$id": "493", "kind": "basic", "name": "withAs", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "465", + "$id": "494", "name": "withAs", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "466", + "$id": "495", "kind": "query", "name": "as", "serializedName": "as", "type": { - "$id": "467", + "$id": "496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7166,12 +7556,12 @@ }, "parameters": [ { - "$id": "468", + "$id": "497", "kind": "method", "name": "as", "serializedName": "as", "type": { - "$id": "469", + "$id": "498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7194,24 +7584,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAs" }, { - "$id": "470", + "$id": "499", "kind": "basic", "name": "withAssert", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "471", + "$id": "500", "name": "withAssert", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "472", + "$id": "501", "kind": "query", "name": "assert", "serializedName": "assert", "type": { - "$id": "473", + "$id": "502", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7246,12 +7636,12 @@ }, "parameters": [ { - "$id": "474", + "$id": "503", "kind": "method", "name": "assert", "serializedName": "assert", "type": { - "$id": "475", + "$id": "504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7274,24 +7664,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAssert" }, { - "$id": "476", + "$id": "505", "kind": "basic", "name": "withAsync", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "477", + "$id": "506", "name": "withAsync", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "478", + "$id": "507", "kind": "query", "name": "async", "serializedName": "async", "type": { - "$id": "479", + "$id": "508", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7326,12 +7716,12 @@ }, "parameters": [ { - "$id": "480", + "$id": "509", "kind": "method", "name": "async", "serializedName": "async", "type": { - "$id": "481", + "$id": "510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7354,24 +7744,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAsync" }, { - "$id": "482", + "$id": "511", "kind": "basic", "name": "withAwait", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "483", + "$id": "512", "name": "withAwait", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "484", + "$id": "513", "kind": "query", "name": "await", "serializedName": "await", "type": { - "$id": "485", + "$id": "514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7406,12 +7796,12 @@ }, "parameters": [ { - "$id": "486", + "$id": "515", "kind": "method", "name": "await", "serializedName": "await", "type": { - "$id": "487", + "$id": "516", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7434,24 +7824,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAwait" }, { - "$id": "488", + "$id": "517", "kind": "basic", "name": "withBreak", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "489", + "$id": "518", "name": "withBreak", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "490", + "$id": "519", "kind": "query", "name": "break", "serializedName": "break", "type": { - "$id": "491", + "$id": "520", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7486,12 +7876,12 @@ }, "parameters": [ { - "$id": "492", + "$id": "521", "kind": "method", "name": "break", "serializedName": "break", "type": { - "$id": "493", + "$id": "522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7514,24 +7904,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withBreak" }, { - "$id": "494", + "$id": "523", "kind": "basic", "name": "withClass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "495", + "$id": "524", "name": "withClass", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "496", + "$id": "525", "kind": "query", "name": "class", "serializedName": "class", "type": { - "$id": "497", + "$id": "526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7566,12 +7956,12 @@ }, "parameters": [ { - "$id": "498", + "$id": "527", "kind": "method", "name": "class", "serializedName": "class", "type": { - "$id": "499", + "$id": "528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7594,24 +7984,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withClass" }, { - "$id": "500", + "$id": "529", "kind": "basic", "name": "withConstructor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "501", + "$id": "530", "name": "withConstructor", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "502", + "$id": "531", "kind": "query", "name": "constructor", "serializedName": "constructor", "type": { - "$id": "503", + "$id": "532", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7646,12 +8036,12 @@ }, "parameters": [ { - "$id": "504", + "$id": "533", "kind": "method", "name": "constructor", "serializedName": "constructor", "type": { - "$id": "505", + "$id": "534", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7674,24 +8064,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withConstructor" }, { - "$id": "506", + "$id": "535", "kind": "basic", "name": "withContinue", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "507", + "$id": "536", "name": "withContinue", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "508", + "$id": "537", "kind": "query", "name": "continue", "serializedName": "continue", "type": { - "$id": "509", + "$id": "538", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7726,12 +8116,12 @@ }, "parameters": [ { - "$id": "510", + "$id": "539", "kind": "method", "name": "continue", "serializedName": "continue", "type": { - "$id": "511", + "$id": "540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7754,24 +8144,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withContinue" }, { - "$id": "512", + "$id": "541", "kind": "basic", "name": "withDef", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "513", + "$id": "542", "name": "withDef", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "514", + "$id": "543", "kind": "query", "name": "def", "serializedName": "def", "type": { - "$id": "515", + "$id": "544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7806,12 +8196,12 @@ }, "parameters": [ { - "$id": "516", + "$id": "545", "kind": "method", "name": "def", "serializedName": "def", "type": { - "$id": "517", + "$id": "546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7834,24 +8224,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withDef" }, { - "$id": "518", + "$id": "547", "kind": "basic", "name": "withDel", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "519", + "$id": "548", "name": "withDel", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "520", + "$id": "549", "kind": "query", "name": "del", "serializedName": "del", "type": { - "$id": "521", + "$id": "550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7886,12 +8276,12 @@ }, "parameters": [ { - "$id": "522", + "$id": "551", "kind": "method", "name": "del", "serializedName": "del", "type": { - "$id": "523", + "$id": "552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7914,24 +8304,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withDel" }, { - "$id": "524", + "$id": "553", "kind": "basic", "name": "withElif", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "525", + "$id": "554", "name": "withElif", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "526", + "$id": "555", "kind": "query", "name": "elif", "serializedName": "elif", "type": { - "$id": "527", + "$id": "556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7966,12 +8356,12 @@ }, "parameters": [ { - "$id": "528", + "$id": "557", "kind": "method", "name": "elif", "serializedName": "elif", "type": { - "$id": "529", + "$id": "558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7994,24 +8384,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withElif" }, { - "$id": "530", + "$id": "559", "kind": "basic", "name": "withElse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "531", + "$id": "560", "name": "withElse", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "532", + "$id": "561", "kind": "query", "name": "else", "serializedName": "else", "type": { - "$id": "533", + "$id": "562", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8046,12 +8436,12 @@ }, "parameters": [ { - "$id": "534", + "$id": "563", "kind": "method", "name": "else", "serializedName": "else", "type": { - "$id": "535", + "$id": "564", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8074,24 +8464,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withElse" }, { - "$id": "536", + "$id": "565", "kind": "basic", "name": "withExcept", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "537", + "$id": "566", "name": "withExcept", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "538", + "$id": "567", "kind": "query", "name": "except", "serializedName": "except", "type": { - "$id": "539", + "$id": "568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8126,12 +8516,12 @@ }, "parameters": [ { - "$id": "540", + "$id": "569", "kind": "method", "name": "except", "serializedName": "except", "type": { - "$id": "541", + "$id": "570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8154,24 +8544,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withExcept" }, { - "$id": "542", + "$id": "571", "kind": "basic", "name": "withExec", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "543", + "$id": "572", "name": "withExec", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "544", + "$id": "573", "kind": "query", "name": "exec", "serializedName": "exec", "type": { - "$id": "545", + "$id": "574", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8206,12 +8596,12 @@ }, "parameters": [ { - "$id": "546", + "$id": "575", "kind": "method", "name": "exec", "serializedName": "exec", "type": { - "$id": "547", + "$id": "576", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8234,24 +8624,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withExec" }, { - "$id": "548", + "$id": "577", "kind": "basic", "name": "withFinally", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "549", + "$id": "578", "name": "withFinally", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "550", + "$id": "579", "kind": "query", "name": "finally", "serializedName": "finally", "type": { - "$id": "551", + "$id": "580", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8286,12 +8676,12 @@ }, "parameters": [ { - "$id": "552", + "$id": "581", "kind": "method", "name": "finally", "serializedName": "finally", "type": { - "$id": "553", + "$id": "582", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8314,24 +8704,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withFinally" }, { - "$id": "554", + "$id": "583", "kind": "basic", "name": "withFor", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "555", + "$id": "584", "name": "withFor", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "556", + "$id": "585", "kind": "query", "name": "for", "serializedName": "for", "type": { - "$id": "557", + "$id": "586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8366,12 +8756,12 @@ }, "parameters": [ { - "$id": "558", + "$id": "587", "kind": "method", "name": "for", "serializedName": "for", "type": { - "$id": "559", + "$id": "588", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8394,24 +8784,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withFor" }, { - "$id": "560", + "$id": "589", "kind": "basic", "name": "withFrom", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "561", + "$id": "590", "name": "withFrom", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "562", + "$id": "591", "kind": "query", "name": "from", "serializedName": "from", "type": { - "$id": "563", + "$id": "592", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8446,12 +8836,12 @@ }, "parameters": [ { - "$id": "564", + "$id": "593", "kind": "method", "name": "from", "serializedName": "from", "type": { - "$id": "565", + "$id": "594", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8474,24 +8864,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withFrom" }, { - "$id": "566", + "$id": "595", "kind": "basic", "name": "withGlobal", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "567", + "$id": "596", "name": "withGlobal", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "568", + "$id": "597", "kind": "query", "name": "global", "serializedName": "global", "type": { - "$id": "569", + "$id": "598", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8526,12 +8916,12 @@ }, "parameters": [ { - "$id": "570", + "$id": "599", "kind": "method", "name": "global", "serializedName": "global", "type": { - "$id": "571", + "$id": "600", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8554,24 +8944,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withGlobal" }, { - "$id": "572", + "$id": "601", "kind": "basic", "name": "withIf", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "573", + "$id": "602", "name": "withIf", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "574", + "$id": "603", "kind": "query", "name": "if", "serializedName": "if", "type": { - "$id": "575", + "$id": "604", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8606,12 +8996,12 @@ }, "parameters": [ { - "$id": "576", + "$id": "605", "kind": "method", "name": "if", "serializedName": "if", "type": { - "$id": "577", + "$id": "606", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8634,24 +9024,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withIf" }, { - "$id": "578", + "$id": "607", "kind": "basic", "name": "withImport", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "579", + "$id": "608", "name": "withImport", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "580", + "$id": "609", "kind": "query", "name": "import", "serializedName": "import", "type": { - "$id": "581", + "$id": "610", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8686,12 +9076,12 @@ }, "parameters": [ { - "$id": "582", + "$id": "611", "kind": "method", "name": "import", "serializedName": "import", "type": { - "$id": "583", + "$id": "612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8714,24 +9104,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withImport" }, { - "$id": "584", + "$id": "613", "kind": "basic", "name": "withIn", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "585", + "$id": "614", "name": "withIn", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "586", + "$id": "615", "kind": "query", "name": "in", "serializedName": "in", "type": { - "$id": "587", + "$id": "616", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8766,12 +9156,12 @@ }, "parameters": [ { - "$id": "588", + "$id": "617", "kind": "method", "name": "in", "serializedName": "in", "type": { - "$id": "589", + "$id": "618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8794,24 +9184,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withIn" }, { - "$id": "590", + "$id": "619", "kind": "basic", "name": "withIs", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "591", + "$id": "620", "name": "withIs", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "592", + "$id": "621", "kind": "query", "name": "is", "serializedName": "is", "type": { - "$id": "593", + "$id": "622", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8846,12 +9236,12 @@ }, "parameters": [ { - "$id": "594", + "$id": "623", "kind": "method", "name": "is", "serializedName": "is", "type": { - "$id": "595", + "$id": "624", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8874,24 +9264,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withIs" }, { - "$id": "596", + "$id": "625", "kind": "basic", "name": "withLambda", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "597", + "$id": "626", "name": "withLambda", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "598", + "$id": "627", "kind": "query", "name": "lambda", "serializedName": "lambda", "type": { - "$id": "599", + "$id": "628", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8926,12 +9316,12 @@ }, "parameters": [ { - "$id": "600", + "$id": "629", "kind": "method", "name": "lambda", "serializedName": "lambda", "type": { - "$id": "601", + "$id": "630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8954,24 +9344,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withLambda" }, { - "$id": "602", + "$id": "631", "kind": "basic", "name": "withNot", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "603", + "$id": "632", "name": "withNot", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "604", + "$id": "633", "kind": "query", "name": "not", "serializedName": "not", "type": { - "$id": "605", + "$id": "634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9006,12 +9396,12 @@ }, "parameters": [ { - "$id": "606", + "$id": "635", "kind": "method", "name": "not", "serializedName": "not", "type": { - "$id": "607", + "$id": "636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9034,24 +9424,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withNot" }, { - "$id": "608", + "$id": "637", "kind": "basic", "name": "withOr", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "609", + "$id": "638", "name": "withOr", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "610", + "$id": "639", "kind": "query", "name": "or", "serializedName": "or", "type": { - "$id": "611", + "$id": "640", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9086,12 +9476,12 @@ }, "parameters": [ { - "$id": "612", + "$id": "641", "kind": "method", "name": "or", "serializedName": "or", "type": { - "$id": "613", + "$id": "642", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9114,24 +9504,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withOr" }, { - "$id": "614", + "$id": "643", "kind": "basic", "name": "withPass", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "615", + "$id": "644", "name": "withPass", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "616", + "$id": "645", "kind": "query", "name": "pass", "serializedName": "pass", "type": { - "$id": "617", + "$id": "646", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9166,12 +9556,12 @@ }, "parameters": [ { - "$id": "618", + "$id": "647", "kind": "method", "name": "pass", "serializedName": "pass", "type": { - "$id": "619", + "$id": "648", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9194,24 +9584,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withPass" }, { - "$id": "620", + "$id": "649", "kind": "basic", "name": "withRaise", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "621", + "$id": "650", "name": "withRaise", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "622", + "$id": "651", "kind": "query", "name": "raise", "serializedName": "raise", "type": { - "$id": "623", + "$id": "652", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9246,12 +9636,12 @@ }, "parameters": [ { - "$id": "624", + "$id": "653", "kind": "method", "name": "raise", "serializedName": "raise", "type": { - "$id": "625", + "$id": "654", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9274,24 +9664,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withRaise" }, { - "$id": "626", + "$id": "655", "kind": "basic", "name": "withReturn", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "627", + "$id": "656", "name": "withReturn", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "628", + "$id": "657", "kind": "query", "name": "return", "serializedName": "return", "type": { - "$id": "629", + "$id": "658", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9326,12 +9716,12 @@ }, "parameters": [ { - "$id": "630", + "$id": "659", "kind": "method", "name": "return", "serializedName": "return", "type": { - "$id": "631", + "$id": "660", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9354,24 +9744,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withReturn" }, { - "$id": "632", + "$id": "661", "kind": "basic", "name": "withTry", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "633", + "$id": "662", "name": "withTry", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "634", + "$id": "663", "kind": "query", "name": "try", "serializedName": "try", "type": { - "$id": "635", + "$id": "664", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9406,12 +9796,12 @@ }, "parameters": [ { - "$id": "636", + "$id": "665", "kind": "method", "name": "try", "serializedName": "try", "type": { - "$id": "637", + "$id": "666", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9434,24 +9824,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withTry" }, { - "$id": "638", + "$id": "667", "kind": "basic", "name": "withWhile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "639", + "$id": "668", "name": "withWhile", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "640", + "$id": "669", "kind": "query", "name": "while", "serializedName": "while", "type": { - "$id": "641", + "$id": "670", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9486,12 +9876,12 @@ }, "parameters": [ { - "$id": "642", + "$id": "671", "kind": "method", "name": "while", "serializedName": "while", "type": { - "$id": "643", + "$id": "672", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9514,24 +9904,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withWhile" }, { - "$id": "644", + "$id": "673", "kind": "basic", "name": "withWith", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "645", + "$id": "674", "name": "withWith", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "646", + "$id": "675", "kind": "query", "name": "with", "serializedName": "with", "type": { - "$id": "647", + "$id": "676", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9566,12 +9956,12 @@ }, "parameters": [ { - "$id": "648", + "$id": "677", "kind": "method", "name": "with", "serializedName": "with", "type": { - "$id": "649", + "$id": "678", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9594,24 +9984,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withWith" }, { - "$id": "650", + "$id": "679", "kind": "basic", "name": "withYield", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "651", + "$id": "680", "name": "withYield", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "652", + "$id": "681", "kind": "query", "name": "yield", "serializedName": "yield", "type": { - "$id": "653", + "$id": "682", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9646,12 +10036,12 @@ }, "parameters": [ { - "$id": "654", + "$id": "683", "kind": "method", "name": "yield", "serializedName": "yield", "type": { - "$id": "655", + "$id": "684", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9674,24 +10064,24 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withYield" }, { - "$id": "656", + "$id": "685", "kind": "basic", "name": "withCancellationToken", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "657", + "$id": "686", "name": "withCancellationToken", "resourceName": "Parameters", "accessibility": "public", "parameters": [ { - "$id": "658", + "$id": "687", "kind": "query", "name": "cancellationToken", "serializedName": "cancellationToken", "type": { - "$id": "659", + "$id": "688", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9726,12 +10116,12 @@ }, "parameters": [ { - "$id": "660", + "$id": "689", "kind": "method", "name": "cancellationToken", "serializedName": "cancellationToken", "type": { - "$id": "661", + "$id": "690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9756,13 +10146,13 @@ ], "parameters": [ { - "$id": "662", + "$id": "691", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "663", + "$id": "692", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9773,7 +10163,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "664", + "$id": "693", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9791,7 +10181,7 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters", "apiVersions": [], "parent": { - "$ref": "171" + "$ref": "194" } } ] diff --git a/packages/http-client-csharp/package-lock.json b/packages/http-client-csharp/package-lock.json index 7dc6de2be4b..41998dd9816 100644 --- a/packages/http-client-csharp/package-lock.json +++ b/packages/http-client-csharp/package-lock.json @@ -9,22 +9,22 @@ "version": "1.0.0", "license": "MIT", "devDependencies": { - "@azure-tools/azure-http-specs": "0.1.0-alpha.32", - "@azure-tools/typespec-client-generator-core": "0.62.0", + "@azure-tools/azure-http-specs": "0.1.0-alpha.33", + "@azure-tools/typespec-client-generator-core": "0.63.0", "@microsoft/api-extractor": "^7.52.2", "@types/node": "~22.12.0", - "@typespec/compiler": "1.6.0", - "@typespec/http": "1.6.0", - "@typespec/http-specs": "0.1.0-alpha.28", - "@typespec/json-schema": "1.6.0", - "@typespec/library-linter": "0.76.0", - "@typespec/openapi": "1.6.0", - "@typespec/rest": "0.76.0", + "@typespec/compiler": "1.7.0", + "@typespec/http": "1.7.0", + "@typespec/http-specs": "0.1.0-alpha.29", + "@typespec/json-schema": "1.7.0", + "@typespec/library-linter": "0.77.0", + "@typespec/openapi": "1.7.0", + "@typespec/rest": "0.77.0", "@typespec/spector": "0.1.0-alpha.20", - "@typespec/streams": "0.76.0", + "@typespec/streams": "0.77.0", "@typespec/tspd": "0.73.1", - "@typespec/versioning": "0.76.0", - "@typespec/xml": "0.76.0", + "@typespec/versioning": "0.77.0", + "@typespec/xml": "0.77.0", "@vitest/coverage-v8": "^3.0.5", "@vitest/ui": "^3.0.5", "c8": "^10.1.2", @@ -33,13 +33,13 @@ "vitest": "^3.0.5" }, "peerDependencies": { - "@azure-tools/typespec-client-generator-core": ">=0.62.0 < 0.63.0 || ~0.63.0-0", - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0", - "@typespec/openapi": "^1.6.0", - "@typespec/rest": ">=0.76.0 <0.77.0 || ~0.77.0-0", - "@typespec/streams": ">=0.76.0 <0.77.0 || ~0.77.0-0", - "@typespec/versioning": ">=0.76.0 <0.77.0 || ~0.77.0-0" + "@azure-tools/typespec-client-generator-core": ">=0.63.0 < 0.64.0 || ~0.64.0-0", + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/openapi": "^1.7.0", + "@typespec/rest": ">=0.77.0 <0.78.0 || ~0.78.0-0", + "@typespec/streams": ">=0.77.0 <0.78.0 || ~0.78.0-0", + "@typespec/versioning": ">=0.77.0 <0.78.0 || ~0.78.0-0" } }, "node_modules/@alloy-js/core": { @@ -94,31 +94,185 @@ } }, "node_modules/@azure-tools/azure-http-specs": { - "version": "0.1.0-alpha.32", - "resolved": "https://registry.npmjs.org/@azure-tools/azure-http-specs/-/azure-http-specs-0.1.0-alpha.32.tgz", - "integrity": "sha512-TjPu0vZyGdAXHw1HHuExNdR2/m4JJZamrHl2TWsCOMGo1loxWVb/mTitVbi0SUkYqzKfCiKrQ+pMcHNxUvJ35Q==", + "version": "0.1.0-alpha.33", + "resolved": "https://registry.npmjs.org/@azure-tools/azure-http-specs/-/azure-http-specs-0.1.0-alpha.33.tgz", + "integrity": "sha512-AjwAF9czpgqToa5sqYZhMLSRoM9+i4O9mPxOGFqbSuGd5pfkg9TKKpGCapTT5cXnvsAx7O8fW8XxiLGMmVPF2g==", "dev": true, "license": "MIT", "dependencies": { - "@typespec/spec-api": "^0.1.0-alpha.10", - "@typespec/spector": "^0.1.0-alpha.20" + "@typespec/spec-api": "^0.1.0-alpha.11", + "@typespec/spector": "^0.1.0-alpha.21" }, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.62.0", - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0", - "@typespec/rest": "^0.76.0", - "@typespec/versioning": "^0.76.0", - "@typespec/xml": "^0.76.0" + "@azure-tools/typespec-azure-core": "^0.63.0", + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/rest": "^0.77.0", + "@typespec/versioning": "^0.77.0", + "@typespec/xml": "^0.77.0" + } + }, + "node_modules/@azure-tools/azure-http-specs/node_modules/@typespec/spector": { + "version": "0.1.0-alpha.21", + "resolved": "https://registry.npmjs.org/@typespec/spector/-/spector-0.1.0-alpha.21.tgz", + "integrity": "sha512-oLtAs2/E+ee/OPeMZnRUxiuVjUeYaxi5R1KeFThAjLszp6M2rkCfeIdyj2RosGxiqWrmoEd9oCWO/fHwvGVZew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/identity": "~4.13.0", + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/rest": "^0.77.0", + "@typespec/spec-api": "^0.1.0-alpha.11", + "@typespec/spec-coverage-sdk": "^0.1.0-alpha.13", + "@typespec/versioning": "^0.77.0", + "ajv": "~8.17.1", + "body-parser": "^2.2.0", + "deep-equal": "^2.2.0", + "express": "^5.1.0", + "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.0", + "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" + } + }, + "node_modules/@azure-tools/azure-http-specs/node_modules/cliui": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@azure-tools/azure-http-specs/node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/@azure-tools/azure-http-specs/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.5", + "is-path-inside": "^4.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.4.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@azure-tools/azure-http-specs/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@azure-tools/azure-http-specs/node_modules/unicorn-magic": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.4.0.tgz", + "integrity": "sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@azure-tools/azure-http-specs/node_modules/yargs": { + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", + "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^9.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "string-width": "^7.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^22.0.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + }, + "node_modules/@azure-tools/azure-http-specs/node_modules/yargs-parser": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.62.0.tgz", - "integrity": "sha512-4LIFqNHhKO1/jiCH0U2rfI+yH7vkWcFuwpjNyRTWXw/YghAI2d+aIEwtT4oM8jWeYR3KUQfA6AqGPRCm90AXYA==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.63.0.tgz", + "integrity": "sha512-FbEmpZSQENzBt/Y8qSF1b98T8CqT3bV7IRV8AGGm/73NQZiWQCm2LvQzR0/lbqGntS2EnSBrt394Kt69wM4ifA==", "dev": true, "license": "MIT", "peer": true, @@ -126,15 +280,15 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0", - "@typespec/rest": "^0.76.0" + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/rest": "^0.77.0" } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.62.0.tgz", - "integrity": "sha512-fZilNfvqIW6Jzb97SuM5f+i9p5b0261InQRbQcTbeuYGtb5z5M0v8tuGglE4adU8NqQ1OmEv/oRjQjSeSjlxwA==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.63.0.tgz", + "integrity": "sha512-zpvFvjCjNW+GWzHBV7vJ2E1PKXrmyNqp7FQiYo/D7PJBVTXNtOyIKqqo043ktAaWihbr8cl5QguuNSoBAKL0+Q==", "dev": true, "license": "MIT", "dependencies": { @@ -146,16 +300,16 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.62.0", - "@typespec/compiler": "^1.6.0", - "@typespec/events": "^0.76.0", - "@typespec/http": "^1.6.0", - "@typespec/openapi": "^1.6.0", - "@typespec/rest": "^0.76.0", - "@typespec/sse": "^0.76.0", - "@typespec/streams": "^0.76.0", - "@typespec/versioning": "^0.76.0", - "@typespec/xml": "^0.76.0" + "@azure-tools/typespec-azure-core": "^0.63.0", + "@typespec/compiler": "^1.7.0", + "@typespec/events": "^0.77.0", + "@typespec/http": "^1.7.0", + "@typespec/openapi": "^1.7.0", + "@typespec/rest": "^0.77.0", + "@typespec/sse": "^0.77.0", + "@typespec/streams": "^0.77.0", + "@typespec/versioning": "^0.77.0", + "@typespec/xml": "^0.77.0" } }, "node_modules/@azure/abort-controller": { @@ -974,21 +1128,30 @@ "@shikijs/vscode-textmate": "^10.0.2" } }, + "node_modules/@inquirer/ansi": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.2.tgz", + "integrity": "sha512-SYLX05PwJVnW+WVegZt1T4Ip1qba1ik+pNJPDiqvk6zS5Y/i8PhRzLpGEtVd7sW0G8cMtkD8t4AZYhQwm8vnww==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + } + }, "node_modules/@inquirer/checkbox": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.2.0.tgz", - "integrity": "sha512-fdSw07FLJEU5vbpOPzXo5c6xmMGDzbZE2+niuDHX5N6mc6V0Ebso/q3xiHra4D73+PMsC8MJmcaZKuAAoaQsSA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.0.2.tgz", + "integrity": "sha512-iTPV4tMMct7iOpwer5qmTP7gjnk1VQJjsNfAaC2b8Q3qiuHM3K2yjjDr5u1MKfkrvp2JD4Flf8sIPpF21pmZmw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/figures": "^1.0.13", - "@inquirer/type": "^3.0.8", - "ansi-escapes": "^4.3.2", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/ansi": "^2.0.2", + "@inquirer/core": "^11.0.2", + "@inquirer/figures": "^2.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1000,17 +1163,17 @@ } }, "node_modules/@inquirer/confirm": { - "version": "5.1.14", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.14.tgz", - "integrity": "sha512-5yR4IBfe0kXe59r1YCTG8WXkUbl7Z35HK87Sw+WUyGD8wNUx7JvY7laahzeytyE1oLn74bQnL7hstctQxisQ8Q==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.0.2.tgz", + "integrity": "sha512-A0/13Wyi+8iFeNDX6D4zZYKPoBLIEbE4K/219qHcnpXMer2weWvaTo63+2c7mQPPA206DEMSYVOPnEw3meOlCw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1022,23 +1185,22 @@ } }, "node_modules/@inquirer/core": { - "version": "10.1.15", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.15.tgz", - "integrity": "sha512-8xrp836RZvKkpNbVvgWUlxjT4CraKk2q+I3Ksy+seI2zkcE+y6wNs1BVhgcv8VyImFecUhdQrYLdW32pAjwBdA==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.0.2.tgz", + "integrity": "sha512-lgMRx/n02ciiNELBvFLHtmcjbV5tf5D/I0UYfCg2YbTZWmBZ10/niLd3IjWBxz8LtM27xP+4oLEa06Slmb7p7A==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/figures": "^1.0.13", - "@inquirer/type": "^3.0.8", - "ansi-escapes": "^4.3.2", + "@inquirer/ansi": "^2.0.2", + "@inquirer/figures": "^2.0.2", + "@inquirer/type": "^4.0.2", "cli-width": "^4.1.0", - "mute-stream": "^2.0.0", + "mute-stream": "^3.0.0", "signal-exit": "^4.1.0", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.2" + "wrap-ansi": "^9.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1050,18 +1212,18 @@ } }, "node_modules/@inquirer/editor": { - "version": "4.2.15", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.15.tgz", - "integrity": "sha512-wst31XT8DnGOSS4nNJDIklGKnf+8shuauVrWzgKegWUe28zfCftcWZ2vktGdzJgcylWSS2SrDnYUb6alZcwnCQ==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.0.2.tgz", + "integrity": "sha512-pXQ4Nf0qmFcJuYB6NlcIIxH6l6zKOwNg1Jh/ZRdKd2dTqBB4OXKUFbFwR2K4LVXVtq15ZFFatBVT+rerYR8hWQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8", - "external-editor": "^3.1.0" + "@inquirer/core": "^11.0.2", + "@inquirer/external-editor": "^2.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1073,18 +1235,39 @@ } }, "node_modules/@inquirer/expand": { - "version": "4.0.17", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.17.tgz", - "integrity": "sha512-PSqy9VmJx/VbE3CT453yOfNa+PykpKg/0SYP7odez1/NWBGuDXgPhp4AeGYYKjhLn5lUUavVS/JbeYMPdH50Mw==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.0.2.tgz", + "integrity": "sha512-siFG1swxfjFIOxIcehtZkh+KUNB/YCpyfHNEGu+nC/SBXIbgUWibvThLn/WesSxLRGOeSKdNKoTm+GQCKFm6Ww==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/external-editor": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-2.0.2.tgz", + "integrity": "sha512-X/fMXK7vXomRWEex1j8mnj7s1mpnTeP4CO/h2gysJhHLT2WjBnLv4ZQEGpm/kcYI8QfLZ2fgW+9kTKD+jeopLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^2.1.1", + "iconv-lite": "^0.7.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1095,28 +1278,45 @@ } } }, + "node_modules/@inquirer/external-editor/node_modules/iconv-lite": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz", + "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/@inquirer/figures": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.13.tgz", - "integrity": "sha512-lGPVU3yO9ZNqA7vTYz26jny41lE7yoQansmqdMLBEfqaGsmdg7V3W9mK9Pvb5IL4EVZ9GnSDGMO/cJXud5dMaw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.2.tgz", + "integrity": "sha512-qXm6EVvQx/FmnSrCWCIGtMHwqeLgxABP8XgcaAoywsL0NFga9gD5kfG0gXiv80GjK9Hsoz4pgGwF/+CjygyV9A==", "dev": true, "license": "MIT", "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, "node_modules/@inquirer/input": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.2.1.tgz", - "integrity": "sha512-tVC+O1rBl0lJpoUZv4xY+WGWY8V5b0zxU1XDsMsIHYregdh7bN5X5QnIONNBAl0K765FYlAfNHS2Bhn7SSOVow==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.0.2.tgz", + "integrity": "sha512-hN2YRo1QiEc9lD3mK+CPnTS4TK2RhCMmMmP4nCWwTkmQL2vx9jPJWYk+rbUZpwR1D583ZJk1FI3i9JZXIpi/qg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1128,17 +1328,17 @@ } }, "node_modules/@inquirer/number": { - "version": "3.0.17", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.17.tgz", - "integrity": "sha512-GcvGHkyIgfZgVnnimURdOueMk0CztycfC8NZTiIY9arIAkeOgt6zG57G+7vC59Jns3UX27LMkPKnKWAOF5xEYg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.0.2.tgz", + "integrity": "sha512-4McnjTSYrlthNW1ojkkmP75WLRYhQs7GXm6pDDoIrHqJuV5uUYwfdbB0geHdaKMarAqJQgoOVjzIT0jdWCsKew==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1150,18 +1350,18 @@ } }, "node_modules/@inquirer/password": { - "version": "4.0.17", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.17.tgz", - "integrity": "sha512-DJolTnNeZ00E1+1TW+8614F7rOJJCM4y4BAGQ3Gq6kQIG+OJ4zr3GLjIjVVJCbKsk2jmkmv6v2kQuN/vriHdZA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.0.2.tgz", + "integrity": "sha512-oSDziMKiw4G2e4zS+0JRfxuPFFGh6N/9yUaluMgEHp2/Yyj2JGwfDO7XbwtOrxVrz+XsP/iaGyWXdQb9d8A0+g==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8", - "ansi-escapes": "^4.3.2" + "@inquirer/ansi": "^2.0.2", + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1173,25 +1373,25 @@ } }, "node_modules/@inquirer/prompts": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.7.1.tgz", - "integrity": "sha512-XDxPrEWeWUBy8scAXzXuFY45r/q49R0g72bUzgQXZ1DY/xEFX+ESDMkTQolcb5jRBzaNJX2W8XQl6krMNDTjaA==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.0.2.tgz", + "integrity": "sha512-2zK5zY48fZcl6+gG4eqOC/UzZsJckHCRvjXoLuW4D8LKOCVGdcJiSKkLnumSZjR/6PXPINDGOrGHqNxb+sxJDg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^4.2.0", - "@inquirer/confirm": "^5.1.14", - "@inquirer/editor": "^4.2.15", - "@inquirer/expand": "^4.0.17", - "@inquirer/input": "^4.2.1", - "@inquirer/number": "^3.0.17", - "@inquirer/password": "^4.0.17", - "@inquirer/rawlist": "^4.1.5", - "@inquirer/search": "^3.0.17", - "@inquirer/select": "^4.3.1" + "@inquirer/checkbox": "^5.0.2", + "@inquirer/confirm": "^6.0.2", + "@inquirer/editor": "^5.0.2", + "@inquirer/expand": "^5.0.2", + "@inquirer/input": "^5.0.2", + "@inquirer/number": "^4.0.2", + "@inquirer/password": "^5.0.2", + "@inquirer/rawlist": "^5.0.2", + "@inquirer/search": "^4.0.2", + "@inquirer/select": "^5.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1203,18 +1403,17 @@ } }, "node_modules/@inquirer/rawlist": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.5.tgz", - "integrity": "sha512-R5qMyGJqtDdi4Ht521iAkNqyB6p2UPuZUbMifakg1sWtu24gc2Z8CJuw8rP081OckNDMgtDCuLe42Q2Kr3BolA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.0.2.tgz", + "integrity": "sha512-AcNALEdQKUQDeJcpC1a3YC53m1MLv+sMUS+vRZ8Qigs1Yg3Dcdtmi82rscJplogKOY8CXkKW4wvVwHS2ZjCIBQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1226,19 +1425,18 @@ } }, "node_modules/@inquirer/search": { - "version": "3.0.17", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.17.tgz", - "integrity": "sha512-CuBU4BAGFqRYors4TNCYzy9X3DpKtgIW4Boi0WNkm4Ei1hvY9acxKdBdyqzqBCEe4YxSdaQQsasJlFlUJNgojw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.0.2.tgz", + "integrity": "sha512-hg63w5toohdzE65S3LiGhdfIL0kT+yisbZARf7zw65PvyMUTutTN3eMAvD/B6y/25z88vTrB7kSB45Vz5CbrXg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/figures": "^1.0.13", - "@inquirer/type": "^3.0.8", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/core": "^11.0.2", + "@inquirer/figures": "^2.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1250,20 +1448,19 @@ } }, "node_modules/@inquirer/select": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.3.1.tgz", - "integrity": "sha512-Gfl/5sqOF5vS/LIrSndFgOh7jgoe0UXEizDqahFRkq5aJBLegZ6WjuMh/hVEJwlFQjyLq1z9fRtvUMkb7jM1LA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.0.2.tgz", + "integrity": "sha512-JygTohvQxSNnvt7IKANVlg/eds+yN5sLRilYeGc4ri/9Aqi/2QPoXBMV5Cz/L1VtQv63SnTbPXJZeCK2pSwsOA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.15", - "@inquirer/figures": "^1.0.13", - "@inquirer/type": "^3.0.8", - "ansi-escapes": "^4.3.2", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/ansi": "^2.0.2", + "@inquirer/core": "^11.0.2", + "@inquirer/figures": "^2.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1275,13 +1472,13 @@ } }, "node_modules/@inquirer/type": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.8.tgz", - "integrity": "sha512-lg9Whz8onIHRthWaN1Q9EGLa/0LFJjyM8mEUbL1eTi6yMGvBf8gvyDLtxSXztQsxMvhxxNpJYrwa1YHdq+w4Jw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.2.tgz", + "integrity": "sha512-cae7mzluplsjSdgFA6ACLygb5jC8alO0UUnFPyu0E7tNRPrL+q/f8VcSXp+cjZQ7l5CMpDpi2G1+IQvkOiL1Lw==", "dev": true, "license": "MIT", "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2066,7 +2263,6 @@ "integrity": "sha512-Fll2FZ1riMjNmlmJOdAyY5pUbkftXslB5DgEzlIuNaiWhXd00FhWxVC/r4yV/4wBb9JfImTu+jiSvXTkJ7F/gA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~6.20.0" } @@ -2079,32 +2275,31 @@ "license": "MIT" }, "node_modules/@typespec/asset-emitter": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/asset-emitter/-/asset-emitter-0.76.0.tgz", - "integrity": "sha512-+zXpntzHujfoVA7FiE3IIerM79fqo4BvT9E4PaeBybt2L6mNMxgWteE8j1ztNfDDMeOG4fkL2bv3+/ZD+DDP/Q==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/asset-emitter/-/asset-emitter-0.77.0.tgz", + "integrity": "sha512-OoeYP3UZ/taf46U6sEcb11VYmBlgpCn02mdHTIAM+suCjBZPBYV02pkeEvKyms4MtHMsg/GdEh7Tpl6cTwwsNg==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/compiler": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.6.0.tgz", - "integrity": "sha512-yxyV+ch8tnqiuU2gClv/mQEESoFwpkjo6177UkYfV0nVA9PzTg4zVVc7+WIMZk04wiLRRT3H1uc11FB1cwLY3g==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.7.0.tgz", + "integrity": "sha512-KE2t5I7u/33M/nsIxdng06FUPrqaGSbMsSEsv51eMwYnj3v1+Z3qTTX/dxHAXRXHcfadNlX/NtyAKju+pkMTFQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "~7.27.1", - "@inquirer/prompts": "^7.4.0", + "@inquirer/prompts": "^8.0.1", "ajv": "~8.17.1", "change-case": "~5.4.4", "env-paths": "^3.0.0", - "globby": "~15.0.0", + "globby": "~16.0.0", "is-unicode-supported": "^2.1.0", "mustache": "~4.2.0", "picocolors": "~1.1.1", @@ -2142,19 +2337,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@typespec/compiler/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/@typespec/compiler/node_modules/cliui": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", @@ -2177,6 +2359,27 @@ "dev": true, "license": "MIT" }, + "node_modules/@typespec/compiler/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.5", + "is-path-inside": "^4.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.4.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@typespec/compiler/node_modules/semver": { "version": "7.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", @@ -2208,22 +2411,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@typespec/compiler/node_modules/wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", + "node_modules/@typespec/compiler/node_modules/unicorn-magic": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.4.0.tgz", + "integrity": "sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==", "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@typespec/compiler/node_modules/yargs": { @@ -2255,9 +2453,9 @@ } }, "node_modules/@typespec/events": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.76.0.tgz", - "integrity": "sha512-mdjYQ5HA3Y4ZeyAEmiIDdRa9hbc/5qey5hU9UCA0gL+YWVYgoqLPbZQQTwqq3smM35+5cWp9GTGPyNHcOoRwOA==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.77.0.tgz", + "integrity": "sha512-NbOzi7axEt/xGgXaLjcGGV2HjQKNFjbvsQpCeDA6loUghZDK5+5ik/jwMumeUDunoBsAKF78ZxVF5qhQh56dGA==", "dev": true, "license": "MIT", "peer": true, @@ -2265,22 +2463,21 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/http": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.6.0.tgz", - "integrity": "sha512-q/JwVw21CF4buE3ZS+xSoy2TKAOwyhZ7g3kdNqCgm69BI5p5GGu+3ZlUA+4Blk8hkt0G8XcIN8fhJP+a4O6KAw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.7.0.tgz", + "integrity": "sha512-4cGkcMiob3bedWbFkRcq614TDH7WPEI3YMgrg44mBarj903arpEniAESIhNUbLQzQFFc5rOJagexQDl4agVDyA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/streams": "^0.76.0" + "@typespec/compiler": "^1.7.0", + "@typespec/streams": "^0.77.0" }, "peerDependenciesMeta": { "@typespec/streams": { @@ -2288,92 +2485,244 @@ } } }, - "node_modules/@typespec/http-specs": { - "version": "0.1.0-alpha.28", - "resolved": "https://registry.npmjs.org/@typespec/http-specs/-/http-specs-0.1.0-alpha.28.tgz", - "integrity": "sha512-JnJhj/ZkmzZ4g8pnCmyP4oQQt3UbAaTGw/6SAyT8ETG+uPmrS8xgJKaxcSU1Ihaher2WY8MQ6mu7F8V+CV4e5w==", + "node_modules/@typespec/http-specs": { + "version": "0.1.0-alpha.29", + "resolved": "https://registry.npmjs.org/@typespec/http-specs/-/http-specs-0.1.0-alpha.29.tgz", + "integrity": "sha512-SB/NhbTllJzJchcyASixr7i+m6InyY1VjhckKiofVgU9mnoOuZTr8BQG0yrOGzWxZkm93/doDFp7kZdHSbEJQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typespec/spec-api": "^0.1.0-alpha.11", + "@typespec/spector": "^0.1.0-alpha.21", + "deep-equal": "^2.2.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/rest": "^0.77.0", + "@typespec/versioning": "^0.77.0", + "@typespec/xml": "^0.77.0" + } + }, + "node_modules/@typespec/http-specs/node_modules/@typespec/spector": { + "version": "0.1.0-alpha.21", + "resolved": "https://registry.npmjs.org/@typespec/spector/-/spector-0.1.0-alpha.21.tgz", + "integrity": "sha512-oLtAs2/E+ee/OPeMZnRUxiuVjUeYaxi5R1KeFThAjLszp6M2rkCfeIdyj2RosGxiqWrmoEd9oCWO/fHwvGVZew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/identity": "~4.13.0", + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/rest": "^0.77.0", + "@typespec/spec-api": "^0.1.0-alpha.11", + "@typespec/spec-coverage-sdk": "^0.1.0-alpha.13", + "@typespec/versioning": "^0.77.0", + "ajv": "~8.17.1", + "body-parser": "^2.2.0", + "deep-equal": "^2.2.0", + "express": "^5.1.0", + "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.0", + "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" + } + }, + "node_modules/@typespec/http-specs/node_modules/cliui": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@typespec/http-specs/node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/@typespec/http-specs/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.5", + "is-path-inside": "^4.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.4.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@typespec/http-specs/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@typespec/http-specs/node_modules/unicorn-magic": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.4.0.tgz", + "integrity": "sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@typespec/http-specs/node_modules/yargs": { + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", + "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^9.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "string-width": "^7.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^22.0.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + }, + "node_modules/@typespec/http-specs/node_modules/yargs-parser": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", "dev": true, - "license": "MIT", - "dependencies": { - "@typespec/spec-api": "^0.1.0-alpha.10", - "@typespec/spector": "^0.1.0-alpha.20", - "deep-equal": "^2.2.0" - }, + "license": "ISC", "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0", - "@typespec/rest": "^0.76.0", - "@typespec/versioning": "^0.76.0", - "@typespec/xml": "^0.76.0" + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "node_modules/@typespec/json-schema": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/json-schema/-/json-schema-1.6.0.tgz", - "integrity": "sha512-Zf27bo/lfIhN4QhCQI//wnWXf/H+ETN5lE5k3IKIsnMUcS4GW+WlQNGZUEMYXEBd1t4J8VCSXppuuPepIQoh9Q==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/json-schema/-/json-schema-1.7.0.tgz", + "integrity": "sha512-patXNO5r8ly56LpR/IZtMvEa5w1l7RIOEagWRsmfCd5LxiwTAucEQNZr8tnUBXHAIaQ4MM//8gTrRJ5/HPql1A==", "dev": true, "license": "MIT", "dependencies": { - "@typespec/asset-emitter": "^0.76.0", + "@typespec/asset-emitter": "^0.77.0", "yaml": "~2.8.0" }, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/library-linter": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.76.0.tgz", - "integrity": "sha512-pdWQST0vLqIKIYHFt4lYJbLL9cNKrmSDUic50CLX+DW0MefKj3D+Ws/PTSY65TNgfoN1CNgGBeHLPWyv2uWHmw==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.77.0.tgz", + "integrity": "sha512-F9nMAUyc/kEde7tv9+Tx3RZw5AiAIwnidG9Usxl2EMccZuLfYqv+gFu39tNtae9rYqZd58BqFnr60ljTTE0nVA==", "dev": true, "license": "MIT", "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/openapi": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.6.0.tgz", - "integrity": "sha512-KuxYAzfP5ljM0PUhSGclNZgTG0H+kyTQcwn6cf4TKhO72R2QMQmiMtN2plqvzsfkL+TLwad1iZhMWTCAMFAQ4w==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.7.0.tgz", + "integrity": "sha512-tEAIgGnjLvOjbGAoCfkBudvpe/tXaOXkzy5nVFXs4921/jAaMTwzcJIt0bTXZpp5cExdlL7w9ZrnehARHiposQ==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0" + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0" } }, "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==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.77.0.tgz", + "integrity": "sha512-DEUMD9zYqUVUhKCGktV7Z+sFkzj+bcSpJRhEXxOrJxupWM4I3N4deMop+ulxezxlLxIRUz7ELc+6WucYXgOnAA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0" + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0" } }, "node_modules/@typespec/spec-api": { - "version": "0.1.0-alpha.10", - "resolved": "https://registry.npmjs.org/@typespec/spec-api/-/spec-api-0.1.0-alpha.10.tgz", - "integrity": "sha512-LvwlhMnwqzCjmwOPuoE1jPfK+474qmo29Jq4Da2FZkjZbDsbyWuU4FRptRMhjsNj3ITMz/VulShXq4eXz4VroQ==", + "version": "0.1.0-alpha.11", + "resolved": "https://registry.npmjs.org/@typespec/spec-api/-/spec-api-0.1.0-alpha.11.tgz", + "integrity": "sha512-qNQ8Oc7ha9MzRMfcF4djRaxa7gmM9CUetNeZIVJO4PZDIe9Rb/HMX9C3LP0f5LiiYkE8KvA/jLAR4FSYqp0onA==", "dev": true, "license": "MIT", "dependencies": { @@ -2386,24 +2735,24 @@ } }, "node_modules/@typespec/spec-coverage-sdk": { - "version": "0.1.0-alpha.12", - "resolved": "https://registry.npmjs.org/@typespec/spec-coverage-sdk/-/spec-coverage-sdk-0.1.0-alpha.12.tgz", - "integrity": "sha512-eqzNQ+bZn25SP8GZyf6qgCwXL1U5/OF5AvKFl7AlYfSSuB0ybeWaDQ14jZzl5gnFXY8lCc8P0ycK1HjtwdGyqw==", + "version": "0.1.0-alpha.13", + "resolved": "https://registry.npmjs.org/@typespec/spec-coverage-sdk/-/spec-coverage-sdk-0.1.0-alpha.13.tgz", + "integrity": "sha512-GpCWrbcMQis+utHukdWdY85lNeQX89OBYiBovOxCGO5DmUmqnPQWzHZIggoAQ6fuSlC+tZoWAbY5hygN1QzPPA==", "dev": true, "license": "MIT", "dependencies": { "@azure/identity": "~4.13.0", "@azure/storage-blob": "~12.29.1", - "@types/node": "~24.9.1" + "@types/node": "~24.10.1" }, "engines": { "node": ">=16.0.0" } }, "node_modules/@typespec/spec-coverage-sdk/node_modules/@types/node": { - "version": "24.9.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.2.tgz", - "integrity": "sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA==", + "version": "24.10.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.3.tgz", + "integrity": "sha512-gqkrWUsS8hcm0r44yn7/xZeV1ERva/nLgrLxFRUGb7aoNMIJfZJ3AC261zDQuOAKC7MiXai1WCpYc48jAHoShQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2453,6 +2802,33 @@ "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", @@ -2470,19 +2846,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@typespec/spector/node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/@typespec/spector/node_modules/cliui": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", @@ -2523,24 +2886,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@typespec/spector/node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/@typespec/spector/node_modules/yargs": { "version": "18.0.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", @@ -2570,9 +2915,9 @@ } }, "node_modules/@typespec/sse": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.76.0.tgz", - "integrity": "sha512-mCd4oAXr0Tt990T2PDjx+6H0jmPHINyCH0XRU2HrWtGW5lG/NQVIs5oOxElc7NGg629HrolfLTw0oW8hdMD7Eg==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.77.0.tgz", + "integrity": "sha512-rVML/sPNj+MomKXftko/eUNM5OhHlIevoit3Dbtaf1aWS5pcJ5jKX05Prz53VIyeUP7ra5ocmPE/iIEPb8ZbCA==", "dev": true, "license": "MIT", "peer": true, @@ -2580,24 +2925,23 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/events": "^0.76.0", - "@typespec/http": "^1.6.0", - "@typespec/streams": "^0.76.0" + "@typespec/compiler": "^1.7.0", + "@typespec/events": "^0.77.0", + "@typespec/http": "^1.7.0", + "@typespec/streams": "^0.77.0" } }, "node_modules/@typespec/streams": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.76.0.tgz", - "integrity": "sha512-7gQPtsokyn0Mjr43MAik6ZkQt1PZjseU+KcBE2iGT9P6oWYYTH3K1C4LLGXHZAbgEtBvFn4S+U8HPbDhj4nEhw==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.77.0.tgz", + "integrity": "sha512-qqfJW4n19Jgi5FxQhsEgoIc5zD9o47AAoZxLKUX91z6aB/YWrLSTrrrIAvhNCESXuB89zlJPwlZ/j4YmpxZ/jw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/ts-http-runtime": { @@ -2644,19 +2988,6 @@ "node": ">=20.0.0" } }, - "node_modules/@typespec/tspd/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/@typespec/tspd/node_modules/cliui": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", @@ -2697,24 +3028,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@typespec/tspd/node_modules/wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/@typespec/tspd/node_modules/yargs": { "version": "18.0.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", @@ -2744,31 +3057,29 @@ } }, "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==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.77.0.tgz", + "integrity": "sha512-eAInPZYPkxpBUS8IKQfNZ5eZsLfkWqEX0d6YM/AfooGYbxcKdHQBfYOWBvRC4NkKEMub4ROaD5GcPLYTyWQIWw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/xml": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.76.0.tgz", - "integrity": "sha512-+I7hdWZDO3qBfzRT3St+1Dg/NQAMNLz8w1OydutSnVMx0G3KWg/ESonaByszBUfdq6Z5iTtls3gvj4wgrw80gA==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.77.0.tgz", + "integrity": "sha512-DNVAOMaRUPGpLEsqf3sn7UAWuAE1rs8Jf1FIAU7DF/sVmzeXs4OBanxSSsVmbcdfPRHPbjPuRnW6e+QS2Sjk3Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@vitest/coverage-v8": { @@ -2884,7 +3195,6 @@ "integrity": "sha512-hGISOaP18plkzbWEcP/QvtRW1xDXF2+96HbEX6byqQhAUbiS5oH6/9JwW+QsQCIYON2bI6QZBF+2PvOmrRZ9wA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@vitest/utils": "3.2.4", "fflate": "^0.8.2", @@ -2963,7 +3273,6 @@ "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -3008,22 +3317,6 @@ } } }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ansi-regex": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", @@ -3375,9 +3668,9 @@ "license": "MIT" }, "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.1.tgz", + "integrity": "sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==", "dev": true, "license": "MIT" }, @@ -4026,34 +4319,6 @@ "url": "https://opencollective.com/express" } }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dev": true, - "license": "MIT", - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/external-editor/node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -4887,6 +5152,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-path-inside": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-4.0.0.tgz", + "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-promise": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", @@ -5702,13 +5980,13 @@ } }, "node_modules/mute-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", - "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", "dev": true, "license": "ISC", "engines": { - "node": "^18.17.0 || >=20.5.0" + "node": "^20.17.0 || >=22.9.0" } }, "node_modules/nanoid": { @@ -5863,16 +6141,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -7218,19 +7486,6 @@ "node": ">=14.0.0" } }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -7271,19 +7526,6 @@ "dev": true, "license": "0BSD" }, - "node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/type-is": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz", @@ -7375,7 +7617,6 @@ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -7506,14 +7747,6 @@ "url": "https://opencollective.com/vitest" } }, - "node_modules/vite-node/node_modules/undici-types": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz", - "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==", - "dev": true, - "license": "MIT", - "optional": true - }, "node_modules/vite-node/node_modules/vite": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/vite/-/vite-7.0.6.tgz", @@ -7595,7 +7828,6 @@ "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", @@ -7696,7 +7928,6 @@ "integrity": "sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.6", @@ -7909,18 +8140,21 @@ } }, "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=8" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, "node_modules/wrap-ansi-cjs": { @@ -7965,27 +8199,42 @@ "node": ">=8" } }, - "node_modules/wrap-ansi/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==", + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/wrap-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==", + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^5.0.1" + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=8" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/wrappy": { @@ -8119,19 +8368,6 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } - }, - "node_modules/yoctocolors-cjs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", - "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } } } } diff --git a/packages/http-client-csharp/package.json b/packages/http-client-csharp/package.json index 1e4bdb28e0c..dc0ac6c0245 100644 --- a/packages/http-client-csharp/package.json +++ b/packages/http-client-csharp/package.json @@ -52,31 +52,31 @@ "emitter/lib/*.tsp" ], "peerDependencies": { - "@azure-tools/typespec-client-generator-core": ">=0.62.0 < 0.63.0 || ~0.63.0-0", - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0", - "@typespec/openapi": "^1.6.0", - "@typespec/rest": ">=0.76.0 <0.77.0 || ~0.77.0-0", - "@typespec/streams": ">=0.76.0 <0.77.0 || ~0.77.0-0", - "@typespec/versioning": ">=0.76.0 <0.77.0 || ~0.77.0-0" + "@azure-tools/typespec-client-generator-core": ">=0.63.0 < 0.64.0 || ~0.64.0-0", + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/openapi": "^1.7.0", + "@typespec/rest": ">=0.77.0 <0.78.0 || ~0.78.0-0", + "@typespec/streams": ">=0.77.0 <0.78.0 || ~0.78.0-0", + "@typespec/versioning": ">=0.77.0 <0.78.0 || ~0.78.0-0" }, "devDependencies": { - "@azure-tools/azure-http-specs": "0.1.0-alpha.32", - "@azure-tools/typespec-client-generator-core": "0.62.0", + "@azure-tools/azure-http-specs": "0.1.0-alpha.33", + "@azure-tools/typespec-client-generator-core": "0.63.0", "@microsoft/api-extractor": "^7.52.2", "@types/node": "~22.12.0", - "@typespec/compiler": "1.6.0", - "@typespec/http": "1.6.0", - "@typespec/http-specs": "0.1.0-alpha.28", - "@typespec/json-schema": "1.6.0", - "@typespec/library-linter": "0.76.0", - "@typespec/openapi": "1.6.0", - "@typespec/rest": "0.76.0", + "@typespec/compiler": "1.7.0", + "@typespec/http": "1.7.0", + "@typespec/http-specs": "0.1.0-alpha.29", + "@typespec/json-schema": "1.7.0", + "@typespec/library-linter": "0.77.0", + "@typespec/openapi": "1.7.0", + "@typespec/rest": "0.77.0", "@typespec/spector": "0.1.0-alpha.20", - "@typespec/streams": "0.76.0", + "@typespec/streams": "0.77.0", "@typespec/tspd": "0.73.1", - "@typespec/versioning": "0.76.0", - "@typespec/xml": "0.76.0", + "@typespec/versioning": "0.77.0", + "@typespec/xml": "0.77.0", "@vitest/coverage-v8": "^3.0.5", "@vitest/ui": "^3.0.5", "c8": "^10.1.2",