OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
vendor
/
zircote
/
swagger-php
/
docs
/
reference
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:25 AM
rwxr-xr-x
📄
annotations.md
63.93 KB
08/07/2024 04:34:24 AM
rw-r--r--
📄
attributes.md
213.01 KB
08/07/2024 04:34:24 AM
rw-r--r--
📄
generator.md
7.07 KB
08/07/2024 04:34:24 AM
rw-r--r--
📄
index.md
854 bytes
08/07/2024 04:34:24 AM
rw-r--r--
📄
processors.md
4.13 KB
08/07/2024 04:34:25 AM
rw-r--r--
Editing: index.md
Close
# Reference In total there are a number of different aspects to using `swagger-php`. Depending on how custom your requirements are this might be limited to just annotating your code and using the command line tool. However, `swagger-php` offers more. * [Attributes](attributes.md) The new way of adding meta-data to your codebase. Requires PHP 8.1 * [Docblock annotations](annotations.md) The 'traditional' way of documenting your API. * The [`Generator`](generator.md) The `\OpenAPI\Generator` class is the main entry point to programmatically generate OpenAPI documents from your code. * [Processors](processors.md) `swagger-php` comes with a list of pre-defined processors that convert the raw data to a complete OpenAPI document. Custom processors can be added or existing removed to tweak swagger-php` to your requirements.