@Service @PerLookup public class OpenApiSniffer extends MicroProfileSniffer
| Modifier and Type | Field and Description |
|---|---|
static String[] |
OPENAPI_YAML_FILE_PATHS |
| Constructor and Description |
|---|
OpenApiSniffer() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation>[] |
getAnnotationTypes()
Returns the list of annotations types that this sniffer is interested in.
|
protected Class<?> |
getContainersClass() |
String |
getModuleType()
Returns the container type associated with this sniffer
|
boolean |
handles(ReadableArchive archive)
Returns true if the passed file or directory is recognized by this
sniffer.
|
getAnnotationNames, getContainersNames, getDeploymentConfigurations, getIncompatibleSnifferTypes, getURLPatterns, handles, isJavaEE, isUserVisible, setup, supportsArchiveType, tearDownpublic static final String[] OPENAPI_YAML_FILE_PATHS
public Class<? extends Annotation>[] getAnnotationTypes()
Snifferpublic boolean handles(ReadableArchive archive)
Snifferhandles in interface Snifferhandles in class MicroProfileSnifferarchive - the file or directory abstracted as an archive
resources from the source archive.protected Class<?> getContainersClass()
getContainersClass in class MicroProfileSnifferCopyright © 2021. All rights reserved.