public interface ResponseValidationHandler
Modifier and Type | Field and Description |
---|---|
static ResponseValidationHandler |
EXPECT_CONFORM
Reports a failure only when response data does not satisfy OpenAPI requirements.
|
static ResponseValidationHandler |
FAIL_ALL
Reports a failure for all validation conditions.
|
static ResponseValidationHandler |
IGNORE_ALL
Ignores all validation conditions.
|
Modifier and Type | Method and Description |
---|---|
void |
handleInvalid(ResponseValidationException condition)
Handles when response data does not satisfy OpenAPI requirements.
|
void |
handleUnvalidated(ResponseUnvalidatedException condition)
Handles when response data cannot be validated.
|
static final ResponseValidationHandler EXPECT_CONFORM
static final ResponseValidationHandler IGNORE_ALL
static final ResponseValidationHandler FAIL_ALL
void handleInvalid(ResponseValidationException condition)
void handleUnvalidated(ResponseUnvalidatedException condition)
Copyright © 2024 The Cornutum Project. All rights reserved.