- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.3k
 
Closed
Labels
Description
I'm trying to custom sort my schemas and SwaggerGeneratorOptions.SchemaComparer doesn't seem to have any effect.
 
Could the problem be that SchemaComparer getting skipped in this DeepCopy?
Lines 55 to 65 in 8f363f7
| public void DeepCopy(SwaggerGeneratorOptions source, SwaggerGeneratorOptions target) | |
| { | |
| target.SwaggerDocs = new Dictionary<string, OpenApiInfo>(source.SwaggerDocs); | |
| target.DocInclusionPredicate = source.DocInclusionPredicate; | |
| target.IgnoreObsoleteActions = source.IgnoreObsoleteActions; | |
| target.ConflictingActionsResolver = source.ConflictingActionsResolver; | |
| target.OperationIdSelector = source.OperationIdSelector; | |
| target.TagsSelector = source.TagsSelector; | |
| target.SortKeySelector = source.SortKeySelector; | |
| target.InferSecuritySchemes = source.InferSecuritySchemes; | |
| target.DescribeAllParametersInCamelCase = source.DescribeAllParametersInCamelCase; | 
Using Swashbuckle.AspNetCore.SwaggerGen.6.5.0.0