Class HeaderReader
- java.lang.Object
-
- io.smallrye.openapi.runtime.io.header.HeaderReader
-
public class HeaderReader extends Object
Reading the Header from annotations or json- Author:
- Phillip Kruger ([email protected]), Eric Wittmann ([email protected])
- See Also:
- headerObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,org.eclipse.microprofile.openapi.models.headers.Header>
readHeaders(com.fasterxml.jackson.databind.JsonNode node)
Reads theHeader
OpenAPI nodes.static Map<String,org.eclipse.microprofile.openapi.models.headers.Header>
readHeaders(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
Reads a map of Header annotations.
-
-
-
Method Detail
-
readHeaders
public static Map<String,org.eclipse.microprofile.openapi.models.headers.Header> readHeaders(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
Reads a map of Header annotations.- Parameters:
context
- the scanning contextannotationValue
- map of @Header annotations- Returns:
- Map of Header models
-
-