Is your feature request related to a problem? Please describe.
from asyncapi docs:
AsyncAPI is an open source initiative that seeks to improve the current state of Event-Driven Architectures
It's like OpenAPI but for components that use message brokers instead of HTTP protocol. After some research, I've found that there are no convenient tools to generate pydantic models from AsyncAPI spec.
Describe the solution you'd like
It's gonna be great to have the ability to generate pydantic models from AsyncAPI schemas.
Describe alternatives you've considered
AsyncAPI has its own generator, but templates are written in javascript and I'm not sure it can support all pydantic features.
Additional context
AsyncAPI started as an adaptation of the OpenAPI specification and is compatible with OpenAPI schema object syntax. So I think it is possible to reuse some code from the OpenAPI parser.
Links:
https://www.asyncapi.com/docs/getting-started/coming-from-openapi
https://github.com/asyncapi/generator
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too