-
Originally opened by @aknuds1 in cuelang/cue#897 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: 2 comments 4 replies
-
Original reply by @PierreR in cuelang/cue#897 (comment) 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.
-
Original reply by @mpvl in cuelang/cue#897 (comment) 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.
Original reply by @mpvl in cuelang/cue#897 (comment)
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
.