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
public class NullReferenceTypePropertyFilter : ISchemaFilter | |
{ | |
public void Apply(OpenApiSchema schema, SchemaFilterContext context) | |
{ | |
Type type; | |
List<CustomAttributeData> attributes; | |
if (context.MemberInfo is PropertyInfo propertyInfo) | |
{ | |
type = propertyInfo.PropertyType; | |
attributes = CollectContextAttributes(propertyInfo.DeclaringType) |
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 BLogic.BeCommerce.Domain.Models.Products; | |
using System.Collections.Generic; | |
namespace BLogic.BeCommerce.Domain.Models.Warehouses.Dtos | |
{ | |
public interface IStockQuantityTextParams | |
{ | |
int WarehouseID { get; } | |
bool IsOnRequest { get; } |