FIX: do not use User() on non-authenticated routes

This commit is contained in:
Gabriel Rosa
2022-12-16 08:09:20 -03:00
parent c5c428d3d4
commit 59c3ce7ed9
3 changed files with 41 additions and 6 deletions
+26 -1
View File
@@ -79,6 +79,16 @@
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AuthRefreshAccessTokenReq"
}
}
}
},
"responses": {
"200": {
"description": "",
@@ -3287,7 +3297,7 @@
}
},
"info": {
"title": "Maestro - feat/update-connection",
"title": "Maestro - fix/refresh-token",
"description": "Documentation for Maestro gateway",
"version": "1.0.0",
"contact": {}
@@ -3473,6 +3483,21 @@
"mfaStatus"
]
},
"AuthRefreshAccessTokenReq": {
"type": "object",
"properties": {
"refreshToken": {
"type": "string"
},
"customerName": {
"type": "string"
}
},
"required": [
"refreshToken",
"customerName"
]
},
"CreateConnectorDto": {
"type": "object",
"properties": {