Laravel L5 Swagger Snippets README
This is Laravel L5 Swagger Snippets. You Can use it to generate L5-Swagger snippets in PHP/Laravel.
Snippet |
Description |
@OA\Info |
This Snippet will Generate @OA\Info Template |
@OA\PathItem |
This Snippet will Generate @OA\PathItem Template |
@OA\Get |
This Snippet will Generate @OA\Get Template with @OA\Response Included |
@OA\GetWithParam |
This Snippet will Generate @OA\Get Template with @OA\Parameter & @OA\Response Included |
@OA\Post |
This Snippet will Generate @OA\Post Template with @OA\RequestBody & @OA\Response Included |
@OA\Put |
This Snippet will Generate @OA\Put Template with @OA\Parameter, @OA\RequestBody & @OA\Response Included |
@OA\Delete |
This Snippet will Generate @OA\Delete Template with @OA\Parameter & @OA\Response Included |
@OA\Parameter |
This Snippet will Generate @OA\Parameter Template without "/** */" |
@OA\RequestBodyRef |
This Snippet will Generate @OA\RequestBody Template with ref="" to reference FormRequest. without "/** */" |
@OA\RequestBodyMediaType |
This Snippet will Generate @OA\RequestBody Template with @OA\MediaType and without "/** */" |
@OA\Response |
This Snippet will Generate @OA\Response Template without "/** */" |
@OA\ResponseJson |
This Snippet will Generate @OA\Response Template with @OA\JsonContent and without "/** */" |
@OA\Response |
This Snippet will Generate @OA\Response Template without "/** */" |
@OA\MediaType |
This Snippet will Generate @OA\MediaType Template with @OA\Schema and without "/** */" |
@OA\Response |
This Snippet will Generate @OA\Response Template without "/** */" |
@OA\Schema |
This Snippet will Generate @OA\Schema Template |
@OA\SchemaWithProperties |
This Snippet will Generate @OA\Schema Template with @OA\Property and without "/** */" |
@OA\SchemaType |
This Snippet will Generate @OA\Schema Template with type="" to reference Type |
@OA\Property |
This Snippet will Generate @OA\Property Template |
@OA\PropertyWithoutComment |
This Snippet will Generate @OA\Property Template without "/** */" |
@OA\JsonContent |
This Snippet will Generate @OA\JsonContent Template with oneOf & @OA\Examples |
@OA\JsonContentRef |
This Snippet will Generate @OA\JsonContent Template ref="" to reference Request |
| |