Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow both the summary and description from OpenAPI to be added as summary and remarks in c# generated code #4105

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

codecooper
Copy link
Contributor

The following changes will add the description property from an OpenAPI operation under the <remarks> xml comment in c# client code. Unit tests were updated to check for the annotations. My OpenAPI specs are typically quite detailed in the summary and description and and I wanted to add that documentation to the generated controllers and clients.

…` tag in generated c# client/controller code.
Copy link
Collaborator

@lahma lahma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RicoSuter RicoSuter merged commit b7c3b04 into RicoSuter:master Sep 16, 2022
@RicoSuter
Copy link
Owner

Thanks for the PR.

lahma pushed a commit to lahma/NSwag that referenced this pull request Dec 25, 2022
…` tag in generated c# client/controller code. (RicoSuter#4105)

Co-authored-by: Jason Cooper <jason@codecooper.com>
lahma pushed a commit to lahma/NSwag that referenced this pull request Jan 20, 2024
…` tag in generated c# client/controller code. (RicoSuter#4105)

Co-authored-by: Jason Cooper <jason@codecooper.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants