Skip to content

Conversation

MatissJanis
Copy link

Changes

openapi-typescript currently generates invalid jsdoc multi-line comments. The following PR patches this issue.

How to Review

Take a look at the new jsdoc comments. The content of these should be exactly the same, but formatting for multi-line will be slightly better.

Checklist

  • Unit tests updated
  • docs/ updated (if necessary)
  • pnpm run update:examples run (only applicable for openapi-typescript)

@MatissJanis MatissJanis requested a review from a team as a code owner October 3, 2025 14:40
@MatissJanis MatissJanis requested a review from drwpow October 3, 2025 14:40
Copy link

changeset-bot bot commented Oct 3, 2025

🦋 Changeset detected

Latest commit: af2d0b4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
openapi-typescript Minor
swr-openapi Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Oct 3, 2025

👷 Deploy request for openapi-ts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit af2d0b4

@sahand-sn
Copy link

much needed

Copy link
Contributor

@drwpow drwpow left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! If you could add a patch changeset please (see the comment), we can release this

*
* This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).
* */
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! Normally big smoke tests like this are really only testing “did this blow up on a very large schema” but in cases like this you can see the improvement. Thank you!

@MatissJanis
Copy link
Author

Done @drwpow !

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.

3 participants