autorest icon indicating copy to clipboard operation
autorest copied to clipboard

C# generator emits some empty classes

Open bitsforthought opened this issue 10 years ago • 0 comments

There appears to be an empty static extensions class for each client:

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
// 
// Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Search
{
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Threading;
    using System.Threading.Tasks;
    using Microsoft.Rest;
    using Microsoft.Rest.Azure;
    using Models;

    public static partial class SearchIndexClientExtensions
    {
    }
}

This shouldn't be generated since it creates unnecessary cruft in the public API surface that shows up in MSDN docs, for example.

bitsforthought avatar Jan 21 '16 16:01 bitsforthought