I'm using swagger-php annotations to generatee the documentation of my REST API, and I'd like to use pre-defined examples for describing responses.
The YAML code below works:
components:
  examples:
    exampleUser:
      value:
        id: 1
        name:   "Alan Cool"
        email:  "joe@cool.com.br"
        password:   "string"
        status: "string"
        ultimo_acesso:  155850122
        cpf:    "string"
        rg: "string"
        cargo:  "string"
        grupo_id:   7
        empresa_id: 88
        thumbnail_id:   99
        loja_id:    1299
But, when trying to generate the code above via annotations, I can't get it to work. 'm trying:
/**
 * @OA\Examples(
 *    summary = "exampleUser",
 *    description = "exampleUser",
 *    value = "exampleUser"
 * )
 */
It seems that there is no doumentation for PHP annotations so far. Any suggestions?
