Class SpringAutoRestDocsDocumentationSource
java.lang.Object
org.springframework.modulith.docs.SpringAutoRestDocsDocumentationSource
- All Implemented Interfaces:
DocumentationSource
A
DocumentationSource
that uses metadata generated by Spring Auto REST Docs' Javadoc Doclet.- Author:
- Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDocumentation
(com.tngtech.archunit.core.domain.JavaMethod method) Returns the documentation to be used for the givenJavaMethod
.
-
Constructor Details
-
SpringAutoRestDocsDocumentationSource
SpringAutoRestDocsDocumentationSource()
-
-
Method Details
-
getDocumentation
Description copied from interface:DocumentationSource
Returns the documentation to be used for the givenJavaMethod
.- Specified by:
getDocumentation
in interfaceDocumentationSource
- Parameters:
method
- must not be null.- Returns:
- will never be null.
-