https://pulumi.com logo
Title
i

icy-train-33339

08/31/2020, 6:57 AM
anyone can help me please?
k

kind-mechanic-53546

08/31/2020, 10:34 PM
what issue are you facing?
i

icy-train-33339

09/01/2020, 2:24 AM
https://www.pulumi.com/docs/reference/pkg/azure/apimanagement/apischema/ I followed the link above to create api schema in api management. The script run well but it;s not create on api management
when I used azure portal to create the api definition, the result of json like below
but when I used the pulumi code to create api schema, the result of json like below
I found the root cause is the content type :
"contentType": "application/vnd.oai.openapi.components+json"