Skip to content

Commit

Permalink
Fixes #17804: Classification API returns Table class for restore (#17806
Browse files Browse the repository at this point in the history
)

* fix: Classification API returns Table class for restore
  • Loading branch information
ayush-shah authored Sep 12, 2024
1 parent 052430e commit 1c6695b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
import org.openmetadata.schema.api.classification.CreateClassification;
import org.openmetadata.schema.api.data.RestoreEntity;
import org.openmetadata.schema.entity.classification.Classification;
import org.openmetadata.schema.entity.data.Table;
import org.openmetadata.schema.type.EntityHistory;
import org.openmetadata.schema.type.Include;
import org.openmetadata.schema.type.MetadataOperation;
Expand Down Expand Up @@ -440,7 +439,7 @@ public Response delete(
content =
@Content(
mediaType = "application/json",
schema = @Schema(implementation = Table.class)))
schema = @Schema(implementation = Classification.class)))
})
public Response restore(
@Context UriInfo uriInfo,
Expand Down

0 comments on commit 1c6695b

Please sign in to comment.