You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.Equal(typeof(IEnumerable<TimeSpan>),okResponseType.Type);// We use IEnumerable<TimeSpan> as the inferred type has higher priority than those set by metadata (attributes)
Assert.Equal(typeof(IEnumerable<TimeSpan>),okResponseType.Type);// We use IEnumerable<TimeSpan> as the inferred type has higher priority than those set by metadata (attributes)
Assert.Equal(typeof(IEnumerable<BaseClass>),okResponseType.Type);// We use IEnumerable<BaseClass> as the inferred type has higher priority than those set by metadata (attributes)
/// EndpointMetadataApiDescriptionProvider performs a one way type check for discovering response types to match the description that's set in [ProducesResponseType]
469
412
/// The reason we do a one-way check instead of a bidirectional check is to prevent too many positive matches.
0 commit comments