public class RequestBodyBuilder extends Object
| Constructor and Description |
|---|
RequestBodyBuilder(GenericParameterBuilder parameterBuilder)
Instantiates a new Request body builder.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<io.swagger.v3.oas.models.parameters.RequestBody> |
buildRequestBodyFromDoc(io.swagger.v3.oas.annotations.parameters.RequestBody requestBody,
MethodAttributes methodAttributes,
io.swagger.v3.oas.models.Components components)
Build request body from doc optional.
|
Optional<io.swagger.v3.oas.models.parameters.RequestBody> |
buildRequestBodyFromDoc(io.swagger.v3.oas.annotations.parameters.RequestBody requestBody,
MethodAttributes methodAttributes,
io.swagger.v3.oas.models.Components components,
com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation)
Build request body from doc optional.
|
Optional<io.swagger.v3.oas.models.parameters.RequestBody> |
buildRequestBodyFromDoc(io.swagger.v3.oas.annotations.parameters.RequestBody requestBody,
io.swagger.v3.oas.models.parameters.RequestBody requestBodyOp,
MethodAttributes methodAttributes,
io.swagger.v3.oas.models.Components components)
Build request body from doc optional.
|
Optional<io.swagger.v3.oas.models.parameters.RequestBody> |
buildRequestBodyFromDoc(io.swagger.v3.oas.annotations.parameters.RequestBody requestBody,
io.swagger.v3.oas.models.parameters.RequestBody requestBodyOp,
MethodAttributes methodAttributes,
io.swagger.v3.oas.models.Components components,
com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation)
Build request body from doc optional.
|
void |
calculateRequestBodyInfo(io.swagger.v3.oas.models.Components components,
MethodAttributes methodAttributes,
ParameterInfo parameterInfo,
RequestBodyInfo requestBodyInfo)
Calculate request body info.
|
public RequestBodyBuilder(GenericParameterBuilder parameterBuilder)
parameterBuilder - the parameter builderpublic Optional<io.swagger.v3.oas.models.parameters.RequestBody> buildRequestBodyFromDoc(io.swagger.v3.oas.annotations.parameters.RequestBody requestBody, io.swagger.v3.oas.models.parameters.RequestBody requestBodyOp, MethodAttributes methodAttributes, io.swagger.v3.oas.models.Components components, com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation)
requestBody - the request bodyrequestBodyOp - the request body opmethodAttributes - the method attributescomponents - the componentsjsonViewAnnotation - the json view annotationpublic Optional<io.swagger.v3.oas.models.parameters.RequestBody> buildRequestBodyFromDoc(io.swagger.v3.oas.annotations.parameters.RequestBody requestBody, MethodAttributes methodAttributes, io.swagger.v3.oas.models.Components components)
requestBody - the request bodymethodAttributes - the method attributescomponents - the componentspublic Optional<io.swagger.v3.oas.models.parameters.RequestBody> buildRequestBodyFromDoc(io.swagger.v3.oas.annotations.parameters.RequestBody requestBody, MethodAttributes methodAttributes, io.swagger.v3.oas.models.Components components, com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation)
requestBody - the request bodymethodAttributes - the method attributescomponents - the componentsjsonViewAnnotation - the json view annotationpublic Optional<io.swagger.v3.oas.models.parameters.RequestBody> buildRequestBodyFromDoc(io.swagger.v3.oas.annotations.parameters.RequestBody requestBody, io.swagger.v3.oas.models.parameters.RequestBody requestBodyOp, MethodAttributes methodAttributes, io.swagger.v3.oas.models.Components components)
requestBody - the request bodyrequestBodyOp - the request body opmethodAttributes - the method attributescomponents - the componentspublic void calculateRequestBodyInfo(io.swagger.v3.oas.models.Components components,
MethodAttributes methodAttributes,
ParameterInfo parameterInfo,
RequestBodyInfo requestBodyInfo)
components - the componentsmethodAttributes - the method attributesparameterInfo - the parameter inforequestBodyInfo - the request body infoCopyright © 2020. All rights reserved.