Download the PHP package adgoal/symfony-jsonrpc-http-server-doc without Composer
On this page you can find all versions of the php package adgoal/symfony-jsonrpc-http-server-doc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adgoal/symfony-jsonrpc-http-server-doc
More information about adgoal/symfony-jsonrpc-http-server-doc
Files in adgoal/symfony-jsonrpc-http-server-doc
Package symfony-jsonrpc-http-server-doc
Short Description Symfony bundle for easy JSON-RPC server documentation
License MIT
Informations about the package symfony-jsonrpc-http-server-doc
Symfony JSON-RPC server documentation
Symfony bundle for easy JSON-RPC server documentation
Symfony bundle for yoanm/jsonrpc-server-doc-sdk
See adgoal/symfony-jsonrpc-params-sf-constraints-doc for params documentation generation.
Availble formats
- Raw : Built-in
json
format at/doc
or/doc/raw.json
- Swagger : adgoal/symfony-jsonrpc-http-server-swagger-doc
- OpenApi : adgoal/symfony-jsonrpc-http-server-openapi-doc
How to use
Once configured, your project is ready to handle HTTP GET
request on /doc/{?filename}
endpoint.
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: -
Add the following in your routing configuration :
-
Add the following in your configuration :
-
Register JSON-RPC methods as described on adgoal/symfony-jsonrpc-http-server documentation.
- Query your project at
/doc
endpoint and you will have ajson
documentation of your server.
Contributing
See contributing note
All versions of symfony-jsonrpc-http-server-doc with dependencies
yoanm/jsonrpc-server-sdk Version ^3.0
adgoal/jsonrpc-server-doc-sdk Version ^0.3
yoanm/symfony-jsonrpc-http-server Version ^2.0
symfony/http-kernel Version ^4.0 || ^5.0
symfony/config Version ^4.0 || ^5.0
symfony/dependency-injection Version ^4.0 || ^5.0