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>
- All Implemented Interfaces:
JsonIO.PropertyMapper<V,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) readResponseSchema(org.jboss.jandex.AnnotationTarget target) readSingle(org.jboss.jandex.AnnotationTarget target) Methods inherited from class io.smallrye.openapi.runtime.io.ModelIO
apiResponseIO, apiResponsesIO, callbackIO, callbackOperationIO, componentsIO, contactIO, contentIO, discriminatorIO, encodingIO, entry, enumValue, enumValue, exampleObjectIO, extDocIO, extensionIO, getAnnotation, getName, getName, getRepeatableAnnotations, hasRepeatableAnnotation, headerIO, infoIO, ioContext, jsonIO, licenseIO, linkIO, linkParameterIO, mapObject, mapObject, mapProperty, mediaTypeIO, not, oauthFlowIO, oauthFlowsIO, oauthScopeIO, openApiDefinitionIO, openApiVersion, operationIO, optionalJsonArray, optionalJsonObject, parameterIO, pathItemIO, pathItemOperationIO, pathsIO, read, read, readJson, readObject, readObject, readValue, readValue, requestBodyIO, scannerContext, schemaIO, securityIO, securityRequirementIO, securityRequirementsSetIO, securitySchemeIO, serverIO, serverVariableIO, setAllIfPresent, setIfPresent, setOpenApiVersion, setProperty, setProperty, tagIO, toLinkedMap, value, value, write
-
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
-