File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ namespace JsonApiToolkit.Controllers;
2323[ Produces ( "application/vnd.api+json" ) ]
2424[ Consumes ( "application/vnd.api+json" ) ]
2525[ ServiceFilter ( typeof ( JsonApiExceptionFilter ) ) ]
26- [ ApiExplorerSettings ( GroupName = "JsonApi" ) ]
2726public abstract class JsonApiController : ControllerBase
2827{
2928 /// <summary>
Original file line number Diff line number Diff line change @@ -15,27 +15,10 @@ public static class ServiceCollectionExtensions
1515 {
1616 /// <summary>
1717 /// Configures all necessary services and options for JsonApiToolkit in an ASP.NET Core application.
18- /// Also configures OpenAPI/Swagger to use the correct JSON:API content types for controllers inheriting from JsonApiController .
18+ /// Also configures OpenAPI/Swagger to use the correct JSON:API content types for controllers tagged with GroupName = "JsonApi" .
1919 /// </summary>
2020 /// <param name="services">The service collection to add JsonApiToolkit services to.</param>
2121 /// <returns>The service collection for method chaining.</returns>
22- /// <remarks>
23- /// This method:
24- /// <list type="number">
25- /// <item>
26- /// <description>Configures JSON serialization options for JSON:API.</description>
27- /// </item>
28- /// <item>
29- /// <description>Adds support for the JSON:API media type to input/output formatters.</description>
30- /// </item>
31- /// <item>
32- /// <description>Registers JSON:API exception and content-type filters.</description>
33- /// </item>
34- /// <item>
35- /// <description>Configures OpenAPI/Swagger to use "application/vnd.api+json" for all endpoints inheriting from JsonApiController.</description>
36- /// </item>
37- /// </list>
38- /// </remarks>
3922 public static IServiceCollection AddJsonApiToolkit ( this IServiceCollection services )
4023 {
4124 // Configure JSON serialization options
You can’t perform that action at this time.
0 commit comments