We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18b1fe8 commit aeacf51Copy full SHA for aeacf51
1 file changed
src/test/kotlin/TestServer.kt
@@ -166,7 +166,7 @@ object TestServer {
166
route("again") {
167
tag(TestServer.Tags.EXAMPLE) {
168
169
- throws(HttpStatusCode.BadRequest, "example", CustomException::class) {
+ route("exception").throws(HttpStatusCode.ExpectationFailed, "example", CustomException::class) {
170
get<StringParam, StringResponse>(
171
info("String Param Endpoint", "This is a String Param Endpoint"),
172
example = StringResponse("Hi")
0 commit comments