springdoc-openapi-gradle-plugin icon indicating copy to clipboard operation
springdoc-openapi-gradle-plugin copied to clipboard

Adds the 'cleanOpenApiDocs' task to the plugin

Open LaFrimousse opened this issue 1 year ago • 1 comments

This pull requests adds a 'cleanOpenApiDocs' task to the plugin that will clean the output of the 'generateOpenApiDocs' task.

LaFrimousse avatar Feb 04 '24 10:02 LaFrimousse

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

nbrugger-tgm avatar May 02 '24 08:05 nbrugger-tgm

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.

hiddewie avatar Jun 17 '24 20:06 hiddewie

replaced by https://github.com/springdoc/springdoc-openapi-gradle-plugin/pull/147.

bnasslahsen avatar Jun 22 '24 18:06 bnasslahsen