anil614sagar / openapi2apigee

OpenAPI to Apigee API Proxy using Node.js Utility
MIT License
33 stars 45 forks source link

fix for -v flag #16

Closed orangewise closed 8 years ago

orangewise commented 8 years ago

Hi Anil,

this pr contains a fix for the -v flag:

-v 'secure' generates

  <HTTPProxyConnection>
    <VirtualHost>secure</VirtualHost>
  </HTTPProxyConnection>

-v 'default' generates

  <HTTPProxyConnection>
    <VirtualHost>default</VirtualHost>
  </HTTPProxyConnection>

-v 'secure,default' generates

  <HTTPProxyConnection>
    <VirtualHost>secure</VirtualHost>
    <VirtualHost>default</VirtualHost>
  </HTTPProxyConnection>
anil614sagar commented 8 years ago

Thank you @orangewise , Merged the code.