Skip to content

Commit

Permalink
[PLAT-14710] update api doc for /session_info
Browse files Browse the repository at this point in the history
Summary: This should have been part of D36712, but was missed. So following up with another change to update the api doc.

Test Plan: swaggerGen

Reviewers: svarshney, #yba-api-review!

Reviewed By: svarshney

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D36761
  • Loading branch information
subramanian-neelakantan committed Jul 23, 2024
1 parent 7b32d05 commit b0349fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ public static class SessionInfo {

@ApiOperation(
nickname = "getSessionInfo",
value = "Get current user/customer uuid auth/api token",
value =
"Get current user and customer uuid. This will not generate or return the API token, use"
+ " /api_token API for that.",
authorizations = @Authorization(AbstractPlatformController.API_KEY_AUTH),
response = SessionInfo.class)
@With(TokenAuthenticator.class)
Expand Down
2 changes: 1 addition & 1 deletion managed/src/main/resources/swagger-strict.json
Original file line number Diff line number Diff line change
Expand Up @@ -28556,7 +28556,7 @@
"security" : [ {
"apiKeyAuth" : [ ]
} ],
"summary" : "Get current user/customer uuid auth/api token",
"summary" : "Get current user and customer uuid. This will not generate or return the API token, use /api_token API for that.",
"tags" : [ "Session management" ]
}
},
Expand Down
2 changes: 1 addition & 1 deletion managed/src/main/resources/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -30018,7 +30018,7 @@
"security" : [ {
"apiKeyAuth" : [ ]
} ],
"summary" : "Get current user/customer uuid auth/api token",
"summary" : "Get current user and customer uuid. This will not generate or return the API token, use /api_token API for that.",
"tags" : [ "Session management" ]
}
},
Expand Down

0 comments on commit b0349fe

Please sign in to comment.