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
Hi,
first of all, thanks for your tool that helps keeping API definitions and commits clean. ❤️
prettier has a CLI that makes it really easy to use it in scripts, e.g. in CI:
--write replaces the input files
it accepts (multiple) paths/glob patterns
--check makes it fail if something changed
That might be a nice addition to openapi-format, too, although you can work arround the first two with find . -name '*.yaml' -exec yarn run openapi-format {} -o {} \;.
Hi,
first of all, thanks for your tool that helps keeping API definitions and commits clean. ❤️
prettierhas a CLI that makes it really easy to use it in scripts, e.g. inCI:--writereplaces the input files--checkmakes it fail if something changedThat might be a nice addition to
openapi-format, too, although you can work arround the first two withfind . -name '*.yaml' -exec yarn run openapi-format {} -o {} \;.