Skip to content

Commit 96d5d71

Browse files
committed
Change abstract pagination method, underscores for operation names act weird
1 parent 938c511 commit 96d5d71

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/intercom/Service/config/intercom_v3_user.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Intercom API (User) v3",
33
"description": "The Intercom API (User) v3",
44
"operations": {
5-
"_paginated_method": {
5+
"IntercomPaginatedMethod": {
66
"parameters": {
77
"page": {
88
"location": "query",
@@ -15,7 +15,8 @@
1515
"required": false,
1616
"type": "integer"
1717
}
18-
}
18+
},
19+
"summary": "Abstract definition to allow pagination params in calls by extending this method"
1920
},
2021
"getUserByID": {
2122
"httpMethod": "GET",
@@ -32,15 +33,15 @@
3233
"uri": "/users/{id}"
3334
},
3435
"getUsers": {
35-
"extends": "_paginated_method",
36+
"extends": "IntercomPaginatedMethod",
3637
"httpMethod": "POST",
3738
"responseClass": "UserListModel",
3839
"responseType": "model",
3940
"summary": "Gets a list of users",
4041
"uri": "/users/list"
4142
},
4243
"getUsersByFilters": {
43-
"extends": "_paginated_method",
44+
"extends": "IntercomPaginatedMethod",
4445
"httpMethod": "POST",
4546
"parameters": {
4647
"filters": {

0 commit comments

Comments
 (0)