# Generate types and an OpenAPI specification from Directus

Canonical source : [Generate types and an OpenAPI specification from Directus](<https://sebastien.rigaux.be/en/tech-watch/links/generate-types-and-an-openapi-specification-from-directus>)

This Directus extension generates TypeScript definitions, Python type hints or an OpenAPI specification. It helps keep application contracts aligned with the CMS data model.

- Selected on : 2024-01-22

- Entry updated : 2026-11-07T20:32:37+0000

- Format : Repository

- Source language : EN

Original resource : [Generate types and an OpenAPI specification from Directus](<https://github.com/maltejur/directus-extension-generate-types>)

Tags : [Directus](<https://sebastien.rigaux.be/en/tech-watch/tags/directus>) · [TypeScript](<https://sebastien.rigaux.be/en/tech-watch/tags/typescript>) · OpenAPI

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/generer-des-types-et-une-specification-openapi-depuis-directus>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/generate-types-and-an-openapi-specification-from-directus>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
