Commit 59a5188
SDKAuto
CodeGen from PR 21875 in Azure/azure-rest-api-specs
{AzureAPIM} fixes Azure/azure-rest-api-specs#21849 'in body' parameter specification missing (#21875)
* {AzureAPIM} fixes Azure/azure-rest-api-specs#21849 'in body' parameter specification missing
fixes Azure/azure-rest-api-specs#21849 'in body' parameter specification missing
The CreateOrUpdate operations on both of the following resource types are missing the in body parameter in the OpenAPI specification (OAS):
Microsoft.ApiManagement/service/contentTypes
Microsoft.ApiManagement/service/contentTypes/contentItems
This causes the documentation TryIt and autogenerated libraries (e.g. nodejs @azure/arm-apimanagement) to break, as they don't support passing in the properties in the body, making these resource types unable to be updated or created.
For example, if you run the "Try It" for this API, it doesn't give you a body field in the auto-generated REST HTTP request form. The body field is needed, but it doesn't give you that field as it's not populated in the OAS for this resource type.
See this: https://github.com/Azure/azure-rest-api-specs/blob/7245d0f5cc01bf95df9d7ae893f252d4001b4ad7/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2021-08-01/apimcontenttypes.json#L132-L162
* Update apimcontenttypes.json1 parent ad4a69d commit 59a5188
1 file changed
+80
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1089 | 1089 | | |
1090 | 1090 | | |
1091 | 1091 | | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
1092 | 1102 | | |
1093 | 1103 | | |
1094 | 1104 | | |
| |||
1109 | 1119 | | |
1110 | 1120 | | |
1111 | 1121 | | |
| 1122 | + | |
1112 | 1123 | | |
1113 | 1124 | | |
1114 | 1125 | | |
| |||
1128 | 1139 | | |
1129 | 1140 | | |
1130 | 1141 | | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
1131 | 1157 | | |
1132 | 1158 | | |
1133 | 1159 | | |
| |||
1138 | 1164 | | |
1139 | 1165 | | |
1140 | 1166 | | |
| 1167 | + | |
1141 | 1168 | | |
1142 | 1169 | | |
1143 | 1170 | | |
| |||
3962 | 3989 | | |
3963 | 3990 | | |
3964 | 3991 | | |
| 3992 | + | |
| 3993 | + | |
| 3994 | + | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
| 4005 | + | |
| 4006 | + | |
| 4007 | + | |
| 4008 | + | |
| 4009 | + | |
| 4010 | + | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
| 4017 | + | |
3965 | 4018 | | |
3966 | 4019 | | |
3967 | 4020 | | |
| |||
6563 | 6616 | | |
6564 | 6617 | | |
6565 | 6618 | | |
| 6619 | + | |
| 6620 | + | |
| 6621 | + | |
| 6622 | + | |
| 6623 | + | |
| 6624 | + | |
| 6625 | + | |
| 6626 | + | |
| 6627 | + | |
| 6628 | + | |
6566 | 6629 | | |
6567 | 6630 | | |
6568 | 6631 | | |
| |||
6573 | 6636 | | |
6574 | 6637 | | |
6575 | 6638 | | |
| 6639 | + | |
6576 | 6640 | | |
6577 | 6641 | | |
6578 | 6642 | | |
| |||
6592 | 6656 | | |
6593 | 6657 | | |
6594 | 6658 | | |
| 6659 | + | |
| 6660 | + | |
| 6661 | + | |
| 6662 | + | |
| 6663 | + | |
| 6664 | + | |
| 6665 | + | |
| 6666 | + | |
| 6667 | + | |
| 6668 | + | |
| 6669 | + | |
| 6670 | + | |
| 6671 | + | |
| 6672 | + | |
| 6673 | + | |
6595 | 6674 | | |
6596 | 6675 | | |
6597 | 6676 | | |
| |||
6602 | 6681 | | |
6603 | 6682 | | |
6604 | 6683 | | |
| 6684 | + | |
6605 | 6685 | | |
6606 | 6686 | | |
6607 | 6687 | | |
| |||
0 commit comments