2 months ago
Avoid extra line breaks in yaml generated from annotated code
When starting from the OpenApi document (json or yaml), it is possible to define minimum and maximum string length: https://swagger.io/docs/specification/v3_0/data-models/data-types/
Is there an equivalent setting that can be used when generating the OpenApi document from code annotations ? Maybe properties to be set in a Spring Boot application.properties, perhaps ?
See also on GitHub : https://github.com/swagger-api/swagger-core/issues/4846