Class ValidationReport.MessageContext.Builder
java.lang.Object
com.atlassian.oai.validator.report.ValidationReport.MessageContext.Builder
- Enclosing interface:
- ValidationReport.MessageContext
-
Method Summary
Modifier and TypeMethodDescriptionbuild()in(ValidationReport.MessageContext.Location location) withApiOperation(ApiOperation apiOperation) withApiRequestBodyDefinition(io.swagger.v3.oas.models.parameters.RequestBody requestBody) withApiResponseDefinition(io.swagger.v3.oas.models.responses.ApiResponse apiResponseDefinition) withAppliedWhitelistRule(NamedWhitelistRule whitelistRule) withMatchedApiContentType(String contentType) withParameter(io.swagger.v3.oas.models.parameters.Parameter parameter) withPointers(String instance, String schema) withRequestMethod(Request.Method method) withRequestPath(String requestPath) withResponseStatus(Integer status)
-
Method Details
-
withRequestPath
-
withRequestMethod
-
withApiOperation
-
withParameter
public ValidationReport.MessageContext.Builder withParameter(io.swagger.v3.oas.models.parameters.Parameter parameter) -
withApiRequestBodyDefinition
public ValidationReport.MessageContext.Builder withApiRequestBodyDefinition(io.swagger.v3.oas.models.parameters.RequestBody requestBody) -
withMatchedApiContentType
-
withResponseStatus
-
withApiResponseDefinition
public ValidationReport.MessageContext.Builder withApiResponseDefinition(io.swagger.v3.oas.models.responses.ApiResponse apiResponseDefinition) -
in
public ValidationReport.MessageContext.Builder in(ValidationReport.MessageContext.Location location) -
withAppliedWhitelistRule
public ValidationReport.MessageContext.Builder withAppliedWhitelistRule(NamedWhitelistRule whitelistRule) -
withPointers
-
withAdditionalDataFrom
public ValidationReport.MessageContext.Builder withAdditionalDataFrom(ValidationReport.MessageContext other) -
build
-