Contributing Guide¶
We welcome contributions to the azure-functions-openapi
project!
How to Contribute¶
- Fork the Repository
-
Create a New Branch
git checkout -b feature/your-feature-name
-
Write Code & Tests
- Run
make test
to ensure everything passes. -
Follow code style using
black
,ruff
, andmypy
. -
Commit Your Changes
git commit -m "feat: describe your feature"
-
Push and Create a Pull Request
Project Commands¶
make format # Format code with black
make lint # Lint with ruff
make typecheck # Type check with mypy
make test # Run tests
Commit Message Guidelines¶
We follow the Conventional Commits specification.
Prefix Types¶
Type | Description |
---|---|
feat: |
New feature |
fix: |
Bug fix |
docs: |
Documentation changes only |
style: |
Code formatting, no logic changes |
refactor: |
Code refactoring without behavior changes |
test: |
Adding or modifying tests |
chore: |
Tooling, dependencies, CI/CD, versioning |
Examples¶
git commit -m "feat: add OpenAPI 3.1 support"
git commit -m "fix: handle empty request body gracefully"
git commit -m "docs: improve quickstart documentation"
git commit -m "refactor: extract schema builder logic"
git commit -m "chore: update dev dependencies"
✅ Use imperative present tense ("add", not "added"). ✅ Keep the message concise and relevant to the change.
Code of Conduct¶
Be respectful and inclusive. See the Contributor Covenant for details.