fix: incorrectly nested example
This commit is contained in:
@ -78,11 +78,11 @@ private fun Route.locationDocumentation() {
|
|||||||
responseCode(HttpStatusCode.OK)
|
responseCode(HttpStatusCode.OK)
|
||||||
responseType<ExampleResponse>()
|
responseType<ExampleResponse>()
|
||||||
description("Will return whether or not the user is real 😱")
|
description("Will return whether or not the user is real 😱")
|
||||||
canRespond {
|
}
|
||||||
description("Bad Things Happened")
|
canRespond {
|
||||||
responseCode(HttpStatusCode.InternalServerError)
|
description("Bad Things Happened")
|
||||||
responseType<ExceptionResponse>()
|
responseCode(HttpStatusCode.InternalServerError)
|
||||||
}
|
responseType<ExceptionResponse>()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user