This repository contains the OpenAPI specifications for the ALU GLOBE application. The documentation is generated using Redoc.
The API is divided into the following sections:
- Announcements API: Manages announcements within the application. See the specification in docs/annoucements.yaml.
- Comments API: Handles comments on various resources like posts, announcements, and icebreakers. See the specification in docs/comments.yaml.
- Icebreakers API: Manages icebreaker questions and interactions. See the specification in docs/icebreakers.yaml.
- Posts API: Manages user posts within the ALU GLOBE platform. See the specification in docs/posts.yaml.
The documentation is built into HTML files using redoc-cli. The build process is defined in the netlify.toml file.
To build the documentation locally, you can run the following command:
mkdir public && \
npx redoc-cli build docs/announcements.yaml -o public/announcements.html && \
npx redoc-cli build docs/comments.yaml -o public/comments.html && \
npx redoc-cli build docs/posts.yaml -o public/posts.html && \
npx redoc-cli build docs/icebreakers.yaml -o public/icebreakers.htmlThis will generate the following HTML files in the public directory:
public/announcements.htmlpublic/comments.htmlpublic/posts.htmlpublic/icebreakers.html
The main dependency for building the documentation is: