To get started with the TurpleCubes API Contract, follow these steps:
-
Clone the repository:
git clone https://github.com/turplespace/TurpleCubes-contract.git cd turplecubes/TurpleCubes-contract -
Install the dependencies:
npm install
-
Build the project:
npm run build
-
Generate the OpenAPI schema:
After running the build command, you will get a
schema.yamlfile in the project directory. -
View the API documentation:
Take the
schema.yamlfile and paste its content into Swagger Editor to see the API documentation.- Open Swagger Editor
- Copy the content of
schema.yaml - Paste it into the editor
This will allow you to visualize and interact with the API documentation.