diff options
Diffstat (limited to 'src/Http/Routing/src/IExcludeFromDescriptionMetadata.cs')
-rw-r--r-- | src/Http/Routing/src/IExcludeFromDescriptionMetadata.cs | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/Http/Routing/src/IExcludeFromDescriptionMetadata.cs b/src/Http/Routing/src/IExcludeFromDescriptionMetadata.cs index 4e3c1eb997..ae308e14ac 100644 --- a/src/Http/Routing/src/IExcludeFromDescriptionMetadata.cs +++ b/src/Http/Routing/src/IExcludeFromDescriptionMetadata.cs @@ -4,18 +4,17 @@ using System; using Microsoft.AspNetCore.Http; -namespace Microsoft.AspNetCore.Routing +namespace Microsoft.AspNetCore.Routing; + +/// <summary> +/// Indicates whether or not that API explorer data should be emitted for this endpoint. +/// </summary> +public interface IExcludeFromDescriptionMetadata { /// <summary> - /// Indicates whether or not that API explorer data should be emitted for this endpoint. + /// Gets a value indicating whether OpenAPI + /// data should be excluded for this endpoint. If <see langword="true"/>, + /// API metadata is not emitted. /// </summary> - public interface IExcludeFromDescriptionMetadata - { - /// <summary> - /// Gets a value indicating whether OpenAPI - /// data should be excluded for this endpoint. If <see langword="true"/>, - /// API metadata is not emitted. - /// </summary> - bool ExcludeFromDescription { get; } - } + bool ExcludeFromDescription { get; } } |