cuelang / cue

CUE has moved to https://github.com/cue-lang/cue
https://cuelang.org
Apache License 2.0
3.09k stars 171 forks source link

encoding/openapi: remove use of deprecated identifiers #1015

Closed myitcv closed 3 years ago

myitcv commented 3 years ago

What version of CUE are you using (cue version)?

$ cue version
cue version +aa61ee7f linux/amd64

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 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

cueckoo commented 3 years ago

This issue has been migrated to https://github.com/cue-lang/cue/issues/1015.

For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.