~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/routes.php

  • Committer: Dan Garner
  • Date: 2015-08-03 13:19:52 UTC
  • mto: This revision was merged to the branch mainline in revision 447.
  • Revision ID: git-v1:51aff4ced58edafab2631842d7de83086daa6e8d
Document Models with Swagger

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 * @SWG\Swagger(
25
25
 *  basePath="/api",
26
26
 *  produces={"application/json"},
 
27
 *  schemes={"http"},
27
28
 *  security={
28
29
 *      {"auth": {"write:all", "read:all"}}
29
30
 *  },
50
51
 * @SWG\SecurityScheme(
51
52
 *   securityDefinition="auth",
52
53
 *   type="oauth2",
53
 
 *   in="header",
 
54
 *   flow="accessCode",
54
55
 *   authorizationUrl="/application/authorize",
55
56
 *   tokenUrl="/api/authorize/access_token",
56
 
 *   flow="accessCode",
57
57
 *   scopes={
58
58
 *      "read:all": "read access",
59
59
 *      "write:all": "write access"