-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hi,
I would like to documented my API with some descriptions and parameters on entities. I read the swagger specification, but it's not same on ApiResource annotation. Do you have an example ?
I don't find this in your documentation.
My annotation on Communication entity:
/**
* @ApiResource(
* collectionOperations={
* "get"={
* "method"="GET",
* "parameters"={
* "institution"={
* "type"="string",
* "required"=true
* },
* "language"={
* "type"="string",
* "required"=true
* }
* },
* "description"="Communication collection"
* }
* },
* itemOperations={},
*
* )
*/
Thank's
Bertrand
Metadata
Metadata
Assignees
Labels
No labels
