36 lines
		
	
	
		
			684 B
		
	
	
	
		
			PHP
		
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			684 B
		
	
	
	
		
			PHP
		
	
	
| <?php
 | |
| 
 | |
| /**
 | |
|  * @OA\OpenApi(
 | |
|  *     @OA\Info(
 | |
|  *         version="1.0.0",
 | |
|  *         title="Swagger Petstore",
 | |
|  *         @OA\License(name="MIT")
 | |
|  *     ),
 | |
|  *     @OA\Server(
 | |
|  *         description="Api server",
 | |
|  *         url="petstore.swagger.io",
 | |
|  *     ),
 | |
|  * )
 | |
|  */
 | |
| 
 | |
| /**
 | |
|  *  @OA\Schema(
 | |
|  *      schema="Error",
 | |
|  *      required={"code", "message"},
 | |
|  *      @OA\Property(
 | |
|  *          property="code",
 | |
|  *          type="integer",
 | |
|  *          format="int32"
 | |
|  *      ),
 | |
|  *      @OA\Property(
 | |
|  *          property="message",
 | |
|  *          type="string"
 | |
|  *      )
 | |
|  *  ),
 | |
|  *  @OA\Schema(
 | |
|  *      schema="Pets",
 | |
|  *      type="array",
 | |
|  *      @OA\Items(ref="#/components/schemas/Pet")
 | |
|  *  )
 | |
|  */ |