Move authenticate service into auth method service (#635)

This was always an RPC-only distinction and from that perspective it
makes sense; however it causes the generated docs to treat it as an
entirely separate service even though it's under the same collection
path as auth methods and this is confusing.
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-10-12 18:03:15 -04:00
1 parent 0f1fbea8f7
commit dd8973dd9f
14 files changed
+1019 -1349

No files matched your search

+3 -7
View File
@@ -1,13 +1,9 @@
{
"swagger": "2.0",
"info": {
"title": "Controller API",
"title": "controller/api/services/v1/account_service.proto",
"version": "version not set"
},
"schemes": [
"https",
"http"
],
"consumes": [
"application/json"
],
@@ -273,7 +269,7 @@
"/v1/auth-methods/{auth_method_id}:authenticate": {
"post": {
"summary": "Authenticate a user to an scope and retrieve an authentication token.",
"operationId": "AuthenticationService_Authenticate",
"operationId": "AuthMethodService_Authenticate",
"responses": {
"200": {
"description": "",
@@ -300,7 +296,7 @@
}
],
"tags": [
"controller.api.services.v1.AuthenticationService"
"controller.api.services.v1.AuthMethodService"
]
}
},