| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- use OpenApi\Annotations as OA;
- /**
- * @OA\Info(
- * version="1.0",
- * title="Example for response examples value"
- * )
- */
- /**
- * @OA\Post(
- * path="/users",
- * summary="Adds a new user",
- * @OA\RequestBody(
- * @OA\MediaType(
- * mediaType="application/json",
- * @OA\Schema(
- * @OA\Property(
- * property="id",
- * type="string"
- * ),
- * @OA\Property(
- * property="name",
- * type="string"
- * ),
- * example={"id": 10, "name": "Jessica Smith"}
- * )
- * )
- * ),
- * @OA\Response(
- * response=200,
- * description="OK"
- * )
- * )
- */
|