Uses of Class
org.apache.juneau.bean.openapi3.Response
Packages that use Response
-
Uses of Response in org.apache.juneau.bean.openapi3
Methods in org.apache.juneau.bean.openapi3 that return ResponseModifier and TypeMethodDescriptionResponse.addContent
(String key, MediaType value) Adds one or more values to thecontent property.Response.addHeader
(String key, HeaderInfo value) Adds one or more values to theheaders property.Adds one or more values to thelinks property.Response.copy()
Make a deep copy of this object.Operation.getResponse
(int status) Returns the response with the given status code.Operation.getResponse
(String status) Returns the response with the given status code.static final Response
OpenApiBuilder.response()
Creates an emptyResponse
element.static final Response
Creates aResponse
element with the specifieddescription
attribute.Response.setContent
(Map<String, MediaType> value) Bean property setter:content .Response.setDescription
(String value) Bean property setter:Description .Response.setHeaders
(Map<String, HeaderInfo> value) Bean property setter:headers .Bean property setter:links .protected Response
Response.strict()
Methods in org.apache.juneau.bean.openapi3 that return types with arguments of type ResponseModifier and TypeMethodDescriptionComponents.getResponses()
Returns the responses map.Operation.getResponses()
Returns the responses map.Methods in org.apache.juneau.bean.openapi3 with parameters of type ResponseModifier and TypeMethodDescriptionOperation.addResponse
(String statusCode, Response response) Bean property fluent setter:responses .Method parameters in org.apache.juneau.bean.openapi3 with type arguments of type ResponseModifier and TypeMethodDescriptionComponents.setResponses
(Map<String, Response> value) Sets the responses map.Operation.setResponses
(Map<String, Response> value) Sets the responses map.Constructors in org.apache.juneau.bean.openapi3 with parameters of type Response