mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Adds jwt token to sample swagger
This commit is contained in:
parent
7b348d54ad
commit
973f86b269
1 changed files with 12 additions and 0 deletions
|
|
@ -13,6 +13,11 @@
|
||||||
"description": "Via npm"
|
"description": "Via npm"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"security": [
|
||||||
|
{
|
||||||
|
"bearerAuth": []
|
||||||
|
}
|
||||||
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"/api/room": {
|
"/api/room": {
|
||||||
"get": {
|
"get": {
|
||||||
|
|
@ -100,6 +105,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
|
"securitySchemes": {
|
||||||
|
"bearerAuth": {
|
||||||
|
"type": "http",
|
||||||
|
"scheme": "bearer",
|
||||||
|
"bearerFormat": "JWT"
|
||||||
|
}
|
||||||
|
},
|
||||||
"schemas": {
|
"schemas": {
|
||||||
"Room": {
|
"Room": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue