Commit 32418ee
authored
Clean openApiGenerate output dir before generating (#2502)
This commit fixes a problem in the Solr build whereby files generated
from our OpenAPI spec could "leak" between branches and cause
compilation issues.
In short, generated SolrRequest implementations were not being
overwritten or cleaned up after switching branches. This caused
compilation problems whenever the new branch didn't have other classes
(typically 'model' POJOs) that the generated file relied on.
This commit uses the openApiGenerate task's "cleanupOutput" option to
prevent this from happening.1 parent 2636567 commit 32418ee
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
0 commit comments