-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pedro J. Molina
committed
May 23, 2024
1 parent
1165ddd
commit 7eab2d1
Showing
3 changed files
with
233 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7eab2d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @pjmolina
This change broke asteasolutions/zod-to-openapi#235
IMHO, it should not have been a patch but a minor change on semver.
7eab2d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the incoveniences caused. You are rigth.
To undestand it in full: Did zod was using/depending on the sources distributed instead of the
dist
folder?7eab2d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries, let's try to figure out what's happening!
It was not zod, but this library, which takes a zod schema and converts it to an openapi spec: https://github.com/asteasolutions/zod-to-openapi
And no, I don't think they were using the sources, I"m checking the repo and they do this
import type { OpenAPIObject } from 'openapi3-ts/oas30';
Fixed the problem by manually re-adding oas30.d.ts and oas31.d.ts back to the root
@pjmolina Would love to get this out if possible #138
7eab2d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, please remove the extra comma on package JSON and will merge and publish asap.