- Run:
git clone https://<YOUR-PAS>@github.com/logzio/logz-api.git
- Cd to the root folder:
cd logz-api
- Add Docusaurus api plugin:
yarn add docusaurus-plugin-openapi-docs
yarn add docusaurus-theme-openapi-docs
- Start local build:
yarn start
-
Follow local deployment instructions
-
Update the api spec under examples/logzio-public-api.yml
-
Delete the relevant mdx file which you updated in the spec
-
Run plugin generate command
yarn docusaurus gen-api-docs logz