This repository contains the API specifications for Reya Network's trading endpoints.
openapi-trading-v2.yaml- OpenAPI 3.0 specification for Reya DEX trading v2 REST API endpointsasyncapi-trading-v2.yaml- AsyncAPI specification for Reya DEX trading v2 WebSocket streamstrading-schemas.json- JSON schemas used both openapi and asyncapi specifications
These specifications can be used to:
- Generate client SDKs in various programming languages
- Generate API documentation
- Reya Python SDK - Official Python SDK for interacting with Reya Network
It's recommended to include this repo as a git submodule in your project. As an example, see how it's done in the Reya Python SDK.
In order to generate a single monolithic openapi or asyncapi yaml spec, run:
npx @redocly/cli bundle openapi-trading-v2.yaml -o openapi-trading-v2-bundled.yaml
npx @asyncapi/cli bundle asyncapi-trading-v2.yaml -o asyncapi-trading-v2-bundled.yaml
This project is licensed under the MIT License - see the LICENSE file for details.