Symfony bundle for easy Symfony constraints to JSON-RPC documentation transformation
MIT License
Symfony bundle for easy Symfony constraints to JSON-RPC documentation transformation
Symfony bundle for yoanm/jsonrpc-params-symfony-constraint-doc-sdk
^v0.X
^v1.0
^v1.1
Once configured, your project will automatically create documentation for JSON-RPC params
See below how to configure it.
Behat demo app configuration folders can be used as examples.
Add the bundles in your config/bundles.php file:
// config/bundles.php
return [
...
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Yoanm\SymfonyJsonRpcHttpServer\JsonRpcHttpServerBundle::class => ['all' => true],
Yoanm\SymfonyJsonRpcHttpServerDoc\JsonRpcHttpServerDocBundle::class => ['all' => true],
Yoanm\SymfonyJsonRpcParamsSfConstraintsDoc\JsonRpcParamsSfConstraintsDocBundle::class => ['all' => true],
...
];
Configure yoanm/symfony-jsonrpc-http-server
as described on yoanm/symfony-jsonrpc-http-server documentation.
Configure yoanm/symfony-jsonrpc-http-server-doc
as described on yoanm/symfony-jsonrpc-http-server-doc documentation.
Query your project at documentation endpoint and you should see JSON-RPC params documentation for each methods