This repository has been archived by the owner. It is now read-only.
onchain-crystal
onchain-crystal
Generating the code
The swagger for onchain is available at https://onchain-api.azurewebsites.net/docs/onchain.swagger.json
curl -O https://onchain-api.azurewebsites.net/docs/onchain.swagger.json
Convert to open API 3
Load the json into https://editor.swagger.io/
click edit / convert to OPEN API 3 and save as onchain.swagger.yaml
Convert the 200 to "200"
Then from outside the devcontainer.
docker run -v %CD%:/tmp --rm ianpurton/crystal-openapi-codegen /tmp/onchain.swagger.yaml /tmp
Repository
onchain-crystal
Owner
Statistic
- 0
- 1
- 0
- 0
- 0
- over 5 years ago
- January 22, 2020
License
Links
Synced at
Tue, 13 May 2025 00:44:36 GMT
Languages