Skip to content

Add documentation to support code generator MSBuild #8461

Open

Description

@dougbu

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

Activity

  1. Rick-Anderson commented on Jan 19, 2019

    @Rick-Anderson
    Contributor

    @scottaddie is any of this completed?

  2. scottaddie commented on Jan 25, 2019

    @scottaddie
    Member

    @Rick-Anderson No. Looks like the engineering work is still in progress. I've updated Doug's description with the updated issue.

  3. removed their assignment
    on Mar 25, 2019
  4. self-assigned this
    on Apr 6, 2019
  5. modified the milestones: Backlog, 3.0.0-preview6 on Apr 6, 2019
  6. dougbu commented on Jun 11, 2019

    @dougbu
    ContributorAuthor

    @glennc given the low number of code generators, how important is this documentation for our partners i.e. is it really a P1?

  7. changed the title [-]Add documentation to support code and document generator tooling[/-] [+]Add documentation to support code generator MSBuild[/+] on Jun 11, 2019
  8. dougbu commented on Jun 11, 2019

    @dougbu
    ContributorAuthor

    Reframed to more closely align with #8465

  9. removed this from the 3.0.0-preview6 milestone on Jun 12, 2019
  10. added this to the Backlog milestone on Jun 16, 2019
  11. dougbu commented on Jul 19, 2019

    @dougbu
    ContributorAuthor

    Discussed offline w/ @glennc. This issue should be addressed for the benefit of the ecosystem, including partners who choose not to interact with Microsoft directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions