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