File tree 12 files changed +18
-0
lines changed
JsonApiDotNetCoreTests/IntegrationTests
12 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1
1
using JetBrains . Annotations ;
2
2
using JsonApiDotNetCore . Resources ;
3
+ using JsonApiDotNetCore . Resources . Annotations ;
3
4
4
5
namespace DiscoveryTests ;
5
6
6
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ]
7
9
public sealed class PrivateResource : Identifiable < int >
8
10
{
9
11
}
Original file line number Diff line number Diff line change 5
5
namespace JsonApiDotNetCoreTests . IntegrationTests . EagerLoading ;
6
6
7
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ( ControllerNamespace = "JsonApiDotNetCoreTests.IntegrationTests.EagerLoading" ) ]
8
9
public sealed class City : Identifiable < int >
9
10
{
10
11
[ Attr ]
Original file line number Diff line number Diff line change 1
1
using JetBrains . Annotations ;
2
+ using JsonApiDotNetCore . Controllers ;
2
3
using JsonApiDotNetCore . Resources . Annotations ;
3
4
4
5
namespace JsonApiDotNetCoreTests . IntegrationTests . IdObfuscation ;
5
6
6
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ( GenerateControllerEndpoints = JsonApiEndpoints . None ) ]
7
9
public sealed class BankAccount : ObfuscatedIdentifiable
8
10
{
9
11
[ Attr ]
Original file line number Diff line number Diff line change 1
1
using JetBrains . Annotations ;
2
+ using JsonApiDotNetCore . Controllers ;
2
3
using JsonApiDotNetCore . Resources . Annotations ;
3
4
4
5
namespace JsonApiDotNetCoreTests . IntegrationTests . IdObfuscation ;
5
6
6
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ( GenerateControllerEndpoints = JsonApiEndpoints . None ) ]
7
9
public sealed class DebitCard : ObfuscatedIdentifiable
8
10
{
9
11
[ Attr ]
Original file line number Diff line number Diff line change 1
1
using System . ComponentModel . DataAnnotations ;
2
2
using JetBrains . Annotations ;
3
+ using JsonApiDotNetCore . Controllers ;
3
4
using JsonApiDotNetCore . Resources ;
4
5
using JsonApiDotNetCore . Resources . Annotations ;
5
6
6
7
namespace JsonApiDotNetCoreTests . IntegrationTests . NamingConventions ;
7
8
8
9
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
10
+ [ Resource ( GenerateControllerEndpoints = JsonApiEndpoints . None ) ]
9
11
public sealed class DivingBoard : Identifiable < int >
10
12
{
11
13
[ Attr ]
Original file line number Diff line number Diff line change 1
1
using JetBrains . Annotations ;
2
+ using JsonApiDotNetCore . Controllers ;
2
3
using JsonApiDotNetCore . Resources ;
3
4
using JsonApiDotNetCore . Resources . Annotations ;
4
5
5
6
namespace JsonApiDotNetCoreTests . IntegrationTests . NamingConventions ;
6
7
7
8
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
9
+ [ Resource ( GenerateControllerEndpoints = JsonApiEndpoints . None ) ]
8
10
public sealed class SwimmingPool : Identifiable < int >
9
11
{
10
12
[ Attr ]
Original file line number Diff line number Diff line change 1
1
using JetBrains . Annotations ;
2
+ using JsonApiDotNetCore . Controllers ;
2
3
using JsonApiDotNetCore . Resources ;
3
4
using JsonApiDotNetCore . Resources . Annotations ;
4
5
5
6
namespace JsonApiDotNetCoreTests . IntegrationTests . NamingConventions ;
6
7
7
8
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
9
+ [ Resource ( GenerateControllerEndpoints = JsonApiEndpoints . None ) ]
8
10
public sealed class WaterSlide : Identifiable < int >
9
11
{
10
12
[ Attr ]
Original file line number Diff line number Diff line change 5
5
namespace JsonApiDotNetCoreTests . IntegrationTests . QueryStrings ;
6
6
7
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ( ControllerNamespace = "JsonApiDotNetCoreTests.IntegrationTests.QueryStrings" ) ]
8
9
public sealed class AccountPreferences : Identifiable < int >
9
10
{
10
11
[ Attr ]
Original file line number Diff line number Diff line change 5
5
namespace JsonApiDotNetCoreTests . IntegrationTests . QueryStrings ;
6
6
7
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ( ControllerNamespace = "JsonApiDotNetCoreTests.IntegrationTests.QueryStrings" ) ]
8
9
public sealed class Appointment : Identifiable < int >
9
10
{
10
11
[ Attr ]
Original file line number Diff line number Diff line change 5
5
namespace JsonApiDotNetCoreTests . IntegrationTests . QueryStrings ;
6
6
7
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ( ControllerNamespace = "JsonApiDotNetCoreTests.IntegrationTests.QueryStrings" ) ]
8
9
public sealed class Label : Identifiable < int >
9
10
{
10
11
[ Attr ]
Original file line number Diff line number Diff line change 5
5
namespace JsonApiDotNetCoreTests . IntegrationTests . QueryStrings ;
6
6
7
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ( ControllerNamespace = "JsonApiDotNetCoreTests.IntegrationTests.QueryStrings" ) ]
8
9
public sealed class LoginAttempt : Identifiable < int >
9
10
{
10
11
[ Attr ]
Original file line number Diff line number Diff line change 5
5
namespace JsonApiDotNetCoreTests . IntegrationTests . RestrictedControllers ;
6
6
7
7
[ UsedImplicitly ( ImplicitUseTargetFlags . Members ) ]
8
+ [ Resource ( ControllerNamespace = "JsonApiDotNetCoreTests.IntegrationTests.RestrictedControllers" ) ]
8
9
public sealed class Room : Identifiable < int >
9
10
{
10
11
[ Attr ]
You can’t perform that action at this time.
0 commit comments