mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-26 18:06:03 +00:00
* fix: Classification API returns Table class for restore
This commit is contained in:
parent
e23a18b88c
commit
620a690879
@ -48,7 +48,6 @@ import lombok.extern.slf4j.Slf4j;
|
|||||||
import org.openmetadata.schema.api.classification.CreateClassification;
|
import org.openmetadata.schema.api.classification.CreateClassification;
|
||||||
import org.openmetadata.schema.api.data.RestoreEntity;
|
import org.openmetadata.schema.api.data.RestoreEntity;
|
||||||
import org.openmetadata.schema.entity.classification.Classification;
|
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.EntityHistory;
|
||||||
import org.openmetadata.schema.type.Include;
|
import org.openmetadata.schema.type.Include;
|
||||||
import org.openmetadata.schema.type.MetadataOperation;
|
import org.openmetadata.schema.type.MetadataOperation;
|
||||||
@ -440,7 +439,7 @@ public class ClassificationResource
|
|||||||
content =
|
content =
|
||||||
@Content(
|
@Content(
|
||||||
mediaType = "application/json",
|
mediaType = "application/json",
|
||||||
schema = @Schema(implementation = Table.class)))
|
schema = @Schema(implementation = Classification.class)))
|
||||||
})
|
})
|
||||||
public Response restore(
|
public Response restore(
|
||||||
@Context UriInfo uriInfo,
|
@Context UriInfo uriInfo,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user