-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
How can I customize the schema description for a response?
Some anolog for
@OA\Response(
* response="200",
* description="An example resource",
* @OA\JsonContent(
* type="object",
* @OA\Property(
* format="string",
* default="20d338931e8d6bd9466edeba78ea7dce7c7bc01aa5cc5b4735691c50a2fe3228",
* description="token",
* property="token"
* ),
* @OA\Property(
* format="application/json",
* property="user",
* @OA\JsonContent(ref="#/components/schemas/UserResource")
* )
* ),
* )