Pub Test Publish

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)

Is this package actively maintained?

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


Please see the openapi_spec Github repository. Feel free to open an issue to report bugs or request new features.


Library for OpenAPI specification parsing and generation