SIGN IN SIGN UP

Add WriteOnlyWhenDifferent to SwaggerInitFile target (#1123)

* Prevent writing the swagger init file on every build, keeping the timestamp and preventing dotnet build flagging the user project as changed

* avoid rewriting openapi init file when unchanged

---------

Co-authored-by: Dĵ ΝιΓΞΗΛψΚ <djnitehawk83@gmail.com>
Co-authored-by: Dĵ ΝιΓΞΗΛψΚ <dj-nitehawk@users.noreply.github.com>
P
Plevi1337 committed
06dc46fada30d742a183e59a5ae57158371a7fbc
Parent: 23df015
Committed by GitHub <noreply@github.com> on 6/16/2026, 3:09:12 PM