OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
vendor
/
zircote
/
swagger-php
/
Examples
/
using-interfaces
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:50 AM
rwxr-xr-x
📄
ColorInterface.php
273 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
GreenProduct.php
295 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
OpenApiSpec.php
654 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
Product.php
445 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
ProductController.php
1.43 KB
08/07/2024 04:34:26 AM
rw-r--r--
📄
ProductInterface.php
272 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
using-interfaces.yaml
2.17 KB
08/07/2024 04:34:26 AM
rw-r--r--
Editing: OpenApiSpec.php
Close
<?php namespace OpenApi\Examples\UsingInterfaces; use OpenApi\Annotations as OA; /** * Merging of interfaces got a bit of an overhaul in 3.0.4/5. * * By default interface annotations are now inherited via `allOf`. This is done by the `InheritInterfaces` processor. */ /** * @OA\Info( * version="1.0.0", * title="Example of using interfaces in swagger-php", * description="Using interfaces", * @OA\Contact(name="Swagger API Team") * ) * @OA\Server( * url="https://example.localhost", * description="API server" * ) * @OA\Tag( * name="api", * description="API operations" * ) */ class OpenApiSpec { }