Hi Marko. Thanks for the hint! Indeed, when I remove those not needed @Valid annotations - it gets much much faster. Goes all the way down to the sub-second range (around 700ms) from 20-50 seconds and that’s even without https://hibernate.atlassian.net/browse/HV-1831... Now I only need to figure out how to make openapi-generator-maven-plugin not to generate those đŸ™‚ But that’s a separate story anyway. Thanks for the help and I guess this ticket can be closed as duplicated then. |