PHP Class L5Swagger\Http\Controllers\SwaggerController

Inheritance: extends Illuminate\Routing\Controller
Show file Open project: darkaonline/l5-swagger

Public Methods

Method Description
api ( ) : Response Display Swagger API page.
docs ( string $jsonFile = null ) : Response Dump api-docs.json content endpoint.

Method Details

api() public method

Display Swagger API page.
public api ( ) : Response
return Response

docs() public method

Dump api-docs.json content endpoint.
public docs ( string $jsonFile = null ) : Response
$jsonFile string
return Response