springdoc-openapi-gradle-plugin
springdoc-openapi-gradle-plugin copied to clipboard
Adds the 'cleanOpenApiDocs' task to the plugin
This pull requests adds a 'cleanOpenApiDocs' task to the plugin that will clean the output of the 'generateOpenApiDocs' task.
Wouldn't the proper solution be to define the classes/sources as inputs for the task? This will still mess up the build cache imo. Gradle tasks with inproperly/wrongly defined in/outputs mess in very bad ways with different parts of gradle.
- Up to date checks
- Build cache
- Configuration cache
This pull request might be replaced by https://github.com/springdoc/springdoc-openapi-gradle-plugin/pull/147. Basically the suggestion of @nbrugger-tgm to configure the task inputs to match the Spring Boot run task.
replaced by https://github.com/springdoc/springdoc-openapi-gradle-plugin/pull/147.