Skip to content

Commit 34511b3

Browse files
author
Bart Koelman
committed
Fixed warning: Type 'KnownResource' does not contain any attributes
1 parent 5b37b3e commit 34511b3

File tree

1 file changed

+1
-0
lines changed
  • test/JsonApiDotNetCoreTests/IntegrationTests/NonJsonApiControllers

1 file changed

+1
-0
lines changed

test/JsonApiDotNetCoreTests/IntegrationTests/NonJsonApiControllers/KnownResource.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ namespace JsonApiDotNetCoreTests.IntegrationTests.NonJsonApiControllers;
88
[Resource(ControllerNamespace = "JsonApiDotNetCoreTests.IntegrationTests.NonJsonApiControllers")]
99
public sealed class KnownResource : Identifiable<int>
1010
{
11+
[Attr]
1112
public string? Value { get; set; }
1213
}

0 commit comments

Comments
 (0)