mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +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
|
||||
{
|
||||
/**
|
||||
* 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…
x
Reference in New Issue
Block a user