Skip to content

feat(ajv): validate JSON Schema inputs - #172

Merged
mcollina merged 3 commits into
platformatic:mainfrom
rozzilla:feat/ajv/validate-JSON-Schema-inputs
Jul 31, 2026
Merged

feat(ajv): validate JSON Schema inputs#172
mcollina merged 3 commits into
platformatic:mainfrom
rozzilla:feat/ajv/validate-JSON-Schema-inputs

Conversation

@rozzilla

Copy link
Copy Markdown
Contributor

Through an opt in parameter, support AJV schema validation when Typebox schemas are not provided

@rozzilla
rozzilla force-pushed the feat/ajv/validate-JSON-Schema-inputs branch from 98c207a to 1e2784c Compare July 30, 2026 07:26
Comment thread src/validation/json-schema-validator.ts Outdated
@rozzilla
rozzilla force-pushed the feat/ajv/validate-JSON-Schema-inputs branch from 1e2784c to 39e7cec Compare July 30, 2026 08:03
@rozzilla
rozzilla requested a review from mcollina July 30, 2026 08:05
@rozzilla
rozzilla force-pushed the feat/ajv/validate-JSON-Schema-inputs branch from 39e7cec to a18e244 Compare July 30, 2026 12:37
@rozzilla

Copy link
Copy Markdown
Contributor Author

@mcollina can you have another look? 🙏🏼

Comment thread src/decorators/meta.ts Outdated
Comment thread src/validation/json-schema-validator.ts Outdated
Comment thread src/validation/json-schema-validator.ts Outdated
Comment thread src/validation/json-schema-validator.ts
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>

update

Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>

update

Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
@rozzilla
rozzilla force-pushed the feat/ajv/validate-JSON-Schema-inputs branch from 5a90b4e to 2311fb6 Compare July 31, 2026 07:28
@rozzilla
rozzilla requested a review from mcollina July 31, 2026 07:28
Comment thread src/validation/json-schema-validator.ts
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
@rozzilla
rozzilla requested a review from mcollina July 31, 2026 12:09
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@mcollina
mcollina merged commit 6519af1 into platformatic:main Jul 31, 2026
2 checks passed
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.

2 participants