Check it out live at https://defillama.com
yarn
yarn dev
- Get the API spec in /docs/spec.yaml and paste it into https://editor.swagger.io/
- Modify it
- Generate a json file by clicking "File" -> "Convert and save as JSON"
- Copy the generated json file along with the changed yml spec into this repo
At the end you should have modified both /docs/spec.yaml
and /docs/resolvedSpec.json