Skip to content

Commit b0fa688

Browse files
committedJan 14, 2024
Fixed: removed unused entries that are not top-level documents
1 parent 9ba5ec3 commit b0fa688

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎src/JsonApiDotNetCore.OpenApi/SwaggerComponents/JsonApiSchemaGenerator.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ internal sealed class JsonApiSchemaGenerator : ISchemaGenerator
2222
typeof(ResourcePatchRequestDocument<>),
2323
typeof(ResourceIdentifierCollectionResponseDocument<>),
2424
typeof(ResourceIdentifierResponseDocument<>),
25-
typeof(NullableResourceIdentifierResponseDocument<>),
26-
typeof(ToManyRelationshipInRequest<>),
27-
typeof(ToOneRelationshipInRequest<>),
28-
typeof(NullableToOneRelationshipInRequest<>)
25+
typeof(NullableResourceIdentifierResponseDocument<>)
2926
];
3027

3128
private static readonly Type[] JsonApiDocumentWithNullableDataOpenTypes =

0 commit comments

Comments
 (0)
Please sign in to comment.