File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
api/src/main/kotlin/io/wwan13/api/request Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,30 +7,30 @@ interface ApiMethodSelector {
7
7
fun get (
8
8
path : String ,
9
9
vararg pathParameters : Any = arrayOf(),
10
- buildAction : ApiRequestBuilder .() -> Unit
10
+ buildAction : ApiRequestBuilder .() -> Unit = { }
11
11
): ResultActions
12
12
13
13
fun post (
14
14
path : String ,
15
15
vararg pathParameters : Any = arrayOf(),
16
- buildAction : ApiRequestBuilder .() -> Unit
16
+ buildAction : ApiRequestBuilder .() -> Unit = { }
17
17
): ResultActions
18
18
19
19
fun put (
20
20
path : String ,
21
21
vararg pathParameters : Any = arrayOf(),
22
- buildAction : ApiRequestBuilder .() -> Unit
22
+ buildAction : ApiRequestBuilder .() -> Unit = { }
23
23
): ResultActions
24
24
25
25
fun patch (
26
26
path : String ,
27
27
vararg pathParameters : Any = arrayOf(),
28
- buildAction : ApiRequestBuilder .() -> Unit
28
+ buildAction : ApiRequestBuilder .() -> Unit = { }
29
29
): ResultActions
30
30
31
31
fun delete (
32
32
path : String ,
33
33
vararg pathParameters : Any = arrayOf(),
34
- buildAction : ApiRequestBuilder .() -> Unit
34
+ buildAction : ApiRequestBuilder .() -> Unit = { }
35
35
): ResultActions
36
36
}
You can’t perform that action at this time.
0 commit comments