Skip to content

[XmlCommentGenerator] AddOpenApi cannot recognize the entry assembly #62941

@luoxing66

Description

@luoxing66

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When using xml document generation, you must call 'AddOpenApi()' in the entry project to load all projects correctly. If you call it in other projects, the entry project xml cannot be loaded.

Expected Behavior

I hope to automatically load all project xml of the solution

Steps To Reproduce

https://github.com/luoxing66/AddOpenApiFeat

Exceptions (if any)

No response

.NET Version

10.0.100-preview.5.25277.114

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.Status: No Recent Activityarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-openapi

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions