You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

37 lines
796 B

<?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": "a3fb6", "name": "Jessica Smith"}
* )
* )
* ),
* @OA\Response(
* response=200,
* description="OK"
* )
* )
*/