diff --git a/codegen-template/README.mustache b/codegen-template/README.mustache index 11997e5..6ee70f2 100644 --- a/codegen-template/README.mustache +++ b/codegen-template/README.mustache @@ -140,7 +140,7 @@ public class Example { .key("Metric_name") // e.g. sales .value(123f) .date("Date_in_ISO8601") // e.g. "2024-08-01T00:00:00Z" - .unit("Unit") // optional - e.g. EUR + .unit("Unit") // optional - e.g. USD .attributes(List.of(new PushDataAttribute().key("Dimension_name").value("Dimension_value"))); // optional - e.g. currency & USD DefaultApi apiInstance = new DefaultApi(defaultClient); diff --git a/examples/pushData/src/PushData.java b/examples/pushData/src/PushData.java index 0a60268..ec51bd6 100644 --- a/examples/pushData/src/PushData.java +++ b/examples/pushData/src/PushData.java @@ -19,7 +19,7 @@ public static void main(String[] args) { .key("") // e.g. sales .value(123f) .date("") // e.g. "2024-08-01T00:00:00Z" - .unit("") // optional - e.g. EUR + .unit("") // optional - e.g. USD .attributes(List.of(new PushDataAttribute().key("").value(""))); // optional - e.g. currency & USD DefaultApi apiInstance = new DefaultApi(defaultClient);