-
Notifications
You must be signed in to change notification settings - Fork 941
/
Copy pathOpenApiSpec.php
40 lines (37 loc) · 980 Bytes
/
OpenApiSpec.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
namespace OpenApi\Examples\SwaggerSpec\PetstoreWithExternalDocs;
use OpenApi\Annotations as OA;
/**
* @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="[email protected]",
* 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"
* )
* )
* @OA\Tag(
* name="store",
* description="The Pet Store"
* )
*/
class OpenApiSpec
{
}