payload: {"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/3203","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/3203/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/3203/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/3203/events","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/issues/3203","id":430192679,"node_id":"MDU6SXNzdWU0MzAxOTI2Nzk=","number":3203,"title":"API Management (azurerm_api_management_api) support for openapi v3 content_format","user":{"login":"mhennecke","id":5324062,"node_id":"MDQ6VXNlcjUzMjQwNjI=","avatar_url":"https://avatars3.githubusercontent.com/u/5324062?v=4","gravatar_id":"","url":"https://api.github.com/users/mhennecke","html_url":"https://github.com/mhennecke","followers_url":"https://api.github.com/users/mhennecke/followers","following_url":"https://api.github.com/users/mhennecke/following{/other_user}","gists_url":"https://api.github.com/users/mhennecke/gists{/gist_id}","starred_url":"https://api.github.com/users/mhennecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhennecke/subscriptions","organizations_url":"https://api.github.com/users/mhennecke/orgs","repos_url":"https://api.github.com/users/mhennecke/repos","events_url":"https://api.github.com/users/mhennecke/events{/privacy}","received_events_url":"https://api.github.com/users/mhennecke/received_events","type":"User","site_admin":false},"labels":[{"id":620326282,"node_id":"MDU6TGFiZWw2MjAzMjYyODI=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/enhancement","name":"enhancement","color":"d4c5f9","default":true},{"id":918145705,"node_id":"MDU6TGFiZWw5MTgxNDU3MDU=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/service/api-management","name":"service/api-management","color":"32d144","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-04-07T21:09:18Z","updated_at":"2019-07-25T13:53:02Z","closed_at":null,"author_association":"NONE","body":"<!--- Please keep this note for the community --->\r\n\r\n### Community Note\r\n\r\n* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request\r\n* Please do not leave \"+1\" or \"me too\" comments, they generate extra noise for issue followers and do not help prioritize the request\r\n* If you are interested in working on this issue or have submitted a pull request, please leave a comment\r\n\r\n<!--- Thank you for keeping this note for the community --->\r\n\r\n### Description\r\n\r\nThe azurerm_api_management_api is missing support for OpenAPI v3 JSON and YAML imports in \r\nprovider version v1.24.0. Please add \"openapi\", \"openapi+json\" and \"openapi-link\" to the allowed content formats.\r\n\r\n### New or Affected Resource(s)\r\n\r\n* azurerm_api_management_api \r\n\r\n### Potential Terraform Configuration\r\n\r\n<!--- Information about code formatting: https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code --->\r\n\r\n```hcl\r\nresource \"azurerm_resource_group\" \"test\" {\r\n  name     = \"example-resources\"\r\n  location = \"West Europe\"\r\n}\r\n\r\nresource \"azurerm_api_management\" \"test\" {\r\n  name                = \"example-apim\"\r\n  location            = \"${azurerm_resource_group.test.location}\"\r\n  resource_group_name = \"${azurerm_resource_group.test.name}\"\r\n  publisher_name      = \"My Company\"\r\n  publisher_email     = \"company@terraform.io\"\r\n\r\n  sku {\r\n    name     = \"Developer\"\r\n    capacity = 1\r\n  }\r\n}\r\n\r\nresource \"azurerm_api_management_api\" \"test\" {\r\n  name                = \"example-api\"\r\n  resource_group_name = \"${azurerm_resource_group.test.name}\"\r\n  api_management_name = \"${azurerm_api_management.test.name}\"\r\n  revision            = \"1\"\r\n  display_name        = \"Example API\"\r\n  path                = \"example\"\r\n  protocols           = [\"https\"]\r\n\r\n  import {\r\n    content_format = \"openapi-link\"\r\n    content_value  = \"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml\"\r\n  }\r\n}\r\n```\r\n\r\n### References\r\n* https://docs.microsoft.com/en-us/rest/api/apimanagement/apis/createorupdate#contentformat\r\n* https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/azurerm/resource_arm_api_management_api.go#L91\r\n"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/comments/515052381","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/issues/3203#issuecomment-515052381","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/3203","id":515052381,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNTA1MjM4MQ==","user":{"login":"AndiA92","id":6967482,"node_id":"MDQ6VXNlcjY5Njc0ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/6967482?v=4","gravatar_id":"","url":"https://api.github.com/users/AndiA92","html_url":"https://github.com/AndiA92","followers_url":"https://api.github.com/users/AndiA92/followers","following_url":"https://api.github.com/users/AndiA92/following{/other_user}","gists_url":"https://api.github.com/users/AndiA92/gists{/gist_id}","starred_url":"https://api.github.com/users/AndiA92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndiA92/subscriptions","organizations_url":"https://api.github.com/users/AndiA92/orgs","repos_url":"https://api.github.com/users/AndiA92/repos","events_url":"https://api.github.com/users/AndiA92/events{/privacy}","received_events_url":"https://api.github.com/users/AndiA92/received_events","type":"User","site_admin":false},"created_at":"2019-07-25T13:53:02Z","updated_at":"2019-07-25T13:53:02Z","author_association":"NONE","body":"hey @tombuildsstuff,\r\n\r\nAny plans on this? :)"}}
other: {"actor":{"display_login":"AndiA92"}}