# OpenAPI tooling

> Generate OpenAPI from a contract or generate a contract from an existing API description.

## Guides

- [OpenAPI overview](https://hulla.dev/docs/api/integrations/openapi.md): Choose whether the contract or OpenAPI document is the source of truth.
- [Generate OpenAPI](https://hulla.dev/docs/api/integrations/openapi/export.md): Generate a JSON or YAML document from a contract and typed sidecar.
- [Generate from OpenAPI](https://hulla.dev/docs/api/integrations/openapi/import.md): Generate a runtime contract and sidecar from an existing document.
