Uses of Interface
com.atlassian.oai.validator.whitelist.rule.WhitelistRule
Packages that use WhitelistRule
Package
Description
-
Uses of WhitelistRule in com.atlassian.oai.validator.whitelist
Methods in com.atlassian.oai.validator.whitelist that return WhitelistRuleMethods in com.atlassian.oai.validator.whitelist with parameters of type WhitelistRuleModifier and TypeMethodDescriptionValidationErrorsWhitelist.withRule(String title, WhitelistRule rule) Creates a new whitelist with all rules of this and with a new rule. -
Uses of WhitelistRule in com.atlassian.oai.validator.whitelist.rule
Methods in com.atlassian.oai.validator.whitelist.rule that return WhitelistRuleModifier and TypeMethodDescriptionstatic WhitelistRuleWhitelistRules.allOf(WhitelistRule... rules) Creates a rule that matches if all given rules match.default WhitelistRuleWhitelistRule.and(WhitelistRule rule) Creates a new rule that matches only if this and that matches.static WhitelistRuleWhitelistRules.anyOf(WhitelistRule... rules) Creates a rule that matches if any of the given rules match.static WhitelistRuleMatches if the given entity (identified by name) is sent in the request or returned in the response, as specified in the spec (actual json payload are not inspected).static WhitelistRuleWhitelistRules.headerContains(String header, String regexp) Deprecated.static WhitelistRuleWhitelistRules.headerContainsRegexp(String header, String regexp) Matches requests or responses where the given regex matches a subsequence within at least one of the given header's values.static WhitelistRuleWhitelistRules.headerContainsSubstring(String header, String substring) Matches requests or responses where at least one of the given header's values contains the given substring.static WhitelistRuleWhitelistRules.isRequest()Matches all request errors.static WhitelistRuleWhitelistRules.isResponse()Matches all response errors.static WhitelistRuleWhitelistRules.messageContains(String regexp) Deprecated.static WhitelistRuleWhitelistRules.messageContainsRegexp(String regexp) Matches validation messages that contain a substring that matches the given regular expression.static WhitelistRuleWhitelistRules.messageContainsSubstring(String substring) Matches validation messages that contain a substring that matches the given regular expression.static WhitelistRuleWhitelistRules.messageHasKey(String key) Matches all error messages with the given key.static WhitelistRuleWhitelistRules.methodIs(io.swagger.v3.oas.models.PathItem.HttpMethod method) Matches all operations with the given method.default WhitelistRuleWhitelistRule.not()Negates the result of this rule.default WhitelistRuleWhitelistRule.or(WhitelistRule rule) Creates a new rule that matches if this or that matches.static WhitelistRuleWhitelistRules.pathContains(String regexp) Deprecated.static WhitelistRuleWhitelistRules.pathContainsRegexp(String regexp) Matches operations whose API path contains a substring that matches the given regular expression.static WhitelistRuleWhitelistRules.pathContainsSubstring(String substring) Matches operations whose API path contains a the given substring.static WhitelistRuleWhitelistRules.responseStatusIs(int status) Matches all responses with the given status.static WhitelistRuleWhitelistRules.responseStatusTypeIs(StatusType statusType) Matches all responses with the given status type.Methods in com.atlassian.oai.validator.whitelist.rule with parameters of type WhitelistRuleModifier and TypeMethodDescriptionstatic WhitelistRuleWhitelistRules.allOf(WhitelistRule... rules) Creates a rule that matches if all given rules match.default WhitelistRuleWhitelistRule.and(WhitelistRule rule) Creates a new rule that matches only if this and that matches.static WhitelistRuleWhitelistRules.anyOf(WhitelistRule... rules) Creates a rule that matches if any of the given rules match.default WhitelistRuleWhitelistRule.or(WhitelistRule rule) Creates a new rule that matches if this or that matches.
WhitelistRules.headerContainsRegexp(String, String)instead