We updated the API version to 2021-08-01. And then deployed the ARM template but got error saying. Operation refences schema that does not exists.
When we connected with microsoft team they suggested to make the schema name same as TypeName property in the operations referring to the schema.
Steps to reproduce
Enable the API minimum version in the API management service in Azure Portal
Create an API with schema like ErrorMessage, SuccessMessage (without space)
APIM ARM template deployment failed.
Description
We updated the API version to 2021-08-01. And then deployed the ARM template but got error saying. Operation refences schema that does not exists. When we connected with microsoft team they suggested to make the schema name same as TypeName property in the operations referring to the schema.
Steps to reproduce
this is the template used by our project orders-api.uat.parameters.json orders-api-orders-api-v2-api.template.json
Expected behavior
It should deploy the API in the Azure portal
Actual behavior
It fails with the below error.
Why the generated template using APIM extract kit code does not work as it is. Why we need to modify to the schema name to make it work.