Bruce Johnston

Results issues of Bruce Johnston

Given this Swagger: ``` "DataChangeDetectionPolicy": { "discriminator": "@odata.type", "properties": { "@odata.type": { "type": "string" } }, "required": [ "@odata.type" ] }, "SqlIntegratedChangeTrackingPolicy": { "allOf": [ { "$ref": "#/definitions/DataChangeDetectionPolicy" } ]...

I’m trying to use the `x-ms-parameter-grouping` extension and I’ve run into a problem. The scenario is that I’d like to add a new optional parameter to every one of my...

Given Swagger for an operation that includes a header parameter marked with the custom `x-ms-client-request-id` extension, AutoRest generates C# code like this: ``` // Set Headers httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", Guid.NewGuid().ToString()); if (this.Client.AcceptLanguage...

It would be handy to be able to mark string properties in the Swagger with "format": "uuid" and have AutoRest map it to type System.Guid in the generated C# code...

Our API is OData V4 compliant, which requires that PUT requests by default return an empty response and HTTP 204, unless you specify "return=representation" for the "Prefer" header. The pattern...

Returning bool? is inconvenient for the caller. HEAD will always tell you precisely whether a resource exists or not, so there is no reason for the return type of the...

AutoRest currently generates properties of type `DateTime?` instead of `DateTimeOffset?`. This results in the loss of time zone information. It looks like the place to fix this is in `CSharpCodeNamer.NormalizePrimaryType`.

A common scenario for using `RequestId` is customer support. If a customer has an issue using a client library, they can send the request ID of the response to support,...

Sometimes read-only properties (i.e. -- properties that are only ever in a response body) are guaranteed by the REST API to never be null. When these properties map to value...

The generated C# code for an operation currently includes a block like this for deserializing the response: ``` // Deserialize Response if ((int)statusCode == 200) { try { string responseContent...

help wanted