docs: add comments attribute to plugins section#3351
Conversation
|
|
|
@beelarr is attempting to deploy a commit to the Hey API Team on Vercel. A member of the Team first needs to authorize it. |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: da52e0ea8d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary
Adds documentation for the
commentsoption introduced in #3317 to the@hey-api/typescriptplugin documentation.Changes
commentsoption with code examples for both enabled (default) and disabled statesRelated
Preview
Comments
By default,
@hey-api/typescriptwill include comments in the generated code based on descriptions from your OpenAPI specification. If you want to reduce the size of your generated files or prefer cleaner output, you can disable comments.Options:
true(default)falseUse cases for disabling comments: