access endpoint tweaks (#834)

This commit is contained in:
Michael Quigley
2025-02-03 17:09:42 -05:00
parent 0fc139e6d9
commit 0a8c5f2054
23 changed files with 631 additions and 123 deletions

View File

@ -51,7 +51,14 @@ func init() {
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/accessRequest"
"properties": {
"envZId": {
"type": "string"
},
"shrToken": {
"type": "string"
}
}
}
}
],
@ -59,7 +66,14 @@ func init() {
"201": {
"description": "access created",
"schema": {
"$ref": "#/definitions/accessResponse"
"properties": {
"backendMode": {
"type": "string"
},
"frontendToken": {
"type": "string"
}
}
}
},
"401": {
@ -1810,28 +1824,6 @@ func init() {
}
},
"definitions": {
"accessRequest": {
"type": "object",
"properties": {
"envZId": {
"type": "string"
},
"shrToken": {
"type": "string"
}
}
},
"accessResponse": {
"type": "object",
"properties": {
"backendMode": {
"type": "string"
},
"frontendToken": {
"type": "string"
}
}
},
"authUser": {
"type": "object",
"properties": {
@ -2291,7 +2283,14 @@ func init() {
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/accessRequest"
"properties": {
"envZId": {
"type": "string"
},
"shrToken": {
"type": "string"
}
}
}
}
],
@ -2299,7 +2298,14 @@ func init() {
"201": {
"description": "access created",
"schema": {
"$ref": "#/definitions/accessResponse"
"properties": {
"backendMode": {
"type": "string"
},
"frontendToken": {
"type": "string"
}
}
}
},
"401": {
@ -4055,28 +4061,6 @@ func init() {
}
}
},
"accessRequest": {
"type": "object",
"properties": {
"envZId": {
"type": "string"
},
"shrToken": {
"type": "string"
}
}
},
"accessResponse": {
"type": "object",
"properties": {
"backendMode": {
"type": "string"
},
"frontendToken": {
"type": "string"
}
}
},
"authUser": {
"type": "object",
"properties": {