aws-cloudformation / cloudformation-cli-python-plugin

The CloudFormation Provider Development Toolkit Python Plugin allows you to autogenerate Python code based on an input schema.
Apache License 2.0
108 stars 47 forks source link

codegen multi-type support #134

Closed ammokhov closed 3 years ago

ammokhov commented 3 years ago

Issue #, if available:

Description of changes:

adding a multi type support;


{
    "properties": {
        "propertyA": {
            "oneOf": [
                { "type": "object" },
                { "type": "string" }
            ]
        }
    }
}

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.