Adds jwt token to sample swagger

This commit is contained in:
Gabriel Matte 2024-11-26 18:51:22 -05:00
parent 7b348d54ad
commit 973f86b269

View file

@ -13,6 +13,11 @@
"description": "Via npm"
}
],
"security": [
{
"bearerAuth": []
}
],
"paths": {
"/api/room": {
"get": {
@ -100,6 +105,13 @@
}
},
"components": {
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
},
"schemas": {
"Room": {
"type": "object",