Share via


OpenApiPathsRules Class

Definition

The validation rules for OpenApiPaths.

[Microsoft.OpenApi.OpenApiRule]
public static class OpenApiPathsRules
[<Microsoft.OpenApi.OpenApiRule>]
type OpenApiPathsRules = class
Public Class OpenApiPathsRules
Inheritance
OpenApiPathsRules
Attributes

Properties

Name Description
PathMustBeUnique

A relative path to an individual endpoint. The field name MUST begin with a slash.

PathNameMustBeginWithSlash

A relative path to an individual endpoint. The field name MUST begin with a slash.

Applies to