Skip to content

Commit

Permalink
docs: Update user field description
Browse files Browse the repository at this point in the history
  • Loading branch information
anarsultanov committed Feb 26, 2024
1 parent 9b00a33 commit e0629ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@
"readOnly" : true
},
"user" : {
"description" : "Returns basic user info only including id, username, creation date, names, email, enabled state, email verification and federation link.",
"type" : "object",
"allOf" : [ {
"$ref" : "#/components/schemas/UserRepresentation"
Expand Down
3 changes: 3 additions & 0 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ components:
type: string
readOnly: true
user:
description: "Returns basic user info only including id, username, creation\
\ date, names, email, enabled state, email verification and federation\
\ link."
type: object
allOf:
- $ref: '#/components/schemas/UserRepresentation'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class TenantMembershipRepresentation {
@Schema(readOnly = true)
private String id;

@Schema(readOnly = true)
@Schema(readOnly = true, description = "Returns basic user info only including id, username, creation date, names, email, enabled state, email verification and federation link.")
private UserRepresentation user;

@Schema(required = true)
Expand Down

0 comments on commit e0629ff

Please sign in to comment.