ogen-go / ogen

OpenAPI v3 code generator for go
https://ogen.dev
Apache License 2.0
1.3k stars 75 forks source link

Docs not updated to show change to config file #1282

Open immesys opened 1 month ago

immesys commented 1 month ago

What version of ogen are you using?

1.2.2

Can this issue be reproduced with the latest version?

Yes

What did you do?

The docs say I can use --convenient-errors=on (which I was using in older versions) but this doesn't work against the latest. Doing a git bisect it seems like there is now a config file, but the docs don't mention that.

volkerhess2 commented 4 weeks ago

You can create a yaml file with

generator:
 convenient_errors: false

and use it with the config flag: --config=myconfig.yaml