mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-09 15:32:25 +00:00
Swagger response code corrected for scim (#21871)
This commit is contained in:
parent
e34c911cc8
commit
2f7c6ef05e
@ -136,7 +136,7 @@ public class ScimResource {
|
|||||||
summary = "Delete SCIM user",
|
summary = "Delete SCIM user",
|
||||||
description = "Deletes a SCIM user identified by ID.",
|
description = "Deletes a SCIM user identified by ID.",
|
||||||
responses = {
|
responses = {
|
||||||
@ApiResponse(responseCode = "200", description = "User deleted"),
|
@ApiResponse(responseCode = "204", description = "User deleted"),
|
||||||
@ApiResponse(responseCode = "404", description = "User not found")
|
@ApiResponse(responseCode = "404", description = "User not found")
|
||||||
})
|
})
|
||||||
public Response deleteUser(
|
public Response deleteUser(
|
||||||
@ -277,7 +277,7 @@ public class ScimResource {
|
|||||||
summary = "Patch SCIM group",
|
summary = "Patch SCIM group",
|
||||||
description = "Patch updates to a SCIM group identified by ID.",
|
description = "Patch updates to a SCIM group identified by ID.",
|
||||||
responses = {
|
responses = {
|
||||||
@ApiResponse(responseCode = "200", description = "Group patched"),
|
@ApiResponse(responseCode = "204", description = "Group patched"),
|
||||||
@ApiResponse(responseCode = "404", description = "Group not found")
|
@ApiResponse(responseCode = "404", description = "Group not found")
|
||||||
})
|
})
|
||||||
public Response patchGroup(
|
public Response patchGroup(
|
||||||
@ -299,7 +299,7 @@ public class ScimResource {
|
|||||||
summary = "Delete SCIM group",
|
summary = "Delete SCIM group",
|
||||||
description = "Deletes a SCIM group identified by ID.",
|
description = "Deletes a SCIM group identified by ID.",
|
||||||
responses = {
|
responses = {
|
||||||
@ApiResponse(responseCode = "200", description = "Group deleted"),
|
@ApiResponse(responseCode = "204", description = "Group deleted"),
|
||||||
@ApiResponse(responseCode = "404", description = "Group not found")
|
@ApiResponse(responseCode = "404", description = "Group not found")
|
||||||
})
|
})
|
||||||
public Response deleteGroup(
|
public Response deleteGroup(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user