5
5
using JsonApiDotNetCore . Controllers ;
6
6
using JsonApiDotNetCore . Middleware ;
7
7
using JsonApiDotNetCore . OpenApi . Swashbuckle . JsonApiMetadata . ActionMethods ;
8
- using JsonApiDotNetCore . Resources ;
9
8
using JsonApiDotNetCore . Resources . Annotations ;
10
9
using Microsoft . AspNetCore . Mvc . ApiExplorer ;
11
10
using Microsoft . Net . Http . Headers ;
@@ -19,15 +18,15 @@ namespace JsonApiDotNetCore.OpenApi.Swashbuckle.SwaggerComponents;
19
18
[ UsedImplicitly ( ImplicitUseKindFlags . InstantiatedNoFixedConstructorSignature ) ]
20
19
internal sealed class DocumentationOpenApiOperationFilter : IOperationFilter
21
20
{
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 ) ;
31
30
private const string PostOperationsName = nameof ( BaseJsonApiOperationsController . PostOperationsAsync ) ;
32
31
33
32
private const string TextCompareETag =
0 commit comments