Uses of Class
org.apache.juneau.bean.swagger.ResponseInfo
Packages that use ResponseInfo
-
Uses of ResponseInfo in org.apache.juneau.bean.swagger
Methods in org.apache.juneau.bean.swagger that return ResponseInfoModifier and TypeMethodDescriptionResponseInfo.addExample
(String mimeType, Object example) Bean property appender:examples .ResponseInfo.addHeader
(String name, HeaderInfo header) Bean property appender:headers .ResponseInfo.copy()
Make a deep copy of this object.ResponseInfo.copyFrom
(ResponseInfo r) Copies any non-null fields from the specified object to this object.Operation.getResponse
(int status) Returns the response info with the given status code.Operation.getResponse
(String status) Returns the response info with the given status code.Swagger.getResponseInfo
(String path, String operation, int status) Shortcut for callinggetPaths().get(path).get(operation).getResponse(status); Swagger.getResponseInfo
(String path, String operation, String status) Shortcut for callinggetPaths().get(path).get(operation).getResponse(status); ResponseInfo.resolveRefs
(Swagger swagger, Deque<String> refStack, int maxDepth) Resolves any"$ref" attributes in this element.static final ResponseInfo
SwaggerBuilder.responseInfo()
Creates an emptyResponseInfo
element.static final ResponseInfo
SwaggerBuilder.responseInfo
(String description) Creates anResponseInfo
element with the specifieddescription
attribute.ResponseInfo.setDescription
(String value) Bean property setter:description .ResponseInfo.setExamples
(Map<String, Object> value) Bean property setter:examples .ResponseInfo.setHeaders
(Map<String, HeaderInfo> value) Bean property setter:headers .ResponseInfo.setSchema
(SchemaInfo value) Bean property setter:schema .ResponseInfo.strict()
Sets strict mode on this bean.Sets strict mode on this bean.Methods in org.apache.juneau.bean.swagger that return types with arguments of type ResponseInfoModifier and TypeMethodDescriptionOperation.getResponses()
Bean property getter:responses .Swagger.getResponses()
Bean property getter:responses .Methods in org.apache.juneau.bean.swagger with parameters of type ResponseInfoModifier and TypeMethodDescriptionOperation.addResponse
(String statusCode, ResponseInfo response) Adds a single value to theresponses property.Swagger.addResponse
(String name, ResponseInfo response) Bean property appender:responses .ResponseInfo.copyFrom
(ResponseInfo r) Copies any non-null fields from the specified object to this object.Method parameters in org.apache.juneau.bean.swagger with type arguments of type ResponseInfoModifier and TypeMethodDescriptionOperation.setResponses
(Map<String, ResponseInfo> value) Bean property setter:responses .Swagger.setResponses
(Map<String, ResponseInfo> value) Bean property setter:responses .Constructors in org.apache.juneau.bean.swagger with parameters of type ResponseInfo