public class DataRestRequestBuilder extends Object
| Constructor and Description |
|---|
DataRestRequestBuilder(org.springframework.core.LocalVariableTableParameterNameDiscoverer localSpringDocParameterNameDiscoverer,
org.springdoc.core.GenericParameterBuilder parameterBuilder,
org.springdoc.core.RequestBodyBuilder requestBodyBuilder,
org.springdoc.core.AbstractRequestBuilder requestBuilder)
Instantiates a new Data rest request builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildCommonParameters(Class<?> domainType,
io.swagger.v3.oas.models.OpenAPI openAPI,
org.springframework.web.bind.annotation.RequestMethod requestMethod,
org.springdoc.core.MethodAttributes methodAttributes,
io.swagger.v3.oas.models.Operation operation,
String[] pNames,
org.springframework.core.MethodParameter[] parameters)
Build common parameters.
|
void |
buildParameters(Class<?> domainType,
io.swagger.v3.oas.models.OpenAPI openAPI,
org.springframework.web.method.HandlerMethod handlerMethod,
org.springframework.web.bind.annotation.RequestMethod requestMethod,
org.springdoc.core.MethodAttributes methodAttributes,
io.swagger.v3.oas.models.Operation operation,
org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata)
Build parameters.
|
public DataRestRequestBuilder(org.springframework.core.LocalVariableTableParameterNameDiscoverer localSpringDocParameterNameDiscoverer,
org.springdoc.core.GenericParameterBuilder parameterBuilder,
org.springdoc.core.RequestBodyBuilder requestBodyBuilder,
org.springdoc.core.AbstractRequestBuilder requestBuilder)
localSpringDocParameterNameDiscoverer - the local spring doc parameter name discovererparameterBuilder - the parameter builderrequestBodyBuilder - the request body builderrequestBuilder - the request builderpublic void buildParameters(Class<?> domainType, io.swagger.v3.oas.models.OpenAPI openAPI, org.springframework.web.method.HandlerMethod handlerMethod, org.springframework.web.bind.annotation.RequestMethod requestMethod, org.springdoc.core.MethodAttributes methodAttributes, io.swagger.v3.oas.models.Operation operation, org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata)
domainType - the domain typeopenAPI - the open apihandlerMethod - the handler methodrequestMethod - the request methodmethodAttributes - the method attributesoperation - the operationresourceMetadata - the resource metadatapublic void buildCommonParameters(Class<?> domainType, io.swagger.v3.oas.models.OpenAPI openAPI, org.springframework.web.bind.annotation.RequestMethod requestMethod, org.springdoc.core.MethodAttributes methodAttributes, io.swagger.v3.oas.models.Operation operation, String[] pNames, org.springframework.core.MethodParameter[] parameters)
domainType - the domain typeopenAPI - the open apirequestMethod - the request methodmethodAttributes - the method attributesoperation - the operationpNames - the p namesparameters - the parametersCopyright © 2020. All rights reserved.