openapi_spec is a Dart package for working with OpenAPI specifications to do a whole host of things, including:
- Generate an OpenAPI specification from a
OpenApi
defined Dart object - Parse an OpenAPI specification into a
OpenApi
defined Dart object - Generate artifacts from an OpenAPI specification
- Component schema library
- Client code library
- Server code library
- Swagger UI static documentation (v4.19.0)
Yes! This package is used in production applications and is actively maintained!
An example client that was generated using openapi_spec
is the pinecone Dart package on pub.dev.
Please see the openapi_spec Github repository. Feel free to open an issue to report bugs or request new features.