Bruce Johnston
Bruce Johnston
As APIs mature, occasionally we decide to remove features. It would be really handy if we could declare our intent to deprecate things in the API spec and have AutoRest...
There are two common patterns for initializing `IList` properties: ``` csharp scoringProfile.Functions = new[] { new TagScoringFunction(), ... }; ``` and ``` csharp scoringProfile.Functions.Add(new TagScoringFunction()); ... ``` With AutoRest generated...
(This applies to C#; I haven't checked if it applies to other languages too.) Not all SDKs support long-running operations, but AutoRest includes the [LongRunningOperationRetryTimeout](https://msdn.microsoft.com/en-us/library/azure/microsoft.azure.search.searchindexclient.longrunningoperationretrytimeout.aspx#P:Microsoft.Azure.Search.SearchIndexClient.LongRunningOperationRetryTimeout) property in the generated `ServiceClient`...
Pre-AutoRest Azure SDKs (generated using Hyak) set `HttpClient.Timeout` to 300 seconds in the generated `ServiceClient`-derived class constructors. In AutoRest-generated code it is left unset, resulting in the lower default of...
Currently, AutoRest expects that all responses that aren't "default" in the Swagger spec are success cases. However, this makes it difficult to document error cases. For example, in order to...
Currently `ServiceClient`-derived classes generated by AutoRest implement two separate interfaces, `IAzureClient` which lives in `ClientRuntime.Azure`, and the generated interface that has the operation group properties. The problem with this is...
Currently AutoRest will generate `` links for model classes and properties, but not for operation methods.
In the following example, the `name` parameter is defined in the base class, but its documentation is missing from the derived class: ```csharp [Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.UniqueTokenFilter")] public partial class UniqueTokenFilter : TokenFilter...
A frequent piece of feedback I get when changing a Swagger spec is that I'm not documenting min/max length and regex rules for certain string properties such as resource names....
FYI @tbombach or anyone else who can help. A while back I created a `search-v2-preview` branch in the upstream `azure-rest-api-specs` repo for my team's feature development. We're no longer using...