mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 19:58:28 +02:00
better authorization handling
This commit is contained in:
@@ -131,6 +131,12 @@ func init() {
|
||||
"$ref": "#/definitions/tunnelResponse"
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "invalid environment identity",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/errorMessage"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error",
|
||||
"schema": {
|
||||
@@ -164,6 +170,12 @@ func init() {
|
||||
"200": {
|
||||
"description": "tunnel removed"
|
||||
},
|
||||
"404": {
|
||||
"description": "not found",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/errorMessage"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error",
|
||||
"schema": {
|
||||
@@ -391,6 +403,12 @@ func init() {
|
||||
"$ref": "#/definitions/tunnelResponse"
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "invalid environment identity",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/errorMessage"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error",
|
||||
"schema": {
|
||||
@@ -424,6 +442,12 @@ func init() {
|
||||
"200": {
|
||||
"description": "tunnel removed"
|
||||
},
|
||||
"404": {
|
||||
"description": "not found",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/errorMessage"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error",
|
||||
"schema": {
|
||||
|
Reference in New Issue
Block a user