Skip to content

Commit

Permalink
Account for InferSecuritySchemes in generator options DeepCopy
Browse files Browse the repository at this point in the history
  • Loading branch information
domaindrivendev committed Nov 14, 2022
1 parent a97df7d commit e98e4aa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void DeepCopy(SwaggerGeneratorOptions source, SwaggerGeneratorOptions tar
target.OperationIdSelector = source.OperationIdSelector;
target.TagsSelector = source.TagsSelector;
target.SortKeySelector = source.SortKeySelector;
target.InferSecuritySchemes = source.InferSecuritySchemes;
target.DescribeAllParametersInCamelCase = source.DescribeAllParametersInCamelCase;
target.Servers = new List<OpenApiServer>(source.Servers);
target.SecuritySchemes = new Dictionary<string, OpenApiSecurityScheme>(source.SecuritySchemes);
Expand Down

0 comments on commit e98e4aa

Please sign in to comment.