Azure / azure-sdk-for-php

Microsoft Azure SDK for PHP
http://azure.microsoft.com/en-us/develop/php/
Apache License 2.0
415 stars 273 forks source link

AutoRest: support multiple API-versions. #950

Open sergey-shandar opened 7 years ago

sergey-shandar commented 7 years ago

Options

1

namespace A\_2017_01_01;
class B
{
    function __construct(RunTime $runTime)
    {
        ...
    }
    const SWAGGER_OBJECT_DATA = [ ... ];
} 
namespace A\_2017_02_02;
class B
{
    function __construct(RunTime $runTime, \A\_2017_01_01\B $_2017_01_01)
    {
        $this->_2017_01_01 = $_2017_01_01;
        ...
    }
    const SWAGGER_OBJECT_DATA = [ ... ];
}