@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20260210.2 → 1.0.0-alpha.20260210.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20260210.2": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20260210.4": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.51.1",
12
12
  "Azure.Generator": "1.0.0-alpha.20260131.1",
@@ -693,7 +693,7 @@
693
693
  }
694
694
  },
695
695
  "libraries": {
696
- "Azure.Generator.Management/1.0.0-alpha.20260210.2": {
696
+ "Azure.Generator.Management/1.0.0-alpha.20260210.4": {
697
697
  "type": "project",
698
698
  "serviceable": false,
699
699
  "sha512": ""
@@ -80,6 +80,9 @@
80
80
  <member name="M:Azure.Generator.Management.ManagementTypeFactory.CreateModelCore(Microsoft.TypeSpec.Generator.Input.InputModelType)">
81
81
  <inheritdoc/>
82
82
  </member>
83
+ <member name="M:Azure.Generator.Management.ManagementTypeFactory.CreateEnumCore(Microsoft.TypeSpec.Generator.Input.InputEnumType,Microsoft.TypeSpec.Generator.Providers.TypeProvider)">
84
+ <inheritdoc/>
85
+ </member>
83
86
  <member name="M:Azure.Generator.Management.ManagementTypeFactory.SerializeJsonValue(Microsoft.TypeSpec.Generator.Primitives.CSharpType,Microsoft.TypeSpec.Generator.Expressions.ValueExpression,Microsoft.TypeSpec.Generator.Snippets.ScopedApi{System.Text.Json.Utf8JsonWriter},Microsoft.TypeSpec.Generator.Snippets.ScopedApi{System.ClientModel.Primitives.ModelReaderWriterOptions},Microsoft.TypeSpec.Generator.Input.SerializationFormat)">
84
87
  <inheritdoc/>
85
88
  </member>
@@ -512,6 +515,12 @@
512
515
  <param name="resourceName">The PascalCase resource name.</param>
513
516
  <returns>The collection method name.</returns>
514
517
  </member>
518
+ <member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.TryGetFlattenedModelType(Microsoft.TypeSpec.Generator.Primitives.CSharpType,System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.List{Azure.Generator.Management.Visitors.FlattenPropertyVisitor.FlattenPropertyInfo}}@)">
519
+ <summary>
520
+ Looks up the flattened model type map for the given type, also checking base types
521
+ when the type itself has no entry (handles inherited flattened properties).
522
+ </summary>
523
+ </member>
515
524
  <member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.CollectNestedFlattenedProperties(Microsoft.TypeSpec.Generator.Providers.PropertyProvider,System.Collections.Generic.List{Azure.Generator.Management.Visitors.FlattenPropertyVisitor.FlattenPropertyInfo})">
516
525
  <summary>
517
526
  Recursively collects all nested flattened properties for a given internal property.
@@ -44,7 +44,7 @@ namespace Azure.Core
44
44
  public override void OnSendingRequest(HttpMessage message)
45
45
  {
46
46
  base.OnSendingRequest(message);
47
- message.Request.Headers.SetValue(_name, _prefix != null ? $"{_prefix} {_credential.Key}" : _credential.Key);
47
+ message.Request.Headers.SetValue(_name, _prefix != null ? $"{_prefix} {_credential.Key}" : _credential.Key);
48
48
  }
49
49
  }
50
50
  }
@@ -4,8 +4,8 @@
4
4
 
5
5
  using System;
6
6
  using System.Collections.Generic;
7
- using System.Text;
8
7
  using System.Linq;
8
+ using System.Text;
9
9
 
10
10
  namespace Azure.Core;
11
11
 
@@ -10,7 +10,7 @@ using System.Linq;
10
10
 
11
11
  namespace Azure.Core
12
12
  {
13
- internal class RawRequestUriBuilder: RequestUriBuilder
13
+ internal class RawRequestUriBuilder : RequestUriBuilder
14
14
  {
15
15
  private const string SchemeSeparator = "://";
16
16
  private const char HostSeparator = '/';
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20260210.2": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20260210.4": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.51.1",
12
12
  "Azure.Generator": "1.0.0-alpha.20260131.1",
@@ -693,7 +693,7 @@
693
693
  }
694
694
  },
