Skip to content

Commit cc100ad

Browse files
committed
fix top query
1 parent 4f79e30 commit cc100ad

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/Support/Support.Autorest/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,18 @@ directive:
141141
- from: swagger-document
142142
where: $.definitions.SupportTicketDetails
143143
transform: $.required = ['properties']
144-
144+
- from: GetAzSupportTicket_List.cs
145+
where: $
146+
transform: $ = $.replace("!String.IsNullOrEmpty(_nextLink)" ,"!String.IsNullOrEmpty(_nextLink) && this._top <= 0");
147+
- from: GetAzSupportTicketsNoSubscription_List.cs
148+
where: $
149+
transform: $ = $.replace("!String.IsNullOrEmpty(_nextLink)" ,"!String.IsNullOrEmpty(_nextLink) && this._top <= 0");
150+
- from: GetAzSupportCommunication_List.cs
151+
where: $
152+
transform: $ = $.replace("!String.IsNullOrEmpty(_nextLink)" ,"!String.IsNullOrEmpty(_nextLink) && this._top <= 0");
153+
- from: GetAzSupportTicketCommunicationsNoSubscription_List.cs
154+
where: $
155+
transform: $ = $.replace("!String.IsNullOrEmpty(_nextLink)" ,"!String.IsNullOrEmpty(_nextLink) && this._top <= 0");
145156
# Following are common directives which are normally required in all the RPs
146157
# 1. Remove the unexpanded parameter set
147158
# 2. For New-* cmdlets, ViaIdentity is not required

0 commit comments

Comments
 (0)