Class ExternalDocsReader
java.lang.Object
io.smallrye.openapi.runtime.io.externaldocs.ExternalDocsReader
This reads annotations and json for External Documentation
- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.ExternalDocumentationreadExternalDocs(com.fasterxml.jackson.databind.JsonNode node) Reads anExternalDocumentationOpenAPI node.static org.eclipse.microprofile.openapi.models.ExternalDocumentationreadExternalDocs(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads an ExternalDocumentation annotation.static org.eclipse.microprofile.openapi.models.ExternalDocumentationreadExternalDocs(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an ExternalDocumentation annotation.
-
Method Details
-
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 anExternalDocumentationOpenAPI node.- Parameters:
node- the json node- Returns:
- ExternalDocumentation model
-