Fix openapi schema key_name in MgmtTypeEntity.java (#1850)
This commit is contained in:
@@ -26,7 +26,7 @@ import lombok.experimental.Accessors;
|
||||
public abstract class MgmtTypeEntity extends MgmtNamedEntity {
|
||||
|
||||
@JsonProperty(required = true)
|
||||
@Schema(name = "Key that can be interpreted by the target", example = "id.t23")
|
||||
@Schema(description = "Key that can be interpreted by the target", example = "id.t23")
|
||||
private String key;
|
||||
|
||||
@JsonProperty
|
||||
@@ -37,4 +37,4 @@ public abstract class MgmtTypeEntity extends MgmtNamedEntity {
|
||||
@JsonProperty
|
||||
@Schema(description = "Deleted flag, used for soft deleted entities", example = "false")
|
||||
private boolean deleted;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user