![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
Mocca
Mocca is a GraphQL client for JVM languages with the goal of being easy to use, flexible and modular. With that in mind, Mocca was designed to offer:
- Simple and intuitive API
- Good end user documentation
- Pluggable HTTP clients
- Pluggable components, relying on great open source libraries, allowing features such as code generation, resilience, parsers and observability
Features
Mocca offers support for:
- GraphQL features
- GraphQL queries and mutations
- Automatic variable definition
- Automatic selection set definition based on DTO response type
- Annotation and String based custom input variables
- Annotation and String based custom selection set
- Static and dynamic HTTP request headers
- Observability via Micrometer
- Resilience via Resilience4J
- Flexible API allowing various pluggable HTTP clients
- Asynchronous support
- CompletableFuture
- Pluggable asynchronous HTTP clients
- User provided executor services
- Request parameters validation via Bean Validation
Quick start
Please read the Quick Start section in Mocca documentation for instructions on how to start using Mocca quickly.
End-user documentation
Please refer to Mocca documentation.
Release notes
See Mocca release notes.
Reporting an issue
Please open an issue using our GitHub issues page.
Contributing
You are very welcome to contribute to Mocca! Read our Contribution guidelines.
License
This project is licensed under the MIT License.