You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Class RestController
@package api\controllers
@SWG\Swagger(
basePath="/api",
produces={"application/json"},
consumes={"application/x-www-form-urlencoded"},
schemes={"http"},
@SWG\Info(
version="1.0.0",
title="Api",
@SWG\Contact(name="Author", email="author@example.com"),
),
@SWG\SecurityScheme(
securityDefinition="Bearer",
type="apiKey",
in="header",
name="Authorization",
description="Auth Bearer Token format as 'Bearer <access_token>'
)
)
For some reason the this section is completely ignored by parser.
This generated result for the api is: {"swagger":"2.0","paths":{"/api/login":{"post":{"tags":["User"]...
Which is clearly missing the basePath, info and security definitions.
The text was updated successfully, but these errors were encountered:
For some reason the this section is completely ignored by parser.
This generated result for the api is:
{"swagger":"2.0","paths":{"/api/login":{"post":{"tags":["User"]...
Which is clearly missing the basePath, info and security definitions.
The text was updated successfully, but these errors were encountered: