Skip to content

Commit cfa264c

Browse files
authored
[Synapse] Bump Swagger for nullability and naming fix (#17885)
- Pick up Azure/azure-rest-api-specs#12258 and Azure/azure-rest-api-specs#12390
1 parent 9360362 commit cfa264c

File tree

13 files changed

+22
-21
lines changed

13 files changed

+22
-21
lines changed

sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `dotnet build /t:GenerateCode` to generate code.
66
> see https://aka.ms/autorest
77
88
```yaml
9-
repo: https://github.com/Azure/azure-rest-api-specs/blob/ca0ac888f84b97feaef05fad6632f41ef1a399e6
9+
repo: https://github.com/Azure/azure-rest-api-specs/blob/8a09ea0b84aa36cb0e56bab4f4c8efd83a6fdcf6
1010
```
1111
1212
``` yaml

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `dotnet build /t:GenerateCode` to generate code.
66
> see https://aka.ms/autorest
77
88
```yaml
9-
repo: https://github.com/Azure/azure-rest-api-specs/tree/ca0ac888f84b97feaef05fad6632f41ef1a399e6
9+
repo: https://github.com/Azure/azure-rest-api-specs/tree/8a09ea0b84aa36cb0e56bab4f4c8efd83a6fdcf6
1010
```
1111
1212
``` yaml

sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `dotnet msbuild /t:GenerateCode` to generate code.
66
> see https://aka.ms/autorest
77
88
```yaml
9-
repo: https://github.com/Azure/azure-rest-api-specs/blob/ca0ac888f84b97feaef05fad6632f41ef1a399e6
9+
repo: https://github.com/Azure/azure-rest-api-specs/blob/8a09ea0b84aa36cb0e56bab4f4c8efd83a6fdcf6
1010
```
1111
1212
``` yaml

sdk/synapse/Azure.Analytics.Synapse.Monitoring/src/Generated/Models/SparkJobListViewResponse.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/synapse/Azure.Analytics.Synapse.Monitoring/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `dotnet msbuild /t:GenerateCode` to generate code.
66
> see https://aka.ms/autorest
77
88
```yaml
9-
repo: https://github.com/Azure/azure-rest-api-specs/tree/ca0ac888f84b97feaef05fad6632f41ef1a399e6
9+
repo: https://github.com/Azure/azure-rest-api-specs/tree/8a09ea0b84aa36cb0e56bab4f4c8efd83a6fdcf6
1010
```
1111
1212
``` yaml

sdk/synapse/Azure.Analytics.Synapse.Spark/api/Azure.Analytics.Synapse.Spark.netstandard2.0.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ internal SparkStatement() { }
387387
public partial class SparkStatementCancellationResult
388388
{
389389
internal SparkStatementCancellationResult() { }
390-
public string Msg { get { throw null; } }
390+
public string Message { get { throw null; } }
391391
}
392392
public partial class SparkStatementCollection
393393
{
@@ -401,8 +401,8 @@ internal SparkStatementCollection() { }
401401
private readonly object _dummy;
402402
private readonly int _dummyPrimitive;
403403
public SparkStatementLanguageType(string value) { throw null; }
404-
public static Azure.Analytics.Synapse.Spark.Models.SparkStatementLanguageType Dotnetspark { get { throw null; } }
405-
public static Azure.Analytics.Synapse.Spark.Models.SparkStatementLanguageType Pyspark { get { throw null; } }
404+
public static Azure.Analytics.Synapse.Spark.Models.SparkStatementLanguageType DotNetSpark { get { throw null; } }
405+
public static Azure.Analytics.Synapse.Spark.Models.SparkStatementLanguageType PySpark { get { throw null; } }
406406
public static Azure.Analytics.Synapse.Spark.Models.SparkStatementLanguageType Spark { get { throw null; } }
407407
public static Azure.Analytics.Synapse.Spark.Models.SparkStatementLanguageType Sql { get { throw null; } }
408408
public bool Equals(Azure.Analytics.Synapse.Spark.Models.SparkStatementLanguageType other) { throw null; }

sdk/synapse/Azure.Analytics.Synapse.Spark/samples/Sample2_ExecuteSparkStatement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ To cancel a submitted statement call `CancelSparkStatement`, passing in both the
8282

8383
```C# Snippet:CancelSparkStatement
8484
SparkStatementCancellationResult cancellationResult = client.CancelSparkStatement(sessionCreated.Id, statementCreated.Id);
85-
Debug.WriteLine($"Statement is cancelled with message {cancellationResult.Msg}");
85+
Debug.WriteLine($"Statement is cancelled with message {cancellationResult.Message}");
8686
```
8787

8888
## Cancel a session

sdk/synapse/Azure.Analytics.Synapse.Spark/samples/Sample2_ExecuteSparkStatementAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ To cancel a submitted statement call `CancelSparkStatement`, passing in both the
7272

7373
```C# Snippet:CancelSparkStatementAsync
7474
SparkStatementCancellationResult cancellationResult = client.CancelSparkStatement(sessionCreated.Id, statementCreated.Id);
75-
Debug.WriteLine($"Statement is cancelled with message {cancellationResult.Msg}");
75+
Debug.WriteLine($"Statement is cancelled with message {cancellationResult.Message}");
7676
```
7777

7878
## Cancel a session

sdk/synapse/Azure.Analytics.Synapse.Spark/src/Generated/Models/SparkStatementCancellationResult.cs

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/synapse/Azure.Analytics.Synapse.Spark/src/Generated/Models/SparkStatementLanguageType.cs

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)