Skip to content

Commit aa366b7

Browse files
committed
Remove unnecessary set from interface
1 parent c071c35 commit aa366b7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Http/Http.Abstractions/src/Metadata/IProducesResponseTypeMetadata.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public interface IProducesResponseTypeMetadata
2121
/// <summary>
2222
/// Gets the description of the response.
2323
/// </summary>
24-
string? Description { get; set; }
24+
string? Description { get; }
2525

2626
/// <summary>
2727
/// Gets the content types supported by the metadata.

src/Http/Http.Abstractions/src/PublicAPI.Unshipped.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ Microsoft.AspNetCore.Http.Metadata.IParameterBindingMetadata.ParameterInfo.get -
1414
Microsoft.AspNetCore.Http.ProducesResponseTypeMetadata.Description.get -> string?
1515
Microsoft.AspNetCore.Http.ProducesResponseTypeMetadata.Description.set -> void
1616
Microsoft.AspNetCore.Http.Metadata.IProducesResponseTypeMetadata.Description.get -> string?
17-
Microsoft.AspNetCore.Http.Metadata.IProducesResponseTypeMetadata.Description.set -> void
1817
Microsoft.AspNetCore.Http.ProducesResponseTypeMetadata.ProducesResponseTypeMetadata(int statusCode, System.Type? type = null, string![]? contentTypes = null) -> void

0 commit comments

Comments
 (0)