9 references to GoApiExportWriter
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoApiReferenceExporter.cs (1)
63
using var document = JsonDocument.Parse(
GoApiExportWriter
.WriteToJson(model));
Aspire.Hosting.CodeGeneration.Go.Tests (8)
GoApiExportTests.cs (8)
30
var json =
GoApiExportWriter
.WriteToJson(CreateFocusedModel(), indented: true);
39
var json =
GoApiExportWriter
.WriteToJson(CreateFocusedModel());
87
var export = JsonNode.Parse(
GoApiExportWriter
.WriteToJson(BuildModel(TestTypesAssemblyName)))!;
304
var json = JsonNode.Parse(
GoApiExportWriter
.WriteToJson(model))!;
375
var first =
GoApiExportWriter
.WriteToJson(BuildModel(HostingAssemblyName, TestTypesAssemblyName));
376
var second =
GoApiExportWriter
.WriteToJson(BuildModel(TestTypesAssemblyName, HostingAssemblyName));
544
Assert.Equal(
GoApiExportWriter
.WriteToJson(BuildModel(TestTypesAssemblyName)), export.GetRawText());
1012
return
GoApiExportWriter
.WriteToJson(