2 instantiations of GoApiModel
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.ApiProjection.cs (1)
62
return new
GoApiModel
Aspire.Hosting.CodeGeneration.Go.Tests (1)
GoApiExportTests.cs (1)
877
return new
GoApiModel
18 references to GoApiModel
Aspire.Hosting.CodeGeneration.Go (5)
AtsGoApiReferenceExporter.cs (1)
54
var
model = new AtsGoCodeGenerator().BuildApiModel(
AtsGoCodeGenerator.ApiProjection.cs (1)
36
internal
GoApiModel
BuildApiModel(
GoApiExportWriter.cs (3)
10
/// Serializes a <see cref="
GoApiModel
"/> into the canonical schema version 1 export document.
22
public static JsonObject Write(
GoApiModel
model)
71
public static string WriteToJson(
GoApiModel
model, bool indented = false)
Aspire.Hosting.CodeGeneration.Go.Tests (13)
AtsGoDerivedBuilderTests.cs (1)
161
var
model = new AtsGoCodeGenerator().BuildApiModel(
GoApiExportTests.cs (12)
22
private static readonly Lazy<
GoApiModel
> s_everything = new(ExportEverything);
45
var
model = s_everything.Value;
70
var
model = BuildModel(TestTypesAssemblyName);
104
var
model = BuildModel(TestTypesAssemblyName);
127
var
model = BuildModel(HostingAssemblyName);
233
var
model = s_everything.Value;
706
private static
GoApiModel
BuildModel(params string[] exportingAssemblyNames)
711
private static
GoApiModel
ExportEverything()
713
var
first = BuildModel(HostingAssemblyName, TestTypesAssemblyName);
754
private static void AssertDeclarationsAreSelfContained(
GoApiModel
model)
845
private static string RenderFocused(
GoApiModel
model, params (string ItemId, string[]? MemberNames)[] selection)
872
private static
GoApiModel
CreateFocusedModel()