Skip to content

Commit

Permalink
Chores
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Jan 24, 2024
1 parent 6170232 commit 1177453
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import kotlin.jvm.optionals.getOrNull
/**
* Callback that verifies server calls comply with a given OpenAPI spec.
*
* TODO Port to https://vertx.io/docs/vertx-openapi/java
* TODO Use https://vertx.io/docs/vertx-openapi/java
*/
class VerifySpecCallback(spec: URL) : HttpCallback {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
package com.hexagonkt.serverless.http

class ServerlessHttp {
import com.hexagonkt.http.handlers.HttpHandler
import com.hexagonkt.http.model.HttpRequestPort
import com.hexagonkt.http.model.HttpResponsePort

interface ServerlessHttp {
val handler: HttpHandler
fun request(): HttpRequestPort
fun response(): HttpResponsePort
}

0 comments on commit 1177453

Please sign in to comment.