Class InfoReader
java.lang.Object
io.smallrye.openapi.runtime.io.info.InfoReader
This reads the Info from annotations or json
- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.info.InforeadInfo(com.fasterxml.jackson.databind.JsonNode node) Reads anInfoOpenAPI node.static org.eclipse.microprofile.openapi.models.info.InforeadInfo(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Annotation to Info
-
Method Details
-
readInfo
public static org.eclipse.microprofile.openapi.models.info.Info readInfo(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Annotation to Info- Parameters:
annotationValue- the @Info annotation- Returns:
- Info model
-
readInfo
public static org.eclipse.microprofile.openapi.models.info.Info readInfo(com.fasterxml.jackson.databind.JsonNode node) Reads anInfoOpenAPI node.- Parameters:
node- the json node- Returns:
- Info model
-