General
dotnet/aspnetcore#4896 includes a number of extension points for code and document generator providers. We plan to submit example extensions to the https://github.com/RSutor/NSwag repo but not to do the same for (say) Swashbuckle or AutoRest. Owners of other generators will thus require documentation of how to work with the coming Microsoft.Extensions.ApiDescription.Client package.
Requests for new Topics
Topic will cover requirements for implementing BlahDocumentGenerator, BlahCSharpCodeGenerator and BlahTypeScriptCodeGenerator targets, how those targets will be invoked, and suggested package dependencies. See RicoSuter/NSwag#1587 for example; that issue covers creating a package containing NSwagCSharpCodeGenerator and NSwagTypeScriptCodeGenerator targets. (RicoSuter/NSwag#1588 covers implementing the BlahDocumentGenerator target but the pattern is identical.)
Contents
Placement
This documentation doesn't really belong in the "Building Web APIs" tutorial and it's not clear to me where those wishing to extend ASP.NET Core would look first. Perhaps we need a new "chapter" providing guidance for those extending the framework?
CC
@glennc
General
dotnet/aspnetcore#4896 includes a number of extension points for code and document generator providers. We plan to submit example extensions to the https://github.com/RSutor/NSwag repo but not to do the same for (say) Swashbuckle or AutoRest. Owners of other generators will thus require documentation of how to work with the coming Microsoft.Extensions.ApiDescription.Client package.
Requests for new Topics
Topic will cover requirements for implementing
BlahDocumentGenerator,BlahCSharpCodeGeneratorandBlahTypeScriptCodeGeneratortargets, how those targets will be invoked, and suggested package dependencies. See RicoSuter/NSwag#1587 for example; that issue covers creating a package containingNSwagCSharpCodeGeneratorandNSwagTypeScriptCodeGeneratortargets. (RicoSuter/NSwag#1588 covers implementing theBlahDocumentGeneratortarget but the pattern is identical.)Contents
Placement
This documentation doesn't really belong in the "Building Web APIs" tutorial and it's not clear to me where those wishing to extend ASP.NET Core would look first. Perhaps we need a new "chapter" providing guidance for those extending the framework?
CC
@glennc