Class AnnotationScannerExtension.Default
java.lang.Object
io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension.Default
- All Implemented Interfaces:
AnnotationScannerExtension
- Enclosing interface:
AnnotationScannerExtension
public static class AnnotationScannerExtension.Default
extends Object
implements AnnotationScannerExtension
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
AnnotationScannerExtension.Default -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.openapi.models.media.SchemaparseSchema(String jsonSchema) Parse a string value as a SchemaparseValue(String value) Parse a string value as an Object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.openapi.runtime.scanner.AnnotationScannerExtension
isScannerAnnotationExtension, parseExtension, processScannerApplications, resolveAsyncType
-
Method Details
-
parseValue
Description copied from interface:AnnotationScannerExtensionParse a string value as an Object. By default, try to parse the value from JSON The value may be: - JSON object - starts with '{' - JSON array - starts with '[' - number - boolean - string- Specified by:
parseValuein interfaceAnnotationScannerExtension- Parameters:
value- the string value- Returns:
- the parsed value as Object
-
parseSchema
Description copied from interface:AnnotationScannerExtensionParse a string value as a Schema- Specified by:
parseSchemain interfaceAnnotationScannerExtension- Parameters:
jsonSchema- the string value of the schema, in JSON format- Returns:
- the parsed value as Schema
-