Package springfox.documentation.common
Class SpringVersion
- java.lang.Object
-
- springfox.documentation.common.SpringVersion
-
public class SpringVersion extends java.lang.Object
Class providing a proxy for @SpringVersion
This enable mocking and testing of specific situations
-
-
Constructor Summary
Constructors Constructor Description SpringVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Version
getVersion()
Return the full version string of the present Spring codebase, ornull
if it cannot be determined.
-
-
-
Method Detail
-
getVersion
public Version getVersion()
Return the full version string of the present Spring codebase, ornull
if it cannot be determined.- Returns:
- Spring version
- See Also:
Package.getImplementationVersion()
-
-