doc: some dokka updates (#295)

This commit is contained in:
Ryan Brink
2022-08-15 07:38:58 -06:00
committed by GitHub
parent e89636fa58
commit 99f5cb5b86
8 changed files with 90 additions and 91 deletions

View File

@ -47,7 +47,7 @@ private fun Application.mainModule() {
redoc(pageTitle = "Simple API Docs")
route("/{id}") {
locationDocumentation()
documentation()
get {
call.respond(HttpStatusCode.OK, ExampleResponse(true))
}
@ -55,7 +55,7 @@ private fun Application.mainModule() {
}
}
private fun Route.locationDocumentation() {
private fun Route.documentation() {
install(NotarizedRoute()) {
parameters = listOf(
Parameter(