Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 144ae10

Browse files
Make approvalRequired and subscriptionsLimit nullable
When the value of subscriptionRequired is set to false to other values must not be included in the extracted template
1 parent a0b2b10 commit 144ae10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/APIM_ARMTemplate/apimtemplate/Common/TemplateModels/ProductsTemplateResource.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public class ProductsTemplateProperties
1111
public string description { get; set; }
1212
public string terms { get; set; }
1313
public bool subscriptionRequired { get; set; }
14-
public bool approvalRequired { get; set; }
15-
public int subscriptionsLimit { get; set; }
14+
public bool? approvalRequired { get; set; }
15+
public int? subscriptionsLimit { get; set; }
1616
public string state { get; set; }
1717
public string displayName { get; set; }
1818
}

0 commit comments

Comments
 (0)