**As of January 2024, this project will no longer be maintained. Demo videos of the working application are available at the https://github.com/adam-shamaa/food-services-frontend-V2
- OpenAPI 3.0
- Java
- Maven
- OpenAPI Generator Maven Plugin
- Github Actions
- Github Pages
- Github Packages
This repository houses the backend API specs for the food-services-aggregator server.
-
Make changes directly to the OpenAPI spec src/main/resources/openapi/openapi.yaml
Also update the mvn and npm package version by incrementing the OpenAPI spec version (package versions are inherited from the OpenAPI spec version)
-
You can preview the generated artifacts by running
mvn clean compile
then looking undertarget/generated-sources/
On pushes to the main branch, three jobs take place.
- Server-side stubs and classes are generated and published as a github mvn apache package
- Client-side helpers and classes are generated and published as a github npm package
- Swagger-ui page is generated and published to github pages