Hi,
In swagger feature I was able to add operation filter as described below. How would this translate to in OpenAPI?
OperationFilter = op =>
{
var name = op.Nickname;
if ((name == typeof(UploadRequest).Name
&& op.Method == HttpMethods.Post)
{
op.Parameters.Add(new SwaggerParameter
{
Name = "Upload",
ParamType = "body",
Type = "file",
AllowMultiple = true
});
}
}