Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed: Support update user on Swagger. #191

Merged
merged 3 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ <h1>
<p><b>1.10.3</b> (tbd)</p>
<ul>
<li>[<a href='https://github.com/igniterealtime/openfire-restAPI-plugin/issues/188'>#188</a>] - Fix issues with MUC room data consistency in an Openfire cluster</li>
<li>[<a href='https://github.com/igniterealtime/openfire-restAPI-plugin/issues/192'>#192</a>] - Fix issue to support swagger updating user entity</li>
</ul>

<p><b>1.10.2</b> November 20, 2023</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public UserEntity getUser(
responses = {
@ApiResponse(responseCode = "200", description = "The user was updated."),
})
@Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Response updateUser(
@Parameter(description = "The username of the user to update.", required = true) @PathParam("username") String username,
@RequestBody(description = "The definition update of the user.", required = true) UserEntity userEntity)
Expand Down
Loading