We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to #1298
With annotations this is fine, both nested within an OA\MediaType object or defined at the top-level of a class.
OA\MediaType
For example, this is fine with annotations:
/** * @OA\Examples(example="AccountCreateRequestDefaultExample", * summary="Default Example", * value={ * "$ref": "examples/json/AccountCreateRequestDefaultExample.json", * }, * ) * @OA\Examples(example="AccountCreateRequestOAuthExample", * summary="OAuth Example", * value={ * "$ref": "examples/json/AccountCreateRequestOAuthExample.json", * }, * ) */
but this complains about \Attribute::IS_REPEATABLE missing:
\Attribute::IS_REPEATABLE
#[OA\Examples(example: "AccountCreateRequestDefaultExample", summary: "Default Example", value: [ '$ref' => "examples/json/AccountCreateRequestDefaultExample.json", ], )] #[OA\Examples(example: "AccountCreateRequestOAuthExample", summary: "OAuth Example", value: [ '$ref' => "examples/json/AccountCreateRequestOAuthExample.json", ], )]
The text was updated successfully, but these errors were encountered:
Examples
Successfully merging a pull request may close this issue.
Similar to #1298
With annotations this is fine, both nested within an
OA\MediaType
object or defined at the top-level of a class.For example, this is fine with annotations:
but this complains about
\Attribute::IS_REPEATABLE
missing:The text was updated successfully, but these errors were encountered: