using ErgastApi.Client.Attributes;
using ErgastApi.Responses;

namespace ErgastApi.Requests
{
    public class SeasonListRequest : StandardRequest<SeasonResponse>
    {
        // Value not used
        // ReSharper disable once UnassignedGetOnlyAutoProperty
        [UrlTerminator, UrlSegment("seasons")]
        protected object Seasons { get; }
    }
}
using ErgastApi.Client.Attributes;
using ErgastApi.Responses;

namespace ErgastApi.Requests
{
    public class SeasonListRequest : StandardRequest<SeasonResponse>
    {
        [UrlSegment("constructorStandings")]
        public int? ConstructorStanding { get; set; }

        [UrlSegment("driverStandings")]
        public int? DriverStanding { get; set; }

        // Value not used
        // ReSharper disable once UnassignedGetOnlyAutoProperty
        [UrlTerminator, UrlSegment("seasons")]
        protected object Seasons { get; }
    }
}
Support driver constructor standing parameter for season list request
Support driver constructor standing parameter for season list request
