public class ContentReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.microprofile.openapi.models.media.Content |
readContent(AnnotationScannerContext context,
org.jboss.jandex.AnnotationValue annotationValue,
ContentDirection direction)
Reads a single Content annotation into a model.
|
static org.eclipse.microprofile.openapi.models.media.Content |
readContent(com.fasterxml.jackson.databind.JsonNode node)
Reads a
Content OpenAPI node. |
public static org.eclipse.microprofile.openapi.models.media.Content readContent(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue, ContentDirection direction)
context - the scanning contextannotationValue - the @Content annotationdirection - the content directionpublic static org.eclipse.microprofile.openapi.models.media.Content readContent(com.fasterxml.jackson.databind.JsonNode node)
Content OpenAPI node.node - the json nodeCopyright © 2018–2021. All rights reserved.