[BUG][MAVEN] Plugin noisy when no servers are defined
Created by: maschoene
Description
When omitting the optional servers
field in the OpenAPI object (v3), the openapi-generator-maven-plugin renders the warning:
[WARNING] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
multiple times. I expect the generator to at most inform me of it.
openapi-generator version
4.3.1
OpenAPI declaration file content or url
n/a
Command line used for generation
vanilla maven execution
Steps to reproduce
Use a setup as described. If really necessary I can try to create a reproducer.
Related issues/PRs
I could not find any.
Suggest a fix
Be less noisy, PR incoming.