forked from Qortal/qortal
Updated default "data" field text in the API documentation, to match the value the UI uses.
This commit is contained in:
parent
63c9bc5c1c
commit
e90c3a78d1
@ -26,7 +26,7 @@ public class RegisterNameTransactionData extends TransactionData {
|
||||
@Schema(description = "requested name", example = "my-name")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "simple name-related info in JSON format", example = "{ \"age\": 30 }")
|
||||
@Schema(description = "simple name-related info in JSON or text format", example = "Registered Name on the Qortal Chain")
|
||||
private String data;
|
||||
|
||||
// For internal use
|
||||
|
@ -26,7 +26,7 @@ public class UpdateNameTransactionData extends TransactionData {
|
||||
@Schema(description = "new name", example = "my-new-name")
|
||||
private String newName;
|
||||
|
||||
@Schema(description = "replacement simple name-related info in JSON format", example = "{ \"age\": 30 }")
|
||||
@Schema(description = "replacement simple name-related info in JSON or text format", example = "Registered Name on the Qortal Chain")
|
||||
private String newData;
|
||||
|
||||
// For internal use
|
||||
|
Loading…
Reference in New Issue
Block a user