Skip to content

SCORU/Node: generate OpenAPI spec

Alain Mebsout requested to merge alain@functori@openapi into master

Context

This MR adds RPC endpoints /describe and /openapi?protocol=<ProtocolHash> and a new command for the node binary to generate the openAPI specification in JSON format (optionally for a given protocol).

The generated to openapi file is this one.

This MR subsumes !6440 (closed) which was abandoned a while ago.

Manually testing the MR

The following command should generate the JSON for protocol alpha on stdout.

octez-smart-rollup-node generate openapi
Edited by Alain Mebsout

Merge request reports

Loading