Bruce Johnston

Results issues of Bruce Johnston

In the Search SDK, we end up writing a custom 'Exists' method for every resource that looks something like this (note that this example is not based on AutoRest-generated code...

The word "regenerated" is missing from the end of the header comment in generated C# files: ``` // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT...

Sometimes the names we use in the REST API are not really ideal for the client libraries. Consider the case of Boolean properties. In .NET client libraries, the convention is...

The [Swagger spec for Schema Object](http://swagger.io/specification/#schemaObject) says this about `discriminator` (emphasis mine): > Adds support for polymorphism. The discriminator is the schema property name that is used to differentiate between...

See related issue in the pre-AutoRest Search SDK: https://github.com/Azure/azure-sdk-for-net/issues/1438 `JsonConvert` has a static `DefaultSettings` property. Unfortunately, even if you pass your own `JsonSerializerSettings` to `SerializeObject`/`DeserializeObject`, they do not completely replace...

Consider an operation like this one that creates or updates a resource via HTTP PUT (omitting some parts of the Swagger for clarity): ``` "/indexes('{indexName}')": { "put": { "operationId": "Indexes_CreateOrUpdate",...

help wanted

AutoRest generates the following constructors in C# (using Azure Search's SearchServiceClient as an example): ``` public SearchServiceClient() public SearchServiceClient(params DelegatingHandler[] handlers) public SearchServiceClient(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) public SearchServiceClient(Uri baseUri,...

@matthchr: Thanks for [your PR](https://github.com/Azure/autorest/pull/369) to add duration support to AutoRest! There is one thing missing however. This code was added to the generic CSharp template: ``` Converters = new...

The generated code for Ruby doesn't consult the model's "discriminator" property to determine the name of the polymorphic discriminator property. Instead, it hard-codes "dtype". You can repro this by modifying...

Ruby

Given this Swagger: ``` "ScoringFunction": { "discriminator": "type", "properties": { "type": { "type": "string" }, "fieldName": { "type": "string" }, "boost": { "type": "number", "format": "double" }, "interpolation": { "$ref":...