Show / Hide Table of Contents

Class ValidationRequestPolicy

Top-level validation policy mixin (not directly used).

Inheritance
object
ValidationRequestPolicy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class ValidationRequestPolicy

Properties

ValidationMode

Declaration
[JsonProperty(PropertyName = "validationMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ValidationRequestPolicy.ValidationModeEnum? ValidationMode { get; set; }
Property Value
Type Description
ValidationRequestPolicy.ValidationModeEnum?

Validation behavior mode.
In ENFORCING mode, upon a validation failure, the request will be rejected with a 4xx response and not sent to the backend.
In PERMISSIVE mode, the result of the validation will be exposed as metrics while the request will follow the normal path.
DISABLED type turns the validation off.

In this article
Back to top