Class ApiSpecificationRoute
A single route that forwards requests to a particular backend and may contain some additional policies.
Inheritance
ApiSpecificationRoute
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class ApiSpecificationRoute
Properties
Backend
Declaration
[Required(ErrorMessage = "Backend is required.")]
[JsonProperty(PropertyName = "backend")]
public ApiSpecificationRouteBackend Backend { get; set; }
Property Value
LoggingPolicies
Declaration
[JsonProperty(PropertyName = "loggingPolicies")]
public ApiSpecificationLoggingPolicies LoggingPolicies { get; set; }
Property Value
Methods
Declaration
[JsonProperty(PropertyName = "methods", ItemConverterType = typeof(ResponseEnumConverter))]
public List<ApiSpecificationRoute.MethodsEnum> Methods { get; set; }
Property Value
Path
Declaration
[Required(ErrorMessage = "Path is required.")]
[JsonProperty(PropertyName = "path")]
public string Path { get; set; }
Property Value
Type |
Description |
string |
A URL path pattern that must be matched on this route. The path pattern may contain a subset of RFC 6570 identifiers
to allow wildcard and parameterized matching.
|
RequestPolicies
Declaration
[JsonProperty(PropertyName = "requestPolicies")]
public ApiSpecificationRouteRequestPolicies RequestPolicies { get; set; }
Property Value
ResponsePolicies
Declaration
[JsonProperty(PropertyName = "responsePolicies")]
public ApiSpecificationRouteResponsePolicies ResponsePolicies { get; set; }
Property Value