30 lines
		
	
	
		
			731 B
		
	
	
	
		
			PHP
		
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			731 B
		
	
	
	
		
			PHP
		
	
	
<?php
 | 
						|
 | 
						|
/**
 | 
						|
 * @OA\Info(
 | 
						|
 *   title="Swagger Petstore",
 | 
						|
 *   description="A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification",
 | 
						|
 *   version="1.0.0",
 | 
						|
 *   @OA\Contact(
 | 
						|
 *     email="apiteam@swagger.io",
 | 
						|
 *     name="Swagger API Team",
 | 
						|
 *     url="http://swagger.io"
 | 
						|
 *   ),
 | 
						|
 *   @OA\License(
 | 
						|
 *     name="MIT",
 | 
						|
 *     url="http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
 | 
						|
 *   ),
 | 
						|
 *   termsOfService="http://swagger.io/terms/"
 | 
						|
 * )
 | 
						|
 * @OA\OpenApi(
 | 
						|
 *   @OA\Server(
 | 
						|
 *       url="petstore.swagger.io",
 | 
						|
 *       description="API server"
 | 
						|
 *   ),
 | 
						|
 *   @OA\ExternalDocumentation(
 | 
						|
 *     description="find more info here",
 | 
						|
 *     url="https://swagger.io/about"
 | 
						|
 *   )
 | 
						|
 * )
 | 
						|
 */
 |