You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
noticed in the generated ARM template the way it constructs the "value" under resources it doesn't include the "Description" when passing the whole open API spec and when i manually added the "Description" it worked.
Could you please add this property so that the tool automatically adds it when the ARM template is generated?
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"ApimServiceName": {
"type": "string",
"metadata": {
"description": "Name of the API Management"
}
}
},
"variables": {},
"resources": [
{
"properties": {
"value": "{ }", ---> this doesn't have the description property set
"format": "openapi+json",
"Description": "myFirstApi",
"type": "http",
"apiRevision": "1",
"isCurrent": true,
"subscriptionRequired": false,
"displayName": "myFirstAPI",
"serviceUrl": "https://myapp-webapp.azurewebsites.net",
"path": "find"
},
The text was updated successfully, but these errors were encountered:
Figured out the issue. After adding the "Description" to the swagger OpenApiInfo it was able to pick up however still seeing the same behavior when adding products (product description is not updated)
swagger.SwaggerDoc("v1", new Microsoft.OpenApi.Models.OpenApiInfo()
{
Title = "myFirstApi",
Version = "v1",
Description = "myFirstApi"
});
noticed in the generated ARM template the way it constructs the "value" under resources it doesn't include the "Description" when passing the whole open API spec and when i manually added the "Description" it worked.
Could you please add this property so that the tool automatically adds it when the ARM template is generated?
The text was updated successfully, but these errors were encountered: