The AlayaMarket external API documentation will be made publicly available here. The API specifications are maintained elsewhere and should be synchronized with this repository. This will be done manually for now, but should be replaced by an automated flow.
The project is using GitHub pages to host documents.
This is based on the template github.com/peter-evans/swagger-github-pages (workflow to update Swagger UI has been removed).
The OpenAPI and AsyncAPI specifications are copied here from github.com/AlayaCare/alayamarket.
This is currently done manually, but should be replaced by a GitHub action to keep these files in sync.
OpenAPI specs are displayed using Swagger UI.
AsyncAPI specs are displayed by generating html using AsyncAPI Generator:
npm install -g @asyncapi/generator
ag docs/offers/asyncapi.external.offers.yaml @asyncapi/html-template -o docs/offers/asyncapi.external.offers
A user guide is available here.
The complete list of documentation can be accessed from alayacare.github.io/alayamarket-external-docs