Don't submit schemaType when creating a new schema. It's made for backward compatibility with its API
This commit is contained in:
parent
a617a09bc5
commit
b3a3d965b3
1 changed files with 0 additions and 3 deletions
|
@ -1,16 +1,13 @@
|
|||
package com.provectus.kafka.ui.cluster.model.schemaregistry;
|
||||
|
||||
import com.provectus.kafka.ui.model.NewSchemaSubject;
|
||||
import com.provectus.kafka.ui.model.SchemaType;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class InternalNewSchema {
|
||||
private String schema;
|
||||
private SchemaType schemaType;
|
||||
|
||||
public InternalNewSchema(NewSchemaSubject schemaSubject) {
|
||||
this.schema = schemaSubject.getSchema();
|
||||
this.schemaType = schemaSubject.getSchemaType();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue