Calling ApiVersionConfigurer.setVersionRequired(true)
in a Spring MVC application should a MissingApiVersionException
to be thrown when the version is not found.
This currently doesn't appear to be the case, at least in Spring MVC.
I think the cause is this line where getDefaultVersion()
is called but validateVersion
is not called meaning these lines are not called.