Closed srivi1225 closed 1 year ago
I found the solution. this got resolved when i updated this line.andOther(route(RequestPredicates.all(), errorHandler::invalidVersion))
to .andOther(route(RequestPredicates .pathPredicates(PathPatternParser.defaultInstance) .apply("/swagger-doc/**").negate(), errorHandler::versionNotSupported))
I am trying to integrate openapi3 with reactive webflux functional endpoints. but i am always getting the error message "invalid version" from andother route configuration
.andOther(route(RequestPredicates.all(), errorHandler::invalidVersion))
. If i remove that validation swagger is working but the version validation is failing.below is my custom router.Please help me how to resolve this to make both validation and swagger works.