Does this issue reproduce with the latest release?
Yes
What did you do?
Use of encoding/openapi requires using cue.Runtime and friends, all of which are deprecated. This triggers errors in tools like staticcheck that catch use of deprecated identifiers.
What did you expect to see?
An API which does not require using deprecated identifiers.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
Use of
encoding/openapi
requires usingcue.Runtime
and friends, all of which are deprecated. This triggers errors in tools likestaticcheck
that catch use of deprecated identifiers.What did you expect to see?
An API which does not require using deprecated identifiers.
What did you see instead?
As above.
Adding this as a tracking item; I will work on this as part of fixing up https://github.com/istio/tools/tree/master/cmd/cue-gen