Welcome!¶
Thanks for considering contributing to FastOpenAPI π
This guide explains how to get started, make contributions, write commits, open pull requests, and run tests.
Setup & Running¶
Install dependencies with:
# Fork the repo on GitHub first, then:
git clone https://github.com/yourusername/fastopenapi.git
cd fastopenapi
poetry install
If you don't use poetry, you can install manually from pyproject.toml:
Project Structure¶
fastopenapi/β core libraryexamples/β examples for different frameworkstests/β tests for each supported frameworkbenchmarks/β performance comparisonsdocs/β documentation in multiple languages
Running Tests¶
To run tests:
Tests cover both internal logic and integration with aiohttp, flask, sanic, and more.
Code Style¶
This project uses:
blackβ code formattingflake8β lintingisortβ import sortingpre-commitβ hooks for clean code before commit
Install pre-commit hooks:
Run all checks manually:
Git & Pull Requests¶
- Fork the repository
- Create a new branch:
feature/your-featureorfix/your-fix - Keep commits atomic and meaningful
- Open a PR with a clear description:
- What was added/changed?
- Which frameworks were affected?
- How was it tested?
Documentation¶
If your change affects public APIs or behavior, update the relevant documentation:
- docs/en/
- If possible, update other languages too (optional)
Feedback¶
Not sure how to implement a feature?
Feel free to open an issue with your proposal. Weβre happy to discuss it with you!