Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KTOR 1344 - Unified pre-typed routes #2211

Merged
merged 5 commits into from
Mar 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
KTOR-1344 Remove path from comments
  • Loading branch information
hfhbd authored and Philip Wedemann committed Mar 4, 2021
commit 0bac117abaac9bf18cecc73d6f79e63e0a3b2b55
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public fun Route.post(path: String, body: PipelineInterceptor<Unit, ApplicationC
}

/**
* Builds a route to match `POST` requests with specified [path] receiving request body content of type [R]
* Builds a route to match `POST` requests receiving request body content of type [R]
*/
@ContextDsl
@JvmName("postTyped")
Expand Down Expand Up @@ -176,7 +176,7 @@ public fun Route.put(body: PipelineInterceptor<Unit, ApplicationCall>): Route {
}

/**
* Builds a route to match `PUT` requests with specified [path] receiving request body content of type [R]
* Builds a route to match `PUT` requests with receiving request body content of type [R]
*/
@ContextDsl
@JvmName("putTyped")
Expand Down Expand Up @@ -215,7 +215,7 @@ public fun Route.patch(body: PipelineInterceptor<Unit, ApplicationCall>): Route
}

/**
* Builds a route to match `PATCH` requests with specified [path] receiving request body content of type [R]
* Builds a route to match `PATCH` requests receiving request body content of type [R]
*/
@ContextDsl
@JvmName("patchTyped")
Expand Down