Class InfoReader
- java.lang.Object
-
- io.smallrye.openapi.runtime.io.info.InfoReader
-
public class InfoReader extends Object
This reads the Info from annotations or json- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
- infoObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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
-
-