Paul Jolly

Results 947 comments of Paul Jolly

This issue should remain open to sign-post people to `cue help flags` which is where `--with-context` is further detailed. The docs and content work can be done at the same...

@felixge - thanks for the input. Yours sounds more like an explicit include list situation?

@rogpeppe was this done as part of the work for ignoring `_test.cue` files?

@lujiajing1126 - please can you include some example CUE that reproduces the problem?

Thanks @lujiajing1126 - please can you confirm what OpenAPI you would expect to be output here? cc @rogpeppe

Incidentally, the "stutter" of `github.com/cue-tmp/scratch/[email protected]:security_insights_spec` occurs because the last element of the import path `security-insights-spec` does not match the package identifier `security_insights_spec`. CUE package identifiers cannot contain `-` so that...

Just to flag, the alternative is to move the schema package one directory level deeper, e.g. ``` module: "github.com/ossf/security-insights-spec/insights" ``` But that raises the question of "what name shall we...

Discussion on naming conventions: https://github.com/cue-lang/cue/discussions/972

@rycee thanks for the excellent repro! Interesting. Confirmed with 0f53054d, giving the output: ``` > cmp stdout stdout.golden [diff -stdout +stdout.golden] { "openapi": "3.0.0", "info": { "title": "Generated by cue.",...

TIL about [YAML tags](https://yaml.org/spec/1.2.2/#24-tags). Thanks for raising.