Skip to content

Conversation

@pboos
Copy link
Contributor

@pboos pboos commented Oct 27, 2025

Summary

This pull request fixes an issue where no violations were logged during blocking validation in the OpenAPI validation process. The changes ensure that violations are properly logged by iterating over them and invoking the onOpenApiViolation handler.

Modified Files

  • OpenApiValidationInterceptor.java
  • OpenApiValidationWebFilter.java

Key Changes

  • Added logic to iterate over validation violations and invoke the handler to log them.
  • Ensured that both request and response validations handle violations consistently.

These changes improve the logging of validation violations, enhancing the visibility of issues during API request and response validation.


@pboos
Copy link
Contributor Author

pboos commented Oct 27, 2025

This is expected like this. see the failing tests :)

@pboos pboos closed this Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants