You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently when doing --out openapi the paths section of the OpenAPI spec would be omitted in the generated output even if a paths value exist in the cue input.
Describe the solution you'd like
It would be nice if paths could be defined along side components.
Describe alternatives you've considered
One alternative could be layer a _path.cue file on top of the generated components.cue, but you have to resolve the components reference yourself.
Originally opened by @proppy in cuelang/cue#386
Is your feature request related to a problem? Please describe.
Currently when doing
--out openapi
thepaths
section of the OpenAPI spec would be omitted in the generated output even if apaths
value exist in thecue
input.Describe the solution you'd like
It would be nice if
paths
could be defined along side components.Describe alternatives you've considered
One alternative could be layer a
_path.cue
file on top of the generated components.cue, but you have to resolve the components reference yourself.Additional context
Example:
Currently generate:
While it would be nice to have something like this instead:
The text was updated successfully, but these errors were encountered: