Package io.micronaut.openapi.javadoc
Class JavadocParser
java.lang.Object
io.micronaut.openapi.javadoc.JavadocParser
Very simple javadoc parser that can used to parse out the first paragraph description and parameter / return descriptions.
Most other tags are simply stripped and ignored.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JavadocParser
public JavadocParser()
-
-
Method Details
-
parse
Parse the javadoc in aJavadocDescription
.- Parameters:
text
- The text- Returns:
- The description
-