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