Show / Hide Table of Contents

Class ApiSpecificationRoute

A single route that forwards requests to a particular backend and may contain some additional policies.

Inheritance
object
ApiSpecificationRoute
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 ApiSpecificationRoute

Properties

Backend

Declaration
[Required(ErrorMessage = "Backend is required.")]
[JsonProperty(PropertyName = "backend")]
public ApiSpecificationRouteBackend Backend { get; set; }
Property Value
Type Description
ApiSpecificationRouteBackend
Remarks

Required

LoggingPolicies

Declaration
[JsonProperty(PropertyName = "loggingPolicies")]
public ApiSpecificationLoggingPolicies LoggingPolicies { get; set; }
Property Value
Type Description
ApiSpecificationLoggingPolicies

Methods

Declaration
[JsonProperty(PropertyName = "methods", ItemConverterType = typeof(ResponseEnumConverter))]
public List<ApiSpecificationRoute.MethodsEnum> Methods { get; set; }
Property Value
Type Description
List<ApiSpecificationRoute.MethodsEnum>

A list of allowed methods on this route.

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.

Remarks

Required

RequestPolicies

Declaration
[JsonProperty(PropertyName = "requestPolicies")]
public ApiSpecificationRouteRequestPolicies RequestPolicies { get; set; }
Property Value
Type Description
ApiSpecificationRouteRequestPolicies

ResponsePolicies

Declaration
[JsonProperty(PropertyName = "responsePolicies")]
public ApiSpecificationRouteResponsePolicies ResponsePolicies { get; set; }
Property Value
Type Description
ApiSpecificationRouteResponsePolicies
In this article
Back to top