Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensuring using generated schema's with AJV #1118

Open
robogeek opened this issue Oct 3, 2024 · 1 comment
Open

Ensuring using generated schema's with AJV #1118

robogeek opened this issue Oct 3, 2024 · 1 comment
Labels
feature 🚀 New feature or request RSVP 👍👎 Explicit request for reactions to gauge interest in resolving this issue

Comments

@robogeek
Copy link

robogeek commented Oct 3, 2024

Description

AJV is an excellent way to generate data validation code starting from JSON Schema's. OpenAPI specifications build on JSON Schema's. The openapi-ts project can generate JSON Schema's from OpenAPI specs. To close the loop, the task is to ensure those schema's are usable by AJV.

The goal is similar to the Zod request -- #876 -- Which is autogeneration of data validation from an OpenAPI spec.

It seems to me AJV is a more direct ask since OpenAPI is so close to JSON Schema.

@robogeek robogeek added the feature 🚀 New feature or request label Oct 3, 2024
@mrlubos mrlubos added the RSVP 👍👎 Explicit request for reactions to gauge interest in resolving this issue label Oct 4, 2024
@mrlubos
Copy link
Member

mrlubos commented Oct 4, 2024

Yep. Duplicate of #458 I believe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 New feature or request RSVP 👍👎 Explicit request for reactions to gauge interest in resolving this issue
Projects
None yet
Development

No branches or pull requests

2 participants