Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

@api‐operationid

Jon Ursenbach edited this page Jan 4, 2020 · 1 revision

A unique identifier for a resource action. This is used when compiling specifications.

Syntax

@api-operationid identifier

Requirements

Required? Needs a visibility Supports versioning Supports deprecation
× × ×

Breakdown

Tag Optional Description
identifier × Unique identifier for a resource action.

Examples

/**
 * Update a movies data.
 *
 * @api-label Update a movie.
 * @api-operationid updateMovie
 * @api-group Movies
 *
 * @api-path:public /movies/+id
 * @api-pathparam id `1234` (integer) - Movie ID
 *
 * ...
 */
public function PATCH()
{
    ...
}