This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel.DataAnnotations; | |
using System.Linq; | |
using Microsoft.AspNetCore.Mvc.Controllers; | |
using Swashbuckle.AspNetCore.Swagger; | |
using Swashbuckle.AspNetCore.SwaggerGen; | |
namespace VRIS.API.OperationFilters | |
{ | |
/// <summary> | |
/// <see cref="IOperationFilter"/> that fixed the fact that swagger seems to ignore the <see cref="RequiredAttribute"/> for request bodies |