Contact Us
Go to ...
Go to ...
Home
Category
Php
Jquery
Sql
WordPress
Laravel
CSS
Ajax
Bootstrap
Magento
Linux
AngularJs
Contact Us
Recent Posts
Upload file in Google Drive using API
Fix specified key was too long issue in laravel
Install Swagger in Laravel 9
Print File From Api in Angular
Download File From Api in Anuglar
L5 Swagger GET PUT POST DELETE tagged posts
Laravel 5 with Swagger (GET, POST, PUT, DELETE)
Swagger GET Example
/** * @SWG\Get( * path="/api/testing/{mytest}", * summary="Get Testing", * operationId="testing", * @SWG\Response(response=200, description="successful operation"), * @SWG\Response(response=406, description="not acceptable"), * @SWG\Response(response=500, description="internal server error"), * @SWG\Parameter( * name="mytest", * in="path", * required=true, * type="string" * ), * ) * */ public function index(Request $request){ echo $request->mytest; }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
* @SWG\Get(
* path="/api/testing/{mytest}",
* summar...
Posted in 
Laravel
,
Php
No comments
March 25, 2021
Read More
Tweet