Mirror of https://github.com/cue-lang/cue cuelang.org
cue go

pkg/encoding/openapi: support marshalSchema builtin for openAPI master

This was used in the cmd serve demo of OCS 2023. There were some issues with error wrapping in openapi when interacting with tasks, but these seem to be resolved. I've added TODOs where this used to be an issue. Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I9e135178dabd599e357341e54f7452c8a528948f Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1221920 Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>