public class RequestBodyService extends Object
Constructor and Description |
---|
RequestBodyService(GenericParameterService parameterBuilder,
PropertyResolverUtils propertyResolverUtils)
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,
Locale locale)
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,
Locale locale)
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,
Locale locale)
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 RequestBodyService(GenericParameterService parameterBuilder, PropertyResolverUtils propertyResolverUtils)
parameterBuilder
- the parameter builderpropertyResolverUtils
- the property resolver utilspublic 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, Locale locale)
requestBody
- the request bodyrequestBodyOp
- the request body opmethodAttributes
- the method attributescomponents
- the componentsjsonViewAnnotation
- the json view annotationlocale
- the localepublic 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, Locale locale)
requestBody
- the request bodymethodAttributes
- the method attributescomponents
- the componentsjsonViewAnnotation
- the json view annotationlocale
- the localepublic 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, Locale locale)
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 © 2024. All rights reserved.