File tree Expand file tree Collapse file tree
fern/products/cli-api-reference/cli-changelog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 4.28.0
2+ ** ` (feat): ` ** Add ` coerce-consts-to ` setting for controlling how OpenAPI/AsyncAPI
3+ ` const ` values are represented. Set to ` literals ` to convert them directly
4+ to literals with defaults; set to ` enums ` (the default, current behavior)
5+ to convert them to single-valued and therefore extensible enums.
6+
7+ When ` coerce-consts-to ` is ` enums ` , the ` coerce-enums-to-literals ` setting
8+ will not transitively apply to const-originated enums, keeping the two
9+ concepts independent.
10+
11+ Usage:
12+ ``` yaml
13+ api :
14+ specs :
15+ - asyncapi : ./asyncapi.yaml
16+ settings :
17+ coerce-consts-to : literals
18+ ` ` `
19+
20+
121## 4.27.0
222**` (feat):`** Log detected .fernignore paths when copying generated files. When a
323.fernignore file is present in the output directory, the CLI now emits
You can’t perform that action at this time.
0 commit comments