fix: incorrectly nested example
This commit is contained in:
@ -78,6 +78,7 @@ 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 {
|
canRespond {
|
||||||
description("Bad Things Happened")
|
description("Bad Things Happened")
|
||||||
responseCode(HttpStatusCode.InternalServerError)
|
responseCode(HttpStatusCode.InternalServerError)
|
||||||
@ -85,5 +86,4 @@ private fun Route.locationDocumentation() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user