Generate new version of SDK resources and Add Tests (#331)

This commit is contained in:
Todd Knight authored and GitHub committed 2020-09-08 16:27:51 -04:00
1 parent 96e4b1cdba
commit c3ecea172d
93 files changed
+3414 -2826

No files matched your search

+36 -2
View File
@@ -289,6 +289,40 @@
]
}
},
"/v1/auth-methods/{auth_method_id}:authenticate": {
"post": {
"summary": "Authenticate a user to an scope and retrieve an authentication token.",
"operationId": "AuthenticationService_Authenticate",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/controller.api.resources.authtokens.v1.AuthToken"
}
}
},
"parameters": [
{
"name": "auth_method_id",
"description": "The id to the authmethod in the system being used for authentication. The auth method must be in the scope\nbeing logged in to.",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/controller.api.services.v1.AuthenticateRequest"
}
}
],
"tags": [
"controller.api.services.v1.AuthenticationService"
]
}
},
"/v1/auth-methods/{id}": {
"get": {
"summary": "Gets a single AuthMethod",
@@ -1881,7 +1915,7 @@
"/v1/scopes/*/auth-methods/{auth_method_id}:authenticate": {
"post": {
"summary": "Authenticate a user to an scope and retrieve an authentication token.",
"operationId": "AuthenticationService_Authenticate",
"operationId": "AuthenticationService_Authenticate2",
"responses": {
"200": {
"description": "",
@@ -4984,7 +5018,7 @@
"type": "integer",
"format": "int64"
},
"old_password": {
"current_password": {
"type": "string"
},
"new_password": {