following clean architecture - split your business logic/model from framework.
That is why global place @OpenAPIDefinition or annotations directly on model classes are a compromise.
It would be good to have option to build OpenAPI definition from multiple package level annotations like @OpenAPIDefinition but without info section
For bigger project you want to:
That is why global place @OpenAPIDefinition or annotations directly on model classes are a compromise. It would be good to have option to build OpenAPI definition from multiple package level annotations like @OpenAPIDefinition but without info section