tipsy
01/29/2021, 5:35 PMasad.awadia
01/29/2021, 5:35 PMtipsy
01/29/2021, 5:35 PMbefore
filters, yesasad.awadia
01/29/2021, 5:35 PMasad.awadia
01/29/2021, 5:35 PMtipsy
01/29/2021, 5:35 PMasad.awadia
01/31/2021, 10:46 PMtipsy
02/18/2021, 2:23 PMLeoColman
03/28/2021, 6:49 PMLeoColman
03/28/2021, 6:49 PMLeoColman
03/28/2021, 6:50 PMA default response was added to the documentation of GET /privacy
.
Although my class is setup with OpenAPI annotationsLeoColman
03/28/2021, 6:50 PMclass PrivacyController {
private val privacyHtml = PrivacyController::class.java.classLoader.getResource("privacy.html")!!.readText()
@OpenApi(
summary = "Privacy Policy",
description = "Jopiter App privacy policy",
tags = ["privacy"],
responses = [
OpenApiResponse(status = "200", description = "Returns the privacy policy file")
]
)
fun get(context: Context) {
context.html(privacyHtml)
}
}
LeoColman
03/28/2021, 6:50 PMfun register(app: Javalin) {
app.routes {
path("/privacy") {
get(privacyController::get)
}
}
}
LeoColman
03/28/2021, 6:51 PMHandler
. It assumes as a Kotlin Anonymous Lambda, and not the real object, and thus the anonymous lambda doesn't contain any information about the open apiLeoColman
03/28/2021, 7:12 PMLeoColman
03/28/2021, 7:13 PMIR = true
worksasad.awadia
05/07/2021, 4:21 PMtipsy
08/19/2021, 9:51 AMasad.awadia
09/08/2021, 3:35 PMtipsy
09/08/2021, 3:50 PMDieter Konrad
09/15/2021, 2:56 PMasad.awadia
09/15/2021, 3:10 PMasad.awadia
09/15/2021, 3:10 PMRobert Jaros
10/21/2021, 7:25 AMbbaldino
10/25/2021, 8:32 PMpath("top/level/path") {
routes {
get("/hello") { ... }
post("/world") { ... }
}
}
where I want to access /hello
via /top/level/path/hello
, but this doesn’t seem to be working. Am I missing something?asad.awadia
10/29/2021, 12:48 AMDan
02/14/2022, 3:43 PMjames
03/02/2022, 4:56 AMtipsy
03/08/2022, 6:40 PMtipsy
03/08/2022, 6:41 PM