Closed pat-jpnk closed 4 days ago
Hi. Sorry about the response delay.
I don't get the point. Why add such hooks to this repo? Isn't your app repo the right place for that?
Actually, you are correct. pre-commit-hooks.yaml defines hooks while .pre-commit-config.yaml has the purpose of using hooks in respective repositories. However, pre-commit-hooks.yaml can be defined in a separate repository (e.g. https://github.com/Warchant/pre-commit-buildifier). I lost sight of that when I made this request. I will create a dedicated repository, thanks!
Added .pre-commit-hooks.yaml to expose OpenApi documentation generation to JSON and YAML