mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-03 22:03:33 +03:00
Add documentation in README
This commit is contained in:
parent
07e6a19dd4
commit
dccebe0439
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@ use Nelmio\ApiDocBundle\Annotation\ApiDoc;
|
|||
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(
|
||||
* resource=true,
|
||||
* description="This is a description of your API method",
|
||||
|
|
Loading…
Add table
Reference in a new issue