Allows capturing of NavigationProperty descriptions
This commit is contained in:
parent
6676093a3c
commit
edfeeb38aa
|
@ -172,6 +172,7 @@ namespace Microsoft.OpenApi.OData.Generator
|
|||
foreach (var property in structuredType.DeclaredNavigationProperties())
|
||||
{
|
||||
OpenApiSchema propertySchema = context.CreateEdmTypeSchema(property.Type);
|
||||
propertySchema.Description = context.Model.GetDescriptionAnnotation(property);
|
||||
properties.Add(property.Name, propertySchema);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue