Minor Changes
- Removed the
coloroption offormatProblems, which switched colors on or off for the whole process.
The output follows the terminal detection, so setFORCE_COLORorNO_COLORto override it.
Patch Changes
- Fixed an issue where
lintreported Media Type Objects undercomponents.mediaTypesin OpenAPI 3.2 descriptions as invalid.
A$refto such an object goes in acontententry, as the specification defines. - Fixed an issue where
lintreported theencoding,prefixEncoding, anditemEncodingfields of a nested Encoding Object in OpenAPI 3.2 descriptions as invalid.
Thespec-no-invalid-encoding-combinationsrule also checks nested Encoding Objects. - Fixed the messages of configurable rules and the codeframes in the
jsonoutput so that they no longer carry terminal color codes. - Fixed the
spec-strict-refsrule so that it no longer reports a$refto a Media Type Object in acontententry of OpenAPI 3.2 descriptions.