PMT-14: Add Auth Info to API Spec
This commit is contained in:
parent
45d6b51967
commit
82e61a6e6b
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,8 @@ info:
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
servers:
|
servers:
|
||||||
- url: /api/v1
|
- url: /api/v1
|
||||||
|
security:
|
||||||
|
- JWTAuth: []
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
@ -14,6 +16,11 @@ components:
|
||||||
properties:
|
properties:
|
||||||
msg:
|
msg:
|
||||||
type: string
|
type: string
|
||||||
|
securitySchemes:
|
||||||
|
JWTAuth:
|
||||||
|
type: http
|
||||||
|
scheme: bearer
|
||||||
|
bearerFormat: JWT
|
||||||
responses:
|
responses:
|
||||||
OK:
|
OK:
|
||||||
description: "OK"
|
description: "OK"
|
||||||
|
|
Loading…
Reference in a new issue