This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
@api‐contenttype
Jon Ursenbach edited this page Jan 4, 2020
·
1 revision
The @api-contenttype
annotation designates the HTTP Content-Type
that a resource action returns.
@api-contenttype content-type
Required? | Needs a visibility | Supports versioning | Supports deprecation |
---|---|---|---|
✓ | × | ✓ | × |
Tag | Optional | Description |
---|---|---|
content-type | × | HTTP Content-Type that a resource action returns. |
/**
* ...
*
* @api-contenttype application/json
*
* ...
*/
public function PATCH()
{
...
}