Integration JSON Format
I recently activated the Bitbucket integration. I'm sending my API definition to a repo in the JSON and YAML formats. I noticed that the JSON that is output by this integration is a different format than the JSON that is produced when you download the file manually. Specifically, any model that has a JSON object as a child param is reformatted such that the child object is broken out as a separate definition with the name [parent object]_[child object]. When I try to import this definition into the AWS API Gateway it fails b/c the name has an underscore in it.
I know I can download the file manually and it will be formatted appropriately but I'm trying to automate deployment so that as soon as I click the Bitbucket integration the entire deployment process is automated.
Any help will be much appreciated! Thanks.