Fix openapi schema key_name in MgmtTypeEntity.java (#1850)

This commit is contained in:
Walter Bonetti
2024-10-01 01:43:32 -04:00
committed by GitHub
parent d3c3a3e12a
commit 90898b146d

View File

@@ -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;
}
}