Skip to content

Commit 54dd7a8

Browse files
committed
Reword comment
1 parent d93841d commit 54dd7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Workleap.Extensions.OpenAPI/TypedResult/ExtractSchemaTypeResultFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void Apply(OpenApiOperation operation, OperationFilterContext context)
2626
if (operation.Responses.TryGetValue(responseMetadata.HttpCode.ToString(), out var existingResponse))
2727
{
2828
// If no content type is specified, three will be added by default: application/json, text/plain, and text/json.
29-
// In this case we want to enforce the application/json content type.
29+
// In this case we want to enforce the proper content type associated with the method's return type.
3030
if (IsDefaultContentTypes(existingResponse.Content))
3131
{
3232
existingResponse.Content.Clear();

0 commit comments

Comments
 (0)