1 instantiation of PropertyModel
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Modeler\ServiceClientModelFactory.cs (1)
444return new PropertyModel(name, required, type.ReadOnly, propertyType);
7 references to PropertyModel
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (7)
Modeler\ClassTypeModel.cs (4)
12IEnumerable<PropertyModel> properties, 25public IImmutableList<PropertyModel> Properties { get; } 27public IEnumerable<PropertyModel> RequiredAndReadOnlyProperties => 32public IEnumerable<PropertyModel> RequiredProperties => Properties.Where(p => p.Required);
Modeler\ServiceClientModelFactory.cs (3)
416IEnumerable<PropertyModel> properties = schema.Properties != null 428: Array.Empty<PropertyModel>(); 441private PropertyModel CreatePropertyModel(string name, OpenApiSchema type, bool required)