Skip to content

Commit

Permalink
Update unit comments
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelkoren committed Aug 30, 2024
1 parent 85d4a81 commit fec6629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codegen-template/README.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion examples/pushData/src/PushData.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static void main(String[] args) {
.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);
Expand Down

0 comments on commit fec6629

Please sign in to comment.