Enhance OpenAPI support with multipart/form-data handling#15
Merged
Conversation
Netoun
commented
Feb 2, 2026
Collaborator
- Added decorator for validating multipart/form-data requests using Zod schemas.
- Updated to include 'Multipart' for better schema organization.
- Introduced tests for multipart body handling in .
- Updated package.json to include new dependencies for @types/multer and @vitest/ui.
- Added a new UI test command in package.json for improved testing capabilities.
- Added decorator for validating multipart/form-data requests using Zod schemas. - Updated to include 'Multipart' for better schema organization. - Introduced tests for multipart body handling in . - Updated package.json to include new dependencies for @types/multer and @vitest/ui. - Added a new UI test command in package.json for improved testing capabilities.
matheoleger
reviewed
Feb 2, 2026
matheoleger
left a comment
Contributor
There was a problem hiding this comment.
I think it's good! (I can't try it but the code looks good)
If you have time, maybe you can add some documentation in https://lonestone.github.io/nzoth/core/validation/ page?
- Added Zod version override in package.json and pnpm-lock.yaml. - Updated various dependencies including eslint, typescript, and @nestjs packages to their latest versions. - Removed outdated Zod version from core package.json.
Contributor
|
Perfect, except like @matheoleger said : it should be added to the docs. |
matheoleger
reviewed
Feb 2, 2026
Comment on lines
+90
to
+91
| Ensures `Content-Type: application/json`, validates with Zod, and registers an `ApiBody` schema. | ||
|
|
Contributor
There was a problem hiding this comment.
I think it's the wrong Content-Type here ;)
matheoleger
reviewed
Feb 2, 2026
Co-authored-by: Mathéo LEGER <71370253+matheoleger@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.