Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

adam-shamaa/food-services-aggregator-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 

Repository files navigation

food-services-aggregator-spec

**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

Table of Contents

  1. Technologies
  2. Overview
  3. Getting Started

Technologies

  • OpenAPI 3.0
  • Java
    • Maven
    • OpenAPI Generator Maven Plugin
  • Github Actions
  • Github Pages
  • Github Packages

Overview

This repository houses the backend API specs for the food-services-aggregator server.

Getting Started

  1. 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)

  2. You can preview the generated artifacts by running mvn clean compile then looking under target/generated-sources/

On pushes to the main branch, three jobs take place.

  1. Server-side stubs and classes are generated and published as a github mvn apache package
  2. Client-side helpers and classes are generated and published as a github npm package
  3. Swagger-ui page is generated and published to github pages