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
|
||||
servers:
|
||||
- url: /api/v1
|
||||
security:
|
||||
- JWTAuth: []
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
@ -14,6 +16,11 @@ components:
|
|||
properties:
|
||||
msg:
|
||||
type: string
|
||||
securitySchemes:
|
||||
JWTAuth:
|
||||
type: http
|
||||
scheme: bearer
|
||||
bearerFormat: JWT
|
||||
responses:
|
||||
OK:
|
||||
description: "OK"
|
||||
|
|
Loading…
Reference in a new issue