fix: incorrectly nested example

This commit is contained in:
Ryan Brink
2022-08-16 18:56:47 -06:00
parent c312b201b3
commit 700cda2f46

View File

@ -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>()
} }
} }
} }