Class EncodingReader

java.lang.Object
io.smallrye.openapi.runtime.io.encoding.EncodingReader

public class EncodingReader extends Object
Reading the Encoding object annotation and json
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
See Also:
  • Method Details

    • readEncodings

      public static Map<String,org.eclipse.microprofile.openapi.models.media.Encoding> readEncodings(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
      Reads an array of Encoding annotations as a Map.
      Parameters:
      context - the scanning context
      annotationValue - Map of @Encoding annotations
      Returns:
      Map of Encoding models
    • readEncodings

      public static Map<String,org.eclipse.microprofile.openapi.models.media.Encoding> readEncodings(com.fasterxml.jackson.databind.JsonNode node)
      Reads a map of Encoding OpenAPI nodes.
      Parameters:
      node - the json node
      Returns:
      Map of Encoding models