mirror of
https://github.com/openziti/zrok.git
synced 2025-08-16 19:01:16 +02:00
verify endpoint polish (#834)
This commit is contained in:
@ -1677,7 +1677,11 @@ func init() {
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/verifyRequest"
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -1685,7 +1689,11 @@ func init() {
|
||||
"200": {
|
||||
"description": "token ready",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/verifyResponse"
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
@ -2271,22 +2279,6 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"verifyRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"verifyResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -3928,7 +3920,11 @@ func init() {
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/verifyRequest"
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -3936,7 +3932,11 @@ func init() {
|
||||
"200": {
|
||||
"description": "token ready",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/verifyResponse"
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
@ -4555,22 +4555,6 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"verifyRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"verifyResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
}
|
||||
|
Reference in New Issue
Block a user