-
Do there exist any examples of generating OpenAPI from service schema definitions in CUE? Apologies if such examples are in plain sight, but I've had little success in finding them. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
FWIW I would be interested in generating CUE definitions from an OpenAPI json file. Maybe both concerns can be answered in one shot ;-) |
Beta Was this translation helpful? Give feedback.
-
For an elaborate example of Proto -> CUE -> OpenAPI pipeline (API usage), see https://github.com/istio/tools/tree/master/cmd/cue-gen. For command line examples of CUE -> OpenAPI, see |
Beta Was this translation helpful? Give feedback.
-
This discussion has been migrated to cue-lang/cue#897. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
For an elaborate example of Proto -> CUE -> OpenAPI pipeline (API usage), see https://github.com/istio/tools/tree/master/cmd/cue-gen.
For command line examples of CUE -> OpenAPI, see
cue help filetypes
.