Class APIResponsesIO<V,A extends V,O extends V,AB,OB>
java.lang.Object
io.smallrye.openapi.runtime.io.ModelIO<org.eclipse.microprofile.openapi.models.responses.APIResponses,V,A,O,AB,OB>
io.smallrye.openapi.runtime.io.responses.APIResponsesIO<V,A,O,AB,OB>
public class APIResponsesIO<V,A extends V,O extends V,AB,OB>
extends ModelIO<org.eclipse.microprofile.openapi.models.responses.APIResponses,V,A,O,AB,OB>
-
Field Summary
Fields inherited from class io.smallrye.openapi.runtime.io.ModelIO
annotationName, modelName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.openapi.models.responses.APIResponsesread(org.jboss.jandex.AnnotationInstance annotation) org.eclipse.microprofile.openapi.models.responses.APIResponsesread(org.jboss.jandex.AnnotationInstance[] annotations) Reads an array of APIResponse annotations into anAPIResponsesmodel.org.eclipse.microprofile.openapi.models.responses.APIResponsesread(org.jboss.jandex.AnnotationValue annotation) readAll(org.jboss.jandex.AnnotationTarget target) org.eclipse.microprofile.openapi.models.responses.APIResponsesreadObject(O node) readResponseSchema(org.jboss.jandex.AnnotationTarget target) readSingle(org.jboss.jandex.AnnotationTarget target) write(org.eclipse.microprofile.openapi.models.responses.APIResponses model) Methods inherited from class io.smallrye.openapi.runtime.io.ModelIO
entry, enumValue, enumValue, getAnnotation, getName, getName, getRepeatableAnnotations, hasRepeatableAnnotation, ioContext, jsonIO, not, optionalJsonArray, optionalJsonObject, read, readValue, scannerContext, setAllIfPresent, setIfPresent, toLinkedMap, value, value
-
Constructor Details
-
APIResponsesIO
-
-
Method Details
-
readSingle
-
readAll
-
read
public org.eclipse.microprofile.openapi.models.responses.APIResponses read(org.jboss.jandex.AnnotationInstance annotation) -
read
public org.eclipse.microprofile.openapi.models.responses.APIResponses read(org.jboss.jandex.AnnotationValue annotation) -
readResponseSchema
-
read
public org.eclipse.microprofile.openapi.models.responses.APIResponses read(org.jboss.jandex.AnnotationInstance[] annotations) Reads an array of APIResponse annotations into anAPIResponsesmodel.- Parameters:
annotations- @APIResponse annotations- Returns:
- APIResponses model
-
readObject
-
write
-