springdoc / springdoc-openapi-maven-plugin

Library for OpenAPI 3 with spring-boot
https://springdoc.org
Apache License 2.0
141 stars 37 forks source link

Add -Dspringdoc.writer-with-default-pretty-printer as maven plugin configuration parameter #39

Closed ilyavy closed 2 years ago

ilyavy commented 2 years ago

Use case: We generate open-api documentation as part of the development process, and then commit the documentation to the repository. Developers use mvn verify, but sometimes they forget about this cumbersome system parameter, and commit one-line generated open-api document to git. It would be much more convenient and practical to have this parameter as maven plugin configuration parameter.

bnasslahsen commented 2 years ago

use [springdoc properties](https://springdoc.org/#properties) directly.