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
@obernil Thanks for the report.
To be clear, it seems like this is asking for a new feature: that examples in the OpenAPI schema are imported as comments containing the example. I wonder if the translation should also work the other way around: that specially formatted comments should be exported as examples to OpenAPI. ISTM that this needs some design thought.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
yes
What did you do?
cue import openapi3sample.yaml
(see openapi3sample.yaml for full gist)
-- openapi3sample.yaml --
What did you expect to see?
-- openapi3sample.cue --
What did you see instead?
-- openapi3sample.cue --
The text was updated successfully, but these errors were encountered: