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.
Versions
- Symfony v4.4/5.4/6.0 - PHP ^8.0 :
^v1.0 - Symfony v5.4/6.4/7.0 - PHP ^8.0 :
^v2.0
Availble formats
- Raw : Built-in
jsonformat at/docor/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.phpfile: -
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
/docendpoint and you will have ajsondocumentation of your server.
Contributing
See contributing note
All versions of symfony-jsonrpc-http-server-doc with dependencies
ext-json Version *
symfony/config Version ^5.4 || ^6.4 || ^7.0
symfony/dependency-injection Version ^5.4 || ^6.4 || ^7.0
symfony/event-dispatcher-contracts Version ^2.0 || ^3.0
symfony/http-foundation Version ^5.4 || ^6.4 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.4 || ^7.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 || ^4.0