55using JsonApiDotNetCore . Controllers ;
66using JsonApiDotNetCore . Middleware ;
77using JsonApiDotNetCore . OpenApi . Swashbuckle . JsonApiMetadata . ActionMethods ;
8- using JsonApiDotNetCore . Resources ;
98using JsonApiDotNetCore . Resources . Annotations ;
109using Microsoft . AspNetCore . Mvc . ApiExplorer ;
1110using Microsoft . Net . Http . Headers ;
@@ -19,15 +18,15 @@ namespace JsonApiDotNetCore.OpenApi.Swashbuckle.SwaggerComponents;
1918[ UsedImplicitly ( ImplicitUseKindFlags . InstantiatedNoFixedConstructorSignature ) ]
2019internal sealed class DocumentationOpenApiOperationFilter : IOperationFilter
2120{
22- private const string GetPrimaryName = nameof ( BaseJsonApiController < Identifiable < int > , int > . GetAsync ) ;
23- private const string GetSecondaryName = nameof ( BaseJsonApiController < Identifiable < int > , int > . GetSecondaryAsync ) ;
24- private const string GetRelationshipName = nameof ( BaseJsonApiController < Identifiable < int > , int > . GetRelationshipAsync ) ;
25- private const string PostResourceName = nameof ( BaseJsonApiController < Identifiable < int > , int > . PostAsync ) ;
26- private const string PostRelationshipName = nameof ( BaseJsonApiController < Identifiable < int > , int > . PostRelationshipAsync ) ;
27- private const string PatchResourceName = nameof ( BaseJsonApiController < Identifiable < int > , int > . PatchAsync ) ;
28- private const string PatchRelationshipName = nameof ( BaseJsonApiController < Identifiable < int > , int > . PatchRelationshipAsync ) ;
29- private const string DeleteResourceName = nameof ( BaseJsonApiController < Identifiable < int > , int > . DeleteAsync ) ;
30- private const string DeleteRelationshipName = nameof ( BaseJsonApiController < Identifiable < int > , int > . DeleteRelationshipAsync ) ;
21+ private const string GetPrimaryName = nameof ( BaseJsonApiController < , > . GetAsync ) ;
22+ private const string GetSecondaryName = nameof ( BaseJsonApiController < , > . GetSecondaryAsync ) ;
23+ private const string GetRelationshipName = nameof ( BaseJsonApiController < , > . GetRelationshipAsync ) ;
24+ private const string PostResourceName = nameof ( BaseJsonApiController < , > . PostAsync ) ;
25+ private const string PostRelationshipName = nameof ( BaseJsonApiController < , > . PostRelationshipAsync ) ;
26+ private const string PatchResourceName = nameof ( BaseJsonApiController < , > . PatchAsync ) ;
27+ private const string PatchRelationshipName = nameof ( BaseJsonApiController < , > . PatchRelationshipAsync ) ;
28+ private const string DeleteResourceName = nameof ( BaseJsonApiController < , > . DeleteAsync ) ;
29+ private const string DeleteRelationshipName = nameof ( BaseJsonApiController < , > . DeleteRelationshipAsync ) ;
3130 private const string PostOperationsName = nameof ( BaseJsonApiOperationsController . PostOperationsAsync ) ;
3231
3332 private const string TextCompareETag =
0 commit comments