You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Net cost of app execution. Field is DEPRECATED and is subject for removal.
* Instead, use `budget-added` and `budget-consumed.
*/
@JsonProperty("cost")
public Long cost;
// Cost net cost of app execution. Field is DEPRECATED and is subject for removal.
// Instead, use `budget-added` and `budget-consumed.
Cost uint64 `json:"cost,omitempty"`
It would be nice if there was a way to follow language specific deprecation conventions, i.e. @Deprecated tag for Java and // Deprecated: for Go.
Solution
It looks like the OA3 spec allows the deprecated keyword in its schema, but OA2 does not, so maybe a custom solution is necessary as long as we rely on the OA2 spec.
Urgency
Nice to have - noticed it and writing it down for documentation purposes.
The text was updated successfully, but these errors were encountered:
Problem
We currently cannot add
deprecated
tags or annotations on generated code. Here are some examples in:Java
Go
It would be nice if there was a way to follow language specific deprecation conventions, i.e.
@Deprecated
tag for Java and// Deprecated:
for Go.Solution
It looks like the OA3 spec allows the
deprecated
keyword in its schema, but OA2 does not, so maybe a custom solution is necessary as long as we rely on the OA2 spec.Urgency
Nice to have - noticed it and writing it down for documentation purposes.
The text was updated successfully, but these errors were encountered: