Uses of Class
io.smallrye.openapi.runtime.scanner.spi.AnnotationScannerContext
Packages that use AnnotationScannerContext
Package
Description
-
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.callback
Methods in io.smallrye.openapi.runtime.io.callback with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic List<org.jboss.jandex.AnnotationInstance>CallbackReader.getCallbackAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static StringCallbackReader.getCallbackName(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) static org.eclipse.microprofile.openapi.models.callbacks.CallbackCallbackReader.readCallback(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) static org.eclipse.microprofile.openapi.models.callbacks.CallbackCallbackReader.readCallback(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation, org.jboss.jandex.MethodInfo methodInfo) Reads a Callback annotation into a model.CallbackReader.readCallbacks(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of Callback annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.components
Methods in io.smallrye.openapi.runtime.io.components with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.ComponentsComponentsReader.readComponents(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads any Components annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.contact
Methods in io.smallrye.openapi.runtime.io.contact with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.info.ContactContactReader.readContact(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an Contact annotation. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.content
Methods in io.smallrye.openapi.runtime.io.content with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.media.ContentContentReader.readContent(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue, ContentDirection direction) Reads a single Content annotation into a model. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.definition
Methods in io.smallrye.openapi.runtime.io.definition with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.jboss.jandex.AnnotationInstanceDefinitionReader.getDefinitionAnnotation(AnnotationScannerContext context, org.jboss.jandex.ClassInfo targetClass) static voidDefinitionReader.processDefinition(AnnotationScannerContext context, org.eclipse.microprofile.openapi.models.OpenAPI openApi, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a OpenAPIDefinition annotation. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.encoding
Methods in io.smallrye.openapi.runtime.io.encoding with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionEncodingReader.readEncodings(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an array of Encoding annotations as a Map. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.example
Methods in io.smallrye.openapi.runtime.io.example with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic ObjectExampleReader.parseValue(AnnotationScannerContext context, String value) Reads an example value and decode it, the parsing is delegated to the extensions currently set in the scanner.ExampleReader.readExamples(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of Example annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.extension
Methods in io.smallrye.openapi.runtime.io.extension with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic StringExtensionReader.getExtensionName(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) static List<org.jboss.jandex.AnnotationInstance>ExtensionReader.getExtensionsAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) ExtensionReader.readExtensions(AnnotationScannerContext context, List<org.jboss.jandex.AnnotationInstance> extensions) Reads a List of Extension annotations.ExtensionReader.readExtensions(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance extensible) ExtensionReader.readExtensions(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an array of Extension annotations.static ObjectExtensionReader.readExtensionValue(AnnotationScannerContext context, String name, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a single Extension annotation. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.externaldocs
Methods in io.smallrye.openapi.runtime.io.externaldocs with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.ExternalDocumentationExternalDocsReader.readExternalDocs(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads an ExternalDocumentation annotation.static org.eclipse.microprofile.openapi.models.ExternalDocumentationExternalDocsReader.readExternalDocs(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an ExternalDocumentation annotation. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.header
Methods in io.smallrye.openapi.runtime.io.header with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionHeaderReader.readHeaders(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of Header annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.info
Methods in io.smallrye.openapi.runtime.io.info with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.info.InfoInfoReader.readInfo(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Annotation to Info -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.license
Methods in io.smallrye.openapi.runtime.io.license with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.info.LicenseLicenseReader.readLicense(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an License annotation. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.link
Methods in io.smallrye.openapi.runtime.io.link with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionLinkReader.readLinks(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads Link annotations -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.mediatype
Methods in io.smallrye.openapi.runtime.io.mediatype with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.media.MediaTypeMediaTypeReader.readMediaType(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a single Content annotation into aMediaTypemodel. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.oauth
Methods in io.smallrye.openapi.runtime.io.oauth with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.security.OAuthFlowsOAuthReader.readOAuthFlows(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an OAuthFlows annotation into a model. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.operation
Methods in io.smallrye.openapi.runtime.io.operation with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.OperationOperationReader.readOperation(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance, org.jboss.jandex.MethodInfo methodInfo) Reads a single Operation annotation. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.parameter
Methods in io.smallrye.openapi.runtime.io.parameter with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.parameters.ParameterParameterReader.readParameter(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a Parameter annotation into a model.ParameterReader.readParameters(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of Parameter annotations.ParameterReader.readParametersList(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of Parameter annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.paths
Methods in io.smallrye.openapi.runtime.io.paths with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.PathItemPathsReader.readPathItem(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) static org.eclipse.microprofile.openapi.models.PathItemPathsReader.readPathItem(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue, org.jboss.jandex.MethodInfo methodInfo) Reads the PathItem. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.requestbody
Methods in io.smallrye.openapi.runtime.io.requestbody with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic List<org.jboss.jandex.AnnotationInstance>RequestBodyReader.getRequestBodyAnnotations(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method) static org.jboss.jandex.AnnotationInstanceRequestBodyReader.getRequestBodySchemaAnnotation(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method) RequestBodyReader.readRequestBodies(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of RequestBody annotations.static org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBodyReader.readRequestBody(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a RequestBody annotation into a model.static org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBodyReader.readRequestBody(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a RequestBody annotation into a model.static org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBodyReader.readRequestBodySchema(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) Reads a RequestBodySchema annotation into a model. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.response
Methods in io.smallrye.openapi.runtime.io.response with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic List<org.jboss.jandex.AnnotationInstance>ResponseReader.getResponseAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static StringResponseReader.getResponseName(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) static org.eclipse.microprofile.openapi.models.responses.APIResponseResponseReader.readResponse(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a APIResponse annotation into a model.static org.eclipse.microprofile.openapi.models.responses.APIResponsesResponseReader.readResponses(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an array of APIResponse annotations into anAPIResponsesmodel.static org.eclipse.microprofile.openapi.models.responses.APIResponseResponseReader.readResponseSchema(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) Reads a APIResponseSchema annotation into a model.static org.eclipse.microprofile.openapi.models.responses.APIResponsesResponseReader.readResponsesExtensions(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance responsesAnnotation, org.eclipse.microprofile.openapi.models.responses.APIResponses responses) ResponseReader.readResponsesMap(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of APIResponse annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.schema
Methods in io.smallrye.openapi.runtime.io.schema with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.media.SchemaSchemaFactory.enumToSchema(AnnotationScannerContext context, org.jboss.jandex.Type enumType) Convert a Jandex enum class type to aSchemamodel.static org.eclipse.microprofile.openapi.models.media.SchemaSchemaFactory.includeTypeSchema(AnnotationScannerContext context, org.eclipse.microprofile.openapi.models.media.Schema schema, org.jboss.jandex.Type type) static org.eclipse.microprofile.openapi.models.media.SchemaSchemaFactory.readSchema(AnnotationScannerContext context, org.eclipse.microprofile.openapi.models.media.Schema schema, org.jboss.jandex.AnnotationInstance annotation, Map<String, Object> defaults) static org.eclipse.microprofile.openapi.models.media.SchemaSchemaFactory.readSchema(AnnotationScannerContext context, org.eclipse.microprofile.openapi.models.media.Schema schema, org.jboss.jandex.AnnotationInstance annotation, org.jboss.jandex.ClassInfo clazz) Populates the schema using the@Schemaon the provided class.static org.eclipse.microprofile.openapi.models.media.SchemaSchemaFactory.readSchema(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance schemaAnnotation) Reads a Schema annotation into a model.static org.eclipse.microprofile.openapi.models.media.SchemaSchemaFactory.readSchema(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue value) Reads a Schema annotation into a model.SchemaReader.readSchemas(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of Schema annotations.static org.eclipse.microprofile.openapi.models.media.SchemaSchemaFactory.schemaRegistration(AnnotationScannerContext context, org.jboss.jandex.Type type, org.eclipse.microprofile.openapi.models.media.Schema schema) Register the provided schema in the SchemaRegistry if allowed.static org.eclipse.microprofile.openapi.models.media.SchemaSchemaFactory.typeToSchema(AnnotationScannerContext context, org.jboss.jandex.Type type, org.jboss.jandex.AnnotationInstance schemaAnnotation, List<AnnotationScannerExtension> extensions) Converts a Jandex type to aSchemamodel. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.securityrequirement
Methods in io.smallrye.openapi.runtime.io.securityrequirement with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic List<org.jboss.jandex.AnnotationInstance>SecurityRequirementReader.getSecurityRequirementAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static org.jboss.jandex.AnnotationInstanceSecurityRequirementReader.getSecurityRequirementsAnnotation(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static List<org.jboss.jandex.AnnotationInstance>SecurityRequirementReader.getSecurityRequirementsSetAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static org.jboss.jandex.AnnotationInstanceSecurityRequirementReader.getSecurityRequirementsSetsAnnotation(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static org.eclipse.microprofile.openapi.models.security.SecurityRequirementSecurityRequirementReader.readSecurityRequirement(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a single SecurityRequirement annotation.SecurityRequirementReader.readSecurityRequirements(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue securityRequirements, org.jboss.jandex.AnnotationValue securityRequirementsSets) Reads any SecurityRequirement and SecurityRequirementsSet annotations.static org.eclipse.microprofile.openapi.models.security.SecurityRequirementSecurityRequirementReader.readSecurityRequirementsSet(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a single SecurityRequirementsSet annotation -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.securityscheme
Methods in io.smallrye.openapi.runtime.io.securityscheme with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic List<org.jboss.jandex.AnnotationInstance>SecuritySchemeReader.getSecuritySchemeAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static StringSecuritySchemeReader.getSecuritySchemeName(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) static org.eclipse.microprofile.openapi.models.security.SecuritySchemeSecuritySchemeReader.readSecurityScheme(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a SecurityScheme annotation into a model.SecuritySchemeReader.readSecuritySchemes(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a map of SecurityScheme annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.server
Methods in io.smallrye.openapi.runtime.io.server with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic List<org.jboss.jandex.AnnotationInstance>ServerReader.getServerAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static org.eclipse.microprofile.openapi.models.servers.ServerServerReader.readServer(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a single Server annotation.static org.eclipse.microprofile.openapi.models.servers.ServerServerReader.readServer(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads a single Server annotation.ServerReader.readServers(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads any Server annotations.The annotation value is an array of Server annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.servervariable
Methods in io.smallrye.openapi.runtime.io.servervariable with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionServerVariableReader.readServerVariables(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads an array of ServerVariable annotations, returning a newServerVariablemodel. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.io.tag
Methods in io.smallrye.openapi.runtime.io.tag with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic List<org.jboss.jandex.AnnotationInstance>TagReader.getTagAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static booleanTagReader.hasTagAnnotation(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) static org.eclipse.microprofile.openapi.models.tags.TagTagReader.readTag(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance) Reads a single Tag annotation.TagReader.readTags(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads any Tag annotations.The annotation value is an array of Tag annotations. -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.scanner
Methods in io.smallrye.openapi.runtime.scanner with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic org.eclipse.microprofile.openapi.models.media.SchemaOpenApiDataObjectScanner.process(AnnotationScannerContext context, org.jboss.jandex.Type type) Build a Schema with ClassType as root.Constructors in io.smallrye.openapi.runtime.scanner with parameters of type AnnotationScannerContextModifierConstructorDescriptionOpenApiDataObjectScanner(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget annotationTarget, org.jboss.jandex.Type classType) OpenApiDataObjectScanner(AnnotationScannerContext context, org.jboss.jandex.Type classType) Constructor for data object scanner.SchemaRegistry(AnnotationScannerContext context) -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.scanner.dataobject
Methods in io.smallrye.openapi.runtime.scanner.dataobject with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionEnumProcessor.enumConstants(AnnotationScannerContext context, org.jboss.jandex.Type enumType) static TypeResolverTypeResolver.forClass(AnnotationScannerContext context, org.jboss.jandex.ClassInfo clazz, org.jboss.jandex.Type leaf) Create a new TypeResolver for the given ClassInfo clazz and type.static Map<String,TypeResolver> TypeResolver.getAllFields(AnnotationScannerContext context, org.jboss.jandex.Type leaf, org.jboss.jandex.ClassInfo leafKlazz, org.jboss.jandex.AnnotationTarget reference) static org.eclipse.microprofile.openapi.models.media.SchemaAnnotationTargetProcessor.process(AnnotationScannerContext context, DataObjectDeque objectStack, TypeResolver typeResolver, DataObjectDeque.PathEntry parentPathEntry) static org.eclipse.microprofile.openapi.models.media.SchemaAnnotationTargetProcessor.process(AnnotationScannerContext context, DataObjectDeque objectStack, TypeResolver typeResolver, DataObjectDeque.PathEntry parentPathEntry, org.jboss.jandex.Type type) static Optional<org.jboss.jandex.ParameterizedType>TypeResolver.resolveParameterizedAncestor(AnnotationScannerContext context, org.jboss.jandex.Type type, org.jboss.jandex.Type seekType) Constructors in io.smallrye.openapi.runtime.scanner.dataobject with parameters of type AnnotationScannerContextModifierConstructorDescriptionIgnoreResolver(AnnotationScannerContext context) TypeProcessor(AnnotationScannerContext context, DataObjectDeque objectStack, DataObjectDeque.PathEntry parentPathEntry, TypeResolver typeResolver, org.jboss.jandex.Type type, org.eclipse.microprofile.openapi.models.media.Schema schema, org.jboss.jandex.AnnotationTarget annotationTarget) -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.scanner.processor
Constructors in io.smallrye.openapi.runtime.scanner.processor with parameters of type AnnotationScannerContext -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.scanner.spi
Fields in io.smallrye.openapi.runtime.scanner.spi declared as AnnotationScannerContextModifier and TypeFieldDescriptionprotected AnnotationScannerContextAbstractAnnotationScanner.contextprotected final AnnotationScannerContextAbstractParameterProcessor.scannerContextMethods in io.smallrye.openapi.runtime.scanner.spi with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptiondefault voidAnnotationScanner.addApiReponseFromAnnotation(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance apiResponseAnnotation, org.eclipse.microprofile.openapi.models.Operation operation) Add api response to api responses using the annotation informationdefault voidAnnotationScanner.addApiReponseSchemaFromAnnotation(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation, org.jboss.jandex.MethodInfo method, org.eclipse.microprofile.openapi.models.Operation operation) Add api response to api responses using the annotation informationdefault voidAnnotationScanner.clearJsonViewContext(AnnotationScannerContext context) default voidAnnotationScanner.createResponseFromRestMethod(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method, org.eclipse.microprofile.openapi.models.Operation operation) Called when a scanner (jax-rs, spring) method's APIResponse annotations have all been processed but no response was actually created for the operation.This method will create a response from the method information and add it to the given operation.default String[]AnnotationScanner.getConsumes(AnnotationScannerContext context) default String[]AnnotationScanner.getConsumesForRequestBody(AnnotationScannerContext context) String[]AbstractAnnotationScanner.getDefaultConsumes(AnnotationScannerContext context, org.jboss.jandex.MethodInfo methodInfo, ResourceParameters params) String[]AnnotationScanner.getDefaultConsumes(AnnotationScannerContext context, org.jboss.jandex.MethodInfo methodInfo, ResourceParameters params) String[]AbstractAnnotationScanner.getDefaultProduces(AnnotationScannerContext context, org.jboss.jandex.MethodInfo methodInfo) String[]AnnotationScanner.getDefaultProduces(AnnotationScannerContext context, org.jboss.jandex.MethodInfo methodInfo) default org.jboss.jandex.TypeAnnotationScanner.getKotlinContinuationArgument(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method) default org.jboss.jandex.TypeAnnotationScanner.getRequestBodyParameterClassType(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method, ResourceParameters params) Go through the method parameters looking for one that is not a Kotlin Continuation, is not annotated with a jax-rs/spring annotation, and is not a known path parameter.default List<org.jboss.jandex.MethodInfo>AnnotationScanner.getResourceMethods(AnnotationScannerContext context, org.jboss.jandex.ClassInfo resource) Extracts all methods from the provided class and its ancestors that are known to the instance's indexdefault booleanAnnotationScanner.isEmptySecurityRequirements(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target) Determines whether the target is annotated with an empty@SecurityRequirementsor@SecurityRequirementsSetsannotation.default booleanAnnotationScanner.isPathParameter(AnnotationScannerContext context, String name, ResourceParameters params) default booleanAnnotationScanner.isScannerInternalResponse(org.jboss.jandex.Type returnType, AnnotationScannerContext context, org.jboss.jandex.MethodInfo method) default org.eclipse.microprofile.openapi.models.media.SchemaAnnotationScanner.kotlinContinuationToSchema(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method) default voidAnnotationScanner.processCallback(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method, org.eclipse.microprofile.openapi.models.Operation operation) Process a callback annotationdefault voidAnnotationScanner.processDefinitionAnnotation(AnnotationScannerContext context, org.jboss.jandex.ClassInfo targetClass, org.eclipse.microprofile.openapi.models.OpenAPI openApi) Process a certain class for OpenApiDefinition annotations.default voidAnnotationScanner.processExtensions(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method, org.eclipse.microprofile.openapi.models.Operation operation) Process the Extensions annotationsdefault voidAnnotationScanner.processJavaSecurity(AnnotationScannerContext context, org.jboss.jandex.ClassInfo resourceClass, org.eclipse.microprofile.openapi.models.OpenAPI openApi) Process Java security (roles allowed and declared roles)default Optional<org.eclipse.microprofile.openapi.models.Operation>AnnotationScanner.processOperation(AnnotationScannerContext context, org.jboss.jandex.ClassInfo resourceClass, org.jboss.jandex.MethodInfo method) While scanning JAX-RS/Spring method, find the operationsdefault voidAnnotationScanner.processOperationTags(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method, org.eclipse.microprofile.openapi.models.OpenAPI openApi, Set<String> resourceTags, org.eclipse.microprofile.openapi.models.Operation operation) Process tags.default org.eclipse.microprofile.openapi.models.parameters.RequestBodyAnnotationScanner.processRequestBody(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method, ResourceParameters params) Process the request bodydefault voidAnnotationScanner.processResponse(AnnotationScannerContext context, org.jboss.jandex.ClassInfo resourceClass, org.jboss.jandex.MethodInfo method, org.eclipse.microprofile.openapi.models.Operation operation, Map<org.jboss.jandex.DotName, List<org.jboss.jandex.AnnotationInstance>> exceptionAnnotationMap) default voidAnnotationScanner.processScannerExtensions(AnnotationScannerContext context, Collection<org.jboss.jandex.ClassInfo> applications) Scan for scanner extensionsdefault voidAnnotationScanner.processSecurityRequirementAnnotation(AnnotationScannerContext context, org.jboss.jandex.ClassInfo resourceClass, org.jboss.jandex.MethodInfo method, org.eclipse.microprofile.openapi.models.Operation operation) Get the security requirements on method and class and add them to the openapi modeldefault voidAnnotationScanner.processSecuritySchemeAnnotation(AnnotationScannerContext context, org.jboss.jandex.ClassInfo targetClass, org.eclipse.microprofile.openapi.models.OpenAPI openApi) Process a certain class for security annotations.default voidAnnotationScanner.processServerAnnotation(AnnotationScannerContext context, org.jboss.jandex.ClassInfo targetClass, org.eclipse.microprofile.openapi.models.OpenAPI openApi) Process a certain class for server annotations.default voidAnnotationScanner.processServerAnnotation(AnnotationScannerContext context, org.jboss.jandex.MethodInfo method, org.eclipse.microprofile.openapi.models.Operation operation) Process a certain method for server annotations.AnnotationScanner.processTags(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target, org.eclipse.microprofile.openapi.models.OpenAPI openApi, boolean nullWhenMissing) Processes anyTagorTagsannotations present on the annotation target and adds them to the OpenAPI model.default booleanAnnotationScanner.responseCodeExistInMethodAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance exMapperApiResponseAnnotation, List<org.jboss.jandex.AnnotationInstance> methodApiResponseAnnotations) Check if the response code declared in the ExceptionMapper already defined in one of the ApiReponse annotations of the method.org.eclipse.microprofile.openapi.models.OpenAPIAnnotationScanner.scan(AnnotationScannerContext annotationScannerContext, org.eclipse.microprofile.openapi.models.OpenAPI oai) default voidAnnotationScanner.setJsonViewContext(AnnotationScannerContext context, org.jboss.jandex.Type[] views) default voidAnnotationScanner.setRequestBodyConstraints(AnnotationScannerContext context, org.eclipse.microprofile.openapi.models.parameters.RequestBody requestBody, org.jboss.jandex.MethodInfo method, org.jboss.jandex.Type requestBodyType) Constructors in io.smallrye.openapi.runtime.scanner.spi with parameters of type AnnotationScannerContextModifierConstructorDescriptionprotectedAbstractParameterProcessor(AnnotationScannerContext scannerContext, String contextPath, Function<org.jboss.jandex.AnnotationInstance, org.eclipse.microprofile.openapi.models.parameters.Parameter> reader, List<AnnotationScannerExtension> extensions) -
Uses of AnnotationScannerContext in io.smallrye.openapi.runtime.util
Methods in io.smallrye.openapi.runtime.util with parameters of type AnnotationScannerContextModifier and TypeMethodDescriptionstatic booleanTypeUtil.allowRegistration(AnnotationScannerContext context, org.jboss.jandex.Type classType) Determines if a type is eligible for registration.static List<org.jboss.jandex.FieldInfo>JandexUtil.fields(AnnotationScannerContext context, org.jboss.jandex.ClassInfo currentClass) static org.jboss.jandex.AnnotationInstanceTypeUtil.getSchemaAnnotation(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget annotationTarget) static booleanTypeUtil.isA(AnnotationScannerContext context, org.jboss.jandex.Type testSubject, org.jboss.jandex.Type testObject) Test whether testSubject is an "instanceof" type testObject.static booleanTypeUtil.isAllOf(AnnotationScannerContext context, org.jboss.jandex.ClassInfo annotatedClass, org.jboss.jandex.Type type) static booleanJandexUtil.isArraySchema(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) Returns true if the given@Schemaannotation is an array schema.static booleanTypeUtil.isIncludedAllOf(AnnotationScannerContext context, org.jboss.jandex.ClassInfo annotatedClass, org.jboss.jandex.Type type) static booleanJandexUtil.isSimpleArraySchema(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation) Returns true if the given @Schema annotation is a simple array schema.static booleanTypeUtil.isTypeOverridden(AnnotationScannerContext context, org.jboss.jandex.Type classType, org.jboss.jandex.AnnotationInstance schemaAnnotation) Check if the default schema type that applies to the provided classType differs from any value specified by the user via schemaAnnotation.static voidTypeUtil.mapDeprecated(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target, Supplier<Boolean> getDeprecated, Consumer<Boolean> setDeprecated) Constructors in io.smallrye.openapi.runtime.util with parameters of type AnnotationScannerContext