Class ComponentsReader
java.lang.Object
io.smallrye.openapi.runtime.io.components.ComponentsReader
Reading the Components annotation and json node
- 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.ComponentsreadComponents(com.fasterxml.jackson.databind.JsonNode node) Reads theComponentsOpenAPI nodes.static org.eclipse.microprofile.openapi.models.ComponentsreadComponents(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads any Components annotations.
-
Method Details
-
readComponents
public static org.eclipse.microprofile.openapi.models.Components readComponents(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads any Components annotations.- Parameters:
context- the scanning contextannotationValue- the @Components annotation- Returns:
- Components model
-
readComponents
public static org.eclipse.microprofile.openapi.models.Components readComponents(com.fasterxml.jackson.databind.JsonNode node) Reads theComponentsOpenAPI nodes.- Parameters:
node- the json node- Returns:
- Components model
-