Skip to content

Symfony bundle for easy Symfony constraints to JSON-RPC documentation transformation

License

Notifications You must be signed in to change notification settings

Adgoal/symfony-jsonrpc-params-sf-constraints-doc

 
 

Repository files navigation

Symfony JSON-RPC params documentation

License Code size Dependabot Status

Scrutinizer Build Status Scrutinizer Code Quality Code Coverage

Travis Build Status Travis Symfony Versions

Latest Stable Version Packagist PHP version

Symfony bundle for easy Symfony constraints to JSON-RPC documentation transformation

Symfony bundle for adgoal/jsonrpc-params-symfony-constraint-doc-sdk

How to use

Once configured, your project will automatically create documentation for JSON-RPC params

See below how to configure it.

Configuration

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 adgoal/symfony-jsonrpc-http-server as described on adgoal/symfony-jsonrpc-http-server documentation.

  • Configure adgoal/symfony-jsonrpc-http-server-doc as described on adgoal/symfony-jsonrpc-http-server-doc documentation.

  • Query your project at documentation endpoint and you should see JSON-RPC params documentation for each methods

 

Contributing

See contributing note

About

Symfony bundle for easy Symfony constraints to JSON-RPC documentation transformation

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 79.2%
  • Gherkin 11.7%
  • Makefile 9.1%