diff --git a/api/src/main/kotlin/io/wwan13/api/request/ApiMethodSelector.kt b/api/src/main/kotlin/io/wwan13/api/request/ApiMethodSelector.kt index edf4bbf..f0fe280 100644 --- a/api/src/main/kotlin/io/wwan13/api/request/ApiMethodSelector.kt +++ b/api/src/main/kotlin/io/wwan13/api/request/ApiMethodSelector.kt @@ -7,30 +7,30 @@ interface ApiMethodSelector { fun get( path: String, vararg pathParameters: Any = arrayOf(), - buildAction: ApiRequestBuilder.() -> Unit + buildAction: ApiRequestBuilder.() -> Unit = { } ): ResultActions fun post( path: String, vararg pathParameters: Any = arrayOf(), - buildAction: ApiRequestBuilder.() -> Unit + buildAction: ApiRequestBuilder.() -> Unit = { } ): ResultActions fun put( path: String, vararg pathParameters: Any = arrayOf(), - buildAction: ApiRequestBuilder.() -> Unit + buildAction: ApiRequestBuilder.() -> Unit = { } ): ResultActions fun patch( path: String, vararg pathParameters: Any = arrayOf(), - buildAction: ApiRequestBuilder.() -> Unit + buildAction: ApiRequestBuilder.() -> Unit = { } ): ResultActions fun delete( path: String, vararg pathParameters: Any = arrayOf(), - buildAction: ApiRequestBuilder.() -> Unit + buildAction: ApiRequestBuilder.() -> Unit = { } ): ResultActions }