695
695
  "libraries": {
696
- "Azure.Generator.Management/1.0.0-alpha.20260210.2": {
696
+ "Azure.Generator.Management/1.0.0-alpha.20260210.4": {
697
697
  "type": "project",
698
698
  "serviceable": false,
699
699
  "sha512": ""
@@ -80,6 +80,9 @@
80
80
  <member name="M:Azure.Generator.Management.ManagementTypeFactory.CreateModelCore(Microsoft.TypeSpec.Generator.Input.InputModelType)">
81
81
  <inheritdoc/>
82
82
  </member>
83
+ <member name="M:Azure.Generator.Management.ManagementTypeFactory.CreateEnumCore(Microsoft.TypeSpec.Generator.Input.InputEnumType,Microsoft.TypeSpec.Generator.Providers.TypeProvider)">
84
+ <inheritdoc/>
85
+ </member>
83
86
  <member name="M:Azure.Generator.Management.ManagementTypeFactory.SerializeJsonValue(Microsoft.TypeSpec.Generator.Primitives.CSharpType,Microsoft.TypeSpec.Generator.Expressions.ValueExpression,Microsoft.TypeSpec.Generator.Snippets.ScopedApi{System.Text.Json.Utf8JsonWriter},Microsoft.TypeSpec.Generator.Snippets.ScopedApi{System.ClientModel.Primitives.ModelReaderWriterOptions},Microsoft.TypeSpec.Generator.Input.SerializationFormat)">
84
87
  <inheritdoc/>
85
88
  </member>
@@ -512,6 +515,12 @@
512
515
  <param name="resourceName">The PascalCase resource name.</param>
513
516
  <returns>The collection method name.</returns>
514
517
  </member>
518
+ <member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.TryGetFlattenedModelType(Microsoft.TypeSpec.Generator.Primitives.CSharpType,System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.List{Azure.Generator.Management.Visitors.FlattenPropertyVisitor.FlattenPropertyInfo}}@)">
519
+ <summary>
520
+ Looks up the flattened model type map for the given type, also checking base types
521
+ when the type itself has no entry (handles inherited flattened properties).
522
+ </summary>
523
+ </member>
515
524
  <member name="M:Azure.Generator.Management.Visitors.FlattenPropertyVisitor.CollectNestedFlattenedProperties(Microsoft.TypeSpec.Generator.Providers.PropertyProvider,System.Collections.Generic.List{Azure.Generator.Management.Visitors.FlattenPropertyVisitor.FlattenPropertyInfo})">
516
525
  <summary>
517
526
  Recursively collects all nested flattened properties for a given internal property.
@@ -44,7 +44,7 @@ namespace Azure.Core
44
44
  public override void OnSendingRequest(HttpMessage message)
45
45
  {
46
46
  base.OnSendingRequest(message);
47
- message.Request.Headers.SetValue(_name, _prefix != null ? $"{_prefix} {_credential.Key}" : _credential.Key);
47
+ message.Request.Headers.SetValue(_name, _prefix != null ? $"{_prefix} {_credential.Key}" : _credential.Key);
48
48
  }
49
49
  }
50
50
  }
@@ -4,8 +4,8 @@
4
4
 
5
5
  using System;
6
6
  using System.Collections.Generic;
7
- using System.Text;
8
7
  using System.Linq;
8
+ using System.Text;
9
9
 
10
10
  namespace Azure.Core;
11
11
 
@@ -10,7 +10,7 @@ using System.Linq;
10
10
 
11
11
  namespace Azure.Core
12
12
  {
13
- internal class RawRequestUriBuilder: RequestUriBuilder
13
+ internal class RawRequestUriBuilder : RequestUriBuilder
14
14
  {
15
15
  private const string SchemeSeparator = "://";
16
16
  private const char HostSeparator = '/';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-typespec/http-client-csharp-mgmt",
3
- "version": "1.0.0-alpha.20260210.2",
3
+ "version": "1.0.0-alpha.20260210.4",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting Azure management libraries for C#.",
6
6
  "readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp-mgmt/README.md",