3 writes to Description
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
ApiResponseTypeProvider.cs (2)
229Description = metadataAttribute.Description 504existing.Description = string.IsNullOrEmpty(existing.Description)
EndpointMetadataApiDescriptionProvider.cs (1)
392apiResponseType.Description ??= GetMatchingResponseTypeDescription(responseProviderMetadataTypes.Values, apiResponseType);
8 references to Description
Microsoft.AspNetCore.Mvc.ApiExplorer (7)
ApiResponseTypeProvider.cs (5)
502if (newEntry.Description is not null) 504existing.Description = string.IsNullOrEmpty(existing.Description) 505? newEntry.Description 506: existing.Description + "\n\n" + newEntry.Description;
EndpointMetadataApiDescriptionProvider.cs (2)
443metadata.Description is not null) 445matchingDescription = metadata.Description;
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiDocumentService.cs (1)
421var description = apiResponseTypes.Select(r => r.Description).FirstOrDefault(d => d is not null);