@sinres Annotations are the devil and just make your code “busy”. You can write your OpenAPI specs as YAML and keep them separate from your actual codebase.
There are GUI tools for making writing specs easier, such as Stoplight Studio.
It also means you can write your API specs before the actual code, and then create mock servers based on your specs to integrate with whilst you’re building out the actual API. I did this in my previous role and it meant I could give front-end developers a mock of the API the team was working on whilst we actually built out the endpoints, and speeds up development time (as front-end developers don’t then have to wait for the API before they can even start their work). You can’t do that with annotations, which need to be placed above your actual methods, meaning you can’t annotate and spec your API until you’ve actually created the controllers and actions.