Thanks for your interest in improving openapi-generics! This repository provides a contract-first, generics-aware OpenAPI platform, centered around a deterministic API lifecycle:
Contract → OpenAPI projection → Code generation
Built with:
- Java 17+
- Spring Boot 3.4.x, 3.5.x 4.x
- OpenAPI Generator 7.x
Be kind. Be constructive. See our Code of Conduct.
- Questions & support
- How to contribute
- Development setup
- Project layout
- Coding style & commits
- Testing & coverage
- Architecture principles (important)
- Pull Request checklist
- Labels we use
- Security
- License
Have a question, design idea, or usage concern?
-
Use GitHub Discussions → Ideas for:
- API contract design
- generics handling (
ServiceResponse<T>,Page<T>) - projection behavior
-
Use GitHub Discussions → Q&A for:
- setup and configuration
- integration questions
- generator usage
-
Found a bug?
- Open an Issue with a minimal reproduction
Please search existing issues and discussions first.
- Fork and create a branch:
git checkout -b feature/scope-short-title- Keep changes small and focused
- Update tests and docs if behavior changes
- Run full build
- Open PR with clear explanation
Small PRs = faster review
- Java 17+ (21 recommended)
- Maven 3.9+
mvn -q -ntp clean verify/openapi-generics-contract
/openapi-generics-platform-bom
/openapi-generics-server-starter
/openapi-generics-java-codegen
/openapi-generics-java-codegen-parent
-
Keep code minimal and deterministic
-
Do NOT patch generated output
-
Fix issues at:
- contract
- projection
- generator
- feature:
- bugfix:
- docs:
- refactor:
- test:
- ci:
mvn clean verifyNotes:
- Core modules focus on correctness, not runtime apps
- Integration validation happens via sample consumers (external)
These are not guidelines — they are invariants.
This project follows strict boundaries:
ServiceResponse<T>defines semantics- OpenAPI must be a projection (not authority)
Same input → same output
No hidden behavior
- Contract defined once
- No re-definition in OpenAPI or generated code
Never fix issues in generated files
Fix:
- contract
- projection
- templates
- Scope is minimal
- Build passes
- Tests updated if needed
- Docs updated if needed
- No generated code edits
- enhancement
- bug
- documentation
- good first issue
- help wanted
Do NOT open public issues for vulnerabilities
- Use GitHub Security Advisory
- Or email: baris.sayli@gmail.com
See SECURITY.md
MIT License