Package io.smallrye.openapi.runtime.io
Class ModelIO<T,V,A extends V,O extends V,AB,OB>
java.lang.Object
io.smallrye.openapi.runtime.io.ModelIO<T,V,A,O,AB,OB>
- Direct Known Subclasses:
APIResponsesIO,ComponentsIO,ContactIO,ContentIO,DiscriminatorIO,ExternalDocumentationIO,InfoIO,LicenseIO,MapModelIO,MediaTypeIO,OAuthFlowIO,OAuthFlowsIO,OpenAPIDefinitionIO,OperationIO,PathItemIO,PathsIO,SecurityRequirementIO,SecurityRequirementsSetIO,ServerIO,TagIO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.jboss.jandex.DotNameprotected final org.jboss.jandex.DotName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <P extends Enum<P>>
Pprotected <P extends Enum<P>>
Porg.jboss.jandex.AnnotationInstancegetAnnotation(org.jboss.jandex.AnnotationTarget target) getName(org.jboss.jandex.AnnotationInstance annotation) List<org.jboss.jandex.AnnotationInstance>getRepeatableAnnotations(org.jboss.jandex.AnnotationTarget target) booleanhasRepeatableAnnotation(org.jboss.jandex.AnnotationTarget target) jsonIO()protected static <T> Predicate<T>optionalJsonArray(Object source) optionalJsonObject(Object source) abstract Tread(org.jboss.jandex.AnnotationInstance annotation) read(org.jboss.jandex.AnnotationTarget target) read(org.jboss.jandex.AnnotationValue annotation) abstract TreadObject(O node) protected voidsetAllIfPresent(OB object, Optional<? extends O> valueSource) protected voidsetIfPresent(OB object, String key, Optional<? extends V> valueSource) protected <P> Pprotected <P> P
-
Field Details
-
annotationName
protected final org.jboss.jandex.DotName annotationName -
modelName
protected final org.jboss.jandex.DotName modelName
-
-
Constructor Details
-
ModelIO
-
-
Method Details
-
ioContext
-
jsonIO
-
scannerContext
-
setIfPresent
-
setAllIfPresent
-
optionalJsonObject
-
optionalJsonArray
-
entry
-
value
-
value
protected <P> P value(org.jboss.jandex.AnnotationInstance annotation, String propertyName, P defaultValue) -
enumValue
-
enumValue
-
getName
-
getName
-
not
-
toLinkedMap
-
getAnnotation
public org.jboss.jandex.AnnotationInstance getAnnotation(org.jboss.jandex.AnnotationTarget target) -
getRepeatableAnnotations
public List<org.jboss.jandex.AnnotationInstance> getRepeatableAnnotations(org.jboss.jandex.AnnotationTarget target) -
hasRepeatableAnnotation
public boolean hasRepeatableAnnotation(org.jboss.jandex.AnnotationTarget target) -
read
-
read
-
read
-
readValue
-
readObject
-
write
-