You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default behavior works OK, because the generated api doc is inside the gradle build, which is deleted when you do gradle clean, so the file is generated from 0 each time you do gradle clean build and doesn't have duplicated lines. The problem only happens when you change the target file, so the file is not inside the gradle build folder and doesn't get deleted when running gradle clean.
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Sep 17, 2023
Expected Behavior
doing gradle clean build several times should not duplicate the server.
Actual Behaviour
the server is duplicated in the generated api.yml doc;
if you keep doing gradle clean build, it will keep adding a new line.
Steps To Reproduce
micronaut.openapi.target.file=./docs/openapi/api.yml
Environment Information
jdk 17.
groovy
Example Application
No response
Version
4.1.0
The text was updated successfully, but these errors were encountered: