VSChina / magic-modules

Magic Modules: Automagically generate Google Cloud Platform support for OSS
Apache License 2.0
1 stars 4 forks source link

MM shouldn't compiled successfuly when sdk definition doesn't align with properties block #19

Closed neil-yechenwei closed 4 years ago

neil-yechenwei commented 5 years ago

azure_sdk_definition: '/properties/routeTable/routes/addressPrefixes': !ruby/object:Api::Azure::SDKTypeDefinition::StringObject applicable_to: [go] go_field_name: AddressPrefixes

Properties:

houkms commented 4 years ago

It may behave in this way, and the type in property and sdk_definition are combined to decide the behaviors of properties.