Skip to content

YAML support

haidelber edited this page Jun 28, 2019 · 6 revisions
  • Package: NSwag.Core.Yaml

Support in C# with the NSwag.Core.Yaml package.

The CLI and NSwagStudio support YAML as input.

var document = await OpenApiYamlDocument.FromYamlAsync("...");
var yaml = document.ToYaml();