3 writes to RelativePath
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcJsonTranscodingDescriptionProvider.cs (1)
102
apiDescription.
RelativePath
= ResolvePath(httpRoutePattern, routeParameters);
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (1)
107
RelativePath
= GetRelativePath(parsedTemplate),
EndpointMetadataApiDescriptionProvider.cs (1)
104
RelativePath
= routeEndpoint.RoutePattern.RawText?.TrimStart('/'),
3 references to RelativePath
Microsoft.AspNetCore.OpenApi (3)
Extensions\ApiDescriptionExtensions.cs (3)
70
Debug.Assert(apiDescription.
RelativePath
!= null, "Relative path cannot be null.");
72
if (string.IsNullOrEmpty(apiDescription.
RelativePath
))
77
var routePattern = apiDescription.RoutePattern ?? RoutePatternFactory.Parse(apiDescription.
RelativePath
);