From 520633abd76f92e09b18e9d267ef97e107cd7724 Mon Sep 17 00:00:00 2001 From: tom-star119 Date: Mon, 16 Sep 2024 16:59:28 +0200 Subject: [PATCH] Fix typo (#3073) Fix type in variable name. --- .../AnnotationsOperationFilter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Swashbuckle.AspNetCore.Annotations/AnnotationsOperationFilter.cs b/src/Swashbuckle.AspNetCore.Annotations/AnnotationsOperationFilter.cs index 370108501c..4904858be1 100644 --- a/src/Swashbuckle.AspNetCore.Annotations/AnnotationsOperationFilter.cs +++ b/src/Swashbuckle.AspNetCore.Annotations/AnnotationsOperationFilter.cs @@ -35,11 +35,11 @@ public void Apply(OpenApiOperation operation, OperationFilterContext context) .Union(metadataAttributes) .Distinct(); - var actionAndEndpointAttribtues = actionAttributes + var actionAndEndpointAttributes = actionAttributes .Union(metadataAttributes) .Distinct(); - ApplySwaggerOperationAttribute(operation, actionAndEndpointAttribtues); + ApplySwaggerOperationAttribute(operation, actionAndEndpointAttributes); ApplySwaggerOperationFilterAttributes(operation, context, allAttributes); ApplySwaggerResponseAttributes(operation, context, allAttributes); }