Class ComponentsReader

java.lang.Object
io.smallrye.openapi.runtime.io.components.ComponentsReader

public class ComponentsReader extends Object
Reading the Components annotation and json node
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
See Also:
  • 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 context
      annotationValue - the @Components annotation
      Returns:
      Components model
    • readComponents

      public static org.eclipse.microprofile.openapi.models.Components readComponents(com.fasterxml.jackson.databind.JsonNode node)
      Reads the Components OpenAPI nodes.
      Parameters:
      node - the json node
      Returns:
      Components model