The Homebrew API is a demo Spring Boot project that acts as a wrapper for the Open Brewery API. More Info about the Open Brewery API can be found here.
The Homebrew application utilizes the following technologies:
- Spring MVC (REST APIs)
- Feign Client
- JSON Problem Details
- OpenAPI Specification
- OpenAPI Generator plugin
- Lombok
- MapStruct
- Spock Framework
As the Homebrew API is implemented as a Spring Boot application, to run it simply execute:
./gradlew bootRun
To run all unit tests execute:
./gradlew test
and to run all integration tests execute:
./gradlew integrationTest
The Homebrew REST API is written in the OAS3 specification in YAML format and can be found in the
directory src/main/resources/contract/brewery-api.yaml
. The OAS3 contract is used to generate the server stubs, and can also be used to generate a
HTTP client.