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

feat: support msgspec as another schema definition #307

Open
kemingy opened this issue Apr 24, 2023 · 0 comments
Open

feat: support msgspec as another schema definition #307

kemingy opened this issue Apr 24, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kemingy
Copy link
Member

kemingy commented Apr 24, 2023

Describe the feature

So far, we're using pydantic since:

  1. validation
  2. generate OpenAPI JSON schema

Recently, another library called msgspec has the same features with a great performance. (pydantic also rewrites the core part with Rust)

We should consider adding msgspec as another schema definition.

Refer to https://jcristharif.com/msgspec/jsonschema.html

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant