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