Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/openapi: simplify looping over CUE fields
Including definitions in the iterator, only to then skip over them, seems unnecessary. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I0e660ef63394026f4e1781cf5dfbd88556955a7b Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1204946 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>