o
personalOpen Source

odoo-rest-api

An open-source Python library published on PyPI that brings a FastAPI-like developer experience to Odoo. It enables developers to build REST APIs using decorators, with automatic controller generation, request parsing, ORM serialization, and interactive Swagger documentation — all without leaving the Odoo ecosystem.

Tech Stack

PythonOdooPyPIOpenAPISwagger

Key Highlights

  • Decorator-based routing (@api.get, @api.post, etc.) with dynamic controller generation
  • Automatic request parsing using Python introspection
  • Standardized JSON response handling and exception mapping
  • Automatic serialization for Odoo ORM recordsets to JSON
  • OpenAPI 3.0 generation with interactive Swagger UI at /docs
  • Published on PyPI with modern packaging standards (pyproject.toml)