mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Add documentation in README
This commit is contained in:
parent
07e6a19dd4
commit
dccebe0439
@ -59,6 +59,10 @@ use Nelmio\ApiDocBundle\Annotation\ApiDoc;
|
|||||||
class YourController extends Controller
|
class YourController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
* This the documentation description of your method, it will appear
|
||||||
|
* on a specific pane. It will read all the text until the first
|
||||||
|
* annotation.
|
||||||
|
*
|
||||||
* @ApiDoc(
|
* @ApiDoc(
|
||||||
* resource=true,
|
* resource=true,
|
||||||
* description="This is a description of your API method",
|
* description="This is a description of your API method",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user