Class ExternalDocsReader
- java.lang.Object
-
- io.smallrye.openapi.runtime.io.externaldocs.ExternalDocsReader
-
public class ExternalDocsReader extends Object
This reads annotations and json for External Documentation- Author:
- Phillip Kruger ([email protected]), Eric Wittmann ([email protected])
- See Also:
- externalDocumentationObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.microprofile.openapi.models.ExternalDocumentation
readExternalDocs(com.fasterxml.jackson.databind.JsonNode node)
Reads anExternalDocumentation
OpenAPI node.static org.eclipse.microprofile.openapi.models.ExternalDocumentation
readExternalDocs(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance)
Reads an ExternalDocumentation annotation.static org.eclipse.microprofile.openapi.models.ExternalDocumentation
readExternalDocs(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
Reads an ExternalDocumentation annotation.
-
-
-
Method Detail
-
readExternalDocs
public static org.eclipse.microprofile.openapi.models.ExternalDocumentation readExternalDocs(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
Reads an ExternalDocumentation annotation.- Parameters:
context
- scanning contextannotationValue
- the @ExternalDocumentation annotation- Returns:
- ExternalDocumentation model
-
readExternalDocs
public static org.eclipse.microprofile.openapi.models.ExternalDocumentation readExternalDocs(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance)
Reads an ExternalDocumentation annotation.- Parameters:
context
- scanning contextannotationInstance
- the @ExternalDocumentation annotation- Returns:
- ExternalDocumentation model
-
readExternalDocs
public static org.eclipse.microprofile.openapi.models.ExternalDocumentation readExternalDocs(com.fasterxml.jackson.databind.JsonNode node)
Reads anExternalDocumentation
OpenAPI node.- Parameters:
node
- the json node- Returns:
- ExternalDocumentation model
-
-