Swashbuckle.Swagger.SchemaRegistry.CreateArraySchema C# (CSharp) 메소드

CreateArraySchema() 개인적인 메소드

private CreateArraySchema ( JsonArrayContract arrayContract ) : Schema
arrayContract Newtonsoft.Json.Serialization.JsonArrayContract
리턴 Schema
        private Schema CreateArraySchema(JsonArrayContract arrayContract)
        {
            var itemType = arrayContract.CollectionItemType ?? typeof(object);
            return new Schema
                {
                    type = "array",
                    items = CreateInlineSchema(itemType).WithValidationProperties(arrayContract)
                };
        }