Skip to content

Commit

Permalink
fixes last commit (Not setting example for params)
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier García de la Noceda Argüelles committed Sep 23, 2024
1 parent 88a43e1 commit c018b21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void ApplyParamTagsForBody(OpenApiRequestBody requestBody, RequestBodyFi
requestBody.Description = summary;
}

if (requestBody.Content?.Count is 0 || !string.IsNullOrEmpty(example))
if (requestBody.Content?.Count is 0 || string.IsNullOrEmpty(example))
{
return;
}
Expand Down

0 comments on commit c018b21

Please sign in to comment.