FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add zod schemas by yaroslav8765 · Pull Request #2 · devforth/adminforth-inline-create · GitHub

Repository navigation

Add zod schemas - #2

Merged
yaroslav8765 merged 4 commits into
mainfrom
add-zod-schemas
Jun 30, 2026
Merged

yaroslav8765 merged 4 commits into
mainfrom
add-zod-schemas

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

Add zod schemas and a parseBody helper that returns HTTP 422 on invalid
request bodies, matching the adminforth-agent plugin pattern. Adds zod to
dependencies.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

AdminForth/1781/image
Validation failures now respond with HTTP 400 and a JSON body
{ error: 'Request body validation failed', details: [...] }, matching
the format used by the AdminForth core express server.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

AdminForth/1782/generated-with-cli-dockerfile-
Use the shared parseBody helper exported from adminforth core rather than
duplicating the same function in every plugin.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

AdminForth/1777/image
yaroslav8765 merged commit 9e38eb7 into main Jun 30, 2026
2 checks passed
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL