Code cleanup
This commit is contained in:
parent
206e9a4129
commit
02188d079d
|
@ -29,13 +29,11 @@ namespace Microsoft.OpenApi.OData.Operation
|
|||
if (IsNavigationPropertyPath)
|
||||
{
|
||||
operation.Summary = $"Get media content for the navigation property {NavigationProperty.Name} from {NavigationSource.Name}";
|
||||
// description = Context.Model.GetDescriptionAnnotation(NavigationProperty);
|
||||
}
|
||||
else
|
||||
{
|
||||
IEdmEntityType entityType = EntitySet.EntityType();
|
||||
operation.Summary = $"Get media content for {entityType.Name} from {EntitySet.Name}";
|
||||
// description = Context.Model.GetDescriptionAnnotation(entityType);
|
||||
}
|
||||
|
||||
// Description
|
||||
|
|
|
@ -32,8 +32,8 @@ namespace Microsoft.OpenApi.OData.Operation
|
|||
}
|
||||
else
|
||||
{
|
||||
IEdmEntityType entityType = EntitySet.EntityType();
|
||||
operation.Summary = $"Update media content for {entityType.Name} in {EntitySet.Name}";
|
||||
string typeName = EntitySet.EntityType().Name;
|
||||
operation.Summary = $"Update media content for {typeName} in {EntitySet.Name}";
|
||||
}
|
||||
|
||||
// Description
|
||||
|
|
Loading…
Reference in a new issue