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