An open API service indexing awesome lists of open source software.

https://github.com/chatmail/dcrpcgen

Automatic code generation for the Delta Chat JSON-RPC API
https://github.com/chatmail/dcrpcgen

Last synced: 8 months ago
JSON representation

Automatic code generation for the Delta Chat JSON-RPC API

Awesome Lists containing this project

README

          

# Delta Chat JSON-RPC Code Generator

[![CI](https://github.com/chatmail/dcrpcgen/actions/workflows/python-ci.yml/badge.svg)](https://github.com/chatmail/dcrpcgen/actions/workflows/python-ci.yml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Automatic code generation for the Delta Chat JSON-RPC API.

## Install

```sh
pip install git+https://github.com/chatmail/dcrpcgen
```

## Usage

To generate Java bindings given a local JSON-RPC schema file `./schema.json`
and save the generated code to `./src/` folder:

```
dcrpcgen java --schema schema.json --output src
```

Run `dcrpcgen --help` to see all available options.