2 types derived from TypeModel
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Modeler\ClassTypeModel.cs (1)
10
public class ClassTypeModel :
TypeModel
Modeler\EnumTypeModel.cs (1)
9
public class EnumTypeModel :
TypeModel
14 references to TypeModel
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (14)
Languages\csharp\CSharp.cs (1)
231
foreach (
TypeModel
type in model.Types)
Modeler\ServiceClientModel.cs (2)
15
IEnumerable<
TypeModel
> types,
25
public IImmutableList<
TypeModel
> Types { get; }
Modeler\ServiceClientModelFactory.cs (6)
45
private readonly Dictionary<string,
TypeModel
> _types = new Dictionary<string,
TypeModel
>();
371
private
TypeModel
ResolveEnumTypeModel(IList<string> enumeration, string enumName)
393
private
TypeModel
ResolveTypeModel(OpenApiSchema schema)
406
if (_types.TryGetValue(id, out
TypeModel
model))
414
private
TypeModel
CreateTypeModel(string name, OpenApiSchema schema)
Modeler\TypeReference.cs (5)
13
private static readonly ConditionalWeakTable<
TypeModel
, TypeReference> TypeModelReferences =
14
new ConditionalWeakTable<
TypeModel
, TypeReference>();
48
public static TypeReference Object(
TypeModel
typeModel)
83
public TypeModelReference(
TypeModel
model)
88
public
TypeModel
Model { get; }