Skip to content

Commit 09ab5c0

Browse files
committed
Add FlightAttendantController to used controllers
1 parent 54a023f commit 09ab5c0

File tree

3 files changed

+725
-0
lines changed

3 files changed

+725
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using JsonApiDotNetCore.Configuration;
2+
using JsonApiDotNetCore.Controllers;
3+
using JsonApiDotNetCore.Services;
4+
using Microsoft.Extensions.Logging;
5+
6+
namespace OpenApiTests
7+
{
8+
public sealed class FlightAttendantsController : JsonApiController<FlightAttendant, long>
9+
{
10+
public FlightAttendantsController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService<FlightAttendant, long> resourceService)
11+
: base(options, loggerFactory, resourceService)
12+
{
13+
}
14+
}
15+
}

test/OpenApiTests/OpenApiDocumentTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public OpenApiDocumentTests()
1515
{
1616
UseController<AirplanesController>();
1717
UseController<FlightsController>();
18+
UseController<FlightAttendantsController>();
1819
}
1920

2021
[Fact]

0 commit comments

Comments
 (0)