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
Describe the bug openapi and yaml updaters inappropriately wrap text to produce invalid YAML.
Current behavior
When configuring an openapi-formatted file in bumpFiles with the type of either openapi or yaml, text fields (e.g. description, example, summary) that exceed some line length threshold are wrapped without using the multiline notation (i.e. |), thus producing invalid YAML.
Expected behavior
The openapi and yaml updaters should ideally not reformat any content but certainly not wrap any text to make the YAML invalid.
Environment
commit-and-tag-version version(s): 12.5.0
Node/npm version: Node 16/npm 8.19.2
OS: Sequoia 15.3.2
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered:
lain-mack
changed the title
openapi and
openapi and yaml updater wrap text and produce invalid YAML
Mar 19, 2025
lain-mack
changed the title
openapi and yaml updater wrap text and produce invalid YAML
openapi and yaml updaters wrap text and produce invalid YAML
Mar 19, 2025
Describe the bug
openapi
andyaml
updaters inappropriately wrap text to produce invalid YAML.Current behavior
When configuring an openapi-formatted file in
bumpFiles
with the type of eitheropenapi
oryaml
, text fields (e.g.description
,example
,summary
) that exceed some line length threshold are wrapped without using the multiline notation (i.e.|
), thus producing invalid YAML.Expected behavior
The
openapi
andyaml
updaters should ideally not reformat any content but certainly not wrap any text to make the YAML invalid.Environment
commit-and-tag-version
version(s): 12.5.0Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: