Download the PHP package yoanm/symfony-jsonrpc-http-server-doc without Composer
On this page you can find all versions of the php package yoanm/symfony-jsonrpc-http-server-doc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yoanm/symfony-jsonrpc-http-server-doc
More information about yoanm/symfony-jsonrpc-http-server-doc
Files in yoanm/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 yoanm/symfony-jsonrpc-params-sf-constraints-doc for params documentation generation.
Availble formats
- Raw : Built-in
json
format at/doc
or/doc/raw.json
- Swagger : yoanm/symfony-jsonrpc-http-server-swagger-doc
- OpenApi : yoanm/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 yoanm/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
ext-json Version *
symfony/config Version ^4.4 || ^5.4 || ^6.0
symfony/dependency-injection Version ^4.4 || ^5.4 || ^6.0
symfony/event-dispatcher-contracts Version ^1.0 || ^2.0
symfony/http-foundation Version ^4.4 || ^5.4 || ^6.0
symfony/http-kernel Version ^4.4 || ^5.4 || ^6.0
yoanm/jsonrpc-server-doc-sdk Version ^0.3 || ^1.0
yoanm/jsonrpc-server-sdk Version ^3.3
yoanm/symfony-jsonrpc-http-server Version ^3.3